WO2015168990A1 - 切换方法和切换装置 - Google Patents

切换方法和切换装置 Download PDF

Info

Publication number
WO2015168990A1
WO2015168990A1 PCT/CN2014/082958 CN2014082958W WO2015168990A1 WO 2015168990 A1 WO2015168990 A1 WO 2015168990A1 CN 2014082958 W CN2014082958 W CN 2014082958W WO 2015168990 A1 WO2015168990 A1 WO 2015168990A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
data packet
base station
data
lost
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2014/082958
Other languages
English (en)
French (fr)
Inventor
张晨璐
张云飞
董贤东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Publication of WO2015168990A1 publication Critical patent/WO2015168990A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/03Reselecting a link using a direct mode connection
    • H04W36/033Reselecting a link using a direct mode connection in pre-organised networks

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a handover method and a handover apparatus. Background technique
  • the terminal retransmits the PDCP packets stored in the PDCP (Packet Data Convergence Protocol) retransmission buffer.
  • Figure 1 depicts this process.
  • the PDCP entity initiates the sending of PDCP packets of sequence numbers 1 ⁇ 5, where packets 3 and 5 are not received by the source eNB, for example, HARQ (Hybrid Automatic Repeat) is interrupted due to handover. transmission.
  • HARQ Hybrid Automatic Repeat
  • the UE will resend the PDCP packet that was not acknowledged correctly before transmission.
  • the UE will retransmit the packets 3, 4, 5, although the network has confirmed that the packet 4 has been received.
  • the source eNB sends the sequentially received PDCP data packet to the gateway after decompression, and forwards the received out-of-order PDCP data packet to the target eNB.
  • the target eNB may reorder the decoded PDCP data packets (such as data packet 4) received from the source eNB and the retransmitted PDCP data packets received from the UE, and send them to the correct order. Gateway.
  • the source eNB forwards the PDCP data packets that have not been acknowledged by the UE and are not decoded to the target eNB to ensure downlink retransmission.
  • the source eNB receives an indication from the gateway indicating the last packet to be sent to the source eNB.
  • the source eNB also forwards this indication to the target eNB so that the target eNB can know when it should send the packet received from the gateway.
  • the source eNB has begun to send PDCP packets 1 ⁇ 4; The UE does not receive the No. 3 packet from the source eNB because, for example, the handover occurs before the HARQ retransmission of the No. 3 packet.
  • the target eNB needs to ensure that all PDCP data packets that have not been acknowledged by the source eNB are sent to the UE.
  • the present invention is based on the above technical problems, and proposes a new handover technique to solve the problem of lossless handover when the UE switches from the traditional communication mode to the D2D mode.
  • a handover method including: a first terminal performs data interaction with a second terminal by using a first base station, a core network, and a second base station; after initiating a communication mode handover, determining The first terminal does not successfully transmit the data packet to the second terminal by the first base station and the second base station; the first terminal performs direct communication with the second terminal, where the first terminal The terminal transmits the unsuccessfully transmitted data packet to the second terminal by direct connection communication.
  • the present embodiment solves the technical problem of how to implement lossless handover in a scenario where the communication mode between terminals is switched from the traditional communication mode (base station based communication mode) to the D2D mode. After the communication mode switching is initiated, the data packet that has not been successfully transmitted through the traditional communication mode is acquired, and then the data packet is transmitted through the direct connection communication mode, thereby reducing the bit error rate, and providing switching from the traditional communication mode to the direct communication communication. Lossless switching solution in mode.
  • the packet includes: after the initiating the communication mode switching, the first terminal stops sending the uplink data packet; the first terminal confirms, according to the response of the first base station, the first lost data packet that is not successfully received by the first base station.
  • the first base station adds end identification information to the successfully received data packet, and sends the successfully received data packet to the second base through the core network.
  • the second base station sends the successfully received data packet to the second terminal, and stops receiving data from the core network when the second base station detects the end identification information;
  • the second base station confirms, according to the response of the second terminal, the second lost data packet that the second terminal does not successfully receive; the first lost data packet and the second lost data packet as the failed A base station and the second base station successfully transmit data packets to the second terminal.
  • the lost data packet includes, on the one hand, a data packet that the first base station has not successfully received from the first terminal, and on the other hand, a data packet that the second terminal has not successfully received from the second base station.
  • the end identifier information is added as a flag bit to the last data packet in the successfully received data packet, or the end identifier information is used as a data packet and is set after the successfully received data packet. .
  • the method further includes: when the second base station stops transmitting data to the second terminal, sending a first handover command to the second terminal, and notifying the second terminal Entering a direct communication process; the second base station sends a first handover command to the second terminal or after receiving a response from the second terminal, to the first terminal by using the first base station Sending a second handover command, informing the first terminal to enter a direct communication process.
  • the second base station stops transmitting data to the second terminal. It can be understood that the second base station successfully transmits all the data packets. Then after the second terminal or after the second base station transmits the last data packet to the second terminal. There are also various timings for the first terminal to switch to the DC communication flow, for example, the first terminal actively switches to the DC communication flow according to the user's selection, or after the first base station successfully receives all the data packets from the first terminal.
  • the method further includes: when the second base station detects the end identifier information, or when the second base station sends the last data packet to the second terminal or When the second base station sends each data packet to the second terminal, a timer or a retransmission counter is started; when the timer expires or the retransmission counter overflows, the second base station stops to the first The second terminal transmits data, and carries the lost data packet identifier in the second handover command, so that the first terminal continues to transmit the data packet corresponding to the lost data packet identifier during direct communication.
  • the timing of setting the timer or retransmission counter, starting the timer or retransmitting the counter has at least the following three schemes: When the last packet is sent, it is used to limit the time after the last packet is sent, and when the last packet is sent, it is used to limit the number of times all packets are retransmitted after the last packet is sent. During the entire process of transmitting data to the second terminal, a retransmission counter/timer is turned on for each data packet to limit the time or number of times all data is retransmitted.
  • the method further includes: stopping, when the second base station detects the end identifier information, transmitting data to the second terminal, and carrying the data in the second handover command The data packet identifier is lost, so that the first terminal continues to transmit the data packet corresponding to the lost data packet identifier during direct communication.
  • the value equivalent to the timer or retransmission counter is 0.
  • the method further includes: stopping, after the second base station completes the transmission of the data successfully received from the core network, stopping transmitting data to the second terminal.
  • the value corresponding to the timer or retransmission counter is infinite, that is, the second base station needs to successfully transmit all the data packets to the second terminal.
  • the method may further include: after the first terminal completes sending the uplink data packet, entering a direct communication establishment process; and the second base station stops at the second And transmitting, by the terminal, the first handover command to the second terminal, to notify the second terminal to enter a direct communication process.
  • the data packet that the first terminal does not successfully transmit to the second terminal by using the first base station and the second base station includes: a first lost data packet, a second lost data packet, and an out-of-order data packet received by the first base station, where the out-of-order data packet is data that is arranged after the first lost data packet in a continuous data packet
  • the out-of-order transmission function is enabled, the data packet that the first terminal does not successfully transmit to the second terminal by the first base station and the second base station only includes the lost data packet.
  • the first base station adds out-of-order identification information to the received out-of-order data packet when the out-of-order transmission function is enabled; if the second terminal detects the disorder in the received data packet The sequence identification information is cached, and the out-of-order data packet carrying the out-of-order identification information is cached, and waits for the lost data packet to be filled; when all the lost data packets are completed, all the sequentially arranged data packets are uploaded to the second The application layer of the terminal.
  • the first base station and the second base station are the same base station.
  • a switching apparatus including: a communication switching unit, located at a terminal side, transmitting a data packet to a base station side and a core network, and receiving data packets from a base station side and a core network, and After initiating the communication mode switching, performing direct communication with other terminals, and transmitting the unsuccessfully transmitted data packet determined by the lost data packet determining unit to the other terminal; the lost data packet determining unit, after initiating the communication mode switching, A data packet that is not successfully transmitted to the other terminal through the base station side and the core network is determined.
  • the present embodiment solves the technical problem of how to implement lossless handover in a scenario where the communication mode between terminals is switched from the traditional communication mode (base station based communication mode) to the D2D mode. After the communication mode switching is initiated, the data packet that has not been successfully transmitted through the traditional communication mode is acquired, and then the data packet is transmitted through the direct connection communication mode, thereby reducing the bit error rate, and providing switching from the traditional communication mode to the direct communication communication. Lossless switching solution in mode.
  • the lost data packet determining unit includes: a first monitoring unit, located at the terminal side, after initiating the communication mode switching, notifying the terminal to stop sending the uplink data packet, and according to the base station Responding to the first lost data packet that the base station fails to receive; the first data transmission unit is located at the base station side, adding end identification information to the successfully received data packet, and transmitting the successfully received data to the core network through the core network a second data transmission unit, located at the base station side, receiving a data packet from the first data transmission unit, and transmitting the data packet to the other terminal, and stopping when detecting the end identification information Receiving data from the core network; a second monitoring unit, located at the base station side, confirming, according to the response of the other terminal, a second lost data packet that is not successfully received by the other terminal; determining unit, the first lost data packet And the second lost data packet is successfully transmitted to the base station and the core network as the The data packet of the other terminal.
  • the lost data packet includes, on the one hand, a data packet that the first base station does not successfully receive from the first terminal, and on the other hand includes a data packet that the second terminal has not successfully received from the second base station.
  • the end identifier information is added as a flag bit to the last data packet in the successfully received data packet, or the end identifier information is used as a data packet and is set after the successfully received data packet. .
  • the second data transmission unit is further configured to: when the base station stops transmitting data to the other terminal, send a first handover command to the other terminal, to notify the other The terminal enters a direct communication process; the second data transmission unit is further configured to send a second switch to the terminal after sending the first handover command to the other terminal or after receiving the response from the other terminal The command notifies the terminal to enter the direct communication process.
  • the second monitoring unit is further configured to: when the end identifier information is detected, or when the second data transmission unit sends the last data packet to the other terminal or Transmitting a timer or a retransmission counter when the second data transmission unit sends each data packet to the other terminal; the second data transmission unit is further configured to: when the timer expires or the retransmission counter overflows Stop transmitting data to the other terminal, and carry the lost data packet identifier in the second handover command, so that the terminal continues to transmit the data packet corresponding to the lost data packet identifier during direct communication.
  • a timer or a retransmission counter is set.
  • the second data transmission unit is further configured to stop transmitting data to the other terminal when the second monitoring unit detects the end identification information, and The second handover command carries the lost data packet identifier, so that the terminal continues to transmit the data packet corresponding to the lost data packet identifier during direct communication.
  • the value equivalent to the timer or retransmission counter is 0.
  • the second data transmission unit is further configured to stop transmitting data to the other terminal after completing the transmission of the data successfully received from the core network.
  • the value corresponding to the timer or retransmission counter is infinite, that is, the second base station needs to successfully transmit all the data packets to the second terminal.
  • the communication switching unit is further configured to: after the terminal completes sending the uplink data packet, causing the terminal to enter a direct communication establishment process; The other terminal sends a first handover command to notify the other terminal to enter the direct communication process.
  • the data packet that the terminal does not successfully transmit to the other terminal by the base station includes the first lost data packet, the second lost data packet, and the The out-of-order data packet received by the base station, where the out-of-order data packet is a data packet that is arranged after the first lost data packet in the continuous data packet, and when the out-of-order transmission function is enabled, the terminal fails to pass The data packet successfully transmitted by the base station to the other terminal contains only the lost data packet.
  • the first data transmission unit is further configured to: when the out-of-order transmission function is enabled, adding out-of-order identification information to the received out-of-order data packet; the communication switching unit includes: a data packet completion unit, if The other terminal detects the out-of-order identification information in the received data packet, caches the out-of-order data packet carrying the out-of-order identification information, and waits for the lost data packet to be filled, and all the lost data packets are completed. When all the sequentially arranged data packets are uploaded to the application layer of the other terminal.
  • a seamless handover method including: the first terminal performs data interaction with the second terminal by using the first base station, the core network, and the second base station; after initiating the communication mode switching, confirming The first terminal sends the last data packet to the first base station; the first terminal performs direct communication with the second terminal, and the first terminal sends data after the last data packet by direct connection communication The packet is sent to the second terminal.
  • the first terminal stops sending uplink data packets; the first base station adds end identification information to the successfully received data packet, and sends the successfully received data packet through the core network. Giving the second base station;
  • the second base station sends the successfully received data packet to the second terminal, and stops receiving data from the core network when the second base station detects the end identification information.
  • the second base station When the second base station sends the first handover command to the second terminal or after receiving the response from the second terminal, the second base station sends a second handover command to the first terminal by using the first base station, The first terminal is notified to enter a direct communication process, or the first terminal enters a direct communication establishment process after completing the sending of the uplink data packet.
  • lossless/seamless switching of data when the UE switches from the traditional communication mode to the D2D mode can be realized, and the user experience is ensured.
  • FIG. 1 is a schematic diagram showing lossless switching of uplink data in a conventional communication mode in the related art
  • FIG. 2 is a schematic diagram showing lossless handover of downlink data in a conventional communication mode in the related art
  • FIG. 3 is a schematic flow chart showing a handover method according to an embodiment of the present invention
  • FIG. 4 is a diagram showing a handover method of an un-on-order function according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram showing a handover method for turning on an out-of-order function according to an embodiment of the present invention
  • FIG. 6 shows a schematic block diagram of a switching device in accordance with one embodiment of the present invention. detailed description
  • FIG. 3 shows a schematic flow chart of a handover method in accordance with one embodiment of the present invention.
  • the handover method may include: Step 302: The first terminal performs data interaction with the second terminal by using the first base station, the core network, and the second base station; Step 304: Initiating communication After the mode is switched, determining that the first terminal does not successfully transmit the data packet to the second terminal by using the first base station and the second base station; Step 306, the first terminal performs direct communication with the second terminal, and the first terminal passes the direct connection communication mode. The unsuccessfully transmitted data packet is transmitted to the second terminal.
  • the present embodiment solves the technical problem of how to implement lossless handover in a scenario where the communication mode between terminals is switched from the traditional communication mode (base station based communication mode) to the D2D mode.
  • the data packet that has not been successfully transmitted through the traditional communication mode is acquired, and then the data packet is transmitted through the direct connection communication mode, thereby reducing the bit error rate, and providing switching from the traditional communication mode to the direct communication communication. Lossless switching solution in mode.
  • the packet includes: after the initiating the communication mode switching, the first terminal stops sending the uplink data packet; the first terminal confirms, according to the response of the first base station, the first lost data packet that is not successfully received by the first base station.
  • the first base station adds the end identification information to the successfully received data packet, and sends the successfully received data packet to the second base station through the core network; the second base station sends the second base station to the second terminal Receiving the successfully received data packet, and stopping receiving data from the core network when the second base station detects the end identification information; the second base station confirming the according to the response of the second terminal a second lost data packet that is not successfully received by the second terminal; the first lost data packet and the second lost data packet as the failed to pass the first base station The second base station the data packet successfully transmitted to the second terminal.
  • the lost data packet includes, on the one hand, a data packet that the first base station has not successfully received from the first terminal, and on the other hand, a data packet that the second terminal has not successfully received from the second base station.
  • the end identifier information is added as a flag bit to the last data packet in the successfully received data packet, or the end identifier information is used as a data packet and is set after the successfully received data packet. .
  • the method further includes: when the second base station stops transmitting data to the second terminal, sending a first handover command to the second terminal, and notifying the second terminal Entering a direct communication process; the second base station sends a first handover command to the second terminal or after receiving a response from the second terminal, to the first terminal by using the first base station Sending a second handover command, informing the first terminal to enter a direct communication process.
  • the second base station stops transmitting data to the second terminal. It can be understood that the second base station successfully transmits all the data packets. Then to the second terminal or the last data in the second base station After the packet is sent to the second terminal. There are also various timings for the first terminal to switch to the DC communication flow, for example, the first terminal actively switches to the DC communication flow according to the user's selection, or after the first base station successfully receives all the data packets from the first terminal.
  • the method further includes: when the second base station detects the end identifier information, or when the second base station sends the last data packet to the second terminal or When the second base station sends each data packet to the second terminal, a timer or a retransmission counter is started; when the timer expires or the retransmission counter overflows, the second base station stops to the first The second terminal transmits data, and carries the lost data packet identifier in the second handover command, so that the first terminal continues to transmit the data packet corresponding to the lost data packet identifier during direct communication.
  • the timing of setting the timer or retransmission counter, starting the timer or retransmitting the counter has at least the following three schemes: When the last packet is sent, it is used to limit the time after the last packet is sent, and when the last packet is sent, it is used to limit the number of times all packets are retransmitted after the last packet is sent. During the entire process of transmitting data to the second terminal, a retransmission counter/timer is turned on for each data packet to limit the time or number of times all data is retransmitted.
  • the method further includes: stopping, when the second base station detects the end identifier information, transmitting data to the second terminal, and carrying the data in the second handover command The data packet identifier is lost, so that the first terminal continues to transmit the data packet corresponding to the lost data packet identifier during direct communication.
  • the value equivalent to the timer or retransmission counter is 0.
  • the method further includes: stopping, after the second base station completes the transmission of the data successfully received from the core network, stopping transmitting data to the second terminal.
  • the value corresponding to the timer or retransmission counter is infinite, that is, the second base station needs to successfully transmit all the data packets to the second terminal.
  • the method may further include: after the first terminal completes sending the uplink data packet, entering a direct communication establishment process; and the second base station stops at the second When the terminal transmits data, sending a first switching command to the second terminal, notifying The second terminal enters a direct communication process.
  • the data packet that the first terminal does not successfully transmit to the second terminal by using the first base station and the second base station includes: a first lost data packet, a second lost data packet, and an out-of-order data packet received by the first base station, where the out-of-order data packet is data that is arranged after the first lost data packet in a continuous data packet
  • the out-of-order transmission function is enabled, the data packet that the first terminal does not successfully transmit to the second terminal by the first base station and the second base station only includes the lost data packet.
  • the first base station adds out-of-order identification information to the received out-of-order data packet when the out-of-order transmission function is enabled; if the second terminal detects the out-of-order identifier in the received data packet Information, buffering the out-of-order data packet carrying the out-of-order identification information, and waiting to complete the lost data packet; when all the lost data packets are completed, uploading all the sequentially arranged data packets to the second terminal Application layer.
  • the first base station and the second base station are the same base station.
  • the source UE communicates with the target UE based on a legacy communication mode (base station based communication mode).
  • the handover preparation may be triggered by the source base station eNB1 or the source UE or the target UE, and the source UE stops transmitting the new uplink data packet.
  • the source UE has sent packets 1 ⁇ 5, but packet 4 has not received successful reception feedback from the source base station (data packet No. 4 was not successfully transmitted to the source base station);
  • the source base station sends the successfully received data packets 1 ⁇ 3 and the LP identification data packet (or the data packet carrying the LP identifier) to the network side.
  • the LP identification data packet refers to a data packet indicating the end identification information, and the end identification information is added by the source base station, and may be a separate data packet and added after the third data packet, or the end identification information is added to the third data packet. . Since the out-of-order function is not enabled in this embodiment, the source base station receives the data packet.
  • packet 5 is an out-of-order packet (packet 4 is lost in the middle), the packet 5 will not be transmitted to the target base station through the core network.
  • the data packet sent by the source UE if the source base station has successfully received, but has some reasons (such as ACK feedback error received as NACK feedback), the source UE does not receive successful reception feedback, then the source base station is When the gateway submits a packet, it can choose to submit or not to submit the packet. When the source UE resumes transmission, the data packet needs to be retransmitted. The target UE will distinguish the repeatedly received data packets according to the packet repetition detection function, and avoid repeatedly submitting the upper layer.
  • the target base station After receiving the LP identification data packet, the target base station (eNB2) stops receiving subsequent data of the network, and starts timer T or retransmission counter C.
  • the target base station starts to send the data packet 1 ⁇ 3 before the LP identification data packet to the target UE; or after receiving the data packet 3 containing the LP identifier, sends the data packet 1 ⁇ 3 to the target UE.
  • the timer T or the retransmission counter C can be set to an appropriate value, and of course, it can be set to infinity or zero.
  • the timing of retransmitting the counter after starting the timer is to detect the LP identification data packet, and after that, the target base station may send the last data packet to the target terminal or at the target base station.
  • the timer or retransmission counter is turned on when each packet is sent to the target terminal.
  • the target base station After completing the transmission of the data packet 1 ⁇ 3 and receiving the acknowledgement of the target UE or the overflow of the timer T or the retransmission counter C, the target base station stops transmitting downlink data to the target UE, and notifies the target UE to enter the "D2D communication". Establish process".
  • the target UE successfully receives the sequence data packet 1, 2 (data packet 3 is not successfully received), and is handed over to the upper layer of the UE.
  • the target base station sends a "Handover Command" to the source UE through the core network and the source base station, informing it to enter the "D2D communication establishment procedure", and including the "Lost Packet” identifier in the "Handover Command” (in this embodiment, it is lost) Packet 3) indicates that the source UE needs to retransmit the packet 3 that was not successfully received.
  • the source UE may also enter the "D2D communication establishment procedure" after completing the transmission of the uplink data packet.
  • the target base station only needs to notify the source UE of the "Lost Packet" identifier. 7.
  • the source UE and the target UE complete the "D2D communication establishment procedure" and enter the D2D communication state.
  • the source UE After establishing the D2D communication, the source UE transmits the lost data packets 3, 4, 5 and subsequent data packets on the D2D path.
  • the handover method of the present invention when the out-of-order function is not enabled, the traditional communication mode is switched to the direct communication mode, and the lost data packet can be transmitted in the direct communication mode, thereby achieving losslessness. Switch.
  • the second lost data packet (that is, the data packet that the target base station fails to transmit to the target terminal) is retransmitted in D2D mode, that is, the timer or retransmission counter is set to 0, thus, the target terminal
  • the data transmission is stopped regardless of whether there is retransmission, and the data is transferred to the D2D for retransmission (including the data packet that the source terminal fails to transmit to the source base station (ie, the first lost data packet) and the target base station fails to transmit successfully. Packets to the target terminal);
  • the packet is not discarded, and the second lost packet is retransmitted in the traditional communication mode, that is, the timer or retransmission counter is set to infinity (or maximum).
  • the target terminal After successfully receiving the second lost data packet, the target terminal can enter the D2D mode to retransmit the possible first lost data packet.
  • limit retransmission that is, the timer or retransmission counter is set to a certain limit. In this way, the second lost data packet can be retransmitted under a delay control, and if timed out, the data packet that the target base station finally fails to transmit to the target terminal is retransmitted in the D2D mode (possibly the second lost data packet). Part of the packet), the first lost packet is also retransmitted in D2D mode.
  • Discard mode that is, after receiving the end identifier, the target terminal does not perform any retransmission, and directly discards the data packet (including the first lost data packet and the second lost data packet) that has not been successfully received.
  • the source terminal After the D2D is connected, the source terminal starts transmitting packets that it did not successfully transmit in the legacy communication mode (that is, packets after the end of the identification).
  • the present invention also provides another handover method, that is, a seamless handover method, and the seamless handover refers to a short delay (not perceived by the user).
  • the lossless handover method focuses on no lost packets, while the seamless handover method focuses on short delays, does not care whether packets are lost, and does not retransmit lost packets to reduce latency. Therefore, the seamless switching method of the present invention has the same contents as the lossless switching method except for the following contents, and details are not described herein again:
  • the target terminal and the source terminal communicate through the traditional communication mode, the source terminal or the source base station or the target terminal initiates the communication switch, the source terminal stops transmitting the uplink data, and the source terminal confirms the last one according to the response of the source base station.
  • the data packet (packet 5) is successfully transmitted to the source base station.
  • the source terminal After the source terminal receives the handover command of the target base station (the handover command does not include the identifier of the lost data packet), the source terminal transmits the data packet 6 and the subsequent data in the direct connection communication mode, and therefore, under the seamless handover method
  • the lost packets 3, 4, 5 in the traditional communication mode are not retransmitted in the D2D communication mode.
  • the source base station eNB1 or the source UE triggers handover preparation.
  • the source UE stops transmitting new upstream packets.
  • the source UE has sent packets 1 ⁇ 5, but packet 4 has not received successful reception feedback from the source base station (data packet 4 is lost);
  • the source base station sends the successfully received packets 1 ⁇ 3 and 5 and the LP identification data packet (or the number 3 data packet carrying the LP identifier) to the network side.
  • the target base station After receiving the LP identification data packet, the target base station (eNB2) stops receiving subsequent data of the network, and starts timer T or retransmission counter C. The target base station starts to send the data packets 1 ⁇ 3 and 5 before the LP identification data packet to the target UE, or after receiving the data packet 5 containing the LP identifier, sends the data packets 1 ⁇ 3 and 5 to the target UE.
  • the data packet 5 is transmitted in an out-of-order data (the data packet 4 is lost in the middle) but is still transmitted.
  • the difference is mainly in After the out-of-order function is enabled, out-of-order packets can still be transmitted.
  • the target base station Before the timer T or the retransmission counter C overflows, the target base station only receives the feedback of the data packets 1, 2, 5 (that is, the target terminal does not successfully receive the data packet 3), and stops sending downlink data to the target UE, and The target UE is notified to enter the "D2D communication establishment process".
  • the target UE hands over the sequential data packets 1, 2 to the upper layer of the application, caches the data packet 5, and waits After the packets 3 and 4 are successfully received, they are reordered and submitted to the upper layer of the application.
  • the target base station sends a "Handover Command" to the source UE through the core network and the source base station, informing it to enter the "D2D communication establishment procedure", and including "Lost Packet” in the "Handover Command” to indicate that the source UE needs to be retransmitted as Successfully received packet 3;
  • the target terminal and the source terminal complete the "D2D communication establishment process" and enter the D2D communication state.
  • the source UE After establishing D2D communication, the source UE transmits data packets 3, 4, 6 and subsequent data packets on the D2D path.
  • the source terminal is the first terminal
  • the source base station is the first base station
  • the target base station is the second base station
  • the target terminal is the second terminal.
  • Figure 6 shows a schematic block diagram of a switching device in accordance with one embodiment of the present invention.
  • the switching apparatus 600 may include: a communication switching unit 602, located at the terminal side, transmitting data packets to the base station side and the core network, and receiving data packets from the base station side and the core network, And after initiating the communication mode switching, performing direct communication with other terminals, and transmitting the unsuccessfully transmitted data packet determined by the lost data packet determining unit to the other terminal; the lost data packet determining unit 604 initiating the communication mode After the handover, the data packet that is not successfully transmitted to the other terminal through the base station side and the core network is determined.
  • the present embodiment solves the technical problem of how to implement lossless handover in a scenario where the communication mode between terminals is switched from the traditional communication mode (base station based communication mode) to the D2D mode. After the communication mode switching is initiated, the data packet that has not been successfully transmitted through the traditional communication mode is acquired, and then the data packet is transmitted through the direct connection communication mode, thereby reducing the bit error rate, and providing switching from the traditional communication mode to the direct communication communication. Lossless switching solution in mode.
  • the lost data packet determining unit 604 includes: a first monitoring unit 6042, located at the terminal side, after initiating the switching of the communication mode, notifying the terminal to stop sending the uplink data packet, and according to the The response of the base station confirms the first lost data packet that is not successfully received by the base station; the first data transmission unit 6046, located at the base station side, adds end identification information to the successfully received data packet, and passes the successfully received data through the core network.
  • a second data transmission unit 6048 located at the base station side, receiving a data packet from the first data transmission unit, and transmitting the data packet to the other terminal, and Stopping receiving data from the core network when the end identifier information is detected; the second monitoring unit 60410, located at the base station side, confirming the second lost data that the other terminal fails to receive according to the response of the other terminal a packet; a determining unit 60412, the first lost data packet and the second lost data packet are used as data packets that are not successfully transmitted to the other terminal by the base station and the core network.
  • the lost data packet includes, on the one hand, a data packet that the first base station does not successfully receive from the first terminal, and on the other hand includes a data packet that the second terminal has not successfully received from the second base station.
  • the end identifier information is added as a flag bit to the last data packet in the successfully received data packet, or the end identifier information is used as a data packet and is set after the successfully received data packet. .
  • the second data transmission unit 6048 is further configured to: when the base station stops transmitting data to the other terminal, send a first handover command to the other terminal, to notify the The other terminal enters the direct communication process; the second data transmission unit 6048 is further configured to send the first to the terminal after sending the first handover command to the other terminal or after receiving the response from the other terminal The second switching command notifies the terminal to enter the direct communication process.
  • the second monitoring unit 60410 is further configured to: when the end identifier information is detected, or when the second data transmission unit sends the last data packet to the other terminal or the second data transmission unit 6048, when sending each data packet to the other terminal, turning on a timer or a retransmission counter; the second data transmission unit 6048 is further configured to stop the location when the timer expires or the retransmission counter overflows
  • the other terminal transmits data, and carries the lost data packet identifier in the second handover command, so that the terminal continues to transmit the data packet corresponding to the lost data packet identifier during direct communication.
  • a timer or a retransmission counter is set.
  • the second data transmission unit 6048 is further configured to stop transmitting data to the other terminal when the second monitoring unit 60410 detects the end identification information, and The second handover command carries a lost data packet identifier, so that the terminal continues to transmit the data packet corresponding to the lost data packet identifier during direct communication.
  • the value equivalent to the timer or retransmission counter is 0.
  • the second data transmission unit 6048 is further configured to stop transmitting data to the other terminal after completing the transmission of the data successfully received from the core network. In this scheme, the value corresponding to the timer or the retransmission counter is infinite, that is, the second base station needs to successfully transmit all the data packets to the second terminal.
  • the communication switching unit 602 is further configured to: after the terminal completes sending the uplink data packet, causing the terminal to enter a direct communication establishment process;
  • the transmitting unit 6048 is further configured to: when stopping transmitting data to the other terminal, send a first switching command to the other terminal, to notify the other terminal to enter a direct communication process.
  • the data packet that the terminal does not successfully transmit to the other terminal by the base station includes the first lost data packet, the second lost data packet, and the The out-of-order data packet received by the base station, where the out-of-order data packet is a data packet that is arranged after the first lost data packet in the continuous data packet, and when the out-of-order transmission function is enabled, the terminal fails to pass The data packet successfully transmitted by the base station to the other terminal contains only the lost data packet.
  • the first data transmission unit 6042 is further configured to: when the out-of-order transmission function is enabled, adding out-of-order identification information to the received out-of-order data packet; the communication switching unit 602 includes: a data packet completion unit 6022 If the other terminal detects the out-of-order identification information in the received data packet, buffering the out-of-order data packet carrying the out-of-order identification information, and waiting to fill the lost data packet, in the lost data packet When all are completed, all the sequentially arranged data packets are uploaded to the application layer of the other terminal.

Landscapes

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

Abstract

本发明提供了一种切换方法和一种切换装置,其中,切换方法包括第一终端通过第一基站、核心网和第二基站与第二终端进行数据交互;在发起通信模式切换后,确定第一终端未通过第一基站和第二基站成功传输至第二终端的数据包;第一终端与第二终端进行直连通信,第一终端通过直连通信方式将未成功传输的数据包传输至第二终端。通过本发明的技术方案,解决了在从传统通信模式切换至直连通信模式时的丢失数据包的重传问题,减少了误码率,满足无损切换要求。

Description

切换方法和切换装置
技术领域
本发明涉及通信技术领域, 具体而言, 涉及切换方法和切换装置。 背景技术
在当前的 LTE ( Long Term Evolution ) 协议技术中, 可通过数据包的 前转规则实现上下行数据传输在切换时的无损切换。
为确保切换时 "上行" 数据的无损切换, 终端 (UE ) 会重发储存在 PDCP ( Packet Data Convergence Protocol, 分组数据汇聚协议) 重传緩存 器中的 PDCP数据包, 图 1描述了此过程。
该例中, PDCP实体发起序号 1~5 的 PDCP数据包发送, 其中, 3号 和 5 号分组并未被源 eNB 收到, 例如由于切换中断了 HARQ ( Hybrid Automatic Repeat, 混合自动重传请求)传输。 切换后, UE会重新发送之 前未被确认正确传输的 PDCP数据包。 如图 1 所示, 切换发生之前只有 1 号和 2号 PDCP数据包被确认。 因此切换后, UE会重传分组 3、 4、 5, 尽管网络已经确认接收到了分组 4。
为了确保上行时的顺序传输, 源 eNB 会在解压缩之后把已按序接收 的 PDCP 数据包发给网关, 并把已收到的乱序 PDCP 数据包转发给目标 eNB。 因而, 目标 eNB可对从源 eNB收到的已解码的 PDCP数据包 (如 数据包 4 ) 以及从 UE处收到的重传的 PDCP数据包进行重排序, 并根据 正确的顺序将它们发送到网关。
为了确保 "下行 " 时的顺序传输, 源 eNB把传输还未被 UE确认且未 解码的 PDCP数据包转发给目标 eNB以确保下行重传。 源 eNB从网关收 到一指示, 指明最后一个将要发给源 eNB 的数据包。 源 eNB 同样把这个 指示转发给目标 eNB, 这样一来, 目标 eNB 就可知道它应该在何时发送 从网关收到的数据包。 在图 2中, 源 eNB已开始发送 PDCP数据包 1~4; 由于例如切换发生在 HARQ重传 3号包之前等原因, UE不会从源 eNB收 到 3 号包。 而且尽管已收到 4号包, 但 UE仅发送对 1 号和 2号包的确 认。 接下来目标 eNB需确保哪些尚未被源 eNB确认的 PDCP数据包全部 发送给 UE。
上述的现有技术可以很好的保证在传统通信模式 (基站与 UE之间的 通信) 切换时的无损切换, 但当 UE 从传统通信模式切换到直连通信 ( D2D )模式时, 现有技术无法满足无损切换的要求, 因此需要一种新的 切换方案以保证无损切换。 发明内容
本发明正是基于上述技术问题, 提出了一种新的切换技术, 解决当 UE从传统通信模式切换到 D2D模式时的无损切换问题。
有鉴于此, 根据本发明的一个方面, 提供了一种切换方法, 包括: 第 一终端通过第一基站、 核心网和第二基站与第二终端进行数据交互; 在发 起通信模式切换后, 确定所述第一终端未通过所述第一基站和所述第二基 站成功传输至所述第二终端的数据包; 所述第一终端与所述第二终端进行 直连通信, 所述第一终端通过直连通信方式将未成功传输的数据包传输至 所述第二终端。
本实施例解决了在终端之间的通信模式从传统通信模式 (基于基站的 通信模式) 切换至 D2D 模式的场景下, 如何实现无损切换的技术问题。 在发起通信模式切换后, 获取没有通过传统通信模式成功传输的数据包, 然后将该数据包通过直连通信模式进行传输, 减少了误码率, 提供了在从 传统通信模式切换至直连通信模式时的无损切换解决方案。
在上述技术方案中, 优选的, 所述在发起通信模式切换后, 确定所述 第一终端未通过所述第一基站、 核心网和所述第二基站成功传输至所述第 二终端的数据包, 包括: 在发起通信模式切换后, 所述第一终端停止发送 上行数据包; 所述第一终端根据所述第一基站的响应确认所述第一基站未 成功接收的第一丟失数据包; 所述第一基站在接收成功的数据包中添加结 束标识信息, 并将接收成功的数据包通过所述核心网发送给所述第二基 站; 所述第二基站向所述第二终端发送所述接收成功的数据包, 以及在所 述第二基站检测到所述结束标识信息时, 停止从所述核心网接收数据; 所 述第二基站根据所述第二终端的响应, 确认所述第二终端未成功接收的第 二丟失数据包; 所述第一丟失数据包与所述第二丟失数据包作为所述未通 过所述第一基站和所述第二基站成功传输至所述第二终端的数据包。
丟失的数据包一方面包括第一基站没有从第一终端成功接收的数据 包, 另一方面包括第二终端没有从第二基站成功接收的数据包。
其中, 所述结束标识信息作为一个标志位被加入所述接收成功的数据 包中的最后一个数据包中, 或者将所述结束标识信息作为一个数据包并设 置在所述接收成功的数据包之后。
在上述任一技术方案中, 优选的, 还可以包括: 在所述第二基站停止 向所述第二终端传输数据时, 向所述第二终端发送第一切换命令, 通知所 述第二终端进入直连通信流程; 所述第二基站在向所述第二终端发送第一 切换命令时或在接收到来自所述第二终端的响应后, 通过所述第一基站向 所述第一终端发送第二切换命令, 通知所述第一终端进入直连通信流程。
第二终端切换进入直连通信流程的时机有多种情况, 典型的一种情况 是上面列出的情况, 第二基站停止向第二终端传输数据可以理解成第二基 站将所有数据包成功传输之后至第二终端或者在第二基站将最后一个数据 包发送给第二终端之后。 第一终端切换至直流通信流程的时机也有多种, 例如是第一终端根据用户的选择主动切换至直流通信流, 或者在第一基站 成功接收来自第一终端的所有数据包之后。
在上述任一技术方案中, 优选的, 还可以包括: 在所述第二基站检测 到所述结束标识信息时或在所述第二基站向所述第二终端发送最后一个数 据包或在所述第二基站向所述第二终端发送每个数据包时, 开启定时器或 重传计数器; 在所述定时器超时或所述重传计数器溢出时, 所述第二基站 停止向所述第二终端传输数据, 并在所述第二切换命令中携带丟失数据包 标识, 以使所述第一终端在直连通信时继续传输与所述丟失数据包标识对 应的数据包。 为了避免传统通信模式信道质量欠佳导致的长时间尝试重传导致的时 延, 因此设置定时器或重传计数器, 启动定时器或重传计数器的时机至少 有以下三种方案: 在第一基站发送最后一个数据包时, 用来限制最后一个 数据包发送后, 继续传输的时间; 在第二基站发送最后一个数据包时, 用 来限制最后一个数据包发送后, 所有数据包重传的次数; 在向第二终端传 输数据的整个过程中, 对每个数据包均开启一个重传计数器 /计时器, 用 来限制所有数据重传的时间或次数。
在上述任一技术方案中, 优选的, 还可以包括: 在所述第二基站检测 到所述结束标识信息时, 停止向所述第二终端传输数据, 并在所述第二切 换命令中携带丟失数据包标识, 以使所述第一终端在直连通信时继续传输 与所述丟失数据包标识对应的数据包。 在该方案中, 相当于定时器或重传 计数器的值是 0。
在上述任一技术方案中, 优选的, 还可以包括: 在所述第二基站完成 所述从核心网接收成功的数据的传输之后, 停止向所述第二终端传输数 据。 在该方案中, 相当于定时器或重传计数器的值是无限大, 即第二基站 需要将所有数据包成功传输至第二终端。
在上述任一技术方案中, 优选的, 还可以包括: 所述第一终端在完成 所述上行数据包的发送之后, 进入直连通信建立流程; 所述第二基站在停 止向所述第二终端传输数据时, 向所述第二终端发送第一切换命令, 通知 所述第二终端进入直连通信流程。
在上述任一技术方案中, 优选的, 在未开启乱序传输功能时, 所述第 一终端未通过所述第一基站和所述第二基站成功传输至所述第二终端的数 据包包含第一丟失数据包、 第二丟失数据包和所述第一基站接收到的乱序 数据包, 其中, 所述乱序数据包为连续数据包中排列在所述第一丟失数据 包之后的数据包; 在开启乱序传输功能时, 所述第一终端未通过所述第一 基站和所述第二基站成功传输至所述第二终端的数据包仅包含丟失的数据 包。
其中, 在开启乱序传输功能时, 所述第一基站在接收到的乱序数据包 中增加乱序标识信息; 若所述第二终端在接收到的数据包中检测到所述乱 序标识信息, 緩存携带所述乱序标识信息的乱序数据包, 并等待补齐丟失 的数据包; 在丟失的数据包全部补齐时, 将所有顺序排列的数据包上传至 所述第二终端的应用层。
在上述任一技术方案中, 优选的, 所述第一基站和所述第二基站为同 一基站。
根据本发明的另一方面, 还提供了一种切换装置, 包括: 通信切换单 元, 位于终端侧, 向基站侧和核心网发送数据包, 以及接收来自基站侧和 核心网的数据包, 以及在发起通信模式切换后, 与其他终端进行直连通 信, 将丟失数据包确定单元确定的未成功传输的数据包发送至所述其他终 端; 所述丟失数据包确定单元, 在发起通信模式切换后, 确定未通过所述 基站侧和核心网成功传输至所述其他终端的数据包。
本实施例解决了在终端之间的通信模式从传统通信模式 (基于基站的 通信模式) 切换至 D2D 模式的场景下, 如何实现无损切换的技术问题。 在发起通信模式切换后, 获取没有通过传统通信模式成功传输的数据包, 然后将该数据包通过直连通信模式进行传输, 减少了误码率, 提供了在从 传统通信模式切换至直连通信模式时的无损切换解决方案。
在上述技术方案中, 优选的, 所述丟失数据包确定单元包括: 第一监测单元, 位于终端侧, 在发起通信模式切换后, 通知所述终端 停止发送上行数据包, 以及根据所述基站的响应确认所述基站未成功接收 的第一丟失数据包; 第一数据传输单元, 位于基站侧, 在接收成功的数据 包中添加结束标识信息并将接收成功的数据通过所述核心网发送给其他基 站; 第二数据传输单元, 位于基站侧, 接收来自所述第一数据传输单元的 数据包, 并将所述数据包发送至所述其他终端, 以及在检测到所述结束标 识信息时, 停止从所述核心网接收数据; 第二监测单元, 位于基站侧, 根 据所述其他终端的响应, 确认所述其他终端未成功接收的第二丟失数据 包; 判定单元, 所述第一丟失数据包与所述第二丟失数据包作为所述未通 过所述基站和核心网成功传输至所述其他终端的数据包。 丟失的数据包一 方面包括第一基站没有从第一终端成功接收的数据包, 另一方面包括第二 终端没有从第二基站成功接收的数据包。 其中, 所述结束标识信息作为一个标志位被加入所述接收成功的数据 包中的最后一个数据包中, 或者将所述结束标识信息作为一个数据包并设 置在所述接收成功的数据包之后。
在上述任一技术方案中, 优选的, 所述第二数据传输单元还用于在所 述基站停止向所述其他终端传输数据时, 向所述其他终端发送第一切换命 令, 通知所述其他终端进入直连通信流程; 所述第二数据传输单元还用于 在向所述其他终端发送第一切换命令时或在接收到来自所述其他终端的响 应后, 向所述终端发送第二切换命令, 通知所述终端进入直连通信流程。
在上述任一技术方案中, 优选的, 所述第二监测单元还用于在检测到 所述结束标识信息时或在所述第二数据传输单元向所述其他终端发送最后 一个数据包或在所述第二数据传输单元向所述其他终端发送每个数据包 时, 开启定时器或重传计数器; 所述第二数据传输单元还用于在所述定时 器超时或所述重传计数器溢出时, 停止向所述其他终端传输数据, 并在所 述第二切换命令中携带丟失数据包标识, 以使所述终端在直连通信时继续 传输与所述丟失数据包标识对应的数据包。
为了避免传统通信模式信道质量欠佳导致的长时间尝试重传导致的时 延, 因此设置定时器或重传计数器。
在上述任一技术方案中, 优选的, 所述第二数据传输单元还用于在所 述第二监测单元检测到所述结束标识信息时, 停止向所述其他终端传输数 据, 并在所述第二切换命令中携带丟失数据包标识, 以使所述终端在直连 通信时继续传输与所述丟失数据包标识对应的数据包。 在该方案中, 相当 于定时器或重传计数器的值是 0。
在上述任一技术方案中, 优选的, 所述第二数据传输单元还用于在完 成所述从核心网接收成功的数据的传输之后, 停止向所述其他终端传输数 据。 在该方案中, 相当于定时器或重传计数器的值是无限大, 即第二基站 需要将所有数据包成功传输至第二终端。
在上述任一技术方案中, 优选的, 所述通信切换单元还用于在所述终 端完成所述上行数据包的发送之后, 使所述终端进入直连通信建立流程; 其他终端发送第一切换命令, 通知所述其他终端进入直连通信流程。
在上述任一技术方案中, 优选的, 在未开启乱序传输功能时, 所述终 端未通过基站成功传输至所述其他终端的数据包包含第一丟失数据包、 第 二丟失数据包和所述基站接收到的乱序数据包, 其中, 所述乱序数据包为 连续数据包中排列在所述第一丟失数据包之后的数据包, 在开启乱序传输 功能时, 所述终端未通过所述基站成功传输至所述其他终端的数据包仅包 含丟失的数据包。
其中, 所述第一数据传输单元还用于在开启乱序传输功能时, 在接收 到的乱序数据包中增加乱序标识信息; 所述通信切换单元包括: 数据包补 齐单元, 若所述其他终端在接收到的数据包中检测到所述乱序标识信息, 緩存携带所述乱序标识信息的乱序数据包, 并等待补齐丟失的数据包, 在 丟失的数据包全部补齐时, 将所有顺序排列的数据包上传至所述其他终端 的应用层。
根据本发明的再一方面, 还提供了一种无缝切换方法, 包括: 第一终 端通过第一基站、 核心网和第二基站与第二终端进行数据交互; 在发起通 信模式切换后, 确认第一终端发送给第一基站的最后一个数据包; 所述第 一终端与所述第二终端进行直连通信, 所述第一终端通过直连通信方式将 所述最后一个数据包之后的数据包发送至所述第二终端。
其中, 在发起通信模式切换后, 所述第一终端停止发送上行数据包; 所述第一基站在接收成功的数据包中添加结束标识信息, 并将接收成 功的数据包通过所述核心网发送给所述第二基站;
所述第二基站向所述第二终端发送所述接收成功的数据包, 以及在所 述第二基站检测到所述结束标识信息时, 停止从所述核心网接收数据。
其中, 在所述第二基站停止向所述第二终端传输数据时, 向所述第二 终端发送第一切换命令, 通知所述第二终端进入直连通信流程;
所述第二基站在向所述第二终端发送第一切换命令时或在接收到来自 所述第二终端的响应后, 通过所述第一基站向所述第一终端发送第二切换 命令, 通知所述第一终端进入直连通信流程, 或者所述第一终端在完成上 行数据包的发送之后, 进入直连通信建立流程。 根据本发明的技术方案, 可以实现 UE 从传统通信模式切换到 D2D 模式时数据的无损 /无缝切换, 保证了用户体验。 附图说明
图 1 示出了相关技术中的传统通信模式下的上行数据无损切换示意 图;
图 2 示出了相关技术中的传统通信模式下的下行数据无损切换示意 图;
图 3示出了根据本发明的一个实施例的切换方法的示意流程图; 图 4示出了根据本发明的一个实施例的未开启乱序功能的切换方法示 意图;
图 5示出了根据本发明的一个实施例的开启乱序功能的切换方法示意 图;
图 6示出了根据本发明的一个实施例的切换装置的示意框图。 具体实施方式
为了能够更清楚地理解本发明的上述目的、 特征和优点, 下面结合附 图和具体实施方式对本发明进行进一步的详细描述。 需要说明的是, 在不 冲突的情况下, 本申请的实施例及实施例中的特征可以相互组合。
在下面的描述中阐述了很多具体细节以便于充分理解本发明, 但是, 本发明还可以釆用其他不同于在此描述的其他方式来实施, 因此, 本发明 的保护范围并不受下面公开的具体实施例的限制。
图 3示出了根据本发明的一个实施例的切换方法的示意流程图。
如图 3 所示, 根据本发明的实施例的切换方法, 可以包括: 步骤 302 , 第一终端通过第一基站、 核心网和第二基站与第二终端进行数据交 互; 步骤 304, 在发起通信模式切换后, 确定第一终端未通过第一基站和 第二基站成功传输至第二终端的数据包; 步骤 306, 第一终端与第二终端 进行直连通信, 第一终端通过直连通信方式将未成功传输的数据包传输至 第二终端。 本实施例解决了在终端之间的通信模式从传统通信模式 (基于基站的 通信模式) 切换至 D2D 模式的场景下, 如何实现无损切换的技术问题。 在发起通信模式切换后, 获取没有通过传统通信模式成功传输的数据包, 然后将该数据包通过直连通信模式进行传输, 减少了误码率, 提供了在从 传统通信模式切换至直连通信模式时的无损切换解决方案。
在上述技术方案中, 优选的, 所述在发起通信模式切换后, 确定所述 第一终端未通过所述第一基站、 核心网和所述第二基站成功传输至所述第 二终端的数据包, 包括: 在发起通信模式切换后, 所述第一终端停止发送 上行数据包; 所述第一终端根据所述第一基站的响应确认所述第一基站未 成功接收的第一丟失数据包; 所述第一基站在接收成功的数据包中添加结 束标识信息, 并将接收成功的数据包通过所述核心网发送给所述第二基 站; 所述第二基站向所述第二终端发送所述接收成功的数据包, 以及在所 述第二基站检测到所述结束标识信息时, 停止从所述核心网接收数据; 所 述第二基站根据所述第二终端的响应, 确认所述第二终端未成功接收的第 二丟失数据包; 所述第一丟失数据包与所述第二丟失数据包作为所述未通 过所述第一基站和所述第二基站成功传输至所述第二终端的数据包。
丟失的数据包一方面包括第一基站没有从第一终端成功接收的数据 包, 另一方面包括第二终端没有从第二基站成功接收的数据包。
其中, 所述结束标识信息作为一个标志位被加入所述接收成功的数据 包中的最后一个数据包中, 或者将所述结束标识信息作为一个数据包并设 置在所述接收成功的数据包之后。
在上述任一技术方案中, 优选的, 还可以包括: 在所述第二基站停止 向所述第二终端传输数据时, 向所述第二终端发送第一切换命令, 通知所 述第二终端进入直连通信流程; 所述第二基站在向所述第二终端发送第一 切换命令时或在接收到来自所述第二终端的响应后, 通过所述第一基站向 所述第一终端发送第二切换命令, 通知所述第一终端进入直连通信流程。
第二终端切换进入直连通信流程的时机有多种情况, 典型的一种情况 是上面列出的情况, 第二基站停止向第二终端传输数据可以理解成第二基 站将所有数据包成功传输之后至第二终端或者在第二基站将最后一个数据 包发送给第二终端之后。 第一终端切换至直流通信流程的时机也有多种, 例如是第一终端根据用户的选择主动切换至直流通信流, 或者在第一基站 成功接收来自第一终端的所有数据包之后。
在上述任一技术方案中, 优选的, 还可以包括: 在所述第二基站检测 到所述结束标识信息时或在所述第二基站向所述第二终端发送最后一个数 据包或在所述第二基站向所述第二终端发送每个数据包时, 开启定时器或 重传计数器; 在所述定时器超时或所述重传计数器溢出时, 所述第二基站 停止向所述第二终端传输数据, 并在所述第二切换命令中携带丟失数据包 标识, 以使所述第一终端在直连通信时继续传输与所述丟失数据包标识对 应的数据包。
为了避免传统通信模式信道质量欠佳导致的长时间尝试重传导致的时 延, 因此设置定时器或重传计数器, 启动定时器或重传计数器的时机至少 有以下三种方案: 在第一基站发送最后一个数据包时, 用来限制最后一个 数据包发送后, 继续传输的时间; 在第二基站发送最后一个数据包时, 用 来限制最后一个数据包发送后, 所有数据包重传的次数; 在向第二终端传 输数据的整个过程中, 对每个数据包均开启一个重传计数器 /计时器, 用 来限制所有数据重传的时间或次数。
在上述任一技术方案中, 优选的, 还可以包括: 在所述第二基站检测 到所述结束标识信息时, 停止向所述第二终端传输数据, 并在所述第二切 换命令中携带丟失数据包标识, 以使所述第一终端在直连通信时继续传输 与所述丟失数据包标识对应的数据包。 在该方案中, 相当于定时器或重传 计数器的值是 0。
在上述任一技术方案中, 优选的, 还可以包括: 在所述第二基站完成 所述从核心网接收成功的数据的传输之后, 停止向所述第二终端传输数 据。 在该方案中, 相当于定时器或重传计数器的值是无限大, 即第二基站 需要将所有数据包成功传输至第二终端。
在上述任一技术方案中, 优选的, 还可以包括: 所述第一终端在完成 所述上行数据包的发送之后, 进入直连通信建立流程; 所述第二基站在停 止向所述第二终端传输数据时, 向所述第二终端发送第一切换命令, 通知 所述第二终端进入直连通信流程。
在上述任一技术方案中, 优选的, 在未开启乱序传输功能时, 所述第 一终端未通过所述第一基站和所述第二基站成功传输至所述第二终端的数 据包包含第一丟失数据包、 第二丟失数据包和所述第一基站接收到的乱序 数据包, 其中, 所述乱序数据包为连续数据包中排列在所述第一丟失数据 包之后的数据包; 在开启乱序传输功能时, 所述第一终端未通过所述第一 基站和所述第二基站成功传输至所述第二终端的数据包仅包含丟失的数据 包。
其中, 在开启乱序传输功能时, 所述第一基站在接收到的乱序数据包 中增加乱序标识信息; 若所述第二终端在接收到的数据包中检测到所述乱 序标识信息, 緩存携带所述乱序标识信息的乱序数据包, 并等待补齐丟失 的数据包; 在丟失的数据包全部补齐时, 将所有顺序排列的数据包上传至 所述第二终端的应用层。
在上述任一技术方案中, 优选的, 所述第一基站和所述第二基站为同 一基站。
下面结合图 4详细说明根据本发明的未开启乱序功能的切换方法的一 个实施例。
1.源 UE基于传统通信模式 (基于基站的通信模式) 与目标 UE进行 通信。 可由源基站 eNBl 或源 UE或目标 UE触发切换准备, 源 UE停止 发送新的上行数据包。
2.进入切换准备阶段后:
- 源 UE 已经发送数据包 1~5, 但 4号数据包未收到源基站的成功接 收反馈(说明书 4号数据包未成功传输给源基站) ;
- 源基站将成功接收到的数据包 1~3 以及 LP标识数据包 (或携带了 LP标识的 3号数据包 )发送给网络侧。
LP 标识数据包是指表示结束标识信息的数据包, 由源基站添加该结 束标识信息, 可以是单独的数据包并加在 3号数据包之后, 或者将该结束 标识信息加入 3号数据包中。 由于在本实施例中未开启乱序功能, 因此源基站虽然收到了数据包
5, 但由于数据包 5 是乱序数据包 (中间丟失了数据包 4 ) , 因此该数据 包 5将不被通过核心网传输至目标基站。
另外, 源 UE发送的数据包, 若源基站已经成功接收, 但有与某些原 因 (如 ACK反馈错误接收为 NACK反馈) 导致源 UE没有收到成功接收 反馈, 则此时, 源基站在向网关递交数据包时, 可以选择提交或不提交该 数据包。 源 UE在续传时, 需要对该数据包进行重传。 目标 UE会根据数 据包重复检测功能分辨此重复接收的数据包, 避免重复提交上层。
3.目标基站 (eNB2 ) 在接收到 LP标识数据包后, 停止接收网络后续 数据, 并开启定时器 T 或重传计数器 C。 目标基站开始向目标 UE 发送 LP标识数据包之前的数据包 1~3; 或在接收到包含有 LP标识的数据包 3 后, 向目标 UE发送数据包 1~3。 为了减少时延, 该定时器 T或重传计数 器 C可以设置适当值, 当然, 也可以设置为无限大或者零。
需说明的是, 在本实施例中, 开始定时器后重传计数器的时机是检测 到 LP 标识数据包, 除此之后, 还可以是在目标基站向目标终端发送最后 一个数据包或在目标基站向目标终端发送每个数据包时开启定时器或重传 计数器。
4.目标基站在完成数据包 1~3 的传输并收到目标 UE的确认后或定时 器 T或重传记数器 C溢出后, 停止向目标 UE发送下行数据, 并通知目标 UE进入 "D2D通信建立流程" 。
5.目标 UE成功接收的顺序数据包 1、 2 (未成功接收到数据包 3 ) , 上交 UE上层。
6.目标基站通过核心网以及源基站向源 UE 发送 "切换命令" , 通知 其进入 "D2D通信建立流程" , 并在 "切换命令" 中包含 "Lost Packet" 标识 (在本实施例中为丟失数据包 3 ) 指示源 UE 需要续传未成功接收的 数据包 3。
在本实施例中, 源 UE 也可以在完成上行数据包的发送之后, 进入 "D2D通信建立流程" 。 此时, 目标基站仅需要将 "Lost Packet" 标识通 知源 UE。 7.源 UE和目标 UE完成 "D2D通信建立流程" , 并进入 D2D通信状 态。
8.建立 D2D通信后, 源 UE在 D2D路径上发送丟失数据包 3、 4、 5 及后续数据包。
因此, 釆用本发明的切换方法, 在未开启乱序功能的情况下, 从传统 通信模式切换到直连通信模式, 能够保证丟失的数据包能够在直连通信模 式下被传输, 实现了无损切换。
对于定时器 T或重传计数器 C有以下说明:
1、 不弃包模式, 第二丟失数据包 (即目标基站未成功传输至目标终 端的数据包) 全在 D2D 模式下重传传输, 即定时器或重传计数器设置为 0, 这样, 目标终端收到结束标识后, 无论是否存在重传, 均停止数据传 输, 转到 D2D 下重传 (包括源终端未成功传输至源基站的数据包 (即第 一丟失数据包) 以及目标基站未成功传输至目标终端的数据包) ;
2、 不弃包模式, 第二丟失数据包全在传统通信模式下重传传输, 即 定时器或重传计数器设置为无穷大 (或极大值) 。 目标终端在成功接收到 第二丟失数据包后, 才能进入 D2D模式去重传可能的第一丟失数据包。
3、 不弃包模式, 限制重传, 即定时器或重传计数器设置为一定的有 限值。 这样, 第二丟失数据包可以在一定时延控制下, 进行重传, 如果超 时, 则将目标基站最终未成功传输至目标终端的数据包在 D2D 模式下重 传 (可能是第二丟失数据包中的部分数据包) , 第一丟失数据包也在 D2D 模式下重传。
4、 弃包模式, 即目标终端在接收到结束标识后, 不进行任何重传, 直接丟弃没有成功接收的数据包 (包括第一丟失数据包、 第二丟失数据 包) 。 源终端在 D2D 连接后, 开始传输它在传统通信模式中没有成功传 输的数据包 (即结束标识之后的数据包) 。
基于该实施例, 本发明还提供了另一种切换方法, 即无缝切换方法, 无缝切换指延时很短 (用户感受不到) 。 无损切换方法侧重于没有丟失数 据包, 而无缝切换方法则侧重于短延时, 并不关心是否丟失数据包, 对丟 失数据包不进行重传, 以减少时延。 因此本发明的无缝切换方法除以下内容之外, 其他内容同无损切换方 法, 在此不再赘述:
继续借用图 4, 目标终端与源终端之间通过传统通信模式进行通信, 可由源终端或源基站或目标终端发起通信切换, 源终端停止发送上行数 据, 源终端根据源基站的应答, 确认最后一个数据包 (数据包 5 )被成功 传输至源基站。 在源终端接收到目标基站的切换命令后 (该切换命令中不 包含丟失数据包的标识) , 源终端在直连通信模式中传输数据包 6 以及之 后的数据, 因此, 在无缝切换方法下, 在传统通信模式下丟失的数据包 3、 4、 5未在 D2D通信模式下被重传。
接下来结合图 5详细说明根据本发明的开启乱序功能的切换方法的一 个实施例。
1.源基站 eNBl 或源 UE触发切换准备。 源 UE停止发送新的上行数 据包。
2.进入切换准备阶段后,
- 源 UE 已经发送数据包 1~5, 但 4号数据包未收到源基站的成功接 收反馈 ( 4号数据包被丟失 ) ;
- 源基站将成功接收到的数据包 1~3和 5 以及 LP标识数据包 (或携 带了 LP标识的 3号数据包)发送给网络侧。
3.目标基站 (eNB2 ) 在接收到 LP标识数据包后, 停止接收网络后续 数据, 并开启定时器 T 或重传记数器 C。 目标基站开始向目标 UE 发送 LP标识数据包之前的数据包 1~3和 5, 或在接收到包含有 LP标识的数据 包 5后, 向目标 UE发送数据包 1~3和 5。
由于在本实施例中开启了乱序功能, 因此数据包 5 虽然是乱序数据包 括 (中间丟失了数据包 4 ) 但仍被传输, 对比图 4 所示的实施例可以发 现, 区别主要是在开启乱序功能之后, 乱序数据包仍可被传输。
4.目标基站在定时器 T 或重传记数器 C 溢出前, 仅收到数据包 1、 2、 5的反馈(即目标终端未成功接收数据包 3 ) , 停止向目标 UE发送下 行数据, 并通知目标 UE进入 "D2D通信建立流程" 。
5.目标 UE将顺序数据包 1、 2上交应用上层, 将数据包 5緩存, 等待 数据包 3、 4接收成功后重新排序再提交应用上层。
6.目标基站通过核心网以及源基站向源 UE 发送 "切换命令" , 通知 其进入 "D2D通信建立流程" , 并在 "切换命令" 中包含 "Lost Packet" 标识 IE指示源 UE需要续传为成功接收的数据包 3;
7.目标终端和源终端完成 "D2D 通信建立流程" , 并进入 D2D 通信 状态
8.建立 D2D通信后, 源 UE在 D2D路径上发送数据包 3、 4、 6及后 续数据包。
在图 4和图 5所示的实施例中, 源终端即第一终端, 源基站即第一基 站, 目标基站即第二基站, 目标终端即第二终端。
图 6示出了根据本发明的一个实施例的切换装置的示意框图。
如图 6所示, 根据本发明的实施例的切换装置 600可以包括: 通信切 换单元 602, 位于终端侧, 向基站侧和核心网发送数据包, 以及接收来自 基站侧和核心网的数据包, 以及在发起通信模式切换后, 与其他终端进行 直连通信, 将丟失数据包确定单元确定的未成功传输的数据包发送至所述 其他终端; 所述丟失数据包确定单元 604, 在发起通信模式切换后, 确定 未通过所述基站侧和核心网成功传输至所述其他终端的数据包。
本实施例解决了在终端之间的通信模式从传统通信模式 (基于基站的 通信模式) 切换至 D2D 模式的场景下, 如何实现无损切换的技术问题。 在发起通信模式切换后, 获取没有通过传统通信模式成功传输的数据包, 然后将该数据包通过直连通信模式进行传输, 减少了误码率, 提供了在从 传统通信模式切换至直连通信模式时的无损切换解决方案。
在上述技术方案中, 优选的, 所述丟失数据包确定单元 604包括: 第一监测单元 6042, 位于终端侧, 在发起通信模式切换后, 通知所 述终端停止发送上行数据包, 以及根据所述基站的响应确认所述基站未成 功接收的第一丟失数据包; 第一数据传输单元 6046, 位于基站侧, 在接 收成功的数据包中添加结束标识信息并将接收成功的数据通过所述核心网 发送给其他基站; 第二数据传输单元 6048, 位于基站侧, 接收来自所述 第一数据传输单元的数据包, 并将所述数据包发送至所述其他终端, 以及 在检测到所述结束标识信息时, 停止从所述核心网接收数据; 第二监测单 元 60410, 位于基站侧, 根据所述其他终端的响应, 确认所述其他终端未 成功接收的第二丟失数据包; 判定单元 60412, 所述第一丟失数据包与所 述第二丟失数据包作为所述未通过所述基站和核心网成功传输至所述其他 终端的数据包。 丟失的数据包一方面包括第一基站没有从第一终端成功接 收的数据包, 另一方面包括第二终端没有从第二基站成功接收的数据包。
其中, 所述结束标识信息作为一个标志位被加入所述接收成功的数据 包中的最后一个数据包中, 或者将所述结束标识信息作为一个数据包并设 置在所述接收成功的数据包之后。
在上述任一技术方案中, 优选的, 所述第二数据传输单元 6048 还用 于在所述基站停止向所述其他终端传输数据时, 向所述其他终端发送第一 切换命令, 通知所述其他终端进入直连通信流程; 所述第二数据传输单元 6048 还用于在向所述其他终端发送第一切换命令时或在接收到来自所述 其他终端的响应后, 向所述终端发送第二切换命令, 通知所述终端进入直 连通信流程。
优选的, 所述第二监测单元 60410还用于在检测到所述结束标识信息 时或在所述第二数据传输单元向所述其他终端发送最后一个数据包或在所 述第二数据传输单元 6048 向所述其他终端发送每个数据包时, 开启定时 器或重传计数器; 所述第二数据传输单元 6048 还用于在所述定时器超时 或所述重传计数器溢出时, 停止向所述其他终端传输数据, 并在所述第二 切换命令中携带丟失数据包标识, 以使所述终端在直连通信时继续传输与 所述丟失数据包标识对应的数据包。
为了避免传统通信模式信道质量欠佳导致的长时间尝试重传导致的时 延, 因此设置定时器或重传计数器。
在上述任一技术方案中, 优选的, 所述第二数据传输单元 6048 还用 于在所述第二监测单元 60410检测到所述结束标识信息时, 停止向所述其 他终端传输数据, 并在所述第二切换命令中携带丟失数据包标识, 以使所 述终端在直连通信时继续传输与所述丟失数据包标识对应的数据包。 在该 方案中, 相当于定时器或重传计数器的值是 0。 在上述任一技术方案中, 优选的, 所述第二数据传输单元 6048 还用 于在完成所述从核心网接收成功的数据的传输之后, 停止向所述其他终端 传输数据。 在该方案中, 相当于定时器或重传计数器的值是无限大, 即第 二基站需要将所有数据包成功传输至第二终端。
在上述任一技术方案中, 优选的, 所述通信切换单元 602还用于在所 述终端完成所述上行数据包的发送之后, 使所述终端进入直连通信建立流 程; 所述第二数据传输单元 6048 还用于在停止向所述其他终端传输数据 时, 向所述其他终端发送第一切换命令, 通知所述其他终端进入直连通信 流程。
在上述任一技术方案中, 优选的, 在未开启乱序传输功能时, 所述终 端未通过基站成功传输至所述其他终端的数据包包含第一丟失数据包、 第 二丟失数据包和所述基站接收到的乱序数据包, 其中, 所述乱序数据包为 连续数据包中排列在所述第一丟失数据包之后的数据包, 在开启乱序传输 功能时, 所述终端未通过所述基站成功传输至所述其他终端的数据包仅包 含丟失的数据包。
其中, 所述第一数据传输单元 6042 还用于在开启乱序传输功能时, 在接收到的乱序数据包中增加乱序标识信息; 所述通信切换单元 602 包 括: 数据包补齐单元 6022, 若所述其他终端在接收到的数据包中检测到 所述乱序标识信息, 緩存携带所述乱序标识信息的乱序数据包, 并等待补 齐丟失的数据包, 在丟失的数据包全部补齐时, 将所有顺序排列的数据包 上传至所述其他终端的应用层。
以上结合附图详细说明了根据本发明的技术方案, 可以实现 UE从传 统通信模式切换到 D2D模式时数据的无损 /无缝切换, 保证了用户体验。
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于 本领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精 神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明 的保护范围之内。

Claims

权 利 要 求 书
1. 一种切换方法, 其特征在于, 包括:
第一终端通过第一基站、 核心网和第二基站与第二终端进行数据交 互;
在发起通信模式切换后, 确定所述第一终端未通过所述第一基站和所 述第二基站成功传输至所述第二终端的数据包;
所述第一终端与所述第二终端进行直连通信, 所述第一终端通过直连 通信方式将未成功传输的数据包传输至所述第二终端。
2. 根据权利要求 1 所述的切换方法, 其特征在于, 所述在发起通信 模式切换后, 确定所述第一终端未通过所述第一基站、 核心网和所述第二 基站成功传输至所述第二终端的数据包, 包括:
在发起通信模式切换后, 所述第一终端停止发送上行数据包; 所述第一终端根据所述第一基站的响应确认所述第一基站未成功接收 的第一丟失数据包;
所述第一基站在接收成功的数据包中添加结束标识信息, 并将接收成 功的数据包通过所述核心网发送给所述第二基站;
所述第二基站向所述第二终端发送所述接收成功的数据包, 以及在所 述第二基站检测到所述结束标识信息时, 停止从所述核心网接收数据; 所述第二基站根据所述第二终端的响应, 确认所述第二终端未成功接 收的第二丟失数据包;
所述第一丟失数据包与所述第二丟失数据包作为所述未通过所述第一 基站和所述第二基站成功传输至所述第二终端的数据包。
3. 根据权利要求 2 所述的切换方法, 其特征在于, 所述结束标识信 息作为一个标志位被加入所述接收成功的数据包中的最后一个数据包中, 或者将所述结束标识信息作为一个数据包并设置在所述接收成功的数据包 之后。
4. 根据权利要求 2所述的切换方法, 其特征在于, 还包括: 在所述第二基站停止向所述第二终端传输数据时, 向所述第二终端发 送第一切换命令, 通知所述第二终端进入直连通信流程;
所述第二基站在向所述第二终端发送第一切换命令时或在接收到来自 所述第二终端的响应后, 通过所述第一基站向所述第一终端发送第二切换 命令, 通知所述第一终端进入直连通信流程。
5. 根据权利要求 4所述的切换方法, 其特征在于, 还包括: 在所述第二基站检测到所述结束标识信息时或在所述第二基站向所述 第二终端发送最后一个数据包或在所述第二基站向所述第二终端发送每个 数据包时, 开启定时器或重传计数器;
在所述定时器超时或所述重传计数器溢出时, 所述第二基站停止向所 述第二终端传输数据, 并在所述第二切换命令中携带丟失数据包标识, 以 使所述第一终端在直连通信时继续传输与所述丟失数据包标识对应的数据 包。
6. 根据权利要求 4所述的切换方法, 其特征在于, 还包括: 在所述第二基站检测到所述结束标识信息时, 停止向所述第二终端传 输数据, 并在所述第二切换命令中携带丟失数据包标识, 以使所述第一终 端在直连通信时继续传输与所述丟失数据包标识对应的数据包。
7. 根据权利要求 4所述的切换方法, 其特征在于, 还包括: 在所述第二基站完成所述从核心网接收成功的数据的传输之后, 停止 向所述第二终端传输数据。
8. 根据权利要求 2所述的切换方法, 其特征在于, 还包括: 所述第一终端在完成所述上行数据包的发送之后, 进入直连通信建立 流程;
所述第二基站在停止向所述第二终端传输数据时, 向所述第二终端发 送第一切换命令, 通知所述第二终端进入直连通信流程。
9. 根据权利要求 2 至 8 中任一项所述的切换方法, 其特征在于, 在 未开启乱序传输功能时, 所述第一终端未通过所述第一基站和所述第二基 站成功传输至所述第二终端的数据包包含第一丟失数据包、 第二丟失数据 包和所述第一基站接收到的乱序数据包, 其中, 所述乱序数据包为连续数 据包中排列在所述第一丟失数据包之后的数据包; 在开启乱序传输功能时, 所述第一终端未通过所述第一基站和所述第 二基站成功传输至所述第二终端的数据包仅包含丟失的数据包。
10. 根据权利要求 9所述的切换方法, 其特征在于, 在开启乱序传输 功能时, 所述第一基站在接收到的乱序数据包中增加乱序标识信息;
若所述第二终端在接收到的数据包中检测到所述乱序标识信息, 緩存 携带所述乱序标识信息的乱序数据包, 并等待补齐丟失的数据包;
在丟失的数据包全部补齐时, 将所有顺序排列的数据包上传至所述第 二终端的应用层。
11. 根据权利要求 1至 8中任一项所述的切换方法, 其特征在于, 所 述第一基站和所述第二基站为同一基站。
12. 一种切换装置, 其特征在于, 包括:
通信切换单元, 位于终端侧, 向基站侧和核心网发送数据包, 以及接 收来自基站侧和核心网的数据包, 以及在发起通信模式切换后, 与其他终 端进行直连通信, 将丟失数据包确定单元确定的未成功传输的数据包发送 至所述其他终端;
所述丟失数据包确定单元, 在发起通信模式切换后, 确定未通过所述 基站侧和核心网成功传输至所述其他终端的数据包。
13. 根据权利要求 12 所述的切换装置, 其特征在于, 所述丟失数据 包确定单元包括:
第一监测单元, 位于终端侧, 在发起通信模式切换后, 通知所述终端 停止发送上行数据包, 以及根据所述基站的响应确认所述基站未成功接收 的第一丟失数据包;
第一数据传输单元, 位于基站侧, 在接收成功的数据包中添加结束标 识信息并将接收成功的数据通过所述核心网发送给其他基站;
第二数据传输单元, 位于基站侧, 接收来自所述第一数据传输单元的 数据包, 并将所述数据包发送至所述其他终端, 以及在检测到所述结束标 识信息时, 停止从所述核心网接收数据;
第二监测单元, 位于基站侧, 根据所述其他终端的响应, 确认所述其 他终端未成功接收的第二丟失数据包; 判定单元, 所述第一丟失数据包与所述第二丟失数据包作为所述未通 过所述基站和核心网成功传输至所述其他终端的数据包。
14. 根据权利要求 13 所述的切换装置, 其特征在于, 所述结束标识 信息作为一个标志位被加入所述接收成功的数据包中的最后一个数据包 中, 或者将所述结束标识信息作为一个数据包并设置在所述接收成功的数 据包之后。
15. 根据权利要求 13 所述的切换装置, 其特征在于, 所述第二数据 传输单元还用于在所述基站停止向所述其他终端传输数据时, 向所述其他 终端发送第一切换命令, 通知所述其他终端进入直连通信流程;
所述第二数据传输单元还用于在向所述其他终端发送第一切换命令时 或在接收到来自所述其他终端的响应后, 向所述终端发送第二切换命令, 通知所述终端进入直连通信流程。
16. 根据权利要求 15 所述的切换装置, 其特征在于, 所述第二监测 单元还用于在检测到所述结束标识信息时或在所述第二数据传输单元向所 述其他终端发送最后一个数据包或在所述第二数据传输单元向所述其他终 端发送每个数据包时, 开启定时器或重传计数器;
所述第二数据传输单元还用于在所述定时器超时或所述重传计数器溢 出时, 停止向所述其他终端传输数据, 并在所述第二切换命令中携带丟失 数据包标识, 以使所述终端在直连通信时继续传输与所述丟失数据包标识 对应的数据包。
17. 根据权利要求 15 所述的切换装置, 其特征在于, 所述第二数据 传输单元还用于在所述第二监测单元检测到所述结束标识信息时, 停止向 所述其他终端传输数据, 并在所述第二切换命令中携带丟失数据包标识, 以使所述终端在直连通信时继续传输与所述丟失数据包标识对应的数据 包。
18. 根据权利要求 15 所述的切换装置, 其特征在于, 所述第二数据 传输单元还用于在完成所述从核心网接收成功的数据的传输之后, 停止向 所述其他终端传输数据。
19. 根据权利要求 13 所述的切换装置, 其特征在于, 所述通信切换 单元还用于在所述终端完成所述上行数据包的发送之后, 使所述终端进入 直连通信建立流程; 所述其他终端发送第一切换命令, 通知所述其他终端进入直连通信流程。
20. 根据权利要求 13至 19中任一项所述的切换装置, 其特征在于, 在未开启乱序传输功能时, 所述终端未通过基站成功传输至所述其他终端 的数据包包含第一丟失数据包、 第二丟失数据包和所述基站接收到的乱序 数据包, 其中, 所述乱序数据包为连续数据包中排列在所述第一丟失数据 包之后的数据包, 在开启乱序传输功能时, 所述终端未通过所述基站成功 传输至所述其他终端的数据包仅包含丟失的数据包。
21. 根据权利要求 20 所述的切换装置, 其特征在于, 所述第一数据 传输单元还用于在开启乱序传输功能时, 在接收到的乱序数据包中增加乱 序标识信息;
所述通信切换单元包括:
数据包补齐单元, 若所述其他终端在接收到的数据包中检测到所述乱 序标识信息, 緩存携带所述乱序标识信息的乱序数据包, 并等待补齐丟失 的数据包, 在丟失的数据包全部补齐时, 将所有顺序排列的数据包上传至 所述其他终端的应用层。
PCT/CN2014/082958 2014-05-09 2014-07-24 切换方法和切换装置 Ceased WO2015168990A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410195399.3 2014-05-09
CN201410195399.3A CN105101309B (zh) 2014-05-09 2014-05-09 切换方法和切换装置

Publications (1)

Publication Number Publication Date
WO2015168990A1 true WO2015168990A1 (zh) 2015-11-12

Family

ID=54392049

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/082958 Ceased WO2015168990A1 (zh) 2014-05-09 2014-07-24 切换方法和切换装置

Country Status (2)

Country Link
CN (1) CN105101309B (zh)
WO (1) WO2015168990A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114885359A (zh) * 2022-06-09 2022-08-09 中国联合网络通信集团有限公司 时延性能评估方法、接入网设备及存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110662248B (zh) * 2018-06-29 2022-07-08 成都鼎桥通信技术有限公司 信号测量方法和设备
CN109714326A (zh) * 2018-12-21 2019-05-03 北京明朝万达科技股份有限公司 一种应用层数据顺序组包方法、装置、设备及存储介质
CN109474642A (zh) * 2019-01-08 2019-03-15 郑州云海信息技术有限公司 基于以太网udp协议数据传输方法、装置、设备及介质
CN111726841B (zh) * 2019-03-22 2022-05-24 启碁科技股份有限公司 用于物联网的通信方法及其系统
WO2021051284A1 (zh) * 2019-09-17 2021-03-25 Oppo广东移动通信有限公司 一种上行重传处理方法、电子设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101472318A (zh) * 2007-12-26 2009-07-01 索尼株式会社 无线通信系统、无线通信设备、无线通信方法和程序
CN103249095A (zh) * 2012-02-08 2013-08-14 华为技术有限公司 数据发送、接收方法、用户设备、基站及网关
CN103428793A (zh) * 2012-05-14 2013-12-04 中兴通讯股份有限公司 系统间的切换处理、切换方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101742430A (zh) * 2008-11-20 2010-06-16 华为技术有限公司 数据包处理方法、装置以及基站
CN106604336B (zh) * 2011-09-29 2020-03-20 华为技术有限公司 通信模式切换的方法和装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101472318A (zh) * 2007-12-26 2009-07-01 索尼株式会社 无线通信系统、无线通信设备、无线通信方法和程序
CN103249095A (zh) * 2012-02-08 2013-08-14 华为技术有限公司 数据发送、接收方法、用户设备、基站及网关
CN103428793A (zh) * 2012-05-14 2013-12-04 中兴通讯股份有限公司 系统间的切换处理、切换方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114885359A (zh) * 2022-06-09 2022-08-09 中国联合网络通信集团有限公司 时延性能评估方法、接入网设备及存储介质

Also Published As

Publication number Publication date
CN105101309B (zh) 2019-01-11
CN105101309A (zh) 2015-11-25

Similar Documents

Publication Publication Date Title
TWI501680B (zh) 改善隨機存取程序之方法及其相關通訊裝置
EP4044478A1 (en) Harq process management method and apparatus, terminal, and storage medium
WO2015168990A1 (zh) 切换方法和切换装置
WO2009033400A1 (fr) Procédé et dispositif d'indication de retransmission de données en cas de commutation de zone dans un système lte
CN101132259B (zh) 一种用于无线网络中最后重传时刻控制数据重传的方法
WO2010130135A1 (zh) 一种长期演进系统中跨基站切换方法及系统
WO2010124470A1 (zh) 一种数据重传方法和用户设备
WO2010124435A1 (zh) 信息处理方法、系统及设备
JP4768030B2 (ja) データ転送方法
WO2015066923A1 (zh) 数据传输方法及装置
WO2013143453A1 (zh) 混合自动重传请求传输方法、装置及系统
CN114143847A (zh) 源基站、目标基站和用户设备及由其执行的方法
CN110168983B (zh) 用于数据重传的方法和设备
WO2011038648A1 (zh) 一种透明中继网络中的上行混合自动重传请求方法及装置
CN103987093B (zh) 切换通信连线模式的方法、通信系统、基地台、传送端及接收端
WO2012100670A1 (zh) 一种数据包的重传方法及装置
WO2014026386A1 (zh) 数据包传输方法和装置
WO2015127670A1 (zh) 一种数据重传的方法和装置
WO2016127666A1 (zh) 一种rlc数据包分流方法及基站
WO2014117391A1 (zh) 传输数据的方法、基站和用户设备
WO2015113296A1 (zh) 双连接模式下的状态反馈方法及设备
WO2009086679A1 (zh) 无线链路控制实体的复位控制方法
WO2010127493A1 (zh) 切换处理方法、基站及中继节点
WO2008141484A1 (fr) Procédé et système de commande d'un nouveau transfert pour un seul paquet de données ou le dernier paquet de données
WO2012155447A1 (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: 14891250

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 26.04.17)

122 Ep: pct application non-entry in european phase

Ref document number: 14891250

Country of ref document: EP

Kind code of ref document: A1