WO2018126905A1 - 移动过程中的数据传输的方法、终端和基站 - Google Patents

移动过程中的数据传输的方法、终端和基站 Download PDF

Info

Publication number
WO2018126905A1
WO2018126905A1 PCT/CN2017/117884 CN2017117884W WO2018126905A1 WO 2018126905 A1 WO2018126905 A1 WO 2018126905A1 CN 2017117884 W CN2017117884 W CN 2017117884W WO 2018126905 A1 WO2018126905 A1 WO 2018126905A1
Authority
WO
WIPO (PCT)
Prior art keywords
base station
data packet
key update
sequence number
information
Prior art date
Application number
PCT/CN2017/117884
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 中兴通讯股份有限公司
Publication of WO2018126905A1 publication Critical patent/WO2018126905A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]

Definitions

  • the present disclosure relates to the field of wireless communication technologies, and in particular, to a method, a terminal, and a base station for data transmission in a mobile process.
  • LTE Long Term Evolution
  • WLAN local area network
  • MME Mobility Management Entity
  • SGW Serving GateWay
  • FIG. 1 it is an architecture diagram of LTE and WLAN convergence.
  • Both the eNB and the WLAN node can simultaneously provide services for the UE.
  • FIG. 2 a protocol architecture diagram for eNB and WLAN convergence, in which the PDCP (Packet Data Convergence Protocol) layer of the eNB delivers the encrypted data packet to the WLAN LWAAP through the interface Xw. (LTE-WLAN Aggregation Adaptation Protocol) layer, the WT is responsible for transmitting data to the UE.
  • PDCP Packet Data Convergence Protocol
  • LWAAP wireless local area network
  • Xw LTE-WLAN Aggregation Adaptation Protocol
  • FIG. 4 it is a schematic diagram of a scenario in which LTE and WLAN provide services for the UE during the mobile process.
  • both eNB1 and eNB2 pass data to the WT, which in turn sends it to the UE.
  • the UE sends the data to the WT, and the WT submits it to the eNB1 and the eNB2.
  • the key used in the data encryption is related to the eNB, that is, the keys of the eNB1 and the eNB2 are different.
  • the data packet will be retransmitted during the data transmission process, for example, the data packet of the eNB1 needs to be retransmitted, and the retransmitted data packet is mixed with the newly transmitted data packet, for example, the retransmission data packet of the eNB1 and The newly transmitted data packets of eNB2 are mixed together, and the UE can only use the same key at the same time, which causes the UE to use the wrong key to decode the data packet. If the packet fails to decode, the packet may be dropped.
  • the present disclosure provides a method, a terminal, and a base station for data transmission in a mobile process, which are used to solve the problem that the key switching mechanism in the related art is not perfect and affects data packet decoding.
  • a method for data transmission in a mobile process including:
  • the terminal acquires key update indication information sent by the source base station
  • the terminal When receiving the data packet sent by the service node, the terminal performs the key update determination according to the key update indication information
  • the terminal When determining that the key update is needed, the terminal updates the currently used source base station key to the target base station key, and decodes the data packet received by the terminal by using the updated key.
  • a data transmission method in a mobile process including:
  • the source base station sends key update indication information to the target base station when detecting that the target terminal satisfies the condition for handover to the target base station;
  • the source base station After the source base station confirms the handover, the source base station sends key update indication information to the target terminal;
  • the source base station transmits the data packet in the buffer to the target terminal through the serving node and/or forwards the data packet in the buffer to the target base station.
  • a data transmission method in a mobile process including:
  • the target base station After the target terminal cuts in the local base station from the source base station, the target base station processes the first packet sent to the target terminal according to the key update indication information, and processes the target packet to the target through the service node.
  • the terminal sends the first packet.
  • a terminal including:
  • An information acquiring module configured to obtain key update indication information sent by the source base station
  • the update judging module is configured to perform a key update determination according to the key update indication information when receiving the data packet sent by the service node;
  • a first update processing module configured to: when the update determination module determines that a key update is required, update a key of the currently used source base station to a key of the target base station;
  • the first data processing module is configured to decode the data packet received by the terminal by using the updated key.
  • a source base station including:
  • the first information sending module is configured to: when detecting that the target terminal meets the condition for switching to the target base station, send the key update indication information to the target base station;
  • a second information sending module configured to send key update indication information to the target terminal after the target base station confirms the handover
  • a data sending module configured to transmit the data packet in the buffer to the target terminal through the serving node and/or forward the data packet in the buffer to the target base station.
  • a target base station including:
  • the information receiving module is configured to receive the key update indication information sent by the source base station;
  • the first processing module is configured to: after the target terminal cuts in the local base station from the source base station, process the first packet sent to the target terminal according to the key update indication information;
  • the first sending module is configured to send the first packet processed by the first processing module to the target terminal by using a serving node.
  • the present disclosure uses the key update indication information to assist the terminal in performing key update determination.
  • the key update scheme can not only update the key of the terminal in time, but also ensure that the data transmission of the terminal is not interrupted, and the existing key update is well solved.
  • the mechanism is not perfect enough to affect the decoding of data packets.
  • FIG. 1 is a structural diagram of LTE and WLAN convergence in the related art
  • FIG. 3 is a schematic diagram of a scenario of common coverage of LTE and WLAN in the related art
  • FIG. 4 is a schematic diagram of a scenario in which LTE and WLAN provide services for a UE in a mobile process in a related art
  • FIG. 5 is a flowchart of a method for data transmission in a mobile process according to a first embodiment of the present disclosure
  • FIG. 6 is a flowchart of a method for data transmission in a mobile process according to a second embodiment of the present disclosure
  • FIG. 7 is a flowchart of a method for data transmission in a mobile process according to a third embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of an application scenario of a data transmission method in a mobile process according to an eighth embodiment of the present disclosure.
  • FIG. 9 is a schematic diagram of an application scenario of a data transmission method in a mobile process according to a tenth embodiment of the present disclosure.
  • FIG. 10 is a structural block diagram of a terminal according to an eleventh embodiment of the present disclosure.
  • FIG. 11 is a structural block diagram of a source base station according to a twelfth embodiment of the present disclosure.
  • FIG. 12 is a structural block diagram of a target base station according to a thirteenth embodiment of the present disclosure.
  • the embodiments of the present disclosure provide a method, a terminal, and a base station for data transmission in a mobile process.
  • the present disclosure can not only update the key of the UE in time, but also ensure that the data of the UE is not interrupted, which is well solved in the related art. UE key update issue.
  • the implementation process of the present disclosure will be described in detail below through several specific embodiments.
  • a method for data transmission in a mobile process is provided.
  • the method in this embodiment is applied to a terminal side, and the terminal is in an overlapping coverage of two eNBs and a service node.
  • the method includes the following steps:
  • Step S501 The terminal acquires key update indication information sent by the source base station.
  • the manner in which the terminal acquires the key update indication information includes: receiving, by the terminal, an RRC reconfiguration message sent by the source base station, and extracting the key update indication in the RRC reconfiguration message. information. That is, the source base station transmits the key update indication information to the terminal through the RRC reconfiguration message.
  • the key update indication information is used to assist the terminal in performing the key update determination.
  • the key update indication information is: a data packet PDCP sequence number used for key update determination. Threshold information.
  • the threshold information of the data packet PDCP sequence number used for the key update determination may be, but is not limited to, the PDCP sequence number information of the last data packet sent by the source base station, or the first new data transmitted by the target base station.
  • the key update indication information is: identifier information carried in a data packet for indicating a key update.
  • the identification information can be, but is not limited to, an end maker.
  • the key update indication information is: threshold information of a data packet PDCP sequence number used for key update determination, and is used to indicate that the key update is carried in the data packet. Identification information.
  • Step S502 When receiving the data packet sent by the service node, the terminal performs a key update determination according to the key update indication information.
  • the key update determination process is specifically:
  • the terminal When receiving the data packet sent by the service node, the terminal detects whether the size relationship between the PDCP sequence number of the received data packet and the threshold of the data packet PDCP sequence number used for the key update determination meets the set standard. When it is satisfied, it is determined that the key update is required, otherwise, it is determined that the key update is not required.
  • the key update determination is performed. Specifically, the terminal extracts the received PDCP sequence number of the data packet, compares the PDCP sequence number of the data packet with the PDCP sequence number of the last data packet sent by the source base station, and performs PDCP of the data packet. When the sequence number is less than or equal to the PDCP sequence number of the last packet transmitted by the source base station, it is determined that the key update is not required, otherwise, it is determined that the key update is required.
  • the key update determination is performed, specifically: The terminal extracts the received PDCP sequence number of the data packet, and compares the PDCP sequence number of the data packet with the PDCP sequence number of the first new data packet sent by the target base station, when the data is When the PDCP sequence number of the packet is smaller than the PDCP sequence number of the first new transmission packet sent by the target base station, it is determined that the key update is not required, otherwise, it is determined that the key update is required.
  • the key update determination process is specifically:
  • the key update indication information acquired by the terminal includes threshold information of a data packet PDCP sequence number used for key update determination and an identifier carried in the data packet for indicating a key update.
  • the key update judgment process is specifically as follows:
  • Step S503 When determining that the key update is needed, the terminal updates the currently used source base station key to the target base station key, and uses the updated key to decode the data packet received by the terminal.
  • the data packet received by the terminal is decoded by using the updated key, where the received data packet includes the data packet received in step S502, and the data packet subsequently received by the terminal. That is, after the key is switched, the terminal does not perform the key update determination, but directly performs the decoding operation of the data packet by using the switched key.
  • the terminal determines the received data.
  • the PDCP sequence number of the packet is equal to the PDCP sequence number of the last data packet sent by the source base station, it may be determined that the source base station has transmitted the data, and the terminal may not use the data of the source base station after decoding the data packet. Waiting for the arrival of the next data packet, directly performing the key update. When the next data packet arrives, the updated key is directly used for the decoding operation of the data packet.
  • the embodiment of the present disclosure provides various criteria for determining a key update.
  • the terminal using the method in this embodiment may perform key update determination and key update operation according to the previously obtained key update indication information.
  • the terminal after the terminal is switched from the source base station to the target base station, there is a problem that the wrong key is used to decode the data packet.
  • a data transmission method in a mobile process is provided, which is applied to a source base station side. As shown in FIG. 6, the method includes the following steps:
  • Step S601 The source base station sends the key update indication information to the target base station when detecting that the target terminal meets the condition for switching to the target base station;
  • the target terminal is in an overlapping coverage of a source base station, a target base station, and a serving node.
  • the source base station when the source base station sends the handover request message to the target base station, the source base station carries the key update indication information in the handover request message, thereby implementing the release of the key update indication information.
  • Step S602 After the target base station confirms the handover, the source base station sends the key update indication information to the target terminal.
  • the source base station after receiving the handover request message to the target base station, if the source base station receives the handover confirmation message fed back by the target base station, it determines that the target base station confirms the handover.
  • the key update indication information sent by the source base station to the target terminal is a key update indication information that is extracted from the handover confirmation message by the source base station receiving the handover confirmation message fed back by the target base station.
  • the source base station sends an RRC reconfiguration message to the target terminal, and carries the key update indication information in the RRC reconfiguration message. That is, the source base station transmits the key update indication information to the destination terminal by carrying the key update indication information in the RRC reconfiguration message.
  • Step S603 the source base station transmits the data packet in the buffer to the target terminal through the serving node and/or forwards the data packet in the buffer to the target base station, so as to be transmitted by the target base station to the target terminal through the service node.
  • the key update indication information includes: threshold information of a data packet PDCP sequence number used for key update determination, and/or an identifier carried in the data packet for indicating a key update. information.
  • the threshold information of the data packet PDCP sequence number used for the key update determination may be, but is not limited to, the PDCP sequence number information of the last data packet sent by the source base station, or the first new data transmitted by the target base station.
  • the identification information may be, but is not limited to, an end maker.
  • the source base station and the target base station are both S-eNBs (Second eNBs, second base stations).
  • the source base station passes the M-eNB (Master eNB, the primary base station). Transmitting the key update indication information to the target base station, and transmitting the key update indication information to the target terminal by the M-eNB.
  • the source base station using the method in this embodiment sends the key update indication information used by the secondary terminal to perform the key update determination to the target base station and the target terminal, so that the target base station updates the indication information according to the key.
  • the data packet sent to the target terminal is processed, and when the target terminal receives the data packet, the key update determination may be performed according to the received key update indication information.
  • the source base station that uses the method in this embodiment cooperates with the terminal that uses the method in the first embodiment to prevent the terminal from using the wrong key to decode the data packet after the source base station switches to the target base station.
  • a data transmission method in a mobile process is provided, which is applied to a target base station. As shown in FIG. 7, the method includes the following steps:
  • Step S701 The target base station receives the key update indication information sent by the source base station.
  • the target base station receives a handover request message sent by the source base station, and extracts the key update indication information from the handover request message. That is, the source base station carries the key update indication information by using a handover request message.
  • the target base station after receiving the handover request message sent by the source base station, the target base station further includes: when the target base station allows the target terminal to access, sending a handover confirmation message to the source base station, where The handover confirmation message carries the key update indication information that the active base station needs to send to the target terminal.
  • Step S702 After the target terminal intercepts the base station from the source base station, the target base station processes the first packet sent to the target terminal according to the key update indication information, and processes the target packet to the target terminal through the service node. Send the first package.
  • the key update indication information includes: threshold information of a data packet PDCP sequence number used for key update determination, and/or an identifier carried in the data packet for indicating a key update. information.
  • the threshold information of the data packet PDCP sequence number used for the key update determination includes, but is not limited to, the PDCP sequence number information of the last data packet sent by the source base station, or the first new data transmitted by the target base station.
  • the identification information may be, but is not limited to, an end maker.
  • the first packet is a first new data packet of the target base station.
  • processing the first packet sent to the target terminal specifically includes: setting a PDCP sequence number of the first new data packet of the base station that is sent to the target terminal, so that the PDCP sequence number is greater than or Equal to the threshold.
  • the key update indication information is PDCP sequence number information of a last data packet sent by the source base station, the first new data to be sent to the target terminal is sent.
  • the PDCP sequence number of the packet is set to be one of the PDCP sequence numbers of the last data packet sent by the source base station; and the key update indication information is the PDCP sequence number of the first new data packet sent by the target base station.
  • the PDCP sequence number of the first new data packet to be sent to the target terminal is set to the PDCP sequence number of the first new data packet sent by the target base station.
  • the first packet is a retransmission forwarded by the source base station to the target base station.
  • the data packet is either the first new data packet of the target base station.
  • the process of processing the first packet sent to the target terminal includes: carrying the identifier information in a packet header of the first packet;
  • the key update indication information is threshold information of a data packet PDCP sequence number used for key update determination, and identifier information carried in the data packet for key update determination
  • the first packet sent to the target terminal is processed, and the method includes: carrying the identifier information in a packet header of the first packet. . If the first packet is the first new data packet of the target base station, processing the first packet sent to the target terminal, specifically: setting a first new transmission of the base station sent to the target terminal The PDCP sequence number of the data packet such that the PDCP sequence number is greater than or equal to the threshold.
  • the key update indication information is threshold information of a data packet PDCP sequence number used for key update determination, and identifier information carried in the data packet for key update determination
  • the first packet may also be the first new data packet of the target base station.
  • the processing of the first packet sent to the target terminal includes: setting a PDCP sequence number of the first new data packet of the base station that is sent to the target terminal, so that the PDCP sequence number is greater than or equal to The threshold is recited, and the identification information is carried in the header of the first newly transmitted packet.
  • the target base station after receiving the key update indication information sent by the source terminal, the target base station that uses the method in this embodiment processes the first packet sent to the target terminal, so that the target of the key update indication has been obtained.
  • the terminal receives the first packet, the terminal can accurately perform the key update judgment. It can be seen that the target base station using the method in this embodiment cooperates with the terminal using the method in the first embodiment and the source base station in the method in the second embodiment, so that the terminal can be switched from the source base station to the target base station. Afterwards, avoid using the wrong key to decode the packet.
  • a data transmission method in a mobile process in which the key update indication information is identification information carried in a data packet for indicating a key update (for example, an end maker) ), but the key update indication information does not need to be sent by the source base station to the target terminal and the target base station.
  • the key update judgment is implemented by modifying the terminal and base station protocols. For example, after receiving the RRC reconfiguration message sent by the source base station, if the terminal receives the data packet sent by the service node, it starts to detect whether the data packet carries the specified identification information, and the terminal detects the data packet.
  • the target base station adds the specified identification information to the first packet sent to the target terminal, and sends the first packet with the specified identification information to the target through the service node. The terminal sends.
  • the method in this embodiment can also solve the problem in the related art that after the terminal is switched from the source base station to the target base station, the terminal may use the wrong key to decode the data packet.
  • the key update scheme is described above from the terminal, the source base station, and the target base station side.
  • the overall implementation process of the present disclosure is described below through several specific embodiments.
  • a data transmission method in a mobile process is provided.
  • the application scenario in this embodiment is: two base stations eNB can be connected to a service node node, where the service node can be a base station or WT and so on.
  • the UE is in overlapping coverage of two eNBs and serving nodes.
  • the source eNB and the serving node provide services for the UE.
  • the target eNB and the serving node start to provide services for the UE.
  • both eNBs transmit the data packet to the service node, and the service node is responsible for transmitting the data packet to the UE.
  • Step 1 When the source eNB detects that the target terminal meets the condition of handover to the target eNB, the source eNB sends a handover request message to the target eNB.
  • the handover request message carries the PDCP SN of the last data packet sent by the source eNB to the UE.
  • Step 2 After receiving, the target eNB returns a handover confirmation message, where the handover confirmation message carries the PDCP SN of the last data packet sent by the source eNB to the UE.
  • Step 3 The source eNB sends an RRC reconfiguration message to the UE, indicating that the UE has a handover.
  • the RRC reconfiguration message carries the PDCP SN of the last data packet sent by the source eNB to the UE. It should be noted that after the source eNB sends the RRC reconfiguration message to the UE, the data transmission to the UE is not terminated. The source eNB will continue to transmit the data in the cache to the serving node, which in turn is sent by the serving node to the UE.
  • the source eNB forwards the data packet that has not been successfully transmitted and is not sent to the target eNB, and the target eNB continues to transmit the data in the buffer to the serving node, and then the UE sends the data to the UE.
  • Step 4 After receiving the RRC reconfiguration message, the UE obtains PDCP SN information of the last data packet sent by the source eNB to the UE from the RRC reconfiguration message.
  • Step 5 After the UE accesses the local base station, the target eNB numbers the first new data packet of the base station according to the PDCP SN of the last data packet sent by the source eNB to the UE, and transmits the data packet to the target eNB.
  • the serving node is then sent by the serving node to the UE.
  • Step 6 After receiving the data packet, the UE continues to use the key of the source eNB to perform decoding if it is determined that the PDCP SN of the data packet is less than or equal to the PDCP SN of the last data packet sent by the source eNB.
  • the UE updates the key, and uses the key of the destination eNB to decode the received data packet and subsequent data packets.
  • a data transmission method in a mobile process is provided.
  • the application scenario in this embodiment is that two base stations eNB can be connected to a service node node.
  • the UE is in overlapping coverage of two eNBs and serving nodes.
  • the source eNB and the serving node provide services for the UE.
  • the target eNB and the serving node start to provide services for the UE.
  • both eNBs transmit the data packet to the service node, and the service node is responsible for transmitting the data packet to the UE.
  • Step 1 When the source eNB detects that the target terminal meets the condition of handover to the target eNB, the source eNB sends a handover request message to the target eNB.
  • the handover message carries the PDCP SN of the first new data packet sent by the target eNB to the UE.
  • Step 2 After receiving the target eNB, the handover acknowledgement message is sent, and the handover acknowledgement message carries the PDCP SN of the first newly transmitted data packet sent by the target eNB to the UE.
  • Step 3 The source eNB sends an RRC reconfiguration message to the UE, indicating that the UE has a handover.
  • the RRC reconfiguration message carries the PDCP SN of the first new data packet sent by the target eNB to the UE. It should be noted that after the source eNB sends the RRC reconfiguration message to the UE, the data transmission to the UE is not terminated. The source eNB will continue to transmit the data in the cache to the serving node, which in turn is sent by the serving node to the UE. Alternatively, the source eNB forwards the data packet that has not been successfully transmitted and has not been transmitted to the target eNB, and continues to transmit the data in the buffer to the serving node, which is then sent by the serving node to the UE.
  • Step 4 After receiving the RRC reconfiguration message, the UE obtains PDCP SN information of the first new data packet sent by the target eNB to the UE from the RRC reconfiguration message.
  • Step 5 After the UE accesses the local base station, the target eNB numbers the new data packet of the target eNB according to the PDCP SN of the first new data packet sent by the target eNB, and transmits the new data packet to the service node, and then the service.
  • the node sends to the UE.
  • Step 6 After receiving the data packet, the UE continues to use the key of the source eNB to perform decoding if it is determined that the PDCP SN of the data packet is smaller than the PDCP SN of the first new data packet sent by the target eNB to the UE.
  • the UE updates the key, uses the key of the destination eNB, and receives the data packet and subsequently The data packet is decoded.
  • a data transmission method in a mobile process is provided.
  • the application scenario in this embodiment is: the UE is in overlapping coverage of two eNBs and a serving node, and the source eNB is used as the S-eNB of the UE.
  • the (Second eNB) and the serving node perform a split bearer to provide services for the UE.
  • the S-eNB update process occurs when the UE moves from the source eNB to the target eNB, but the service node can still serve as a service node that provides a split bearer.
  • the source S-eNB needs to transmit the data of the UE to the serving node, and the serving node sends the data to the UE.
  • the target S-eNB also needs to transmit the data of the UE to the serving node, and the serving node sends the data to the UE.
  • Step 1 When the M-eNB detects that the target terminal meets the condition of handover to the target eNB, the M-eNB sends an S-eNB modification request message to the source S-eNB.
  • Step 2 The source S-eNB replies to the S-eNB modification request acknowledgement message, and the message carries the PDCP SN of the last data packet sent by the source S-eNB to the UE, or the first new transmission sent by the target S-eNB to the UE.
  • the PDCP SN of the packet The PDCP SN of the packet.
  • Step 3 The M-eNB sends a handover request message to the target S-eNB.
  • the handover message carries the PDCP SN of the last data packet sent by the source S-eNB to the UE, or the PDCP SN of the first new data packet sent by the target S-eNB to the UE.
  • Step 4 After receiving the target S-eNB, the handover confirmation message is sent, and the handover confirmation message carries the PDCP SN of the last data packet sent by the source S-eNB to the UE, or the first one sent by the target S-eNB to the UE.
  • the PDCP SN of the packet After receiving the target S-eNB, the handover confirmation message is sent, and the handover confirmation message carries the PDCP SN of the last data packet sent by the source S-eNB to the UE, or the first one sent by the target S-eNB to the UE.
  • the PDCP SN of the packet is the handover confirmation message carries the PDCP SN of the last data packet sent by the source S-eNB to the UE, or the first one sent by the target S-eNB to the UE.
  • Step 5 The M-eNB sends an RRC reconfiguration message to the UE, instructing the UE to perform an S-eNB update process.
  • the RRC reconfiguration message carries the PDCP SN of the last data packet sent by the source S-eNB to the UE, or the PDCP SN of the first new data packet sent by the target S-eNB to the UE.
  • Step 6 After the UE accesses the local base station, the target S-eNB according to the PDCP SN of the last data packet sent by the source S-eNB to the UE, or according to the first new data packet sent by the target S-eNB to the UE.
  • the PDCP SN, the target eNB numbers the first new data packet of the base station, and transmits the data packet to the serving node, which is then sent by the serving node to the UE.
  • Step 7 After receiving the data packet, the UE continues to decode with the key of the source S-eNB if it is determined that the PDCP SN of the data packet is less than or equal to the PDCP SN of the last data packet sent by the source eNB.
  • the UE updates the key, and uses the key of the destination S-eNB to receive the data packet and subsequent data. The packet is decoded.
  • the UE After the UE receives the data packet, if it is determined that the PDCP SN of the data packet is smaller than the PDCP SN of the first new data packet sent by the destination S-eNB to the UE, the UE continues to use the key of the source S-eNB. decoding. When the PDCP SN of the data packet received by the UE is greater than or equal to the PDCP SN of the first new data packet sent by the destination S-eNB to the UE, the UE updates the key and uses the key of the destination S-eNB to receive the received key. The data packet and subsequent data packets are decoded.
  • a data transmission method in a mobile process is provided. This embodiment describes a implementation process of the present disclosure in conjunction with a specific application example. specific:
  • both the old and new eNBs can be connected to a service node node.
  • the UE is in overlapping coverage of two eNBs and serving nodes.
  • the source eNB and the serving node provide services for the UE.
  • the target eNB and the serving node start to provide services for the UE.
  • the two eNBs send the data packet to the service node, and the service node is responsible for transmitting the data packet to the UE.
  • the two eNBs send data packets to the UE through the serving node.
  • the data packet error of the source eNB may be lost, and the target eNB needs to be retransmitted. That is, to retransmit the data packet of the source eNB by using the key of the target eNB, the UE needs to perform key update in time.
  • the key update determination is performed by using the manner described in the fifth embodiment.
  • the target eNB encrypts the data packet of the source base station with the PDCP SN equal to 4 by using the key of the target eNB, and then retransmits.
  • the target eNB needs to determine that the key of the UE has been updated to the target eNB, and then retransmit the data packet of the source eNB.
  • the method for determining, by the target eNB, whether the UE has performed the key update may be: the target eNB first sends a new data packet of the target eNB, and confirms that the UE has received the UE, and then considers that the UE has updated the key.
  • the method for the target eNB to confirm that the UE has received the newly transmitted data packet may be that the bottom layer of the target eNB feeds back the acknowledgement information, for example: ACK; or the UE sends the information of the data packet reception status to the target eNB, for example, a status report.
  • a data transmission method in a mobile process is provided.
  • the application scenario in this embodiment is: two base stations eNB can be connected to a service node node, where the service node can be a base station or WT and so on.
  • the UE is in overlapping coverage of two eNBs and serving nodes.
  • the source eNB and the serving node provide services for the UE.
  • the target eNB and the serving node start to provide services for the UE.
  • both eNBs transmit the data packet to the service node, and the service node is responsible for transmitting the data packet to the UE.
  • Step 1 When the source eNB detects that the target terminal meets the condition of handover to the target eNB, the source eNB sends a handover request message to the target eNB.
  • the handover message carries the key update indication information; the key update indication information is the identity information end maker carried in the data packet for indicating the key update.
  • Step 2 After receiving the eNB, the handover acknowledgment message is sent, and the handover confirmation message carries the key update indication information sent by the source eNB to the UE.
  • Step 3 The source eNB sends an RRC reconfiguration message to the UE, indicating that the UE has a handover.
  • the RRC reconfiguration message carries key update indication information that is sent by the source eNB to the UE.
  • Step 4 After receiving the RRC reconfiguration message, the UE obtains the key update indication information that is sent by the source eNB to the UE from the RRC reconfiguration message.
  • Step 5 After the target eNB accesses the local base station, the target eNB adds end maker identification information to the packet header of the first packet sent to the UE.
  • Step 6 After receiving the data packet, the UE detects whether the end maker identification information is carried in the data packet, and when the data packet carries the end maker identification information, directly performs key update, and uses the key of the destination eNB to receive the data. The packet and subsequent packets are decoded.
  • both the old and new eNBs can be connected to a certain service node node.
  • the UE is in overlapping coverage of two eNBs and serving nodes.
  • the source eNB and the serving node provide services for the UE.
  • the target eNB and the serving node start to provide services for the UE.
  • the two eNBs send the data packet to the service node, and the service node is responsible for transmitting the data packet to the UE.
  • the two eNBs send data packets to the UE through the serving node.
  • the data packet error of the source eNB may be lost, and the target eNB needs to be retransmitted. That is, to retransmit the data packet of the source eNB by using the key of the target eNB, the UE needs to perform key update in time.
  • Step 1 When the source eNB detects that the target terminal meets the condition of handover to the target eNB, the source eNB sends a handover request message to the target eNB.
  • the handover message carries the key update indication information.
  • the key update indication information includes: an identity maker end identifier carried in the data packet for indicating the key update, and a data packet PDCP for the key update determination. Threshold information for the serial number.
  • the threshold information is: a PDCP SN of the last data packet sent by the source eNB to the UE, or a PDCP SN of the first new data packet sent by the target eNB to the UE.
  • Step 2 After receiving the eNB, the handover acknowledgment message is sent, and the handover confirmation message carries the key update indication information sent by the source eNB to the UE.
  • Step 3 The source eNB sends an RRC reconfiguration message to the UE, indicating that the UE has a handover.
  • the RRC reconfiguration message carries key update indication information that is sent by the source eNB to the UE.
  • Step 4 After receiving the RRC reconfiguration message, the UE obtains the key update indication information that is sent by the source eNB to the UE from the RRC reconfiguration message.
  • Step 5 After the UE starts to provide the data service after the UE accesses the local base station, the target eNB may first send the retransmission data packet forwarded by the source eNB to the UE, and then send the new data packet of the base station to the UE, or may first send the data packet to the UE.
  • the UE sends the new data packet of the local base station, and then sends the retransmission data packet forwarded by the source eNB to the UE. Therefore, the target eNB may add the end maker identification information to the header of the first retransmission data packet to be sent, and set the PDCP serial number of the first new transmission data packet of the base station according to the threshold of the acquired PDCP serial number. .
  • the target base station sets the PDCP SN of the newly transmitted data packet to be the PDCP of the last data packet sent by the source eNB to the UE.
  • the target base station directly uses the PDCP SN threshold as the PDCP SN of the newly transmitted data packet.
  • Step 6 After receiving the data packet, the UE detects that the data packet carries the end maker identification information, or detects that the size relationship between the PDCP SN of the data packet and the PDCP sequence number of the data packet for determining the key update is satisfied.
  • the key is updated when the requirements are set.
  • the threshold of the data packet PDCP sequence number used for the key update determination is equal to the PDCP SN of the last data packet sent by the source eNB to the UE, and the last data sent by the source eNB to the UE.
  • a terminal is provided, as shown in FIG. 10, including:
  • the information obtaining module 1010 is configured to obtain key update indication information sent by the source base station.
  • the update judging module 1020 is configured to perform a key update determination according to the key update indication information when receiving the data packet sent by the service node;
  • the first update processing module 1030 is configured to update the currently used source base station key to the target base station key when the update determination module determines that the key update is needed;
  • the first data processing module 1040 is configured to decode the data packet received by the terminal by using the updated key.
  • the information acquiring module is specifically configured to receive an RRC reconfiguration message sent by the source base station, and extract the key update indication information in the RRC reconfiguration message.
  • the key update indication information includes: threshold information of a data packet PDCP sequence number used for key update determination, and/or a carried in the data packet for indicating the key update. Identification information in .
  • the update determination module is specifically configured to detect the PDCP sequence number of the data packet and the used secret Whether the size relationship between the thresholds of the PDCP sequence number of the data packet judged by the key update satisfies the set criterion, and when it is satisfied, it is determined that the key update is required; otherwise, it is determined that the key update is unnecessary;
  • the update determination module is specifically configured to detect whether the identifier information is carried in the packet header of the data packet, When carrying the identification information, it is determined that a key update is required, otherwise, it is determined that no key update is needed;
  • the update determination module specifically uses And detecting whether a size relationship between a PDCP sequence number of the data packet and a threshold value of the data packet PDCP sequence number used for key update determination satisfies a set criterion, and detecting whether a packet header of the data packet carries
  • the identification information is determined to be that the key update is required when any of the detection results is YES, otherwise, it is determined that the key update is not required.
  • the threshold information of the data packet PDCP sequence number used for the key update determination includes: PDCP sequence number information of the last data packet sent by the source base station, or the target PDCP sequence number information of the first new data packet sent by the base station;
  • the identification information includes: an end maker.
  • the update judgment a module specifically for extracting a received PDCP sequence number of the data packet, comparing a PDCP sequence number of the data packet with a PDCP sequence number of a last data packet sent by the source base station, when the data packet is When the PDCP sequence number is less than or equal to the PDCP sequence number of the last data packet sent by the source base station, it is determined that the key update is not required, otherwise, it is determined that the key update is required;
  • the update determining module is specifically configured to extract and receive The PDCP sequence number of the data packet, and comparing the PDCP sequence number of the data packet with the PDCP sequence number of the first new data packet sent by the target base station, when the PDCP sequence number of the data packet is smaller than When the PDCP sequence number of the first new data packet transmitted by the target base station is determined, it is determined that the key update is not required, otherwise, it is determined that the key update is required.
  • the embodiment of the present disclosure provides various criteria for determining a key update.
  • the terminal described in this embodiment can perform key update determination and key update operation according to the previously obtained key update indication information.
  • the problem that the terminal in the related art uses the wrong key to decode the data packet after the terminal is switched to the target base station is solved.
  • a source base station is provided, as shown in FIG. 11, including:
  • the first information sending module 1110 is configured to: when detecting that the target terminal meets the condition for switching to the target base station, send the key update indication information to the target base station;
  • the second information sending module 1120 is configured to send key update indication information to the target terminal after the target base station confirms the handover;
  • the data sending module 1130 is configured to transmit the data packet in the buffer to the target terminal through the serving node and/or forward the data packet in the buffer to the target base station.
  • the first information sending module is configured to: when detecting that the target terminal is to be handed over to the target base station, send a handover request message to the target base station, where the handover request message carries The key update indication information.
  • the second information sending module is configured to: after receiving the handover confirmation message fed back by the target base station, determine that the target base station has confirmed the handover, from the handover confirmation message.
  • the carried key update indication information is extracted, and the extracted key update indication information is sent to the target terminal.
  • the second information sending module is configured to send an RRC reconfiguration message to the target terminal, and carry the key update indication information in the RRC reconfiguration message.
  • the key update indication information includes: threshold information of a data packet PDCP sequence number used for key update determination, and/or a carried in the data packet for indicating the key update. Identification information in .
  • the threshold information of the data packet PDCP sequence number used for the key update determination includes: PDCP sequence number information of the last data packet sent by the source base station, or PDCP sequence number information of the first new data packet sent by the target base station;
  • the identification information includes: an end maker.
  • the first information sending module sends the location to the target base station by using the primary base station M-eNB.
  • the key update indication information and the second information sending module sends the key update indication information to the target terminal by using an M-eNB.
  • the source base station is used to send the key update indication information for the auxiliary terminal to perform the key update determination to the target base station and the target terminal, so that the target base station updates the indication information according to the key,
  • the data packet sent to the target terminal is processed, and when the target terminal receives the data packet, the key update determination may be performed according to the received key update indication information.
  • the terminal can cooperate with the terminal according to the eleventh embodiment to prevent the terminal from using the wrong key to decode the data packet after the source base station switches to the target base station.
  • a target base station is provided, as shown in FIG. 12, including:
  • the information receiving module 1210 is configured to receive key update indication information sent by the source base station;
  • the first processing module 1220 is configured to process, after the target terminal cuts in the local base station from the source base station, the first packet sent to the target terminal according to the key update indication information;
  • the first sending module 1230 is configured to send the first packet processed by the first processing module to the target terminal by using a serving node.
  • the information receiving module is specifically configured to receive a handover request message sent by the source base station, and extract the key update indication information from the handover request message.
  • the information receiving module is further configured to: after receiving the handover request message sent by the source base station, when the target terminal is allowed to access, send a handover confirmation message to the source base station.
  • the handover confirmation message carries key update indication information that the active base station needs to send to the target terminal.
  • the key update indication information includes: threshold information of a data packet PDCP sequence number used for key update determination, and/or carried in the data for indicating the key update. Identification information in the package.
  • the first packet is a first new data packet of the target base station;
  • the first processing module specifically And configured to set a PDCP sequence number of the first new data packet of the local base station that is sent to the target terminal, such that the PDCP sequence number is greater than or equal to the threshold value;
  • the first packet is a retransmission data packet forwarded by the source base station to the target base station or is the first of the target base stations. a new data packet, where the first processing module is configured to carry the identifier information in a packet header of the first packet;
  • the key update indication information is threshold information of a data packet PDCP sequence number used for key update determination and identification information carried in a data packet for indicating key update
  • the first processing module is specifically configured to carry the identifier information in a packet header of the first packet; when the first packet is the first new data of the target base station
  • the first processing module is specifically configured to set a PDCP sequence number of the first new data packet of the local base station that is sent to the target terminal, such that the PDCP sequence number is greater than or equal to the threshold.
  • the threshold information of the data packet PDCP sequence number used for the key update determination includes: PDCP sequence number information of the last data packet sent by the source base station, or PDCP sequence number information of the first new data packet sent by the target base station;
  • the identification information includes: an end maker.
  • the first processing module is specifically configured to The PDCP sequence number of the first packet sent by the target terminal is set to be the PDCP sequence number of the last data packet sent by the source base station plus one;
  • the first processing module is specifically configured to send the first packet to the target terminal.
  • the PDCP sequence number is set to the PDCP sequence number of the first new data packet sent by the target base station; the first packet is the first new data packet of the target base station.
  • the target base station After receiving the key update indication information sent by the source terminal, the target base station according to the embodiment processes the first packet sent to the target terminal, so that the target terminal that has obtained the key update indication is obtained.
  • the key update judgment can be accurately performed. It can be seen that, by using the target base station in this embodiment, the terminal according to the eleventh embodiment and the source base station according to the twelfth embodiment can cooperate, so that the terminal can be switched from the source base station to the target base station. To avoid using the wrong key to decode the packet.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: ROM, RAM, disk or CD.
  • the present disclosure is applicable to the field of wireless communication technologies, and uses the key of the terminal to be updated in time, and ensures that the data transmission of the terminal is not interrupted, which is a good solution to the problem that the existing key update mechanism is not perfect and affects the decoding of the data packet.

Landscapes

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

Abstract

本公开公开了一种移动过程中的数据传输的方法、终端和基站,所述方法包括:终端获取源基站发送的密钥更新指示信息;终端在接收到服务节点发送的数据包时,根据所述密钥更新指示信息,进行密钥更新判断;终端在判断出需要密钥更新时,将当前采用的源基站的密钥更新为目标基站的密钥,并利用更新后的密钥对终端接收到的数据包进行解码。本公开通过密钥更新指示信息,辅助终端进行密钥更新判断,该密钥更新方案既能及时更新终端的密钥,又能保证终端的数据传输不中断,很好的解决现有密钥更新机制不够完善,影响数据包解码的问题。 (图5)

Description

移动过程中的数据传输的方法、终端和基站 技术领域
本公开涉及无线通信技术领域,尤其涉及一种移动过程中的数据传输的方法、终端和基站。
背景技术
随着技术的发展,相关技术中长期演进系统(LTE,Long Term Evolution)开始和局域网(WLAN)技术进行融合,形成新的组网形式。主要由四个设备组成:用户设备(UE,User Equipment)、核心网(CN,Core Network)、基站(eNB,Evolved Node B)和局域网终端(WT,WLAN Termination),其中,核心网中的移动管理实体(MME,Mobility Management Entity)主要负责信令的传输,服务网关(SGW,Serving GateWay)主要负责数据的传输。UE和eNB的接口为Uu,eNB与核心网的接口为S1,WT与eNB的接口为与Xw,如图1所示,为LTE和WLAN融合的架构图。
eNB和WLAN节点都可以同时为UE提供服务。如图2所示,为eNB和WLAN融合的协议架构图,在该协议架构下eNB的PDCP(Packet Data Convergence Protocol,分组数据汇聚协议)层将加密好的数据包通过接口Xw递交给WLAN的LWAAP(LTE-WLAN Aggregation Adaptation Protocol)层,WT负责将数据传输给UE。
在eNB和WT重叠覆盖的场景中,如图3所示,尤其是UE从eNB1移动到eNB2过程中,且一直处于WT的覆盖范围内,虽然UE需要从eNB1切换到eNB2,但是UE始终处于WT的覆盖范围。
为了避免UE从eNB1切换到eNB2的过程中发生数据中断,WT会持续为UE提供服务。如图4所示,为移动过程中LTE和WLAN为UE提供服务的场景示意图。对于下行,eNB1和eNB2都将数据传递给WT,WT再发送给UE。对于上行,UE将数据发送给WT,WT再提交给eNB1和eNB2,由于数据加密时采用的密钥是与eNB相关的,也就是eNB1和eNB2的密钥是不同的。
由于在数据传输过程中,数据包会发生重传,例如,eNB1的数据包需要进行重传,重传的数据包会和新传的数据包混合在一起,例如,eNB1的重传数据包和eNB2的新传数据包混合在一起,而且UE同时只能使用同一个密钥,这就会出现UE会使用错误的密钥去解码数据包。如果数据包解码失败,就可能会丢弃该数据包。
发明内容
本公开提供一种移动过程中的数据传输的方法、终端和基站,用以解决相关技术中密钥切换机制不够完善,影响数据包解码的问题。
依据本公开的一个方面,提供一种移动过程中的数据传输的方法,包括:
终端获取源基站发送的密钥更新指示信息;
终端在接收到服务节点发送的数据包时,根据所述密钥更新指示信息,进行密钥更新判断;
终端在判断出需要密钥更新时,将当前采用的源基站的密钥更新为目标基站的密钥,并利用更新后的密钥对终端接收到的数据包进行解码。
依据本公开的第二个方面,提供一种移动过程中的数据传输方法,包括:
所述源基站在检测到目标终端满足切换到目标基站的条件时,向所述目标基站发送密钥更新指示信息;
所述源基站在所述目标基站确认切换后,向所述目标终端发送密钥更新指示信息;
所述源基站将缓存中的数据包通过服务节点传输给所述目标终端和/或将缓存中的数据包前传给所述目标基站。
依据本公开的第三个方面,提供一种移动过程中的数据传输方法,包括:
所述目标基站接收源基站发送的密钥更新指示信息;
所述目标基站在目标终端从所述源基站切入本基站后,根据所述密钥更新指示信息,对向所述目标终端发送的首包进行处理,并在处理后通过服务节点向所述目标终端发送所述首包。
依据本公开的第四个方面,提供一种终端,包括:
信息获取模块,设置为获取源基站发送的密钥更新指示信息;
更新判断模块,设置为在接收到服务节点发送的数据包时,根据所述密钥更新指示信息,进行密钥更新判断;
第一更新处理模块,设置为在所述更新判断模块判断出需要密钥更新时,将当前采用的源基站的密钥更新为目标基站的密钥;
第一数据处理模块,设置为利用更新后的密钥对终端接收到的数据包进行解码。
依据本公开的第五个方面,提供一种源基站,包括:
第一信息发送模块,设置为在检测到目标终端满足切换到目标基站的条件时,向目标基站发送密钥更新指示信息;
第二信息发送模块,设置为在所述目标基站确认切换后,向所述目标终端发送密钥更新指示信息;
数据发送模块,设置为将缓存中的数据包通过服务节点传输给所述目标终端和/或将缓存中的数据包前传给所述目标基站。
依据本公开的第六个方面,提供一种目标基站,包括:
信息接收模块,设置为接收源基站发送的密钥更新指示信息;
第一处理模块,设置为在目标终端从所述源基站切入本基站后,根据所述密钥更新指示信息,对向所述目标终端发送的首包进行处理;
第一发送模块,设置为将所述第一处理模块处理后的首包通过服务节点向所述目标终端发送。
本公开的有益效果如下:
本公开通过密钥更新指示信息,辅助终端进行密钥更新判断,该密钥更新方案既能及时更新终端的密钥,又能保证终端的数据传输不中断,很好的解决现有密钥更新机制不够完善,影响数据包解码的问题。
上述说明仅是本公开技术方案的概述,为了能够更清楚了解本公开的技术手段,而可依照说明书的内容予以实施,并且为了让本公开的上述和其它目的、特征和优点能够更明显易懂,以下特举本公开的具体实施方式。
附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本公开的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1为相关技术中LTE和WLAN融合的架构图;
图2为相关技术中LTE和WLAN融合的协议架构图;
图3为相关技术中LTE和WLAN的共同覆盖的场景示意图;
图4为相关技术中在移动过程中LTE和WLAN为UE提供服务的场景示意图;
图5为本公开第一实施例提供的一种移动过程中的数据传输的方法的流程图;
图6为本公开第二实施例提供的一种移动过程中的数据传输的方法的流程图;
图7为本公开第三实施例提供的一种移动过程中的数据传输的方法的流程图;
图8为本公开第八实施例提供的移动过程中的数据传输方法的应用场景示意图;
图9为本公开第十实施例提供的移动过程中的数据传输方法的应用场景示意图;
图10为本公开第十一实施例提供的一种终端的结构框图;
图11为本公开第十二实施例提供的一种源基站的结构框图;
图12为本公开第十三实施例提供的一种目标基站的结构框图。
具体实施方式
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
本公开实施例提供一种移动过程中的数据传输的方法、终端和基站,本公开既能及时更 新UE的密钥,又能保证UE的数据不中断,很好的解决了相关技术中存在的UE密钥更新问题。下面通过几个具体实施例对本公开的实施过程进行详细的阐述。
在本公开第一实施例中,提供一种移动过程中的数据传输的方法,本实施例所述方法应用于终端侧,所述终端处于两个eNB和服务节点的重叠覆盖中。如图5所示,所述方法包括如下步骤:
步骤S501,终端获取源基站发送的密钥更新指示信息;
在本公开的一个具体实施例中,终端获取密钥更新指示信息的方式包括:终端接收到源基站发送的RRC重配消息,并在所述RRC重配消息中提取出所述密钥更新指示信息。即源基站通过RRC重配消息将密钥更新指示信息发送到终端。
本公开实施例中,密钥更新指示信息用于辅助终端进行密钥更新判断,在一个具体实施例中,所述密钥更新指示信息为:用于密钥更新判断的数据包PDCP序列号的阈值信息。具体的,用于密钥更新判断的数据包PDCP序列号的阈值信息可以但不限于为:源基站发送的最后一个数据包的PDCP序列号信息,或者,目标基站发送的第一个新传数据包的PDCP序列号信息。
在本公开的又一具体实施例中,所述密钥更新指示信息为:用于指示密钥更新的携带在数据包中的标识信息。该标识信息可以但不限于为end maker。
在本公开的再一具体实施例中,所述密钥更新指示信息为:用于密钥更新判断的数据包PDCP序列号的阈值信息,和,用于指示密钥更新的携带在数据包中的标识信息。
步骤S502,终端在接收到服务节点发送的数据包时,根据所述密钥更新指示信息,进行密钥更新判断;
具体的,本公开实施例中,当终端获取的密钥更新指示信息为用于密钥更新判断的数据包PDCP序列号的阈值信息时,密钥更新判断过程具体为:
终端在接收到服务节点发送的数据包时,检测接收到的数据包的PDCP序列号与所述用于密钥更新判断的数据包PDCP序列号的阈值间的大小关系是否满足设定的标准,当满足时,判定为需要密钥更新,否则,判定为无需密钥更新。
在本公开的一个具体实施例中,当用于密钥更新判断的数据包PDCP序列号的阈值信息为所述源基站发送的最后一个数据包的PDCP序列号信息时,进行密钥更新判断,具体包括:终端提取接收到的所述数据包的PDCP序列号,将该数据包的PDCP序列号与所述源基站发送的最后一个数据包的PDCP序列号进行比较,当所述数据包的PDCP序列号小于等于所述源基站发送的最后一个数据包的PDCP序列号时,判定为无需密钥更新,否则,判定为需要密钥更新。
可选地,当用于密钥更新判断的数据包PDCP序列号的阈值信息为所述目标基站发送的第一个新传数据包的PDCP序列号信息时,进行密钥更新判断,具体包括:所述终端提取接收到的所述数据包的PDCP序列号,并将该数据包的PDCP序列号与所述目标基站发送的第一个新传数据包的PDCP序列号进行比较,当所述数据包的PDCP序列号小于所述目标基站发送的第一个新传数据包的PDCP序列号时,判定为无需密钥更新,否则,判定为需要密钥 更新。
可选地,本公开实施例中,当终端获取的密钥更新指示信息为用于指示密钥更新的携带在数据包中的标识信息时,密钥更新判断过程具体为:
检测所述数据包的包头中是否携带所述标识信息,当携带所述标识信息时,判定为需要密钥更新,否则,判定为无需密钥更新;
可选地,本公开实施例中,当终端获取的密钥更新指示信息包括用于密钥更新判断的数据包PDCP序列号的阈值信息和用于指示密钥更新的携带在数据包中的标识信息时,密钥更新判断过程具体为:
检测所述数据包的PDCP序列号与所述用于密钥更新判断的数据包PDCP序列号的阈值间的大小关系是否满足设定的标准,以及检测所述数据包的包头中是否携带所述标识信息,当任一检测结果为是时,判定为需要密钥更新,否则,判定为无需密钥更新。
步骤S503,终端在判断出需要密钥更新时,将当前采用的源基站的密钥更新为目标基站的密钥,并利用更新后的密钥对终端接收到的数据包进行解码。
本公开实施例中,利用更新后的密钥对终端接收到的数据包进行解码,其中接收到的数据包包括步骤S502中接收到的数据包,以及终端随后接收到的数据包。即终端在进行密钥切换后,就不在进行密钥更新判断,而是利用切换后的密钥直接进行数据包的解码操作。
可选地,本公开实施例中,当用于密钥更新判断的数据包PDCP序列号的阈值信息为源基站发送的最后一个数据包的PDCP序列号信息时,终端在判断出接收到的数据包的PDCP序列号与源基站发送的最后一个数据包的PDCP序列号相等时,可以判定出源基站已经将数据发送完毕,终端在利用源基站的密钥对该数据包进行解码后,可以不用等待下一个数据包的到来,直接进行密钥更新,当下一个数据包到来时,直接利用更新后的密钥进行数据包的解码操作。
综上可知,本公开实施例给出了密钥更新的多种判断标准,利用本实施例所述方法的终端可以根据预先获取的密钥更新指示信息,进行密钥更新判断及密钥更新操作,解决了相关技术中终端在由源基站切换到目标基站后,存在会使用错误的密钥去解码数据包的问题。
在本公开第二实施例中,提供一种移动过程中的数据传输方法,应用于源基站侧,如图6所示,所述方法包括如下步骤:
步骤S601,源基站在检测到目标终端满足切换到目标基站的条件时,向所述目标基站发送密钥更新指示信息;
本公开实施例中,所述的目标终端处于源基站、目标基站和服务节点的重叠覆盖中。
可选地,在本公开的一个具体实施例中,源基站在向目标基站发送切换请求消息时,在切换请求消息中携带所述密钥更新指示信息,进而实现密钥更新指示信息的下发。
步骤S602,源基站在目标基站确认切换后,向目标终端发送密钥更新指示信息;
本公开实施例中,源基站在向目标基站发送切换请求消息后,若接收到目标基站反馈的切换确认消息,则判定出目标基站确认切换。
在本公开的一个具体实施例中,源基站向目标终端发送的密钥更新指示信息为源基站接收到目标基站反馈的切换确认消息,从切换确认消息中提取出的密钥更新指示信息。
在本公开的又一具体实施例中,源基站向所述目标终端发送RRC重配消息,并在所述RRC重配消息中携带所述密钥更新指示信息。即,源基站通过将密钥更新指示信息携带在RRC重配消息中的方式,将密钥更新指示信息发送到目的终端。
步骤S603,源基站将缓存中的数据包通过服务节点传输给目标终端和/或将缓存中的数据包前传给目标基站,以由目标基站通过服务节点传输给目标终端。
本公开实施例中,所述的密钥更新指示信息包括:用于密钥更新判断的数据包PDCP序列号的阈值信息,和/或,用于指示密钥更新的携带在数据包中的标识信息。具体的,用于密钥更新判断的数据包PDCP序列号的阈值信息可以但不限于为:源基站发送的最后一个数据包的PDCP序列号信息,或者,目标基站发送的第一个新传数据包的PDCP序列号信息。所述标识信息可以但不限于为end maker。
另外,值得一提的是,当本公开实施例所述的源基站和目标基站的类型均为S-eNB(Second eNB,第二基站)时,源基站通过M-eNB(Master eNB,主基站)向目标基站发送所述密钥更新指示信息,以及通过M-eNB向目标终端发送所述密钥更新指示信息。
综上可知,利用本实施例所述方法的源基站,将用于辅助终端进行密钥更新判断的密钥更新指示信息发送到目标基站和目标终端,使得目标基站根据该密钥更新指示信息,对发送至目标终端的数据包进行处理,以及使得目标终端在接收到数据包时,可以根据接收到的密钥更新指示信息,进行密钥更新判断。可见,利用本实施例所述方法的源基站与利用第一实施例所述方法的终端相配合,可以使得终端在由源基站切换到目标基站后,避免使用错误的密钥去解码数据包。
在本公开的第三实施例中,提供一种移动过程中的数据传输方法,应用于目标基站,如图7所示,所述方法包括如下步骤:
步骤S701,目标基站接收源基站发送的密钥更新指示信息;
在本公开的一个具体实施例中,所述目标基站接收所述源基站发送的切换请求消息,并从所述切换请求消息中提取出所述密钥更新指示信息。也就是说,源基站通过切换请求消息来携带所述密钥更新指示信息。
可选地,本公开实施例中,目标基站在接收到源基站发送的切换请求消息后,还包括:目标基站在允许所述目标终端接入时,向所述源基站发送切换确认消息,所述切换确认消息中携带有源基站需向目标终端发送的密钥更新指示信息。
步骤S702,目标基站在目标终端从源基站切入本基站后,根据所述密钥更新指示信息,对向所述目标终端发送的首包进行处理,并在处理后通过服务节点向所述目标终端发送所述首包。
本公开实施例中,所述的密钥更新指示信息包括:用于密钥更新判断的数据包PDCP序列号的阈值信息,和/或,用于指示密钥更新的携带在数据包中的标识信息。具体的,用于密 钥更新判断的数据包PDCP序列号的阈值信息包括但不限于为:源基站发送的最后一个数据包的PDCP序列号信息,或者,目标基站发送的第一个新传数据包的PDCP序列号信息。所述标识信息可以但不限于为end maker。
具体的,本公开实施例中,当所述密钥更新指示信息为用于密钥更新判断的数据包PDCP序列号的阈值信息时,所述首包为目标基站的第一个新传数据包;此时,对向所述目标终端发送的首包进行处理,具体包括:设置向所述目标终端发送的本基站的第一个新传数据包的PDCP序列号,使得该PDCP序列号大于或等于所述阈值。在本公开的一个具体实施例中,当所述密钥更新指示信息为所述源基站发送的最后一个数据包的PDCP序列号信息时,将向所述目标终端发送的第一个新传数据包的PDCP序列号设为所述源基站发送的最后一个数据包的PDCP序列号加一;当所述密钥更新指示信息为所述目标基站发送的第一个新传数据包的PDCP序列号信息时,将向所述目标终端发送的第一个新传数据包的PDCP序列号设为所述目标基站发送的第一个新传数据包的PDCP序列号。
可选地,本公开实施例中,当所述密钥更新指示信息为用于密钥更新判断的携带在数据包中的标识信息时,所述首包为源基站前传至目标基站的重传数据包或者为目标基站的第一个新传数据包。此时,对向所述目标终端发送的首包进行处理,具体包括:在所述首包的包头中携带所述标识信息;
可选地,本公开实施例中,当所述密钥更新指示信息为用于密钥更新判断的数据包PDCP序列号的阈值信息和用于密钥更新判断的携带在数据包中的标识信息时,若所述首包为源基站前传至目标基站的重传数据包,则对向所述目标终端发送的首包进行处理,具体包括:在所述首包的包头中携带所述标识信息。若所述首包为目标基站的第一个新传数据包,则对向所述目标终端发送的首包进行处理,具体包括:设置向所述目标终端发送的本基站的第一个新传数据包的PDCP序列号,使得该PDCP序列号大于或等于所述阈值。该实施例为终端密钥判断提供了双重判断标准,提高了密钥更新的准确性。
可选地,本公开实施例中,当所述密钥更新指示信息为用于密钥更新判断的数据包PDCP序列号的阈值信息和用于密钥更新判断的携带在数据包中的标识信息时,所述首包也可以为目标基站的第一个新传数据包。此时,对向所述目标终端发送的首包进行处理,具体包括:设置向所述目标终端发送的本基站的第一个新传数据包的PDCP序列号,使得该PDCP序列号大于等于所述阈值,以及在第一个新传数据包的包头中携带所述标识信息。
综上可知,利用本实施例所述方法的目标基站,在接收到源终端发送的密钥更新指示信息后,对发送给目标终端的首包进行处理,使得已经获取到密钥更新指示的目标终端在接收到首包时,可以准确的进行密钥更新判断。可见,利用本实施例所述方法的目标基站与利用第一实施例所述方法的终端、以及利用第二实施例所述方法的源基站相配合,可以使得终端在由源基站切换到目标基站后,避免使用错误的密钥去解码数据包。
在本公开的第四实施例中,提供一种移动过程中的数据传输方法,该方法中密钥更新指示信息为用于指示密钥更新的携带在数据包中的标识信息(例如,end maker),但该密钥更 新指示信息无需源基站发送到目标终端和目标基站。而是通过修改终端和基站协议,实现密钥更新判断。例如,终端在接收到源基站发送的RRC重配消息后,若接收到服务节点发送的数据包时,开始检测所述数据包中是否携带有指定的标识信息,终端在检测出所述数据包中携带有指定的密钥更新指示信息时,将当前采用的密钥更新为目的基站的密钥,并利用更新后的密钥对所述数据包进行解码。而目标基站在终端从所述源基站切入本基站后,在向所述目标终端发送的首包中添加指定的标识信息,并将添加有指定的标识信息的首包通过服务节点向所述目标终端发送。
本实施例所述方法,也可以很好的解决相关技术中终端在由源基站切换到目标基站后,存在会使用错误的密钥去解码数据包的问题。
以上分别从终端、源基站、目标基站侧,对密钥更新方案进行了阐述,下面通过几个具体实施例对本公开的整体实施过程进行阐述。
在本公开的第五实施例中,提供一种移动过程中的数据传输方法,本实施例的应用场景为:两个基站eNB都可与某服务节点node相连,其中,服务节点可以是基站或者WT等。UE处于两个eNB和服务节点的重叠覆盖范围内。初始,源eNB和服务节点为UE提供服务,当UE从源eNB移动到目标eNB的过程中,目标eNB和服务节点开始为UE提供服务。为了保证UE的数据不间断,在这个过程中,两个eNB都将数据包发送给服务节点,服务节点负责将数据包发送给UE。
为了保证UE能够及时更新密钥,本实施例所述方法的实施过程如下:
步骤1,源eNB检测到目标终端满足切换到目标eNB的条件时,向目标eNB发送切换请求消息。其中,切换请求消息中携带源eNB发送给UE的最后一个数据包的PDCP SN。
步骤2,目标eNB接收后,回复切换确认消息,该切换确认消息会携带源eNB发送给UE的最后一个数据包的PDCP SN。
步骤3,源eNB给UE发送RRC重配消息,指示UE发生切换。其中,RRC重配消息中携带源eNB发送给UE的最后一个数据包的PDCP SN。需要指出的是,源eNB给UE发送了RRC重配消息后,不会终止对UE的数据传输。源eNB会继续将缓存中的数据传输给服务节点,继而由服务节点发送给UE。或者,源eNB会将没有发送成功以及没有发送的数据包前传给目标eNB,由目标eNB继续将缓存中的数据传输给服务节点,继而由服务节点发送给UE。
步骤4,UE接收到RRC重配消息后,从该RRC重配消息中得到源eNB发送给UE的最后一个数据包的PDCP SN信息;
步骤5,目标eNB在UE接入本基站后,根据源eNB发送给UE的最后一个数据包的PDCP SN,目标eNB对本基站的第一个新传数据包进行编号,并将该数据包传输给服务节点,继而由服务节点发送给UE。
步骤6,UE接收到数据包后,若判断出该数据包的PDCP SN小于等于源eNB发送的最后一个数据包的PDCP SN时,UE继续用源eNB的密钥进行解码。当UE接收到的数据包的 PDCP SN大于源eNB发送的最后一个数据包的PDCP SN时,UE更新密钥,采用目的eNB的密钥,对接收到的数据包及随后的数据包进行解码。
在本公开的第六实施例中,提供一种移动过程中的数据传输方法,本实施例的应用场景为:两个基站eNB都可与某服务节点node相连。UE处于两个eNB和服务节点的重叠覆盖范围内。初始,源eNB和服务节点为UE提供服务,当UE从源eNB移动到目标eNB的过程中,目标eNB和服务节点开始为UE提供服务。为了保证UE的数据不间断,在这个过程中,两个eNB都将数据包发送给服务节点,服务节点负责将数据包发送给UE。
为了保证UE能够及时更新密钥,本实施例所述方法的实施过程如下:
步骤1,源eNB检测到目标终端满足切换到目标eNB的条件时,向目标eNB发送切换请求消息。其中,切换消息中携带目标eNB发送给UE的第一个新传数据包的PDCP SN。
步骤2,目标eNB接收后,回复切换确认消息,该切换确认消息会携带目标eNB发送给UE的第一个新传数据包的PDCP SN。
步骤3,源eNB给UE发送RRC重配消息,指示UE发生切换。其中,RRC重配消息中携带目标eNB发送给UE的第一个新传数据包的PDCP SN。需要指出的是,源eNB给UE发送了RRC重配消息后,不会终止对UE的数据传输。源eNB会继续将缓存中的数据传输给服务节点,继而由服务节点发送给UE。或者,源eNB会将没有发送成功以及没有发送的数据包前传给目标eNB,并继续将缓存中的数据传输给服务节点,继而由服务节点发送给UE。
步骤4,UE接收到RRC重配消息后,从该RRC重配消息中得到目标eNB发送给UE的第一个新传数据包的PDCP SN信息;
步骤5,目标eNB在UE接入本基站后,根据目标eNB发送的第一个新传数据包的PDCP SN对目标eNB的新传数据包进行编号,并将其传输给服务节点,继而由服务节点发送给UE。
步骤6,UE接收到数据包后,若判断出该数据包的PDCP SN小于目的eNB发送给UE的第一个新传数据包的PDCP SN时,UE继续用源eNB的密钥进行解码。当UE接收到的数据包的PDCP SN大于等于目的eNB发送给UE的第一个新传数据包的PDCP SN时,UE更新密钥,采用目的eNB的密钥,对接收到的数据包及随后的数据包进行解码。
在本公开的第七实施例中,提供一种移动过程中的数据传输方法,本实施例的应用场景为:UE处于两个eNB和服务节点的重叠覆盖中,源eNB作为UE的S-eNB(Second eNB)和服务节点进行split bearer(分割承载),为UE提供服务。当UE从源eNB移动到目标eNB的过程中,发生了S-eNB更新过程,但是服务节点依旧可以作为提供split bearer的服务节点。在这个过程中,源S-eNB需要将UE的数据传输给服务节点,服务节点再发送给UE,而目标S-eNB也需要将UE的数据传输给服务节点,服务节点再发送给UE。
为了保证UE能够及时更新密钥,本实施例所述方法的实施过程如下:
步骤1,M-eNB检测到目标终端满足切换到目标eNB的条件时,向源S-eNB发送S-eNB修改请求消息。
步骤2,源S-eNB回复S-eNB修改请求确认消息,消息会携带源S-eNB发送给UE的最后一个数据包的PDCP SN,或者,目标S-eNB发送给UE的第一个新传数据包的PDCP SN。
步骤3,M-eNB向目标S-eNB发送切换请求消息。其中,切换消息中携带源S-eNB发送给UE的最后一个数据包的PDCP SN,或者,目标S-eNB发送给UE的第一个新传数据包的PDCP SN。
步骤4,目标S-eNB接受后,回复切换确认消息,该切换确认消息会携带源S-eNB发送给UE的最后一个数据包的PDCP SN,或者,目标S-eNB发送给UE的第一个数据包的PDCP SN。
步骤5,M-eNB给UE发送RRC重配消息,指示UE发生S-eNB更新过程。其中RRC重配消息中携带源S-eNB发送给UE的最后一个数据包的PDCP SN,或者,目标S-eNB发送给UE的第一个新传数据包的PDCP SN。
步骤6,目标S-eNB在UE接入本基站后,根据源S-eNB发送给UE的最后一个数据包的PDCP SN,或者,根据目标S-eNB发送给UE的第一个新传数据包的PDCP SN,目标eNB对本基站的第一个新传数据包进行编号,并将该数据包传输给服务节点,继而由服务节点发送给UE。
步骤7,UE接收到数据包后,若判断出该数据包的PDCP SN小于等于源eNB发送的最后一个数据包的PDCP SN时,UE继续用源S-eNB的密钥进行解码。当UE接收到的数据包的PDCP SN大于源S-eNB发送的最后一个数据包的PDCP SN时,UE更新密钥,采用目的S-eNB的密钥,对接收到的数据包及随后的数据包进行解码。
或者,UE接收到数据包后,若判断出该数据包的PDCP SN小于目的S-eNB发送给UE的第一个新传数据包的PDCP SN时,UE继续用源S-eNB的密钥进行解码。当UE接收到的数据包的PDCP SN大于等于目的S-eNB发送给UE的第一个新传数据包的PDCP SN时,UE更新密钥,采用目的S-eNB的密钥,对接收到的数据包及随后的数据包进行解码。
在本公开的第八实施例中,提供一种移动过程中的数据传输方法,本实施例结合一个具体的应用示例,对本公开的实施过程进行阐述。具体的:
如图8所示,本实施例中,新旧两个eNB(即源eNB和目标eNB)都可与某服务节点node相连。UE处于两个eNB和服务节点的重叠覆盖范围内。初始,源eNB和服务节点为UE提供服务,当UE从源eNB移动到目标eNB的过程中,目标eNB和服务节点开始为UE提供服务。为了保证UE的数据不间断,在切换过程中,两个eNB都将数据包发送给服务节点,由服务节点负责将数据包发送给UE。也就是说,在切换过程中,两个eNB都通过服务节点向UE发送数据包,然而,在发送数据包的过程中,会发生源eNB的数据包错误丢失的现象,需要在目标eNB重传,也就是要用目标eNB的密钥重传源eNB的数据包,那么UE就需要及时进行密钥更新。
本公开实施例中,采用第五实施例所述方式,进行密钥更新判断。下面举例进行说明,假设源eNB发送给UE的最后一个数据包的PDCP SN为4,但是,PDCP SN=4的数据包丢失。继续如图8所示:
1,源eNB将PDCP SN=4数据包前传给目标eNB,由目标eNB进行重传。
2,为了让UE将密钥更新为目标eNB的密钥,目标eNB会先发送PDCP SN=5的新传数据包。
3,UE接收到目标eNB发送的PDCP SN=5的新传数据包后,由于该数据包的PDCP SN大于4,所以UE进行密钥更新,并利用更新后的密钥对接收到的数据包进行解码,并向服务节点反馈关于PDCP SN=5的数据包的ACK信息,或者反馈status report。
4,目标eNB接收到服务节点反馈的关于PDCP SN=5的数据包的ACK信息,或者目标eNB接收到UE反馈的status report,确认UE已经接收到PDCP SN=5的新传数据包。
5,目标eNB采用目标eNB的密钥加密源基站的PDCP SN等于4的数据包,然后重传。
6,UE接收到PDCP SN=4的数据包后,仍然采用更新后的密钥进行数据包的解码操作。
需要指出的是,本公开实施例中,对于目标eNB要重传的源eNB的数据包,目标eNB需要确定UE的密钥已经更新为目标eNB,然后再重传源eNB的数据包。目标eNB确定UE是否已进行了密钥更新的方法可以是:目标eNB先发送目标eNB的新传数据包,确认UE已经接收到了,则认为UE已经更新密钥了。目标eNB确认UE已经接收到新传数据包的方法可以是:目标eNB的底层给反馈了确认信息,例如:ACK;或者,UE给目标eNB发送了数据包接收情况的信息,例如:status report。
在本公开的第九实施例中,提供一种移动过程中的数据传输方法,本实施例的应用场景为:两个基站eNB都可与某服务节点node相连,其中,服务节点可以是基站或者WT等。UE处于两个eNB和服务节点的重叠覆盖范围内。初始,源eNB和服务节点为UE提供服务,当UE从源eNB移动到目标eNB的过程中,目标eNB和服务节点开始为UE提供服务。为了保证UE的数据不间断,在这个过程中,两个eNB都将数据包发送给服务节点,服务节点负责将数据包发送给UE。
为了保证UE能够及时更新密钥,本实施例所述方法的实施过程如下:
步骤1,源eNB检测到目标终端满足切换到目标eNB的条件时,向目标eNB发送切换请求消息。其中,切换消息中携带密钥更新指示信息;该密钥更新指示信息为用于指示密钥更新的携带在数据包中的标识信息end maker。
步骤2,目标eNB接受后,回复切换确认消息,该切换确认消息会携带源eNB发送给UE的密钥更新指示信息。
步骤3,源eNB给UE发送RRC重配消息,指示UE发生切换。其中,RRC重配消息中携带源eNB发送给UE的密钥更新指示信息。
步骤4,UE接收到RRC重配消息后,从该RRC重配消息中得到源eNB发送给UE的密钥更新指示信息;
步骤5,目标eNB在UE接入本基站后,目标eNB在向UE发送的首包的包头中添加end maker标识信息。
步骤6,UE接收到数据包后,检测数据包中是否携带end maker标识信息,当数据包中携带end maker标识信息时,直接进行密钥更新,采用目的eNB的密钥,对接收到的数据包及随后的数据包进行解码。
在本公开的第十实施例中,提供一种移动过程中的数据传输方法,本实施例结合一个具体的应用示例,对本公开的实施过程进行阐述。具体的:
本实施例中,新旧两个eNB(即源eNB和目标eNB)都可与某服务节点node相连。UE处于两个eNB和服务节点的重叠覆盖范围内。初始,源eNB和服务节点为UE提供服务,当UE从源eNB移动到目标eNB的过程中,目标eNB和服务节点开始为UE提供服务。为了保证UE的数据不间断,在切换过程中,两个eNB都将数据包发送给服务节点,由服务节点负责将数据包发送给UE。也就是说,在切换过程中,两个eNB都通过服务节点向UE发送数据包,然而,在发送数据包的过程中,会发生源eNB的数据包错误丢失的现象,需要在目标eNB重传,也就是要用目标eNB的密钥重传源eNB的数据包,那么UE就需要及时进行密钥更新。
具体的,本公开实施例所述方法的实施过程如下:
步骤1,源eNB检测到目标终端满足切换到目标eNB的条件时,向目标eNB发送切换请求消息。其中,切换消息中携带密钥更新指示信息;所述密钥更新指示信息包括:用于指示密钥更新的携带在数据包中的标识信息end maker,和用于密钥更新判断的数据包PDCP序列号的阈值信息。其中,阈值信息为:源eNB发送给UE的最后一个数据包的PDCP SN,或者,目标eNB发送给UE的第一个新传数据包的PDCP SN。
步骤2,目标eNB接受后,回复切换确认消息,该切换确认消息会携带源eNB发送给UE的密钥更新指示信息。
步骤3,源eNB给UE发送RRC重配消息,指示UE发生切换。其中,RRC重配消息中携带源eNB发送给UE的密钥更新指示信息。
步骤4,UE接收到RRC重配消息后,从该RRC重配消息中得到源eNB发送给UE的密钥更新指示信息;
步骤5,目标eNB在UE接入本基站后,开始提供数据服务时,可以先向UE发送源eNB前传过来的重传数据包,再向UE发送本基站的新传数据包,也可以先向UE发送本基站的新传数据包,再向UE发送源eNB前传过来的重传数据包。所以,目标eNB可以在准备发送的第一个重传数据包的包头中添加end maker标识信息,以及根据获取的PDCP序列号的阈值,设置本基站的第一个新传数据包的PDCP序列号。
具体的,当PDCP SN的阈值信息为源eNB发送给UE的最后一个数据包的PDCP SN时,目标基站将新传数据包的PDCP SN设为(源eNB发送给UE的最后一个数据包的PDCP SN+1),当PDCP SN的阈值信息为为目标eNB发送给UE的第一个新传数据包的PDCP SN 时,目标基站直接以该PDCP SN阈值为新传数据包的PDCP SN。
步骤6,UE接收到数据包后,若检测到数据包中携带end maker标识信息,或者,检测到数据包的PDCP SN与用于密钥更新判断的数据包PDCP序列号的阈值的大小关系满足设定的要求,则进行密钥更新。
下面举例进行说明,本示例中,设用于密钥更新判断的数据包PDCP序列号的阈值等于源eNB发送给UE的最后一个数据包的PDCP SN,并令源eNB发送给UE的最后一个数据包的PDCP SN为4。假设源eNB向UE发送PDCP SN=4的数据包后数据包丢失,则有如图9所示:
步骤1,源eNB将PDCP SN=4的数据包前传给目标eNB,由目标eNB进行重传。
步骤2,目标eNB在向UE发送本基站的新传数据包之前,为了让UE更新目标eNB的密钥,目标eNB会在PDCP SN=4的数据包头上添加end maker,然后重传;同时,目标eNB将本基站的第一个新传数据包的PDCP SN设为5。
步骤3,UE若接收到了PDCP SN=4的数据包且检测出该数据包头上添加了end maker,则UE更新密钥,解码该数据包。然而,如果PDCP SN=4且包头中添加了end maker的数据包也丢失了,由于目标eNB的第一个新传数据包的PDCP SN设为5,UE仍然可以根据PDCP SN进行密钥更新的准确判断。
在本公开的第十一实施例中,提供一种终端,如图10所示,包括:
信息获取模块1010,用于获取源基站发送的密钥更新指示信息;
更新判断模块1020,用于在接收到服务节点发送的数据包时,根据所述密钥更新指示信息,进行密钥更新判断;
第一更新处理模块1030,用于在所述更新判断模块判断出需要密钥更新时,将当前采用的源基站的密钥更新为目标基站的密钥;
第一数据处理模块1040,用于利用更新后的密钥对终端接收到的数据包进行解码。
可选地,本公开实施例中,信息获取模块,具体用于接收所述源基站发送的RRC重配消息,并在所述RRC重配消息中提取出所述密钥更新指示信息。
可选地,本公开实施例中,所述密钥更新指示信息包括:用于密钥更新判断的数据包PDCP序列号的阈值信息,和/或,用于指示密钥更新的携带在数据包中的标识信息。
可选地,本公开实施例中:
当所述密钥更新指示信息为用于密钥更新判断的数据包PDCP序列号的阈值信息时,所述更新判断模块,具体用于检测所述数据包的PDCP序列号与所述用于密钥更新判断的数据包PDCP序列号的阈值间的大小关系是否满足设定的标准,当满足时,判定为需要密钥更新,否则,判定为无需密钥更新;
当所述密钥更新指示信息为用于指示密钥更新的携带在数据包中的标识信息时,所述更新判断模块,具体用于检测所述数据包的包头中是否携带所述标识信息,当携带所述标识信息时,判定为需要密钥更新,否则,判定为无需密钥更新;
当所述密钥更新指示信息为用于密钥更新判断的数据包PDCP序列号的阈值信息和用于指示密钥更新的携带在数据包中的标识信息时,所述更新判断模块,具体用于检测所述数据包的PDCP序列号与所述用于密钥更新判断的数据包PDCP序列号的阈值间的大小关系是否满足设定的标准,以及检测所述数据包的包头中是否携带所述标识信息,当任一检测结果为是时,判定为需要密钥更新,否则,判定为无需密钥更新。
可选地,本公开实施例中,所述用于密钥更新判断的数据包PDCP序列号的阈值信息包括:所述源基站发送的最后一个数据包的PDCP序列号信息,或者,所述目标基站发送的第一个新传数据包的PDCP序列号信息;
和/或,所述标识信息包括:end maker。
可选地,本公开实施例中,当所述用于密钥更新判断的数据包PDCP序列号的阈值信息为所述源基站发送的最后一个数据包的PDCP序列号信息时,所述更新判断模块,具体用于提取接收到的所述数据包的PDCP序列号,将该数据包的PDCP序列号与所述源基站发送的最后一个数据包的PDCP序列号进行比较,当所述数据包的PDCP序列号小于等于所述源基站发送的最后一个数据包的PDCP序列号时,判定为无需密钥更新,否则,判定为需要密钥更新;
当所述用于密钥更新判断的数据包PDCP序列号的阈值信息为所述目标基站发送的第一个新传数据包的PDCP序列号信息,所述更新判断模块,具体用于提取接收到的所述数据包的PDCP序列号,并将该数据包的PDCP序列号与所述目标基站发送的第一个新传数据包的PDCP序列号进行比较,当所述数据包的PDCP序列号小于所述目标基站发送的第一个新传数据包的PDCP序列号时,判定为无需密钥更新,否则,判定为需要密钥更新。
综上可知,本公开实施例给出了密钥更新的多种判断标准,利用本实施例所述的终端可以根据预先获取的密钥更新指示信息,进行密钥更新判断及密钥更新操作,解决了相关技术中终端在由源基站切换到目标基站后,存在会使用错误的密钥去解码数据包的问题。
在本公开的第十二实施例中,提供一种源基站,如图11所示,包括:
第一信息发送模块1110,用于在检测到目标终端满足切换到目标基站的条件时,向目标基站发送密钥更新指示信息;
第二信息发送模块1120,用于在所述目标基站确认切换后,向所述目标终端发送密钥更新指示信息;
数据发送模块1130,用于将缓存中的数据包通过服务节点传输给所述目标终端和/或将缓存中的数据包前传给所述目标基站。
可选地,本公开实施例中,第一信息发送模块,具体用于在检测到目标终端将要切换到目标基站时,向所述目标基站发送切换请求消息,所述切换请求消息中携带有所述密钥更新指示信息。
可选地,本公开实施例中,所述第二信息发送模块,具体用于接收到所述目标基站反馈的切换确认消息后,判定所述目标基站已确认切换,从所述切换确认消息中提取出携带的密 钥更新指示信息,向所述目标终端发送提取的所述密钥更新指示信息。
可选地,本公开实施例中,所述第二信息发送模块,具体用于向所述目标终端发送RRC重配消息,并在所述RRC重配消息中携带所述密钥更新指示信息。
可选地,本公开实施例中,所述密钥更新指示信息包括:用于密钥更新判断的数据包PDCP序列号的阈值信息,和/或,用于指示密钥更新的携带在数据包中的标识信息。
可选地,本公开实施例中,所述用于密钥更新判断的数据包PDCP序列号的阈值信息,包括:所述源基站发送的最后一个数据包的PDCP序列号信息,或者,所述目标基站发送的第一个新传数据包的PDCP序列号信息;
和/或,所述标识信息包括:end maker。
可选地,本公开实施例中,当所述源基站和目标基站的类型均为第二基站S-eNB时,所述第一信息发送模块通过主基站M-eNB向所述目标基站发送所述密钥更新指示信息,以及所述第二信息发送模块通过M-eNB向所述目标终端发送所述密钥更新指示信息。
综上可知,利用本实施例所述的源基站,将用于辅助终端进行密钥更新判断的密钥更新指示信息发送到目标基站和目标终端,使得目标基站根据该密钥更新指示信息,对发送至目标终端的数据包进行处理,以及使得目标终端在接收到数据包时,可以根据接收到的密钥更新指示信息,进行密钥更新判断。可见,利用本实施例所述源基站与利用第十一实施例所述的终端相配合,可以使得终端在由源基站切换到目标基站后,避免使用错误的密钥去解码数据包。
在本公开的第十三实施例中,提供一种目标基站,如图12所示,包括:
信息接收模块1210,用于接收源基站发送的密钥更新指示信息;
第一处理模块1220,用于在目标终端从所述源基站切入本基站后,根据所述密钥更新指示信息,对向所述目标终端发送的首包进行处理;
第一发送模块1230,用于将所述第一处理模块处理后的首包通过服务节点向所述目标终端发送。
可选地,本公开实施例中,信息接收模块,具体用于接收所述源基站发送的切换请求消息,并从所述切换请求消息中提取出所述密钥更新指示信息。
可选地,本公开实施例中,信息接收模块,还用于在接收到所述源基站发送的切换请求消息后,当允许所述目标终端接入时,向所述源基站发送切换确认消息,所述切换确认消息中携带有源基站需向目标终端发送的密钥更新指示信息。
可选地,本公开实施例中,所述的密钥更新指示信息包括:用于密钥更新判断的数据包PDCP序列号的阈值信息,和/或,用于指示密钥更新的携带在数据包中的标识信息。
可选地,本公开实施例中:
当所述密钥更新指示信息为用于密钥更新判断的数据包PDCP序列号的阈值信息时,所述首包为目标基站的第一个新传数据包;所述第一处理模块,具体用于设置向所述目标终端发送的本基站的第一个新传数据包的PDCP序列号,使得该PDCP序列号大于或等于所述阈 值;
当所述密钥更新指示信息为用于指示密钥更新的携带在数据包中的标识信息时,所述首包为源基站前传至目标基站的重传数据包或者为目标基站的第一个新传数据包,所述第一处理模块,具体用于在所述首包的包头中携带所述标识信息;
当所述密钥更新指示信息为用于密钥更新判断的数据包PDCP序列号的阈值信息和用于指示密钥更新的携带在数据包中的标识信息时,当所述首包为源基站前传至目标基站的重传数据包时,所述第一处理模块,具体用于在所述首包的包头中携带所述标识信息;当所述首包为目标基站的第一个新传数据包时,所述第一处理模块,具体用于设置向所述目标终端发送的本基站的第一个新传数据包的PDCP序列号,使得该PDCP序列号大于或等于所述阈值。
可选地,本公开实施例中,所述用于密钥更新判断的数据包PDCP序列号的阈值信息,包括:所述源基站发送的最后一个数据包的PDCP序列号信息,或者,所述目标基站发送的第一个新传数据包的PDCP序列号信息;
和/或,所述标识信息包括:end maker。
可选地,本公开实施例中,当所述密钥更新指示信息为所述源基站发送的最后一个数据包的PDCP序列号信息时,所述第一处理模块,具体用于将向所述目标终端发送的首包的PDCP序列号设为所述源基站发送的最后一个数据包的PDCP序列号加一;
当所述密钥更新指示信息为所述目标基站发送的第一个新传数据包的PDCP序列号信息时,所述第一处理模块,具体用于将向所述目标终端发送的首包的PDCP序列号设为所述目标基站发送的第一个新传数据包的PDCP序列号;所述首包为目标基站的第一个新传数据包。
综上可知,利用本实施例所述的目标基站,在接收到源终端发送的密钥更新指示信息后,对发送给目标终端的首包进行处理,使得已经获取到密钥更新指示的目标终端在接收到首包时,可以准确的进行密钥更新判断。可见,利用本实施例所述的目标基站与利用第十一实施例所述的终端、以及利用第十二实施例所述的源基站相配合,可以使得终端在由源基站切换到目标基站后,避免使用错误的密钥去解码数据包。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是其与其他实施例的不同之处。尤其对于装置实施例而言,由于其基本相似与方法实施例,所以,描述的比较简单,相关之处参见方法实施例的部分说明即可。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过 程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:ROM、RAM、磁盘或光盘等。
总之,以上所述仅为本公开的较佳实施例而已,并非用于限定本公开的保护范围。凡在本公开的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。
工业实用性
本公开适用于无线通信技术领域,用以及时更新终端的密钥,且保证终端的数据传输不中断,很好的解决现有密钥更新机制不够完善,影响数据包解码的问题。

Claims (40)

  1. 一种移动过程中的数据传输方法,包括:
    终端获取源基站发送的密钥更新指示信息;
    终端在接收到服务节点发送的数据包时,根据所述密钥更新指示信息,进行密钥更新判断;
    终端在判断出需要密钥更新时,将当前采用的源基站的密钥更新为目标基站的密钥,并利用更新后的密钥对终端接收到的数据包进行解码。
  2. 如权利要求1所述的方法,其中,所述终端获取源基站发送的密钥更新指示信息,包括:
    所述终端接收所述源基站发送的无线资源控制RRC重配消息,并在所述RRC重配消息中提取出所述密钥更新指示信息。
  3. 如权利要求1所述的方法,其中,所述密钥更新指示信息包括:用于密钥更新判断的数据包PDCP序列号的阈值信息,和/或,用于指示密钥更新的携带在数据包中的标识信息。
  4. 如权利要求3所述的方法,其中,
    当所述密钥更新指示信息为用于密钥更新判断的数据包PDCP序列号的阈值信息时,所述根据所述密钥更新指示信息,进行密钥更新判断,包括:检测所述数据包的PDCP序列号与所述用于密钥更新判断的数据包PDCP序列号的阈值间的大小关系是否满足设定的标准,当满足时,判定为需要密钥更新,当不满足时,判定为无需密钥更新;
    当所述密钥更新指示信息为用于指示密钥更新的携带在数据包中的标识信息时,所述根据所述密钥更新指示信息,进行密钥更新判断,包括:检测所述数据包的包头中是否携带所述标识信息,当携带所述标识信息时,判定为需要密钥更新,当不携带所述标识信息时,判定为无需密钥更新;
    当所述密钥更新指示信息为用于密钥更新判断的数据包PDCP序列号的阈值信息和用于指示密钥更新的携带在数据包中的标识信息时,所述根据所述密钥更新指示信息,进行密钥更新判断,包括:检测所述数据包的PDCP序列号与所述用于密钥更新判断的数据包PDCP序列号的阈值间的大小关系是否满足设定的标准,以及检测所述数据包的包头中是否携带所述标识信息,当任一检测结果为是时,判定为需要密钥更新,当没有检测结果为是时,判定为无需密钥更新。
  5. 如权利要求3或4所述的方法,其中,
    所述用于密钥更新判断的数据包PDCP序列号的阈值信息包括:所述源基站发送的最后一个数据包的PDCP序列号信息,或者,所述目标基站发送的第一个新传数据包的PDCP序列号信息;
    和/或,所述标识信息包括:end maker。
  6. 如权利要求5所述的方法,其中,
    当用于密钥更新判断的数据包PDCP序列号的阈值信息为所述源基站发送的最后一个数据包的PDCP序列号信息时,所述根据所述密钥更新指示信息,进行密钥更新判断,包括:所述终端提取接收到的所述数据包的PDCP序列号,将该数据包的PDCP序列号与所述源基站发送的最后一个数据包的PDCP序列号进行比较,当所述数据包的PDCP序列号小于等于所述源基站发送的最后一个数据包的PDCP序列号时,判定为无需密钥更新,当所述数据包的PDCP序列号大于所述源基站发送的最后一个数据包的PDCP序列号时,判定为需要密钥更新;
    当用于密钥更新判断的数据包PDCP序列号的阈值信息为所述目标基站发送的第一个新传数据包的PDCP序列号信息时,所述根据所述密钥更新指示信息,进行密钥更新判断,包括:所述终端提取接收到的所述数据包的PDCP序列号,并将该数据包的PDCP序列号与所述目标基站发送的第一个新传数据包的PDCP序列号进行比较,当所述数据包的PDCP序列号小于所述目标基站发送的第一个新传数据包的PDCP序列号时,判定为无需密钥更新,当所述数据包的PDCP序列号大于等于所述目标基站发送的第一个新传数据包的PDCP序列号时,判定为需要密钥更新。
  7. 一种移动过程中的数据传输方法,应用于源基站,所述方法包括:
    所述源基站在检测到目标终端满足切换到目标基站的条件时,向所述目标基站发送密钥更新指示信息;
    所述源基站在所述目标基站确认切换后,向所述目标终端发送密钥更新指示信息;
    所述源基站将缓存中的数据包通过服务节点传输给所述目标终端和/或将缓存中的数据包前传给所述目标基站。
  8. 如权利要求7所述的方法,其中,所述源基站向所述目标基站发送密钥更新指示信息,包括:所述源基站向所述目标基站发送切换请求消息,所述切换请求消息中携带有所述密钥更新指示信息。
  9. 如权利要求8所述的方法,其中,所述源基站在所述目标基站确认切换后,向所述目标终端发送密钥更新指示信息,包括:
    所述源基站接收所述目标基站反馈的切换确认消息,并从所述切换确认消息中提取出携带的密钥更新指示信息,向所述目标终端发送提取的所述密钥更新指示信息。
  10. 如权利要求7所述的方法,其中,所述源基站向所述目标终端发送密钥更新指示信息,包括:
    所述源基站向所述目标终端发送RRC重配消息,并在所述RRC重配消息中携带所述密钥更新指示信息。
  11. 如权利要求7所述的方法,其中,所述密钥更新指示信息包括:用于密钥更新判断的数据包PDCP序列号的阈值信息,和/或,用于指示密钥更新的携带在数据包中的标识信息。
  12. 如权利要求11所述的方法,其中,
    所述用于密钥更新判断的数据包PDCP序列号的阈值信息,包括:所述源基站发送的最后一个数据包的PDCP序列号信息,或者,所述目标基站发送的第一个新传数据包的PDCP序列号信息;
    和/或,所述标识信息包括:end maker。
  13. 如权利要求7至12任意一项所述的方法,其中,当所述源基站和目标基站的类型均为第二基站S-eNB时,所述源基站通过主基站M-eNB向所述目标基站发送所述密钥更新指示信息,以及通过M-eNB向所述目标终端发送所述密钥更新指示信息。
  14. 一种移动过程中的数据传输方法,应用于目标基站,所述方法包括:
    所述目标基站接收源基站发送的密钥更新指示信息;
    所述目标基站在目标终端从所述源基站切入本基站后,根据所述密钥更新指示信息,对向所述目标终端发送的首包进行处理,并在处理后通过服务节点向所述目标终端发送所述首包。
  15. 如权利要求14所述的方法,其中,所述目标基站接收源基站发送的密钥更新指示信息,包括:
    所述目标基站接收所述源基站发送的切换请求消息,并从所述切换请求消息中提取出所述密钥更新指示信息。
  16. 如权利要求15所述的方法,其中,所述目标基站在接收到所述源基站发送的切换请求消息后,还包括:
    所述目标基站在允许所述目标终端接入时,向所述源基站发送切换确认消息,所述切换确认消息中携带有源基站需向目标终端发送的密钥更新指示信息。
  17. 如权利要求14所述的方法,其中,所述密钥更新指示信息包括:用于密钥更新判断的数据包PDCP序列号的阈值信息,和/或,用于指示密钥更新的携带在数据包中的标识信息。
  18. 如权利要求17所述的方法,其中,
    当所述密钥更新指示信息为用于密钥更新判断的数据包PDCP序列号的阈值信息时,所述首包为目标基站的第一个新传数据包;所述对向所述目标终端发送的首包进行处理,包括:设置向所述目标终端发送的本基站的第一个新传数据包的PDCP序列号,使得该PDCP序列号大于或等于所述阈值;
    当所述密钥更新指示信息为用于密钥更新判断的携带在数据包中的标识信息时,所述首包为源基站前传至目标基站的重传数据包或者为目标基站的第一个新传数据包,所述对向所述目标终端发送的首包进行处理,包括:在所述首包的包头中携带所述标识信息;
    当所述密钥更新指示信息为用于密钥更新判断的数据包PDCP序列号的阈值信息和用于密钥更新判断的携带在数据包中的标识信息时,当所述首包为源基站前传至目标基站的重传数据包时,所述对向所述目标终端发送的首包进行处理,包括:在所述首包的包头中携带所述标识信息;当所述首包为目标基站的第一个新传数据包时,所述对向所述目标 终端发送的首包进行处理,包括:设置向所述目标终端发送的本基站的第一个新传数据包的PDCP序列号,使得该PDCP序列号大于或等于所述阈值。
  19. 如权利要求17或18所述的方法,其中,
    所述用于密钥更新判断的数据包PDCP序列号的阈值信息,包括:所述源基站发送的最后一个数据包的PDCP序列号信息,或者,所述目标基站发送的第一个新传数据包的PDCP序列号信息;
    和/或,所述标识信息包括:end maker。
  20. 如权利要求19所述的方法,其中,所述根据所述密钥更新指示信息,对向所述目标终端发送的首包进行处理,包括:
    当所述密钥更新指示信息为所述源基站发送的最后一个数据包的PDCP序列号信息时,将向所述目标终端发送的首包的PDCP序列号设为所述源基站发送的最后一个数据包的PDCP序列号加一;
    当所述密钥更新指示信息为所述目标基站发送的第一个新传数据包的PDCP序列号信息时,将向所述目标终端发送的首包的PDCP序列号设为所述目标基站发送的第一个新传数据包的PDCP序列号;
    所述首包为目标基站的第一个新传数据包。
  21. 一种终端,包括:
    信息获取模块,设置为获取源基站发送的密钥更新指示信息;
    更新判断模块,设置为在接收到服务节点发送的数据包时,根据所述密钥更新指示信息,进行密钥更新判断;
    第一更新处理模块,设置为在所述更新判断模块判断出需要密钥更新时,将当前采用的源基站的密钥更新为目标基站的密钥;
    第一数据处理模块,设置为利用更新后的密钥对终端接收到的数据包进行解码。
  22. 如权利要求21所述的终端,其中,所述信息获取模块,设置为接收所述源基站发送的RRC重配消息,并在所述RRC重配消息中提取出所述密钥更新指示信息。
  23. 如权利要求21所述的终端,其中,所述密钥更新指示信息包括:用于密钥更新判断的数据包PDCP序列号的阈值信息,和/或,用于指示密钥更新的携带在数据包中的标识信息。
  24. 如权利要求23所述的终端,其中,
    当所述密钥更新指示信息为用于密钥更新判断的数据包PDCP序列号的阈值信息时,所述更新判断模块,设置为检测所述数据包的PDCP序列号与所述用于密钥更新判断的数据包PDCP序列号的阈值间的大小关系是否满足设定的标准,当满足时,判定为需要密钥更新,当不满足时,判定为无需密钥更新;
    当所述密钥更新指示信息为用于指示密钥更新的携带在数据包中的标识信息时,所述更新判断模块,设置为检测所述数据包的包头中是否携带所述标识信息,当携带所述标识 信息时,判定为需要密钥更新,当不携带所述标识信息时,判定为无需密钥更新;
    当所述密钥更新指示信息为用于密钥更新判断的数据包PDCP序列号的阈值信息和用于指示密钥更新的携带在数据包中的标识信息时,所述更新判断模块,设置为检测所述数据包的PDCP序列号与所述用于密钥更新判断的数据包PDCP序列号的阈值间的大小关系是否满足设定的标准,以及检测所述数据包的包头中是否携带所述标识信息,当任一检测结果为是时,判定为需要密钥更新,当没有检测结果为是时,判定为无需密钥更新。
  25. 如权利要求23或24所述的终端,其中,所述用于密钥更新判断的数据包PDCP序列号的阈值信息包括:所述源基站发送的最后一个数据包的PDCP序列号信息,或者,所述目标基站发送的第一个新传数据包的PDCP序列号信息;
    和/或,所述标识信息包括:end maker。
  26. 如权利要求25所述的终端,其中,
    当所述用于密钥更新判断的数据包PDCP序列号的阈值信息为所述源基站发送的最后一个数据包的PDCP序列号信息时,所述更新判断模块,设置为提取接收到的所述数据包的PDCP序列号,将该数据包的PDCP序列号与所述源基站发送的最后一个数据包的PDCP序列号进行比较,当所述数据包的PDCP序列号小于等于所述源基站发送的最后一个数据包的PDCP序列号时,判定为无需密钥更新,当所述数据包的PDCP序列号大于所述源基站发送的最后一个数据包的PDCP序列号时,判定为需要密钥更新;
    当所述用于密钥更新判断的数据包PDCP序列号的阈值信息为所述目标基站发送的第一个新传数据包的PDCP序列号信息,所述更新判断模块,设置为提取接收到的所述数据包的PDCP序列号,并将该数据包的PDCP序列号与所述目标基站发送的第一个新传数据包的PDCP序列号进行比较,当所述数据包的PDCP序列号小于所述目标基站发送的第一个新传数据包的PDCP序列号时,判定为无需密钥更新,当所述数据包的PDCP序列号大于等于所述目标基站发送的第一个新传数据包的PDCP序列号时,判定为需要密钥更新。
  27. 一种源基站,包括:
    第一信息发送模块,设置为在检测到目标终端满足切换到目标基站的条件时,向目标基站发送密钥更新指示信息;
    第二信息发送模块,设置为在所述目标基站确认切换后,向所述目标终端发送密钥更新指示信息;
    数据发送模块,设置为将缓存中的数据包通过服务节点传输给所述目标终端和/或将缓存中的数据包前传给所述目标基站。
  28. 如权利要求27所述的源基站,其中,所述第一信息发送模块,设置为在检测到目标终端将要切换到目标基站时,向所述目标基站发送切换请求消息,所述切换请求消息中携带有所述密钥更新指示信息。
  29. 如权利要求28所述的源基站,其中,所述第二信息发送模块,设置为接收到所 述目标基站反馈的切换确认消息后,判定所述目标基站已确认切换,从所述切换确认消息中提取出携带的密钥更新指示信息,向所述目标终端发送提取的所述密钥更新指示信息。
  30. 如权利要求27所述的源基站,其中,所述第二信息发送模块,设置为向所述目标终端发送RRC重配消息,并在所述RRC重配消息中携带所述密钥更新指示信息。
  31. 如权利要求27所述的源基站,其中,所述密钥更新指示信息包括:用于密钥更新判断的数据包PDCP序列号的阈值信息,和/或,用于指示密钥更新的携带在数据包中的标识信息。
  32. 如权利要求31所述的源基站,其中,所述用于密钥更新判断的数据包PDCP序列号的阈值信息,包括:所述源基站发送的最后一个数据包的PDCP序列号信息,或者,所述目标基站发送的第一个新传数据包的PDCP序列号信息;
    和/或,所述标识信息包括:end maker。
  33. 如权利要求27至32任意一项所述的源基站,其中,当所述源基站和目标基站的类型均为第二基站S-eNB时,所述第一信息发送模块通过主基站M-eNB向所述目标基站发送所述密钥更新指示信息,以及所述第二信息发送模块通过M-eNB向所述目标终端发送所述密钥更新指示信息。
  34. 一种目标基站,包括:
    信息接收模块,设置为接收源基站发送的密钥更新指示信息;
    第一处理模块,设置为在目标终端从所述源基站切入本基站后,根据所述密钥更新指示信息,对向所述目标终端发送的首包进行处理;
    第一发送模块,设置为将所述第一处理模块处理后的首包通过服务节点向所述目标终端发送。
  35. 如权利要求34所述的目标基站,其中,所述信息接收模块,设置为接收所述源基站发送的切换请求消息,并从所述切换请求消息中提取出所述密钥更新指示信息。
  36. 如权利要求35所述的目标基站,其中,所述信息接收模块,还设置为在接收到所述源基站发送的切换请求消息后,当允许所述目标终端接入时,向所述源基站发送切换确认消息,所述切换确认消息中携带有源基站需向目标终端发送的密钥更新指示信息。
  37. 如权利要求34所述的目标基站,其中,所述密钥更新指示信息包括:用于密钥更新判断的数据包PDCP序列号的阈值信息,和/或,用于指示密钥更新的携带在数据包中的标识信息。
  38. 如权利要求37所述的目标基站,其中,
    当所述密钥更新指示信息为用于密钥更新判断的数据包PDCP序列号的阈值信息时,所述首包为目标基站的第一个新传数据包;所述第一处理模块,设置为设置向所述目标终端发送的本基站的第一个新传数据包的PDCP序列号,使得该PDCP序列号大于或等于所述阈值;
    当所述密钥更新指示信息为用于指示密钥更新的携带在数据包中的标识信息时,所述 首包为源基站前传至目标基站的重传数据包或者为目标基站的第一个新传数据包,所述第一处理模块,设置为在所述首包的包头中携带所述标识信息;
    当所述密钥更新指示信息为用于密钥更新判断的数据包PDCP序列号的阈值信息和用于指示密钥更新的携带在数据包中的标识信息时,当所述首包为源基站前传至目标基站的重传数据包时,所述第一处理模块,设置为在所述首包的包头中携带所述标识信息;当所述首包为目标基站的第一个新传数据包时,所述第一处理模块,设置为设置向所述目标终端发送的本基站的第一个新传数据包的PDCP序列号,使得该PDCP序列号大于或等于所述阈值。
  39. 如权利要求37或38所述的目标基站,其中,所述用于密钥更新判断的数据包PDCP序列号的阈值信息,包括:所述源基站发送的最后一个数据包的PDCP序列号信息,或者,所述目标基站发送的第一个新传数据包的PDCP序列号信息;
    和/或,所述标识信息包括:end maker。
  40. 如权利要求39所述的目标基站,其中,
    当所述密钥更新指示信息为所述源基站发送的最后一个数据包的PDCP序列号信息时,所述第一处理模块,设置为将向所述目标终端发送的首包的PDCP序列号设为所述源基站发送的最后一个数据包的PDCP序列号加一;
    当所述密钥更新指示信息为所述目标基站发送的第一个新传数据包的PDCP序列号信息时,所述第一处理模块,设置为将向所述目标终端发送的首包的PDCP序列号设为所述目标基站发送的第一个新传数据包的PDCP序列号;所述首包为目标基站的第一个新传数据包。
PCT/CN2017/117884 2017-01-06 2017-12-22 移动过程中的数据传输的方法、终端和基站 WO2018126905A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710009529.3 2017-01-06
CN201710009529.3A CN108282781A (zh) 2017-01-06 2017-01-06 移动过程中的数据传输的方法、终端和基站

Publications (1)

Publication Number Publication Date
WO2018126905A1 true WO2018126905A1 (zh) 2018-07-12

Family

ID=62791321

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/117884 WO2018126905A1 (zh) 2017-01-06 2017-12-22 移动过程中的数据传输的方法、终端和基站

Country Status (2)

Country Link
CN (1) CN108282781A (zh)
WO (1) WO2018126905A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020135039A1 (zh) * 2018-12-29 2020-07-02 中兴通讯股份有限公司 数据传输方法、数据传输系统及其发送装置与接收装置
EP4226679A4 (en) * 2020-10-21 2024-04-03 Samsung Electronics Co Ltd MULTICAST TRANSMISSION METHOD AND DEVICE

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112423272A (zh) * 2019-08-05 2021-02-26 华为技术有限公司 数据传输的方法和装置
WO2021031015A1 (zh) * 2019-08-16 2021-02-25 华为技术有限公司 一种通信方法、设备及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010119656A1 (ja) * 2009-04-17 2010-10-21 パナソニック株式会社 無線通信装置
CN102017675A (zh) * 2008-06-20 2011-04-13 株式会社Ntt都科摩 移动通信方法和移动台
CN103686708A (zh) * 2012-09-13 2014-03-26 电信科学技术研究院 一种密钥隔离方法及设备
WO2016019586A1 (zh) * 2014-08-08 2016-02-11 华为技术有限公司 密钥流元素更新装置、方法及双连接系统
WO2016042766A1 (en) * 2014-09-19 2016-03-24 Nec Corporation Apparatus for dual connectivity

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2001269957A1 (en) * 2000-09-20 2002-04-02 The University Of Maryland Dynamic key management architecture for ensuring conditional access to secure multimedia multicast
US20080039096A1 (en) * 2006-03-28 2008-02-14 Nokia Corporation Apparatus, method and computer program product providing secure distributed HO signaling for 3.9G with secure U-plane location update from source eNB
TWI507059B (zh) * 2008-04-30 2015-11-01 Mediatek Inc 行動台、基地台及流量加密密鑰之產生方法
WO2010101442A2 (ko) * 2009-03-06 2010-09-10 삼성전자주식회사 이동 중계국을 지원하는 광대역 무선통신 시스템의 그룹 핸드오버 방법 및 장치
CN102893548B (zh) * 2010-04-01 2016-02-24 瑞典爱立信有限公司 用于控制传输载波去激活的方法和设备
CN102238541B (zh) * 2010-04-29 2015-09-02 电信科学技术研究院 密钥更新方法和基站
CN102065427B (zh) * 2010-12-28 2013-06-12 广州杰赛科技股份有限公司 一种安全的无线城域网的用户终端切换方法
CN102740289B (zh) * 2012-06-15 2015-12-02 电信科学技术研究院 一种密钥更新方法、装置及系统
CN105162794B (zh) * 2015-09-23 2018-04-27 北京汉柏科技有限公司 一种使用约定方式的ipsec密钥更新方法及设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102017675A (zh) * 2008-06-20 2011-04-13 株式会社Ntt都科摩 移动通信方法和移动台
WO2010119656A1 (ja) * 2009-04-17 2010-10-21 パナソニック株式会社 無線通信装置
CN103686708A (zh) * 2012-09-13 2014-03-26 电信科学技术研究院 一种密钥隔离方法及设备
WO2016019586A1 (zh) * 2014-08-08 2016-02-11 华为技术有限公司 密钥流元素更新装置、方法及双连接系统
WO2016042766A1 (en) * 2014-09-19 2016-03-24 Nec Corporation Apparatus for dual connectivity

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020135039A1 (zh) * 2018-12-29 2020-07-02 中兴通讯股份有限公司 数据传输方法、数据传输系统及其发送装置与接收装置
EP4226679A4 (en) * 2020-10-21 2024-04-03 Samsung Electronics Co Ltd MULTICAST TRANSMISSION METHOD AND DEVICE

Also Published As

Publication number Publication date
CN108282781A (zh) 2018-07-13

Similar Documents

Publication Publication Date Title
US11751112B2 (en) Handover method and device
US10750414B2 (en) System and method for handovers in a dual connectivity communications system
CN107277879B (zh) 一种支持无缝切换的方法及基站设备
US10512009B2 (en) Method for user equipment to switch base station, base station and user equipment
US11265791B2 (en) Reducing a data transmission delay of a terminal device in a handover process
JP4834162B2 (ja) イントラE−UTranのハンドオーバのための方法及びシステム
JP5851586B2 (ja) 通信制御方法、移動管理装置、及びホーム基地局
WO2013170789A1 (zh) 一种数据转发的方法、设备及通讯系统
JP2013513988A (ja) 中継ハンドオーバ制御
WO2018126905A1 (zh) 移动过程中的数据传输的方法、终端和基站
US10785679B2 (en) Method and system for loss mitigation during device to device communication mode switching
WO2020061871A1 (zh) 通信方法和通信装置
CN118056435A (zh) 用于条件辅节点添加和更改的配置管理
JP2014216791A (ja) 無線通信装置、基地局装置および無線通信方法

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: 17890230

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17890230

Country of ref document: EP

Kind code of ref document: A1