WO2018196767A1 - Method and device for improving data path reliability - Google Patents

Method and device for improving data path reliability Download PDF

Info

Publication number
WO2018196767A1
WO2018196767A1 PCT/CN2018/084349 CN2018084349W WO2018196767A1 WO 2018196767 A1 WO2018196767 A1 WO 2018196767A1 CN 2018084349 W CN2018084349 W CN 2018084349W WO 2018196767 A1 WO2018196767 A1 WO 2018196767A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
packet
tcp
data path
received
Prior art date
Application number
PCT/CN2018/084349
Other languages
French (fr)
Chinese (zh)
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 WO2018196767A1 publication Critical patent/WO2018196767A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/163In-band adaptation of TCP data exchange; In-band control procedures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management

Definitions

  • the present disclosure relates to, but is not limited to, the field of communications, and more particularly to a method and apparatus for improving the reliability of a data path.
  • the network connection status can be determined by detecting the transmission status of a Transmission Control Protocol (TCP) packet.
  • TCP Transmission Control Protocol
  • the TCP client and the server successfully establish a connection.
  • data can be transmitted.
  • the network is repaired by fast retransmission and fast recovery.
  • LTE Long Term Evolution
  • UE User Equipment
  • RRC radio resource control
  • the process is that the RRC is established in the process of starting the random access, and the attach process is started: the default bearer is established through security signaling (such as authentication and encryption protection).
  • security signaling such as authentication and encryption protection
  • the transmission control protocol Based on the transmission control protocol, it is possible to detect that the data path is abnormal but cannot determine which of the data paths is unreachable. For example, if a personal computer (PC, Personal Computer) does not send a TCP packet, or if the PC sends a network-side reply acknowledgment character (ACK, ACKnowledgment), or the network side sends a TCP packet and the PC does not reply ACK, for these cases.
  • PC personal computer
  • ACK network-side reply acknowledgment character
  • the above method is undetermined. That is to say, the above method can only try to do some retransmission actions to recover the data path, and cannot solve the data path obstacle caused by the terminal cause.
  • the present disclosure provides a method and apparatus for improving the reliability of a data path.
  • Embodiments of the present disclosure provide a method for improving reliability of a data path, including:
  • the action of restoring the network is performed.
  • the method before determining the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer, the method further includes: detecting a transmission condition of the TCP data packet and transmitting the LTE protocol layer. happening.
  • the detecting the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer include one or any combination of the following:
  • the determining the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer includes at least one of the following:
  • TCP data retransmission occurs, when a TCP packet is sent to the network side and an ACK packet from the network side is received, the air interface data from the eNB is successfully received but the ACK packet from the network side is not successfully sent to When the PC is determined, the terminal causes the data path to be abnormal;
  • TCP data retransmission occurs, when the TCP packet is not successfully sent to the network side, it is determined that the terminal path causes the data path to be abnormal.
  • the determining the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer, including: when the TCP data retransmission occurs, when the TCP is sent to the network side The data packet, but not receiving the ACK packet from the network side, successfully transmits the air interface data to the eNB and receives the air interface data from the eNB, and determines that the network path causes the data path to be abnormal.
  • the method further includes: when the cause of the abnormality of the data path is that the network path causes the data path to be abnormal, the action of restoring the network is not performed.
  • the determining the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer includes at least one of the following:
  • An embodiment of the present disclosure further provides an apparatus for improving reliability of a data path, including:
  • the determining module is configured to: determine the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer;
  • the execution module is configured to perform an action of restoring the network when the cause of the abnormality of the data path is that the data path is abnormal due to the terminal cause.
  • the method further includes: a detecting module, configured to: detect a transmission condition of the TCP data packet and a transmission condition of the LTE protocol layer.
  • the detection module is configured to perform one or any combination of the following:
  • the determining module is configured to perform at least one of the following:
  • TCP data retransmission occurs, when a TCP packet is sent to the network side and an ACK packet from the network side is received, the air interface data from the eNB is successfully received but the ACK packet from the network side is not successfully sent to When the PC is determined, the terminal causes the data path to be abnormal;
  • TCP data retransmission occurs, when the TCP packet is not successfully sent to the network side, it is determined that the terminal path causes the data path to be abnormal.
  • the determining module is configured to:
  • the determining module is configured to perform one of the following:
  • the embodiment of the present disclosure further provides an apparatus for improving reliability of a data path, including at least:
  • a memory storing a program for improving the reliability of the data path
  • a processor configured to perform the elevated data path reliability procedure to perform an operation of determining a cause of an abnormality of the data path according to a transmission condition of the TCP data packet and a transmission condition of the LTE protocol layer; When the data path is abnormal for the terminal cause, the action of restoring the network is performed.
  • the embodiment of the present disclosure further provides a computer readable storage medium, where the enhanced data path reliability program is stored, and the elevated data path reliability program is implemented by the processor to implement the enhanced data path.
  • the steps of the reliability method are described below.
  • Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions that, when executed, implement the above method of improving data path reliability.
  • the TCP layer data packet transmission situation on the UE side and the network side data packet transmission situation in the LTE protocol stack are comprehensively determined, so as to accurately determine the current data path status of the UE, and determine the data caused by the terminal cause.
  • the recovery operation is performed on the UE side, so that the cause of the data path obstacle can be accurately determined and the situation that the data service cannot be recovered in time due to the failure of the data path is prevented from affecting the normal operation of the data service.
  • the reliability of the data path is effectively improved, and the data path of the UE in the Internet of Vehicles can be ensured.
  • FIG. 1 is a schematic flowchart of a method for improving reliability of a data path according to a first embodiment of the present disclosure
  • FIG. 2 is a diagram showing an example of the structure of a car networking system
  • FIG. 3 is a schematic diagram of interaction when the data path in the scenario of receiving an ACK packet returned by the server after the PC sends the TCP data to the server;
  • FIG. 4 is a schematic flowchart of improving the reliability of a data path in a scenario in which a PC receives TCP data from a server and receives an ACK packet returned by the server;
  • 5 is a schematic diagram of interaction when the data path in the scenario of receiving an ACK packet returned by the PC after the server sends the TCP data to the PC;
  • FIG. 6 is a schematic flowchart of improving the reliability of a data path in a scenario in which a server receives an ACK packet returned by a PC after transmitting TCP data to a PC;
  • FIG. 7 is a schematic structural diagram of a device for improving data reliability according to a second embodiment of the present disclosure.
  • the data packet sent by the client to the server received after the network disconnection is processed for the first time, and the data packet sent by the client to the server after the network disconnection is cached; After the recovery, the cached data packet is sent to the server, and according to the response packet returned by the server, it is determined whether the data packet needs to be processed a second time, wherein the second processing is a correction to the first processing. deal with;
  • MAC Network access information
  • IP Internet Protocol
  • TCP transport layer data
  • the scheme 1) only solves the reconnection and data processing in the case where the data device network state is determined to be disconnected.
  • the data problem of the connection status on the network side cannot be solved. It cannot be avoided that the network status of the device is connected, but the data service due to the terminal is no longer available and the data service of the device is abnormal.
  • Scheme 2 is a method for processing data by means of caching after disconnection, and details of network disconnection are not disclosed;
  • Solution 3 is a packet retransmission of the TCP protocol performed when the wireless network is not unavailable to avoid network side congestion. Only when the TCP layer judges that the data is different for data retransmission, the data path caused by the terminal may not be avoided.
  • the present disclosure provides a method and apparatus for improving the reliability of a data path, which can avoid a data path that is not smooth due to a terminal, so as to ensure that the data path of the vehicle terminal is normally smooth.
  • the embodiment provides a method for improving the reliability of the data path. As shown in FIG. 1 , the method may include:
  • Step 101 Determine, according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer, the cause of the abnormality of the data path;
  • Step 102 Perform an action of restoring the network when the cause of the abnormality of the data path is that the terminal causes the data path to be abnormal.
  • the transmission status of the TCP data packet may refer to the TCP data packet transmission situation on the UE side, and may include one of the following or any combination thereof: whether the UE sends the TCP data packet in the scenario of retransmission of the TCP layer data packet. Whether or not a TCP packet is received, whether an ACK packet is transmitted after receiving the TCP packet, and whether a corresponding ACK packet is received after the TCP packet is transmitted or the like.
  • the transmission situation of the LTE protocol layer may refer to the LTE protocol stack data packet transmission situation of the UE side, and may include one or a combination of the following: the receiving status of the network side data packet in the LTE protocol stack of the UE side, And the case where the data packet is sent to the network side in the LTE protocol stack on the UE side.
  • the TCP layer data packet transmission situation on the UE side and the network side data packet transmission situation in the LTE protocol stack are comprehensively determined, so as to accurately determine the current data path status of the UE, and determine the data path caused by the terminal cause.
  • the recovery operation is performed on the UE side, so that the cause of the data path barrier can be accurately determined and the situation that the data service cannot be recovered in time due to the data path barrier is prevented from affecting the normal operation of the data service.
  • the reliability of the data path is effectively improved, and the data path of the UE in the vehicle network can be ensured to be normally smooth.
  • the method of this embodiment can be applied to a car network system.
  • the method of the present embodiment can be performed by a UE in a car network system, thereby improving the reliability of the data path in the car networking system.
  • the method of the present embodiment can be applied to a car network system as shown in FIG. 2.
  • the system can roughly include four parts: a PC, a UE, a base station, and a server.
  • the PC may refer to a fixed terminal (such as a computer) or a vehicle terminal (such as a car computer) that uses the data service;
  • the UE may be a wireless data terminal, and is responsible for connecting with the base station and the server to provide wireless data services to the PC;
  • the base station may be The carrier base station, the LTE protocol refers to an evolved Node B (eNB), and the base station may be configured to provide a wireless network, and the wireless network may include a Packet Data Convergence Protocol (PDCP), an RLC, and a MAC layer.
  • PDCP Packet Data Convergence Protocol
  • RLC Radio Link Control Protocol
  • MAC layer Packet Data Convergence Protocol
  • the server can be a data server configured to provide wireless data services to the UE.
  • the method of this embodiment can be performed by the UE in the system structure shown in FIG. 2. By applying the method of the embodiment to the system architecture shown in FIG. 2, the reliability of the data path in the system structure can be improved.
  • the method may further include: Step 100, detecting a transmission condition of the TCP data packet and a transmission condition of the LTE protocol layer.
  • the detecting the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer may include one or any combination of the following:
  • the embodiment can be embodied in the following four aspects:
  • the TCP layer packet is retransmitted multiple times. If the UE does not receive the TCP ACK message replied by the server, this is a problem with the data path. Caused. Problems can occur somewhere in the data path of PCs and networks. In combination with determining the LTE protocol layer, if the UE does not send air interface data to the eNB, it can be determined that the terminal cause causes the data path to be abnormal.
  • the TCP layer packet is retransmitted multiple times, and if the UE does not receive the TCP ACK message replied by the server, this is a problem with the data path. Caused. Problems can occur somewhere in the data path of PCs and networks.
  • the LTE protocol layer is further determined. If the UE sends the air interface data to the eNB, but the UE does not receive the air interface data from the eNB, it can be determined that the terminal causes the data path to be abnormal.
  • the TCP layer packet is retransmitted multiple times. If the UE does not receive the TCP ACK message replied by the server, this is a problem with the data path. Caused. Problems can occur somewhere in the data path of PCs and networks.
  • the LTE protocol layer if the UE sends the air interface data to the eNB and receives the air interface data from the eNB, it is determined that the network cause causes the data path to be abnormal.
  • the server receives the ACK packet returned by the PC after sending the TCP data to the PC
  • the UE sends the TCP packet retransmitted by the UE to the PC
  • the UE also sends the TCP packet from the PC.
  • the ACK packet is received by the side.
  • the LTE protocol layer is continuously determined.
  • the UE does not send air data to the eNB, and it can be determined that the terminal causes the data path to be abnormal.
  • the UE side may perform a recovery operation for the data path abnormality caused by the terminal cause; the UE side may not process the data path abnormality caused by the network cause.
  • the determining the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer may include at least one of the following:
  • TCP data retransmission occurs, when a TCP packet is sent to the network side and an ACK packet from the network side is received, the air interface data from the eNB is successfully received but the ACK packet from the network side is not successfully sent to When the PC is determined, the terminal causes the data path to be abnormal;
  • TCP data retransmission occurs, when the TCP packet is not successfully sent to the network side, it is determined that the terminal path causes the data path to be abnormal.
  • the determining the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer may include or may further include: when the TCP data retransmission occurs, when the TCP is sent to the network side The data packet, but not receiving the ACK packet from the network side, successfully transmits the air interface data to the eNB and receives the air interface data from the eNB, and determines that the network path causes the data path to be abnormal.
  • the method may further include: when the cause of the abnormality of the data path is that the network path causes the data path to be abnormal, the action of restoring the network is not performed.
  • the determining the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer may include at least one of the following:
  • the recovery means when the UE performs the recovery operation may include: reconnecting, re-attaching, modem (Modulator-Demodulator) side low power/high power, Modem side restart, whole machine restart, and the like.
  • modem Modem-Demodulator
  • the UE attempts to re-attach (Detach), Attach, to recover the data path.
  • the UE fails to receive the air interface data from the eNB
  • the recovery is performed by the Modem side low power/high power.
  • the UE fails to send the ACK packet retransmitted by the server to the PC it is restored by restarting the whole machine.
  • the UE does not receive the ACK packet from the PC side, the UE reconnects.
  • different recovery modes may be used in multiple scenarios.
  • the LTE protocol layer described in this embodiment is not limited to the LTE standard, and may be applied to other network standards.
  • the scenario in this example is a scenario in which the PC receives the ACK packet returned by the server after sending the TCP data to the server.
  • the interaction process in the normal state of the data path is as shown in FIG. 3, and may include:
  • Step 301 The UE receives a TCP packet from the PC side.
  • Step 302 The UE sends a TCP packet to the network side.
  • Step 303 The UE receives an ACK packet from the network side.
  • Step 304 The UE sends an ACK packet to the PC.
  • the interaction process between the UE and the eNB in the normal state of the data path is as shown in FIG. 3, and may include:
  • Step 305 The air interface data sent by the UE to the eNB (such as a schedule request);
  • Step 306 The air interface data (such as RLC PDU & CQI) received by the UE from the eNB.
  • the air interface data (such as RLC PDU & CQI) received by the UE from the eNB.
  • the process of improving data path reliability may include:
  • Step 401 It is detected whether the PC retransmits the TCP data packet to the UE. If the PC retransmits the TCP data packet to the UE, the process proceeds to step 402. If the PC does not retransmit the TCP data packet to the UE, the process is not processed, and the current process is terminated.
  • Step 402 Detect whether the UE sends the TCP data packet to the network side. If the UE sends the TCP data packet to the network side, proceed to step 403. If the UE does not send the TCP data packet to the network side, the UE skips. Go to step 406;
  • Step 403 Detect whether the UE receives the ACK data packet of the TCP data packet from the network side. If the UE receives the ACK data packet of the TCP data packet from the network side, proceed to step 404; if the UE does not receive from the network side Go to the ACK packet of the TCP packet, then go to step 405;
  • Step 404 Detect whether the UE sends the ACK data packet to the PC, if the UE sends the ACK data packet to the PC, go to step 408; if the UE does not send the ACK data packet to the PC, Then jump to step 406;
  • Step 405 detecting whether the UE receives the air interface data from the eNB, if the UE receives the air interface data from the eNB, then the process proceeds to step 407; if the UE does not receive the air interface data from the eNB, then the process proceeds to step 406;
  • step 406 it is determined that the data path is abnormal due to the terminal cause, and the action of restoring the network is performed, and the recovery is attempted.
  • step 407 it is determined that the terminal may be the cause of the terminal, or the data path may be abnormal due to the network cause. It is possible to perform a restorative action only if the actual application only determines that it is the cause of the terminal. Therefore, in this case, the terminal can perform no restorative operations.
  • step 408 it is determined that the data path is abnormal due to the non-terminal cause, and no processing is performed.
  • the TCP packet retransmission is detected, the UE sends a TCP packet to the network side, and the UE does not receive the ACK packet of the TCP packet from the network side. At this time, the UE does not send the air interface data to the eNB, and the terminal causes the terminal cause.
  • the data path is abnormal. Here, as long as the UE does not send air interface data to the eNB, it is enough to judge the terminal cause, and the reception can be no longer judged.
  • the TCP packet retransmission is detected, the UE sends a TCP packet to the network side, and the UE does not receive the ACK packet of the TCP packet from the network side. At this time, the UE successfully sends the air interface data to the eNB, but the UE does not receive the packet. If the air interface data of the eNB is determined, the terminal causes the data path to be abnormal.
  • the TCP packet retransmission is detected, the UE sends a TCP packet to the network side, and the UE receives the retransmitted ACK packet from the network side. At this time, it can be determined that the UE has received the air interface data from the eNB, and if the UE does not have When the ACK packet from the network side is sent to the PC, it is determined that the terminal cause the data path is abnormal.
  • the TCP packet retransmission is detected, the UE sends the TCP packet to the network side, the UE does not receive the ACK packet retransmitted by the network side, the UE successfully sends the air interface data to the eNB, but the UE also receives the air interface data from the eNB. At this time, it is determined that the network path causes the data path to be abnormal.
  • the terminal causes the data path to be abnormal.
  • the method for detecting whether a TCP retransmission occurs may include: the UE saves the sequence number and content of the TCP packet received by the UE from the PC side within the last 5s, and the UE will receive the currently received TCP packet from the PC side.
  • the serial number and content are compared with the sequence number and content of the TCP packet received by the UE from the PC side within the last 5s, if the UE detects the serial number and content of the TCP packet currently received from the PC side. If the sequence number and content of one or more TCP packets in the TCP packet received by the UE from the PC side within the last 5 s are the same, it is determined that TCP packet retransmission has occurred.
  • the UE detects the sequence number and content of the TCP packet currently received from the PC side, and the serial number and content of any TCP packet in the TCP packet received by the UE from the PC side within the last 5 s of the save, If the same, it is determined that TCP packet retransmission has not occurred.
  • the manner in which the UE detects whether the TCP packet is sent to the network side may include: the UE saves the sequence number and content of the TCP packet sent by the UE to the network side within the last 5s, and the UE will retransmit the TCP data.
  • the serial number and content of the packet are compared with the serial number and content of the TCP packet sent by the UE to the network side within the last 5s, if the UE detects the serial number and content of the retransmitted TCP packet and the saved recent If the sequence number and content of one or more TCP packets of the TCP packet sent by the UE to the network within 5 s are the same, it is determined that the UE transmits the retransmitted TCP packet to the network.
  • the UE detects that the sequence number and content of the retransmitted TCP packet are different from the sequence number and content of any TCP packet in the TCP packet sent by the UE to the network within the last 5s, it is determined as the UE. TCP packets that were not retransmitted to the network side.
  • the method for the UE to detect whether the ACK packet of the TCP packet is received from the network side may include: the UE saves the sequence number of the ACK packet received by the UE from the network side within the last 5s; The sequence number of the transmitted TCP packet is compared with the sequence number of the ACK packet received by the UE from the network side within the last 5s, if the UE detects the sequence number of the retransmitted TCP packet and the saved If the sequence number of one or more ACK packets in the ACK packet received by the UE from the network side is the same within the last 5s, it is determined that the UE has received the ACK packet for retransmitting the TCP packet.
  • the UE If the UE detects that the sequence number of the retransmitted TCP packet is different from the sequence number of any one of the ACK packets received by the UE from the network side within the last 5s, the UE is determined not to be The ACK packet of the retransmitted TCP packet is received.
  • the method for detecting whether the UE sends the ACK packet to the PC may include: the UE saves the sequence number of the ACK packet sent by the UE to the PC within the last 5s; and the sequence number of the TCP packet that the UE will retransmit Compare the sequence number of the ACK packet sent by the UE to the PC within the last 5s, if the UE detects the sequence number of the retransmitted TCP packet and the ACK packet sent by the UE to the PC within the last 5s of the save. If the sequence number of one or more ACK packets in the sequence number is the same, it is determined that the UE transmits the ACK packet for retransmitting the TCP packet to the PC.
  • the UE detects that the sequence number of the retransmitted TCP packet is different from the sequence number of any ACK packet sent by the UE to the PC within the last 5s, it is determined that the UE does not retransmit the ACK of the TCP packet.
  • the packet is sent to the PC.
  • the UE saves the data packet within the last 5s, and can set the duration of the saved data packet to other values, for example, the UE saves the data packet within the last 10s, and the UE saves the data packet within the last 30s, generally
  • the duration of the saved data packet is set to a value of no more than 1 minute to avoid congestion caused by the UE handling data too much.
  • the method for detecting whether the UE receives the air interface data from the eNB may include:
  • the UE can determine the quality of the downlink channel: the eNB can send a cell-specific reference signal to the UE, and the UE can estimate the channel quality indicator (CQI) and report it to the eNB.
  • CQI channel quality indicator
  • the CQI can not only tell the eNB the quality of the channel. It can also include the recommended code modulation method.
  • the eNB may adaptively allocate downlink resources (select different carriers and slots for the UE) according to the quality of the downlink channel.
  • E-UTRAN Evolved Universal Terrestrial Radio Access Network
  • PRBs Physical resource blocks
  • MCS Multipoint Communication Service
  • the eNB may transmit data on the downlink channel, fill the data on the physical downlink shared channel (PDSCH) according to the result of the resource allocation, and transmit the corresponding cell radio on the physical downlink control channel (PDCCH, Physical Downlink Control Channel).
  • PDSCH physical downlink shared channel
  • C-RNTI Network Radio Network Temporary Identifier
  • the UE can determine the RLC link, and the RLC is a radio link control layer protocol in LTE.
  • the acknowledge mode (AM, Acknowledge Mode): the transmitting side can add the necessary control protocol overhead to the high-level data, and then transmit the packet. To the peer entity. Because of the automatic repeat request (ARQ) capability, if the radio link control (RLC) receives the wrong RLC PDU, the sender's RLC can be notified to retransmit the protocol data unit (PDU, Protocol Data Unit). Since the RLC PDU contains sequence number information, it can support the order of data to the upper layer/out of order.
  • the AM mode is a standard mode for packet data transmission.
  • the UE may detect whether the RLC layer has a PDU. If there is a PDU, it may determine that the UE receives the air interface data from the eNB; if there is no PDU, it may determine that the UE does not receive the air interface data from the eNB.
  • the scenario in this example is a scenario in which the server receives the ACK packet returned by the PC after sending the TCP data to the PC.
  • the interaction process under normal conditions of the data path is as shown in FIG. 5, and may include:
  • the UE receives a TCP packet from a network side.
  • the UE sends a TCP packet to the PC.
  • the UE receives an ACK packet from a PC.
  • the UE sends an ACK packet to the network side.
  • the interaction process between the UE and the eNB in the normal state of the data path is as shown in FIG. 5, and the process may be the same as that in the example 1, and details are not described herein.
  • the process of improving data path reliability may include:
  • Step 601 detecting whether the UE receives the TCP data packet retransmitted by the server. If the UE receives the TCP data packet retransmitted by the server, proceeding to step 602; if the UE does not receive the TCP data packet retransmitted by the server, Step 606;
  • Step 602 Detect whether the UE sends the TCP data packet retransmitted by the server to the PC. If the UE sends the TCP data packet retransmitted by the server to the PC, proceed to step 603; if the UE does not retransmit the TCP data packet of the server Send to the PC, then go to step 606;
  • Step 603 detecting whether the UE receives the ACK data packet from the PC; if the UE receives the ACK data packet from the PC, proceeding to step 604, if the UE does not receive the ACK data packet from the PC, then the process proceeds to step 606;
  • Step 604 detecting whether the UE sends the air interface data to the eNB; if the UE sends the air interface data to the eNB, proceed to step 605, if the UE does not send the air interface data to the eNB, then go to step 606;
  • step 605 it is determined that the data path is abnormal due to the non-terminal cause, and no processing is performed.
  • step 606 it is determined that the data path is abnormal due to the terminal cause, and the action of restoring the network is performed, and the recovery is attempted.
  • the UE receives the TCP packet retransmitted by the server, and the UE does not send the retransmitted TCP packet to the PC, and determines that the terminal causes the data path to be abnormal.
  • the UE receives the TCP data packet retransmitted by the server, and the UE sends the TCP data packet retransmitted by the server to the PC.
  • the UE receives the ACK data packet from the PC side, and the UE does not send the air interface data to the eNB, and determines that the terminal is the terminal.
  • the cause is an abnormal data path.
  • the UE detects that the UE has received the TCP packet retransmitted by the server, and the UE sends the TCP packet retransmitted by the server to the PC. If the UE does not receive the ACK packet from the PC side, it determines that the terminal causes the data path to be abnormal.
  • the manner of detection may be similar to that of the example 1, except that the direction is exactly the opposite, and details are not described herein again.
  • the method for detecting whether the UE sends the air interface data to the eNB may include the following:
  • the UE may request an uplink resource from the eNB: a physical channel, a PUCCH (Physical Uplink Control Channel) Message, and an SR (schedule request).
  • the period of SR transmission and the position in the subframe can be determined by the configuration of the upper layer.
  • the UE can tell the eNB the amount of data it wants to transmit, and the UE in the SR can tell the eNB its own identity (C-RNTI).
  • the eNB can identify the sender of the SR by a pseudo-random sequence agreed upon by the UE and the eNB in advance.
  • the corresponding SR can be set to 1, and the SR is empty when there is no resource request.
  • the SR may only be responsible for telling the eNB whether there is a resource requirement, and the specific required number of resources is notified to the eNB by the upper layer signaling interaction.
  • the eNB Before the eNB allocates uplink resources to the UE, the eNB can first obtain the quality of the uplink channel of the UE. If the uplink channel quality of the UE is good and there is a demand for transmitting data, the eNB can allocate resources to the UE. The eNB can know the quality of the current uplink channel based on the comparison between the sounding reference signal received from the UE and the signal known to itself.
  • the eNB may allocate resources and notify the UE that after allocating the resources, the eNB may also inform the UE of the result of the allocation, ie, at which time and on which carrier the UE can transmit data, and the modulation coding scheme employed.
  • the E-UTRAN may dynamically allocate resources (PRBs & MCS) to the UE at each TTI and transmit a corresponding C-RNTI on the PDCCH, where the MCS is an abbreviation of Modulation and Coding Scheme.
  • the UE performs data transmission on the physical resource block (PRB) allocated to itself in the scheduling information by interacting with the eNB, and after transmitting the data to the eNB, it can determine that the air interface data of the UE has been sent to The eNB.
  • PRB physical resource block
  • the device provides a device for improving the reliability of the data path.
  • the method may include:
  • the determining module 72 is configured to: determine the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer;
  • the execution module 73 is configured to perform an operation of restoring the network when the cause of the abnormality of the data path is that the terminal causes the data path to be abnormal.
  • the device for improving the reliability of the data path may further include: a detecting module 71 configured to: detect a transmission condition of a transmission control protocol TCP data packet and a transmission condition of a long-term evolution LTE protocol layer.
  • a detecting module 71 configured to: detect a transmission condition of a transmission control protocol TCP data packet and a transmission condition of a long-term evolution LTE protocol layer.
  • the detecting module 71 is configured to perform one of the following or any combination thereof:
  • TCP data retransmission occurs, when a TCP packet is sent to the network side and an ACK packet from the network side is received, the air interface data from the eNB is successfully received but the ACK packet from the network side is not successfully sent to When the PC is determined, the terminal causes the data path to be abnormal;
  • TCP data retransmission occurs, when the TCP packet is not successfully sent to the network side, it is determined that the terminal path causes the data path to be abnormal.
  • the determining module 72 is configured to: when the TCP data retransmission occurs, when the TCP data packet is sent to the network side but the ACK data packet from the network side is not received, the air interface data is successfully sent to the eNB. When the air interface data from the eNB is received, it is determined that the network path causes the data path to be abnormal.
  • the determining module 72 is configured to perform at least one of the following:
  • the device for improving the reliability of the data path in this embodiment can implement all the details of the method described in the first embodiment, and can refer to the related description of the corresponding method.
  • the device for improving the reliability of the data path in the embodiment may implement the foregoing functions and the method of the first embodiment, or the reliability of the data path in the embodiment, by being disposed on a vehicle networking device (such as a UE).
  • the device can be implemented directly through a vehicle networking device such as a UE.
  • the detecting module 71, the determining module 72, and the executing module 73 can be implemented by software, hardware, or a combination of the two.
  • the detection module 71, the determination module 72, and the execution module 73 can be implemented by executing a corresponding program by a processor of a vehicle networking device such as a UE. There are no restrictions on this article.
  • This embodiment provides an apparatus for improving reliability of a data path, which may include at least:
  • embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions that, when executed, implement the above method of improving data path reliability.
  • the processor performs the method steps of the foregoing embodiments according to the stored program code in the storage medium.
  • each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, being executed by a processor and stored in a memory. Programs/instructions to implement their respective functions.
  • the present disclosure is not limited to any specific form of combination of hardware and software.
  • computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media.
  • Computer storage media include, but are not limited to, Random Access Memory (RAM), Read-Only Memory (ROM), and Electrically Erasable Programmable Read-only Memory (EEPROM). Flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical disc storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or Any other medium used to store the desired information and that can be accessed by the computer.
  • communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .
  • the TCP layer data packet transmission situation on the UE side and the network side data packet transmission situation in the LTE protocol stack are comprehensively determined, so as to accurately determine the current data path status of the UE, and determine the data caused by the terminal cause.
  • the recovery operation is performed on the UE side, so that the cause of the data path obstacle can be accurately determined and the situation that the data service cannot be recovered in time due to the failure of the data path is prevented from affecting the normal operation of the data service.

Abstract

A method for improving data path reliability comprises: determining the reason of a data path abnormality according to a transmission condition of transmission control protocol (TCP) data packets and a transmission condition of a long term evolution (LTE) protocol layer; and executing an operation of recovering the network when the reason of the data path abnormality is that the data passage becomes abnormal due to a terminal cause.

Description

一种提升数据通路可靠性的方法及装置Method and device for improving reliability of data path 技术领域Technical field
本公开涉及但不限于通信领域,尤其是一种提升数据通路可靠性的方法及装置。The present disclosure relates to, but is not limited to, the field of communications, and more particularly to a method and apparatus for improving the reliability of a data path.
背景技术Background technique
随着车联网的发展,需要联网设备的性能和稳定性不断提升。在联网进行数据业务时,通常设备连网之后,如果遇到终端异常或者网络异常导致断网,数据业务就会断开,但此时网络连接状态为已连接,使得终端状态与数据业务的状态不一致,也就无法及时恢复网络。With the development of the Internet of Vehicles, the performance and stability of networked devices are increasing. When a data service is performed on the network, usually, after the device is connected to the network, if the terminal is abnormal or the network is abnormal, the data service is disconnected. However, the network connection status is connected, and the status of the terminal and the status of the data service are made. Inconsistent, it is impossible to restore the network in time.
可以通过检测传输控制协议(TCP,Transmission Control Protocol)数据包的传输情况来判断网络连接状态。当三次握手完成,TCP客户端和服务器端成功地建立连接,建立连接之后即可开始传输数据,当数据通路故障时通过快速重传和快速恢复等方式修复网络。The network connection status can be determined by detecting the transmission status of a Transmission Control Protocol (TCP) packet. When the three-way handshake is completed, the TCP client and the server successfully establish a connection. After the connection is established, data can be transmitted. When the data path fails, the network is repaired by fast retransmission and fast recovery.
还可以利用长期演进(LTE,Long Term Evolution)协议来判断数据传输情况。LTE中一个用户设备(UE,User Equipment)处在无线资源控制(RRC,Radio Resource Control)连接态,信号稳定,并且没有切换,这时可以进行数据业务。其过程是,开机随机接入过程建立RRC,开始附着(Attach)流程:通过安全方面的信令(比如鉴权加密性保护等)建立默认承载。没有数据业务时会释放RRC,断开数据连接,当出现数据通路异常时网络会尝试进行恢复或者切换到其他制式或小区以恢复数据连接。The Long Term Evolution (LTE) protocol can also be used to determine the data transmission. In LTE, a user equipment (UE, User Equipment) is in a radio resource control (RRC) connection state, the signal is stable, and there is no handover, and data services can be performed at this time. The process is that the RRC is established in the process of starting the random access, and the attach process is started: the default bearer is established through security signaling (such as authentication and encryption protection). When there is no data service, the RRC will be released, and the data connection will be disconnected. When the data path is abnormal, the network will try to recover or switch to another system or cell to restore the data connection.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
基于传输控制协议的方式,能够检测到数据通路异常但不能判断数据通路哪块不通。例如,是个人计算机(PC,Personal Computer)没有发TCP数 据包,还是PC发了网络侧没有回复确认字符(ACK,ACKnowledgment),还是网络侧发了TCP数据包而PC没有回复ACK,针对这些情况上述方法是无法确定的。也就是说,上述方式只能尝试做一些重传动作恢复数据通路,不能解决因终端原因导致的数据通路障碍。Based on the transmission control protocol, it is possible to detect that the data path is abnormal but cannot determine which of the data paths is unreachable. For example, if a personal computer (PC, Personal Computer) does not send a TCP packet, or if the PC sends a network-side reply acknowledgment character (ACK, ACKnowledgment), or the network side sends a TCP packet and the PC does not reply ACK, for these cases. The above method is undetermined. That is to say, the above method can only try to do some retransmission actions to recover the data path, and cannot solve the data path obstacle caused by the terminal cause.
基于LTE的方式,无法对“用户没有数据需要传输”和“用户有数据需要传输,但是在LTE协议栈中无法进行数据传输”两种情况进行区分,而这两种情况下如果采用上述方式将会尝试通过重启终端来恢复,这时对用户来说则可能是没有进行数据传输时终端突然重启,将会影响用户体验。Based on the LTE method, it is impossible to distinguish between "the user has no data to transmit" and "the user has data to transmit, but the data transmission cannot be performed in the LTE protocol stack". In both cases, if the above method is adopted It will try to recover by restarting the terminal. At this time, the user may suddenly restart the terminal without data transmission, which will affect the user experience.
本公开提供了一种提升数据通路可靠性的方法及装置。The present disclosure provides a method and apparatus for improving the reliability of a data path.
本公开实施例提供了一种提升数据通路可靠性的方法,包括:Embodiments of the present disclosure provide a method for improving reliability of a data path, including:
根据TCP数据包的传输情况以及LTE协议层的传输情况,确定数据通路异常的原因;Determining the cause of the abnormality of the data path according to the transmission condition of the TCP packet and the transmission condition of the LTE protocol layer;
在所述数据通路异常的原因为终端原因导致数据通路异常时,执行恢复网络的动作。When the cause of the abnormality of the data path is that the terminal causes the data path to be abnormal, the action of restoring the network is performed.
在一种示例性实施方式中,所述根据TCP数据包的传输情况以及LTE协议层的传输情况,确定数据通路异常的原因之前,还包括:检测TCP数据包的传输情况以及LTE协议层的传输情况。In an exemplary embodiment, before determining the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer, the method further includes: detecting a transmission condition of the TCP data packet and transmitting the LTE protocol layer. Happening.
在一种示例性实施方式中,所述检测TCP数据包的传输情况以及LTE协议层的传输情况,包括如下之一或其任意组合:In an exemplary embodiment, the detecting the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer include one or any combination of the following:
检测是否向网络侧发送了TCP数据包;Detect whether a TCP packet is sent to the network side;
检测是否接收到来自网络侧的确认字符ACK数据包;Detecting whether an acknowledgment character ACK packet from the network side is received;
检测是否向基站eNB发送了空口数据;Detecting whether air interface data is sent to the base station eNB;
检测是否接收到来自eNB的空口数据;Detecting whether air interface data from the eNB is received;
检测是否将来自网络侧的ACK数据包发送给PC;Detecting whether an ACK packet from the network side is sent to the PC;
检测是否接收到服务器重传的TCP数据包;Detect whether a TCP packet retransmitted by the server is received;
检测是否将服务器重传的TCP数据包发送给PC;Detect whether the TCP packet retransmitted by the server is sent to the PC;
检测是否接收到来自PC的ACK数据包。It is detected whether an ACK packet from the PC is received.
在一种示例性实施方式中,所述根据TCP数据包的传输情况以及LTE协议层的传输情况,确定数据通路异常的原因,至少包括如下之一:In an exemplary embodiment, the determining the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer includes at least one of the following:
在发生TCP数据重传时,当向网络侧发送了TCP数据包但未接收到来自网络侧的ACK数据包,并且未能成功向eNB发送空口数据时,确定为终端原因导致数据通路异常;When the TCP data retransmission occurs, when the TCP packet is sent to the network side but the ACK packet from the network side is not received, and the air interface data is not successfully sent to the eNB, it is determined that the terminal path causes the data path to be abnormal;
在发生TCP数据重传时,当向网络侧发送了TCP数据包但未接收到来自网络侧的ACK数据包,成功向eNB发送了空口数据但未接收到来自eNB的空口数据时,确定为终端原因导致数据通路异常;When a TCP data retransmission occurs, when a TCP packet is transmitted to the network side but an ACK packet from the network side is not received, and the air interface data is successfully transmitted to the eNB but the air interface data from the eNB is not received, the terminal is determined as the terminal. The cause of the data path is abnormal;
在发生TCP数据重传时,当向网络侧发送了TCP数据包且接收到了来自网络侧的ACK数据包,成功接收到了来自eNB的空口数据但未能成功将来自网络侧的ACK数据包发送给PC时,确定为终端原因导致数据通路异常;When TCP data retransmission occurs, when a TCP packet is sent to the network side and an ACK packet from the network side is received, the air interface data from the eNB is successfully received but the ACK packet from the network side is not successfully sent to When the PC is determined, the terminal causes the data path to be abnormal;
在发生TCP数据重传时,当未能成功向网络侧发送TCP数据包时,确定为终端原因导致数据通路异常。When TCP data retransmission occurs, when the TCP packet is not successfully sent to the network side, it is determined that the terminal path causes the data path to be abnormal.
在一种示例性实施方式中,所述根据TCP数据包的传输情况以及LTE协议层的传输情况,确定数据通路异常的原因,包括:在发生TCP数据重传时,当向网络侧发送了TCP数据包但未接收到来自网络侧的ACK数据包,成功向eNB发送了空口数据且接收到了来自eNB的空口数据时,确定为网络原因导致数据通路异常。In an exemplary embodiment, the determining the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer, including: when the TCP data retransmission occurs, when the TCP is sent to the network side The data packet, but not receiving the ACK packet from the network side, successfully transmits the air interface data to the eNB and receives the air interface data from the eNB, and determines that the network path causes the data path to be abnormal.
在一种示例性实施方式中,所述确定数据通路异常的原因之后,还包括:在所述数据通路异常的原因为网络原因导致数据通路异常时,不执行恢复网络的动作。In an exemplary embodiment, after determining the cause of the abnormality of the data path, the method further includes: when the cause of the abnormality of the data path is that the network path causes the data path to be abnormal, the action of restoring the network is not performed.
在一种示例性实施方式中,所述根据TCP数据包的传输情况以及LTE协议层的传输情况,确定数据通路异常的原因,至少包括如下之一:In an exemplary embodiment, the determining the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer includes at least one of the following:
当接收到了服务器重传的TCP数据包,但未能将所述TCP数据包成功发送给PC时,确定为终端原因导致数据通路异常;When the TCP packet retransmitted by the server is received, but the TCP packet is not successfully sent to the PC, it is determined that the terminal causes the data path to be abnormal;
当接收到了服务器重传的TCP数据包,将所述TCP数据包成功发送给PC且接收到了来自PC的ACK数据包,但未能成功向eNB发送空口数据时,确定为终端原因导致数据通路异常;After receiving the TCP packet retransmitted by the server, successfully transmitting the TCP packet to the PC and receiving the ACK packet from the PC, but failing to successfully send the air interface data to the eNB, determining that the terminal path causes the data path to be abnormal. ;
当接收到了服务器重传的TCP数据包,将所述TCP数据包成功发送给PC但未接收到来自PC的ACK数据包时,确定为终端原因导致数据通路异常。When the TCP packet retransmitted by the server is received, and the TCP packet is successfully sent to the PC but the ACK packet from the PC is not received, it is determined that the terminal causes the data path to be abnormal.
本公开实施例还提供了一种提升数据通路可靠性的装置,包括:An embodiment of the present disclosure further provides an apparatus for improving reliability of a data path, including:
确定模块,设置为:根据TCP数据包的传输情况以及LTE协议层的传输情况,确定数据通路异常的原因;The determining module is configured to: determine the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer;
执行模块,设置为:在所述数据通路异常的原因为终端原因导致数据通路异常时,执行恢复网络的动作。The execution module is configured to perform an action of restoring the network when the cause of the abnormality of the data path is that the data path is abnormal due to the terminal cause.
在一种示例性实施方式中,还包括:检测模块,设置为:检测TCP数据包的传输情况以及LTE协议层的传输情况。In an exemplary embodiment, the method further includes: a detecting module, configured to: detect a transmission condition of the TCP data packet and a transmission condition of the LTE protocol layer.
在一种示例性实施方式中,所述检测模块是设置为执行如下之一或其任意组合:In an exemplary embodiment, the detection module is configured to perform one or any combination of the following:
检测是否向网络侧发送了TCP数据包;Detect whether a TCP packet is sent to the network side;
检测是否接收到来自网络侧的ACK数据包;Detecting whether an ACK packet from the network side is received;
检测是否向eNB发送了空口数据;Detecting whether air interface data is sent to the eNB;
检测是否接收到来自eNB的空口数据;Detecting whether air interface data from the eNB is received;
检测是否将来自网络侧的ACK数据包发送给PC;Detecting whether an ACK packet from the network side is sent to the PC;
检测是否接收到服务器重传的TCP数据包;Detect whether a TCP packet retransmitted by the server is received;
检测是否将服务器重传的TCP数据包发送给PC;Detect whether the TCP packet retransmitted by the server is sent to the PC;
检测是否接收到来自PC的ACK数据包。It is detected whether an ACK packet from the PC is received.
在一种示例性实施方式中,所述确定模块是设置为执行如下至少之一:In an exemplary embodiment, the determining module is configured to perform at least one of the following:
在发生TCP数据重传时,当向网络侧发送了TCP数据包但未接收到来自网络侧的ACK数据包,并且未能成功向eNB发送空口数据时,确定为终端原因导致数据通路异常;When the TCP data retransmission occurs, when the TCP packet is sent to the network side but the ACK packet from the network side is not received, and the air interface data is not successfully sent to the eNB, it is determined that the terminal path causes the data path to be abnormal;
在发生TCP数据重传时,当向网络侧发送了TCP数据包但未接收到来自网络侧的ACK数据包,成功向eNB发送了空口数据但未接收到来自eNB的空口数据时,确定为终端原因导致数据通路异常;When a TCP data retransmission occurs, when a TCP packet is transmitted to the network side but an ACK packet from the network side is not received, and the air interface data is successfully transmitted to the eNB but the air interface data from the eNB is not received, the terminal is determined as the terminal. The cause of the data path is abnormal;
在发生TCP数据重传时,当向网络侧发送了TCP数据包且接收到了来自网络侧的ACK数据包,成功接收到了来自eNB的空口数据但未能成功将来自网络侧的ACK数据包发送给PC时,确定为终端原因导致数据通路异常;When TCP data retransmission occurs, when a TCP packet is sent to the network side and an ACK packet from the network side is received, the air interface data from the eNB is successfully received but the ACK packet from the network side is not successfully sent to When the PC is determined, the terminal causes the data path to be abnormal;
在发生TCP数据重传时,当未能成功向网络侧发送TCP数据包时,确定为终端原因导致数据通路异常。When TCP data retransmission occurs, when the TCP packet is not successfully sent to the network side, it is determined that the terminal path causes the data path to be abnormal.
在一种示例性实施方式中,所述确定模块是设置为:In an exemplary embodiment, the determining module is configured to:
在发生TCP数据重传时,当向网络侧发送了TCP数据包但未接收到来自网络侧的ACK数据包,成功向eNB发送了空口数据且接收到了来自eNB的空口数据时,确定为网络原因导致数据通路异常。When a TCP data retransmission occurs, when a TCP packet is sent to the network side but an ACK packet from the network side is not received, the air interface data is successfully transmitted to the eNB, and the air interface data from the eNB is received, the network cause is determined. Causes an abnormal data path.
在一种示例性实施方式中,所述确定模块是设置为执行如下之一:In an exemplary embodiment, the determining module is configured to perform one of the following:
当接收到了服务器重传的TCP数据包,但未能将所述TCP数据包成功发送给PC时,确定为终端原因导致数据通路异常;When the TCP packet retransmitted by the server is received, but the TCP packet is not successfully sent to the PC, it is determined that the terminal causes the data path to be abnormal;
当接收到了服务器重传的TCP数据包,将所述TCP数据包成功发送给PC且接收到了来自PC的ACK数据包,但未能成功向eNB发送空口数据时,确定为终端原因导致数据通路异常;After receiving the TCP packet retransmitted by the server, successfully transmitting the TCP packet to the PC and receiving the ACK packet from the PC, but failing to successfully send the air interface data to the eNB, determining that the terminal path causes the data path to be abnormal. ;
当接收到了服务器重传的TCP数据包,将所述TCP数据包成功发送给PC但未接收到来自PC的ACK数据包时,确定为终端原因导致数据通路异常。When the TCP packet retransmitted by the server is received, and the TCP packet is successfully sent to the PC but the ACK packet from the PC is not received, it is determined that the terminal causes the data path to be abnormal.
本公开实施例还提供了一种提升数据通路可靠性的装置,至少包括:The embodiment of the present disclosure further provides an apparatus for improving reliability of a data path, including at least:
存储有提升数据通路可靠性程序的存储器;A memory storing a program for improving the reliability of the data path;
处理器,配置为执行所述提升数据通路可靠性程序以执行下述操作:根据TCP数据包的传输情况以及LTE协议层的传输情况,确定数据通路异常的原因;在所述数据通路异常的原因为终端原因导致数据通路异常时,执行恢复网络的动作。a processor configured to perform the elevated data path reliability procedure to perform an operation of determining a cause of an abnormality of the data path according to a transmission condition of the TCP data packet and a transmission condition of the LTE protocol layer; When the data path is abnormal for the terminal cause, the action of restoring the network is performed.
本公开实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有提升数据通路可靠性程序,所述提升数据通路可靠性程序被处理器执行时实现上述提升数据通路可靠性方法的步骤。The embodiment of the present disclosure further provides a computer readable storage medium, where the enhanced data path reliability program is stored, and the elevated data path reliability program is implemented by the processor to implement the enhanced data path. The steps of the reliability method.
本公开实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述提升数据通路可靠性的方法。Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions that, when executed, implement the above method of improving data path reliability.
本公开实施例中,结合UE侧的TCP层数据包传输情况及LTE协议栈中网络侧数据包的传输情况进行综合判断,从而准确判断UE当前的数据通路状况,在判断为终端原因导致的数据通路异常时,在UE侧执行恢复操作,从而能够准确判断数据通路障碍的原因以及避免因终端导致数据通路障碍时无法及时进行恢复以至于影响数据业务正常进行的情形。由此,有效提升了 数据通路的可靠性,能够确保车联网中UE的数据通路正常通畅。In the embodiment of the present disclosure, the TCP layer data packet transmission situation on the UE side and the network side data packet transmission situation in the LTE protocol stack are comprehensively determined, so as to accurately determine the current data path status of the UE, and determine the data caused by the terminal cause. When the path is abnormal, the recovery operation is performed on the UE side, so that the cause of the data path obstacle can be accurately determined and the situation that the data service cannot be recovered in time due to the failure of the data path is prevented from affecting the normal operation of the data service. As a result, the reliability of the data path is effectively improved, and the data path of the UE in the Internet of Vehicles can be ensured.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本公开第一实施例提升数据通路可靠性方法的流程示意图;1 is a schematic flowchart of a method for improving reliability of a data path according to a first embodiment of the present disclosure;
图2为车联网系统的结构示例图;2 is a diagram showing an example of the structure of a car networking system;
图3为PC向服务器发送TCP数据后接收服务器返回的ACK数据包的场景下数据通路正常时的交互示意图;3 is a schematic diagram of interaction when the data path in the scenario of receiving an ACK packet returned by the server after the PC sends the TCP data to the server;
图4为PC向服务器发送TCP数据后接收服务器返回的ACK数据包的场景下提升数据通路可靠性的流程示意图;4 is a schematic flowchart of improving the reliability of a data path in a scenario in which a PC receives TCP data from a server and receives an ACK packet returned by the server;
图5为服务器向PC发送TCP数据后接收PC返回的ACK数据包的场景下数据通路正常时的交互示意图;5 is a schematic diagram of interaction when the data path in the scenario of receiving an ACK packet returned by the PC after the server sends the TCP data to the PC;
图6为服务器向PC发送TCP数据后接收PC返回的ACK数据包的场景下提升数据通路可靠性的流程示意图;6 is a schematic flowchart of improving the reliability of a data path in a scenario in which a server receives an ACK packet returned by a PC after transmitting TCP data to a PC;
图7为本公开第二实施例提升数据可靠性装置的组成结构示意图。FIG. 7 is a schematic structural diagram of a device for improving data reliability according to a second embodiment of the present disclosure.
本公开的较佳实施方式Preferred embodiment of the present disclosure
下面结合附图对本公开的实施方式进行描述。Embodiments of the present disclosure will be described below with reference to the accompanying drawings.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps illustrated in the flowchart of the figures may be executed in a computer system such as a set of computer executable instructions. Also, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
本领域中已知的技术方案,大致可包括如下三种:The technical solutions known in the art may generally include the following three types:
1)当网络断开后,终端尝试自动重连,每隔30秒或者1分钟连接一次,当超过一定次数后重连时间间隔加大以降低功耗;1) When the network is disconnected, the terminal attempts to reconnect automatically, connecting every 30 seconds or 1 minute. When the number of times exceeds a certain number of times, the reconnection interval is increased to reduce power consumption;
2)在确定断网后,对断网后接收到的由客户端发往服务器的数据包进行第一次处理,并缓存断网后接收到的由客户端发往服务器的数据包;当网络恢复后,将缓存的所述数据包发送给服务器,根据服务器返回的响应包确定是否需要对数据包进行第二次处理,其中,所述第二次处理是对所述第一次 处理的更正处理;2) After determining that the network is disconnected, the data packet sent by the client to the server received after the network disconnection is processed for the first time, and the data packet sent by the client to the server after the network disconnection is cached; After the recovery, the cached data packet is sent to the server, and according to the response packet returned by the server, it is determined whether the data packet needs to be processed a second time, wherein the second processing is a correction to the first processing. deal with;
3)通过分析媒体接入控制(MAC,Medium Access Control)、因特网协议(IP,Internet Protocol)层、TCP层获取的网络信息,将网络分类,若无线路径状态不是不可用,则以高优先级对第一个重复的确认通知所对应的传输层数据(TCP Data)分组进行本地重传。3) classify the network by analyzing the network access information (MAC, Medium Access Control), Internet Protocol (IP) layer, and network information acquired by the TCP layer. If the wireless path status is not unavailable, the priority is high. The transport layer data (TCP Data) packet corresponding to the first repeated acknowledgement notification is locally retransmitted.
其中,方案1)仅解决了数据设备网络状态确定是断开情况下的重新连接、数据处理。不能解决网络侧是连接状态的数据问题,不能避免设备网络状态是已连接,但因为终端原因导致的数据业务已经不通以及什么时候设备的数据业务已经异常的情形;Among them, the scheme 1) only solves the reconnection and data processing in the case where the data device network state is determined to be disconnected. The data problem of the connection status on the network side cannot be solved. It cannot be avoided that the network status of the device is connected, but the data service due to the terminal is no longer available and the data service of the device is abnormal.
方案2)是一种断网后通过缓存的方法处理数据的方法,未公开网络断开的细节;Scheme 2) is a method for processing data by means of caching after disconnection, and details of network disconnection are not disclosed;
方案3)是对无线网络不是不可用的情况下进行的TCP协议的数据包重传,以避免网络侧阻塞。仅在TCP层判断数据不同从而进行数据重传,不能避免因终端原因导致的数据通路不畅。Solution 3) is a packet retransmission of the TCP protocol performed when the wireless network is not unavailable to avoid network side congestion. Only when the TCP layer judges that the data is different for data retransmission, the data path caused by the terminal may not be avoided.
本公开提供一种提升数据通路可靠性的方法及装置,能够避免因终端原因导致的数据通路不畅,以保证车载终端的数据通路正常通畅。The present disclosure provides a method and apparatus for improving the reliability of a data path, which can avoid a data path that is not smooth due to a terminal, so as to ensure that the data path of the vehicle terminal is normally smooth.
第一实施例First embodiment
本实施例提供一种提升数据通路可靠性的方法,如图1所示,可以包括:The embodiment provides a method for improving the reliability of the data path. As shown in FIG. 1 , the method may include:
步骤101,根据TCP数据包的传输情况以及LTE协议层的传输情况,确定数据通路异常的原因;Step 101: Determine, according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer, the cause of the abnormality of the data path;
步骤102,在所述数据通路异常的原因为终端原因导致数据通路异常时,执行恢复网络的动作。Step 102: Perform an action of restoring the network when the cause of the abnormality of the data path is that the terminal causes the data path to be abnormal.
本实施例中,TCP数据包的传输情况可以是指在UE侧的TCP数据包传输情况,可以包括以下之一或其任意组合:TCP层数据包重传的场景下UE是否发送了TCP数据包、是否接收到TCP数据包、是否在接收到TCP数据包之后发送了ACK数据包、以及是否在发送TCP数据包之后接收到了相应ACK数据包等。In this embodiment, the transmission status of the TCP data packet may refer to the TCP data packet transmission situation on the UE side, and may include one of the following or any combination thereof: whether the UE sends the TCP data packet in the scenario of retransmission of the TCP layer data packet. Whether or not a TCP packet is received, whether an ACK packet is transmitted after receiving the TCP packet, and whether a corresponding ACK packet is received after the TCP packet is transmitted or the like.
本实施例中,LTE协议层的传输情况可以是指UE侧的LTE协议栈数据 包传输情况,大致可以包括以下之一或其组合:UE侧的LTE协议栈中网络侧数据包的接收情况、以及UE侧的LTE协议栈中向网络侧发送数据包的情况。In this embodiment, the transmission situation of the LTE protocol layer may refer to the LTE protocol stack data packet transmission situation of the UE side, and may include one or a combination of the following: the receiving status of the network side data packet in the LTE protocol stack of the UE side, And the case where the data packet is sent to the network side in the LTE protocol stack on the UE side.
本实施例中,结合UE侧的TCP层数据包传输情况及LTE协议栈中网络侧数据包的传输情况进行综合判断,从而准确判断UE当前的数据通路状况,在判断为终端原因导致的数据通路异常时,在UE侧执行恢复操作,从而能够准确判断数据通路障碍的原因以及避免因终端导致数据通路障碍时无法及时进行恢复以至于影响数据业务正常进行的情形。由此,有效提升了数据通路的可靠性,能够确保车联网中UE的数据通路正常通畅。In this embodiment, the TCP layer data packet transmission situation on the UE side and the network side data packet transmission situation in the LTE protocol stack are comprehensively determined, so as to accurately determine the current data path status of the UE, and determine the data path caused by the terminal cause. When an abnormality occurs, the recovery operation is performed on the UE side, so that the cause of the data path barrier can be accurately determined and the situation that the data service cannot be recovered in time due to the data path barrier is prevented from affecting the normal operation of the data service. Thereby, the reliability of the data path is effectively improved, and the data path of the UE in the vehicle network can be ensured to be normally smooth.
本实施例的方法可以适用于车联网系统中。本实施例的方法可由车联网系统中的UE执行,从而提升车联网系统中数据通路的可靠性。The method of this embodiment can be applied to a car network system. The method of the present embodiment can be performed by a UE in a car network system, thereby improving the reliability of the data path in the car networking system.
例如,本实施例的方法可适用于如图2所示的车联网系统,如图2所示,该系统大致可以包括四个部分:PC、UE、基站、服务器。其中,PC可以是指使用数据业务的固定终端(如电脑)或车载终端(如车载电脑);UE可以是无线数据终端,负责与基站、服务器连接,给PC提供无线数据业务;基站,可以为运营商基站,LTE协议中指演进型节点B(eNB,Evolved Node B),基站可以设置为提供无线网络,该无线网络可包括分组数据汇聚协议(PDCP,Packet Data Convergence Protocol)、RLC、MAC层;服务器可以为数据服务器,设置为为UE提供无线数据业务。本实施例的方法可由图2所示系统结构中的UE来执行,通过将本实施例的方法应用于图2所示的系统架构,可以提升该系统结构中数据通路的可靠性。For example, the method of the present embodiment can be applied to a car network system as shown in FIG. 2. As shown in FIG. 2, the system can roughly include four parts: a PC, a UE, a base station, and a server. The PC may refer to a fixed terminal (such as a computer) or a vehicle terminal (such as a car computer) that uses the data service; the UE may be a wireless data terminal, and is responsible for connecting with the base station and the server to provide wireless data services to the PC; the base station may be The carrier base station, the LTE protocol refers to an evolved Node B (eNB), and the base station may be configured to provide a wireless network, and the wireless network may include a Packet Data Convergence Protocol (PDCP), an RLC, and a MAC layer. The server can be a data server configured to provide wireless data services to the UE. The method of this embodiment can be performed by the UE in the system structure shown in FIG. 2. By applying the method of the embodiment to the system architecture shown in FIG. 2, the reliability of the data path in the system structure can be improved.
其中,在步骤102之前还可以包括:步骤100,检测TCP数据包的传输情况以及LTE协议层的传输情况。Before the step 102, the method may further include: Step 100, detecting a transmission condition of the TCP data packet and a transmission condition of the LTE protocol layer.
可选地,所述检测TCP数据包的传输情况以及LTE协议层的传输情况,可以包括如下之一或其任意组合:Optionally, the detecting the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer may include one or any combination of the following:
检测是否向网络侧发送了TCP数据包;Detect whether a TCP packet is sent to the network side;
检测是否接收到来自网络侧的ACK数据包;Detecting whether an ACK packet from the network side is received;
检测是否向eNB发送了空口数据;Detecting whether air interface data is sent to the eNB;
检测是否接收到来自eNB的空口数据;Detecting whether air interface data from the eNB is received;
检测是否将来自网络侧的ACK数据包发送给PC;Detecting whether an ACK packet from the network side is sent to the PC;
检测是否接收到服务器重传的TCP数据包;Detect whether a TCP packet retransmitted by the server is received;
检测是否将服务器重传的TCP数据包发送给PC;Detect whether the TCP packet retransmitted by the server is sent to the PC;
检测是否接收到来自PC的ACK数据包。It is detected whether an ACK packet from the PC is received.
实际应用中,本实施例大致可以体现在以下四个方面:In practical applications, the embodiment can be embodied in the following four aspects:
1)在PC向服务器发送TCP数据后接收服务器返回的ACK数据包的场景中,通过发现TCP层数据包多次重传,如果UE没有收到服务器回复的TCP ACK消息,这是数据通路出现问题导致的。问题可能出现在PC和网络的数据通路的某个地方。结合判断LTE协议层,UE如果没有给eNB发送空口数据,可以判断为终端原因导致数据通路异常。1) In the scenario where the PC receives the ACK packet returned by the server after sending the TCP data to the server, the TCP layer packet is retransmitted multiple times. If the UE does not receive the TCP ACK message replied by the server, this is a problem with the data path. Caused. Problems can occur somewhere in the data path of PCs and networks. In combination with determining the LTE protocol layer, if the UE does not send air interface data to the eNB, it can be determined that the terminal cause causes the data path to be abnormal.
2)在PC向服务器发送TCP数据后接收服务器返回的ACK数据包的场景中,通过发现TCP层数据包多次重传,如果UE没有收到服务器回复的TCP ACK消息,这是数据通路出现问题导致的。问题可能出现在PC和网络的数据通路的某个地方。再继续判断LTE协议层,UE如果向eNB发送了空口数据,但是UE没有接收到来自eNB的空口数据,可以判断为终端原因导致数据通路异常。2) In the scenario where the PC receives the ACK packet returned by the server after sending the TCP data to the server, the TCP layer packet is retransmitted multiple times, and if the UE does not receive the TCP ACK message replied by the server, this is a problem with the data path. Caused. Problems can occur somewhere in the data path of PCs and networks. The LTE protocol layer is further determined. If the UE sends the air interface data to the eNB, but the UE does not receive the air interface data from the eNB, it can be determined that the terminal causes the data path to be abnormal.
3)在PC向服务器发送TCP数据后接收服务器返回的ACK数据包的场景中,通过发现TCP层数据包多次重传,如果UE没有收到服务器回复的TCP ACK消息,这是数据通路出现问题导致的。问题可能出现在PC和网络的数据通路的某个地方。继续判断LTE协议层,UE如果向eNB发送了空口数据且接收到了来自eNB的空口数据,此时判断为网络原因导致数据通路异常。3) In the scenario where the PC receives the ACK packet returned by the server after sending the TCP data to the server, the TCP layer packet is retransmitted multiple times. If the UE does not receive the TCP ACK message replied by the server, this is a problem with the data path. Caused. Problems can occur somewhere in the data path of PCs and networks. Continuing to determine the LTE protocol layer, if the UE sends the air interface data to the eNB and receives the air interface data from the eNB, it is determined that the network cause causes the data path to be abnormal.
4)在服务器向PC发送TCP数据后接收PC返回的ACK数据包的场景中,通过发现UE接收到了服务器重传的TCP数据包,UE发给了PC重传的TCP数据包,UE也从PC侧收到了ACK数据包,此时继续判断LTE协议层,UE没有发给eNB空口数据,可以判断为终端原因导致数据通路异常。4) In the scenario where the server receives the ACK packet returned by the PC after sending the TCP data to the PC, the UE sends the TCP packet retransmitted by the UE to the PC, and the UE also sends the TCP packet from the PC. The ACK packet is received by the side. At this time, the LTE protocol layer is continuously determined. The UE does not send air data to the eNB, and it can be determined that the terminal causes the data path to be abnormal.
本实施例中,对于终端原因导致的数据通路异常,UE侧可以执行恢复 操作;对由于网络原因导致的数据通路异常,UE侧可以不做处理。In this embodiment, the UE side may perform a recovery operation for the data path abnormality caused by the terminal cause; the UE side may not process the data path abnormality caused by the network cause.
可选地,所述根据TCP数据包的传输情况以及LTE协议层的传输情况,确定数据通路异常的原因,至少可以包括如下之一:Optionally, the determining the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer may include at least one of the following:
在发生TCP数据重传时,当向网络侧发送了TCP数据包但未接收到来自网络侧的ACK数据包,并且未能成功向eNB发送空口数据时,确定为终端原因导致数据通路异常;When the TCP data retransmission occurs, when the TCP packet is sent to the network side but the ACK packet from the network side is not received, and the air interface data is not successfully sent to the eNB, it is determined that the terminal path causes the data path to be abnormal;
在发生TCP数据重传时,当向网络侧发送了TCP数据包但未接收到来自网络侧的ACK数据包,成功向eNB发送了空口数据但未接收到来自eNB的空口数据时,确定为终端原因导致数据通路异常;When a TCP data retransmission occurs, when a TCP packet is transmitted to the network side but an ACK packet from the network side is not received, and the air interface data is successfully transmitted to the eNB but the air interface data from the eNB is not received, the terminal is determined as the terminal. The cause of the data path is abnormal;
在发生TCP数据重传时,当向网络侧发送了TCP数据包且接收到了来自网络侧的ACK数据包,成功接收到了来自eNB的空口数据但未能成功将来自网络侧的ACK数据包发送给PC时,确定为终端原因导致数据通路异常;When TCP data retransmission occurs, when a TCP packet is sent to the network side and an ACK packet from the network side is received, the air interface data from the eNB is successfully received but the ACK packet from the network side is not successfully sent to When the PC is determined, the terminal causes the data path to be abnormal;
在发生TCP数据重传时,当未能成功向网络侧发送TCP数据包时,确定为终端原因导致数据通路异常。When TCP data retransmission occurs, when the TCP packet is not successfully sent to the network side, it is determined that the terminal path causes the data path to be abnormal.
可选地,所述根据TCP数据包的传输情况以及LTE协议层的传输情况,确定数据通路异常的原因,可以包括或者还可以包括:在发生TCP数据重传时,当向网络侧发送了TCP数据包但未接收到来自网络侧的ACK数据包,成功向eNB发送了空口数据且接收到了来自eNB的空口数据时,确定为网络原因导致数据通路异常。Optionally, the determining the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer may include or may further include: when the TCP data retransmission occurs, when the TCP is sent to the network side The data packet, but not receiving the ACK packet from the network side, successfully transmits the air interface data to the eNB and receives the air interface data from the eNB, and determines that the network path causes the data path to be abnormal.
可选地,所述确定数据通路异常的原因之后,还可以包括:在所述数据通路异常的原因为网络原因导致数据通路异常时,不执行恢复网络的动作。Optionally, after determining the cause of the abnormality of the data path, the method may further include: when the cause of the abnormality of the data path is that the network path causes the data path to be abnormal, the action of restoring the network is not performed.
可选地,所述根据TCP数据包的传输情况以及LTE协议层的传输情况,确定数据通路异常的原因,至少可以包括如下之一:Optionally, the determining the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer may include at least one of the following:
当接收到了服务器重传的TCP数据包,但未能将所述TCP数据包成功发送给PC时,确定为终端原因导致数据通路异常;When the TCP packet retransmitted by the server is received, but the TCP packet is not successfully sent to the PC, it is determined that the terminal causes the data path to be abnormal;
当接收到了服务器重传的TCP数据包,将所述TCP数据包成功发送给PC且接收到了来自PC的ACK数据包,但未能成功向eNB发送空口数据时,确定为终端原因导致数据通路异常;After receiving the TCP packet retransmitted by the server, successfully transmitting the TCP packet to the PC and receiving the ACK packet from the PC, but failing to successfully send the air interface data to the eNB, determining that the terminal path causes the data path to be abnormal. ;
当接收到了服务器重传的TCP数据包,将所述TCP数据包成功发送给PC但未接收到来自PC的ACK数据包时,确定为终端原因导致数据通路异常。When the TCP packet retransmitted by the server is received, and the TCP packet is successfully sent to the PC but the ACK packet from the PC is not received, it is determined that the terminal causes the data path to be abnormal.
实际应用中,UE执行恢复操作时的恢复手段可以包括:重新连接、重新Attach、调制解调器(Modem,Modulator-Demodulator)侧低电/高电、Modem侧重启、整机重启等。例如,当UE没有向eNB发送空口数据时,尝试重新解附着(Detach)、Attach,以恢复数据通路。再例如,当UE未能接收到来自eNB的空口数据时,通过Modem侧低电/高电进行恢复。再例如,当UE未能向PC发送服务器重传的ACK数据包时,通过整机重启的方式恢复。再例如,UE从PC侧没有收到的ACK数据包时,重新连接。实际应用中,上述多个场景中还可以交叉使用不同的恢复方式。In actual applications, the recovery means when the UE performs the recovery operation may include: reconnecting, re-attaching, modem (Modulator-Demodulator) side low power/high power, Modem side restart, whole machine restart, and the like. For example, when the UE does not send air interface data to the eNB, it attempts to re-attach (Detach), Attach, to recover the data path. For another example, when the UE fails to receive the air interface data from the eNB, the recovery is performed by the Modem side low power/high power. For another example, when the UE fails to send the ACK packet retransmitted by the server to the PC, it is restored by restarting the whole machine. For another example, when the UE does not receive the ACK packet from the PC side, the UE reconnects. In practical applications, different recovery modes may be used in multiple scenarios.
实际应用中,本实施例所述的LTE协议层并不局限于LTE制式,也可适用于其他网络制式。In practical applications, the LTE protocol layer described in this embodiment is not limited to the LTE standard, and may be applied to other network standards.
下面以针对两个不同场景以两个实例来详细说明本实施例方法的可选实现过程。An optional implementation process of the method of this embodiment will be described in detail below with two examples for two different scenarios.
实例1Example 1
本实例的场景为:PC向服务器发送TCP数据后接收服务器返回的ACK数据包的场景。在该场景下,数据通路正常的状况下交互过程如图3所示,可以包括:The scenario in this example is a scenario in which the PC receives the ACK packet returned by the server after sending the TCP data to the server. In this scenario, the interaction process in the normal state of the data path is as shown in FIG. 3, and may include:
步骤301,UE从PC侧接收TCP数据包;Step 301: The UE receives a TCP packet from the PC side.
步骤302,UE向网络侧发送TCP数据包;Step 302: The UE sends a TCP packet to the network side.
步骤303,UE接收来自网络侧的ACK数据包;Step 303: The UE receives an ACK packet from the network side.
步骤304:UE向PC发送ACK数据包。Step 304: The UE sends an ACK packet to the PC.
在该场景下,数据通路正常的状况下UE与eNB之间的交互过程如图3所示,可以包括:In this scenario, the interaction process between the UE and the eNB in the normal state of the data path is as shown in FIG. 3, and may include:
步骤305,UE发送给eNB的空口数据(如schedule request);Step 305: The air interface data sent by the UE to the eNB (such as a schedule request);
步骤306,UE从eNB接收的空口数据(如RLC PDU&CQI)。Step 306: The air interface data (such as RLC PDU & CQI) received by the UE from the eNB.
如图4所示,本实例中,提升数据通路可靠性的流程可以包括:As shown in FIG. 4, in this example, the process of improving data path reliability may include:
步骤401,检测PC是否给UE重传了TCP数据包,如果PC给UE重传了TCP数据包,则继续步骤402;如果PC没有给UE重传TCP数据包,则不作处理,结束当前流程。Step 401: It is detected whether the PC retransmits the TCP data packet to the UE. If the PC retransmits the TCP data packet to the UE, the process proceeds to step 402. If the PC does not retransmit the TCP data packet to the UE, the process is not processed, and the current process is terminated.
步骤402,检测UE是否给网络侧发送了所述TCP数据包,如果UE给网络侧发送了所述TCP数据包,则继续步骤403;如果UE没有给网络侧发送所述TCP数据包,则跳转至步骤406;Step 402: Detect whether the UE sends the TCP data packet to the network side. If the UE sends the TCP data packet to the network side, proceed to step 403. If the UE does not send the TCP data packet to the network side, the UE skips. Go to step 406;
步骤403,检测UE是否从网络侧接收到了所述TCP数据包的ACK数据包,如果UE从网络侧接收到了所述TCP数据包的ACK数据包,则继续步骤404;如果UE没有从网络侧接收到所述TCP数据包的ACK数据包,则跳转至步骤405;Step 403: Detect whether the UE receives the ACK data packet of the TCP data packet from the network side. If the UE receives the ACK data packet of the TCP data packet from the network side, proceed to step 404; if the UE does not receive from the network side Go to the ACK packet of the TCP packet, then go to step 405;
步骤404,检测UE是否将所述ACK数据包发送给了PC,如果UE将所述ACK数据包发送给了PC,则跳转至步骤408;如果UE没有将所述ACK数据包发送给PC,则跳转至步骤406;Step 404: Detect whether the UE sends the ACK data packet to the PC, if the UE sends the ACK data packet to the PC, go to step 408; if the UE does not send the ACK data packet to the PC, Then jump to step 406;
步骤405,检测UE是否接收到了来自eNB的空口数据,如果UE接收到了来自eNB的空口数据,则跳转至步骤407;如果UE没有接收到来自eNB的空口数据,则跳转至步骤406; Step 405, detecting whether the UE receives the air interface data from the eNB, if the UE receives the air interface data from the eNB, then the process proceeds to step 407; if the UE does not receive the air interface data from the eNB, then the process proceeds to step 406;
步骤406,判断为终端原因导致的数据通路异常,执行恢复网络的动作,尝试进行恢复。In step 406, it is determined that the data path is abnormal due to the terminal cause, and the action of restoring the network is performed, and the recovery is attempted.
步骤407,判断为可能是终端原因、也可能是网络原因导致的数据通路异常。由于实际应用中只有断定是终端原因的前提下执行恢复性动作才可能有效。因此,这种情况下,终端可以不进行任何恢复性操作。In step 407, it is determined that the terminal may be the cause of the terminal, or the data path may be abnormal due to the network cause. It is possible to perform a restorative action only if the actual application only determines that it is the cause of the terminal. Therefore, in this case, the terminal can perform no restorative operations.
步骤408,判断为非终端原因导致的数据通路异常,不做处理。In step 408, it is determined that the data path is abnormal due to the non-terminal cause, and no processing is performed.
如图4所示流程可知,本实例大致可以涉及以下几种情况:As shown in the flow shown in FIG. 4, the present example can roughly refer to the following situations:
检测发生了TCP数据包重传,UE向网络侧发送TCP数据包,UE从网络侧没有接收到该TCP数据包的ACK数据包,此时结合UE没有给eNB发送空口数据,判断为终端原因导致数据通路异常。这里,只要UE没有给eNB发送空口数据,就足以判断为终端原因,可以不再判断接收。The TCP packet retransmission is detected, the UE sends a TCP packet to the network side, and the UE does not receive the ACK packet of the TCP packet from the network side. At this time, the UE does not send the air interface data to the eNB, and the terminal causes the terminal cause. The data path is abnormal. Here, as long as the UE does not send air interface data to the eNB, it is enough to judge the terminal cause, and the reception can be no longer judged.
检测发生了TCP数据包重传,UE向网络侧发送TCP数据包,UE从网络侧没有接收到该TCP数据包的ACK数据包,此时UE给eNB成功发送了空口数据,但UE没有接收到eNB的空口数据,则判断为终端原因导致数据通路异常。The TCP packet retransmission is detected, the UE sends a TCP packet to the network side, and the UE does not receive the ACK packet of the TCP packet from the network side. At this time, the UE successfully sends the air interface data to the eNB, but the UE does not receive the packet. If the air interface data of the eNB is determined, the terminal causes the data path to be abnormal.
检测发生了TCP数据包重传,UE向网络侧发送了TCP数据包,UE从网络侧接收到了重传的ACK数据包,此时可以判断UE已经接收到了来自eNB的空口数据,而如果UE没有把来自网络侧的ACK数据包发给PC,则判断为终端原因导致数据通路异常。The TCP packet retransmission is detected, the UE sends a TCP packet to the network side, and the UE receives the retransmitted ACK packet from the network side. At this time, it can be determined that the UE has received the air interface data from the eNB, and if the UE does not have When the ACK packet from the network side is sent to the PC, it is determined that the terminal cause the data path is abnormal.
检测发生了TCP数据包重传,UE向网络侧发送了TCP数据包,UE没有接收到网络侧重传的ACK数据包,UE向eNB成功发送了空口数据,但UE也接收到了来自eNB的空口数据,此时则判断为网络原因导致数据通路异常。The TCP packet retransmission is detected, the UE sends the TCP packet to the network side, the UE does not receive the ACK packet retransmitted by the network side, the UE successfully sends the air interface data to the eNB, but the UE also receives the air interface data from the eNB. At this time, it is determined that the network path causes the data path to be abnormal.
检测发生了TCP数据包重传,UE没有向网络侧发送TCP数据包,则判断为终端原因导致数据通路异常。If the TCP packet retransmission is detected and the UE does not send a TCP packet to the network side, it is determined that the terminal causes the data path to be abnormal.
本实例中,结合上述UE对每个TCP数据包的检测情况以及UE对LTE空口数据传输的检测情况综合判断是否为终端原因导致的数据通路异常,在终端原因导致数据通路异常时在终端侧执行恢复网络的动作。In this example, in combination with the detection of each TCP packet by the UE and the detection of the LTE air interface data transmission by the UE, it is determined whether the data path is abnormal due to the terminal cause, and is executed on the terminal side when the terminal causes the data path to be abnormal. Restore the action of the network.
本实例中,检测是否发生TCP重传的方法可以包括:UE保存最近5s之内UE从PC侧收到的TCP数据包的序列号及内容,UE将当前接收到的来自PC侧的TCP数据包的序列号及内容与所保存的最近5s之内UE从PC侧收到的TCP数据包的序列号及内容进行对比,如果UE检测到当前从PC侧收到的TCP数据包的序列号及内容与保存的最近5s之内UE从PC侧收到的TCP数据包中的某一个或多个TCP数据包的序列号及内容相同,则认定为发生了TCP数据包重传。如果UE检测到当前从PC侧收到的TCP数据包的序列号及内容与保存的最近5s之内UE从PC侧收到的TCP数据包中的任何一个TCP数据包的序列号及内容均不相同,则认定为没有发生TCP数据包重传。In this example, the method for detecting whether a TCP retransmission occurs may include: the UE saves the sequence number and content of the TCP packet received by the UE from the PC side within the last 5s, and the UE will receive the currently received TCP packet from the PC side. The serial number and content are compared with the sequence number and content of the TCP packet received by the UE from the PC side within the last 5s, if the UE detects the serial number and content of the TCP packet currently received from the PC side. If the sequence number and content of one or more TCP packets in the TCP packet received by the UE from the PC side within the last 5 s are the same, it is determined that TCP packet retransmission has occurred. If the UE detects the sequence number and content of the TCP packet currently received from the PC side, and the serial number and content of any TCP packet in the TCP packet received by the UE from the PC side within the last 5 s of the save, If the same, it is determined that TCP packet retransmission has not occurred.
本实例中,UE检测是否给网络侧发送了所述TCP数据包的方式可以包括:UE保存最近5s之内UE发送给网络侧的TCP数据包的序列号及内容, UE将重传的TCP数据包的序列号及内容与所保存的最近5s之内UE发送给网络侧的TCP数据包的序列号及内容进行对比,如果UE检测到重传的TCP数据包的序列号及内容与保存的最近5s之内UE发送给网络的TCP数据包的某一个或多个TCP数据包的序列号及内容相同,则认定为UE将重传的TCP数据包发给了网络。如果UE检测到重传的TCP数据包的序列号及内容与保存的最近5s之内UE发送给网络的TCP数据包中的任何一个TCP数据包的序列号及内容均不相同,则认定为UE未发给网络侧重传的TCP数据包。In this example, the manner in which the UE detects whether the TCP packet is sent to the network side may include: the UE saves the sequence number and content of the TCP packet sent by the UE to the network side within the last 5s, and the UE will retransmit the TCP data. The serial number and content of the packet are compared with the serial number and content of the TCP packet sent by the UE to the network side within the last 5s, if the UE detects the serial number and content of the retransmitted TCP packet and the saved recent If the sequence number and content of one or more TCP packets of the TCP packet sent by the UE to the network within 5 s are the same, it is determined that the UE transmits the retransmitted TCP packet to the network. If the UE detects that the sequence number and content of the retransmitted TCP packet are different from the sequence number and content of any TCP packet in the TCP packet sent by the UE to the network within the last 5s, it is determined as the UE. TCP packets that were not retransmitted to the network side.
本实例中,UE检测是否从网络侧接收到了所述TCP数据包的ACK数据包的方法可以包括:UE保存最近5s之内UE从网络侧收到的ACK数据包的序列号;UE将发生重传的TCP数据包的序列号与所保存的最近5s之内UE从网络侧收到的ACK数据包的序列号进行对比,如果UE检测到发生重传的TCP数据包的序列号与所保存的最近5s之内UE从网络侧收到的ACK数据包中的某一个或多个ACK数据包的序列号相同,则认定UE收到了重传TCP数据包的ACK数据包。如果UE检测到发生重传的TCP数据包的序列号与所保存的最近5s之内UE从网络侧收到的ACK数据包中的任何一个ACK数据包的序列号均不相同,则认定UE未收到该重传TCP数据包的ACK数据包。In this example, the method for the UE to detect whether the ACK packet of the TCP packet is received from the network side may include: the UE saves the sequence number of the ACK packet received by the UE from the network side within the last 5s; The sequence number of the transmitted TCP packet is compared with the sequence number of the ACK packet received by the UE from the network side within the last 5s, if the UE detects the sequence number of the retransmitted TCP packet and the saved If the sequence number of one or more ACK packets in the ACK packet received by the UE from the network side is the same within the last 5s, it is determined that the UE has received the ACK packet for retransmitting the TCP packet. If the UE detects that the sequence number of the retransmitted TCP packet is different from the sequence number of any one of the ACK packets received by the UE from the network side within the last 5s, the UE is determined not to be The ACK packet of the retransmitted TCP packet is received.
本实例中,检测UE是否将ACK数据包发送给PC的方式可以包括:UE保存最近5s之内UE发给PC的ACK数据包的序列号;UE将发生重传的TCP数据包的序列号与保存的最近5s之内UE发给PC的ACK数据包的序列号进行对比,如果UE检测到发生重传的TCP数据包的序列号与保存的最近5s之内UE发给PC的ACK数据包的序列号中的某一个或多个ACK数据包的序列号相同,则认定UE将重传TCP数据包的ACK数据包发送给了PC。如果UE检测到发生重传的TCP数据包的序列号与保存的最近5s之内UE发给PC的任何一个ACK数据包的序列号均不相同,则认定UE未将重传TCP数据包的ACK数据包发送给PC。In this example, the method for detecting whether the UE sends the ACK packet to the PC may include: the UE saves the sequence number of the ACK packet sent by the UE to the PC within the last 5s; and the sequence number of the TCP packet that the UE will retransmit Compare the sequence number of the ACK packet sent by the UE to the PC within the last 5s, if the UE detects the sequence number of the retransmitted TCP packet and the ACK packet sent by the UE to the PC within the last 5s of the save. If the sequence number of one or more ACK packets in the sequence number is the same, it is determined that the UE transmits the ACK packet for retransmitting the TCP packet to the PC. If the UE detects that the sequence number of the retransmitted TCP packet is different from the sequence number of any ACK packet sent by the UE to the PC within the last 5s, it is determined that the UE does not retransmit the ACK of the TCP packet. The packet is sent to the PC.
上述检测方式中UE保存最近5s之内的数据包,可以将所保存数据包的时长设定为其他值,比如UE保存最近10s之内的数据包、UE保存最近30s之内的数据包,一般所保存数据包的时长设定为不超过1分钟的值,以避免UE 处理数据的负荷太大而导致拥塞。In the above detection mode, the UE saves the data packet within the last 5s, and can set the duration of the saved data packet to other values, for example, the UE saves the data packet within the last 10s, and the UE saves the data packet within the last 30s, generally The duration of the saved data packet is set to a value of no more than 1 minute to avoid congestion caused by the UE handling data too much.
本实例中,检测UE是否接收到了来自eNB的空口数据的方法可以包括:In this example, the method for detecting whether the UE receives the air interface data from the eNB may include:
UE可以判断下行信道质量:eNB可以发送小区特定参考信号(cell specific reference signal)给UE,UE可以估计信道质量指示(CQI,Channel Quality Indicator)并上报给eNB,CQI不仅可以告诉eNB信道的质量,还可以包含推荐的编码调制方式。eNB可以根据下行信道的质量好坏,自适应地分配下行资源(针对UE选择不同的载波和时隙(slot))。下行链路中,演进的通用陆地无线接入网络(Evolved Universal Terrestrial Radio Access Network,E-UTRAN)可以在每个传输时间间隔(TTI,Transmission time interval)动态地给UE分配物理资源块(PRBs,Physical Resource Block)以及多点通信业务(MCS,Multipoint Communication Service)。eNB可以在下行信道传输数据,根据资源分配的结果在物理下行共享信道(PDSCH,Physical Downlink Shared Channel)上填充数据,并在物理下行控制信道(PDCCH,Physical Downlink Control Channel)上传输相应的小区无线网络临时标识(C-RNTI,Cell Radio Network Temporary Identifier)。The UE can determine the quality of the downlink channel: the eNB can send a cell-specific reference signal to the UE, and the UE can estimate the channel quality indicator (CQI) and report it to the eNB. The CQI can not only tell the eNB the quality of the channel. It can also include the recommended code modulation method. The eNB may adaptively allocate downlink resources (select different carriers and slots for the UE) according to the quality of the downlink channel. In the downlink, an Evolved Universal Terrestrial Radio Access Network (E-UTRAN) can dynamically allocate physical resource blocks (PRBs) to the UE at each Transmission Time Interval (TTI). Physical Resource Block) and Multipoint Communication Service (MCS). The eNB may transmit data on the downlink channel, fill the data on the physical downlink shared channel (PDSCH) according to the result of the resource allocation, and transmit the corresponding cell radio on the physical downlink control channel (PDCCH, Physical Downlink Control Channel). Network Radio Network Temporary Identifier (C-RNTI).
然后,UE可以判断RLC链路,RLC是LTE中的无线链路控制层协议,确认模式(AM,Acknowledge Mode):发送侧可以在高层数据上添加必要的控制协议开销后进行传送,并保证传递到对等实体。因为具有自动重传请求(ARQ,Automatic Repeat Request)能力,如果无线链路控制(RLC,Radio Link Control)接收到错误的RLC PDU,就可以通知发送方的RLC重传这个协议数据单元(PDU,Protocol Data Unit)。由于RLC PDU中包含有顺序号信息,可以支持数据向高层的顺序/乱序递交。AM模式是分组数据传输的标准模式。Then, the UE can determine the RLC link, and the RLC is a radio link control layer protocol in LTE. The acknowledge mode (AM, Acknowledge Mode): the transmitting side can add the necessary control protocol overhead to the high-level data, and then transmit the packet. To the peer entity. Because of the automatic repeat request (ARQ) capability, if the radio link control (RLC) receives the wrong RLC PDU, the sender's RLC can be notified to retransmit the protocol data unit (PDU, Protocol Data Unit). Since the RLC PDU contains sequence number information, it can support the order of data to the upper layer/out of order. The AM mode is a standard mode for packet data transmission.
UE可以检测RLC层是否有PDU,如果有PDU,则可以判定UE从eNB接收到了空口数据;如果没有PDU,则可以判定UE未从eNB接收到空口数据。The UE may detect whether the RLC layer has a PDU. If there is a PDU, it may determine that the UE receives the air interface data from the eNB; if there is no PDU, it may determine that the UE does not receive the air interface data from the eNB.
实例2Example 2
本实例的场景为:服务器向PC发送TCP数据后接收PC返回的ACK数据包的场景。在该场景下,数据通路正常的状况下交互过程如图5所示,可 以包括:The scenario in this example is a scenario in which the server receives the ACK packet returned by the PC after sending the TCP data to the PC. In this scenario, the interaction process under normal conditions of the data path is as shown in FIG. 5, and may include:
S501,UE从网络侧接收TCP数据包;S501. The UE receives a TCP packet from a network side.
S502,UE向PC发送TCP数据包;S502. The UE sends a TCP packet to the PC.
S503,UE接收来自PC的ACK数据包;S503. The UE receives an ACK packet from a PC.
S504,UE向网络侧发送ACK数据包。S504. The UE sends an ACK packet to the network side.
在该场景下,数据通路正常的状况下UE与eNB之间的交互过程如图5所示,其过程可以与实例1相同,不再赘述。In this scenario, the interaction process between the UE and the eNB in the normal state of the data path is as shown in FIG. 5, and the process may be the same as that in the example 1, and details are not described herein.
如图6所示,本实例中,提升数据通路可靠性的流程可以包括:As shown in FIG. 6, in this example, the process of improving data path reliability may include:
步骤601,检测UE是否接收到服务器重传的TCP数据包,如果UE接收到服务器重传的TCP数据包,则继续步骤602;如果UE没有接收到服务器重传的TCP数据包,则跳转至步骤606; Step 601, detecting whether the UE receives the TCP data packet retransmitted by the server. If the UE receives the TCP data packet retransmitted by the server, proceeding to step 602; if the UE does not receive the TCP data packet retransmitted by the server, Step 606;
步骤602,检测UE是否将服务器重传的TCP数据包发给了PC,如果UE将服务器重传的TCP数据包发给了PC,则继续步骤603;如果UE没有将服务器重传的TCP数据包发给PC,则跳转至步骤606;Step 602: Detect whether the UE sends the TCP data packet retransmitted by the server to the PC. If the UE sends the TCP data packet retransmitted by the server to the PC, proceed to step 603; if the UE does not retransmit the TCP data packet of the server Send to the PC, then go to step 606;
步骤603,检测UE是否接收到来自PC的ACK数据包;如果UE接收到来自PC的ACK数据包,则继续步骤604,如果UE没有接收到来自PC的ACK数据包,则跳转至步骤606; Step 603, detecting whether the UE receives the ACK data packet from the PC; if the UE receives the ACK data packet from the PC, proceeding to step 604, if the UE does not receive the ACK data packet from the PC, then the process proceeds to step 606;
步骤604,检测UE是否向eNB发送了空口数据;如果UE向eNB发送了空口数据,则继续步骤605,如果UE没有向eNB发送空口数据,则跳转至步骤606; Step 604, detecting whether the UE sends the air interface data to the eNB; if the UE sends the air interface data to the eNB, proceed to step 605, if the UE does not send the air interface data to the eNB, then go to step 606;
步骤605,判断为非终端原因导致的数据通路异常,不做处理。In step 605, it is determined that the data path is abnormal due to the non-terminal cause, and no processing is performed.
步骤606,判断为终端原因导致的数据通路异常,执行恢复网络的动作,尝试进行恢复。In step 606, it is determined that the data path is abnormal due to the terminal cause, and the action of restoring the network is performed, and the recovery is attempted.
本实例中,结合UE对各种TCP数据包的检测情况以及UE对LTE空口数据传输的检测情况综合判断是否为终端原因导致的数据通路异常,在终端原因导致数据通路异常时在终端侧执行恢复网络的动作。In this example, in combination with the detection of various TCP data packets by the UE and the detection of the LTE air interface data transmission, the UE comprehensively determines whether the data path is abnormal due to the terminal cause, and performs recovery on the terminal side when the terminal causes the data path abnormal. The action of the network.
通过图6所示流程可知,本实例大致可以涉及以下几种情况:As can be seen from the flow shown in FIG. 6, the present example can roughly refer to the following situations:
检测UE接收到了服务器重传的TCP数据包,UE未发给PC所述重传的TCP数据包,则判断为终端原因导致数据通路异常。It is detected that the UE receives the TCP packet retransmitted by the server, and the UE does not send the retransmitted TCP packet to the PC, and determines that the terminal causes the data path to be abnormal.
检测UE接收到了服务器重传的TCP数据包,UE向PC发送了所述服务器重传的TCP数据包,UE接收到了来自PC侧的ACK数据包,UE没有发给eNB空口数据,则判断为终端原因导致数据通路异常。The UE receives the TCP data packet retransmitted by the server, and the UE sends the TCP data packet retransmitted by the server to the PC. The UE receives the ACK data packet from the PC side, and the UE does not send the air interface data to the eNB, and determines that the terminal is the terminal. The cause is an abnormal data path.
检测UE接收到了服务器重传的TCP数据包,UE向PC发送了所述服务器重传的TCP数据包,UE没有收到来自PC侧的ACK数据包,则判断为终端原因导致数据通路异常。The UE detects that the UE has received the TCP packet retransmitted by the server, and the UE sends the TCP packet retransmitted by the server to the PC. If the UE does not receive the ACK packet from the PC side, it determines that the terminal causes the data path to be abnormal.
本实例中,检测的方式可以与实例1相似,只是方向正好相反,这里不再赘述。In this example, the manner of detection may be similar to that of the example 1, except that the direction is exactly the opposite, and details are not described herein again.
本实例中,检测UE是否向eNB发送了空口数据的方法可以包括如下:In this example, the method for detecting whether the UE sends the air interface data to the eNB may include the following:
UE可以向eNB请求上行资源:物理信道(Physical channel),PUCCH(Physical Uplink Control Channel)Message(物理上行链路控制信道信息),SR(schedule request)(时间表请求)。SR发送的周期以及在子帧中的位置可以由上层的配置决定。UE可以告诉eNB自己要传输的数据量,同时SR中UE可以告诉eNB自己的identity(C-RNTI)。eNB可以对SR的发送者的识别是通过UE和eNB事先约定好的伪随机序列来实现的。当UE有发送数据的需求时,就可以把相应的SR置1,没有资源请求时SR为空。SR可以只负责告诉eNB是否有资源需求,而特定需要多少资源则由上层的信令交互告诉eNB。The UE may request an uplink resource from the eNB: a physical channel, a PUCCH (Physical Uplink Control Channel) Message, and an SR (schedule request). The period of SR transmission and the position in the subframe can be determined by the configuration of the upper layer. The UE can tell the eNB the amount of data it wants to transmit, and the UE in the SR can tell the eNB its own identity (C-RNTI). The eNB can identify the sender of the SR by a pseudo-random sequence agreed upon by the UE and the eNB in advance. When the UE has a need to send data, the corresponding SR can be set to 1, and the SR is empty when there is no resource request. The SR may only be responsible for telling the eNB whether there is a resource requirement, and the specific required number of resources is notified to the eNB by the upper layer signaling interaction.
eNB给UE分配上行资源之前首先可以获取UE上行信道的质量,如果UE的上行信道质量较好且有传输数据的需求,eNB才可以给UE分配资源。eNB根据从UE接收到的声音参照信号(sounding reference signal)和自己已知的信号的对比就可以知道当前上行信道的质量了。Before the eNB allocates uplink resources to the UE, the eNB can first obtain the quality of the uplink channel of the UE. If the uplink channel quality of the UE is good and there is a demand for transmitting data, the eNB can allocate resources to the UE. The eNB can know the quality of the current uplink channel based on the comparison between the sounding reference signal received from the UE and the signal known to itself.
eNB可以分配资源并通知UE:分配完资源后eNB还可以把分配的结果告诉UE,即UE可以在哪个时间哪个载波上传输数据,以及采用的调制编码方案。E-UTRAN可以在每个TTI动态地给UE分配资源(PRBs&MCS),并在PDCCH上传输相应的C-RNTI,这里,MCS为调制与编码策略(Modulation and Coding Scheme)的缩写。The eNB may allocate resources and notify the UE that after allocating the resources, the eNB may also inform the UE of the result of the allocation, ie, at which time and on which carrier the UE can transmit data, and the modulation coding scheme employed. The E-UTRAN may dynamically allocate resources (PRBs & MCS) to the UE at each TTI and transmit a corresponding C-RNTI on the PDCCH, where the MCS is an abbreviation of Modulation and Coding Scheme.
UE可以接收资源分配结果的通知并传输数据:UE首先可以接收eNB下发的资源分配通知,监视PDCCH以查找可能的上行传输资源分配,从通用搜索空间(common search space)中获取公共信息,从UE特定搜索空间(UE specific search space)中搜索关于自己的调度信息。根据搜索到的结果后就可以在PUSCH对应的PRB上传输数据信息。The UE may receive the notification of the resource allocation result and transmit the data: the UE may first receive the resource allocation notification sent by the eNB, monitor the PDCCH to search for possible uplink transmission resource allocation, and obtain public information from the common search space. The UE specific search space searches for scheduling information about itself. According to the searched result, the data information can be transmitted on the PRB corresponding to the PUSCH.
综上,UE通过与eNB的交互,在调度信息中分配给自己的物理资源块(PRB,Physical Resource Block)上进行了数据发送,将数据发送到eNB以后则可以判定UE的空口数据已经发送给了eNB。In summary, the UE performs data transmission on the physical resource block (PRB) allocated to itself in the scheduling information by interacting with the eNB, and after transmitting the data to the eNB, it can determine that the air interface data of the UE has been sent to The eNB.
第二实施例Second embodiment
本实施例提供一种提升数据通路可靠性的装置,如图7所示,可以包括:The device provides a device for improving the reliability of the data path. As shown in FIG. 7, the method may include:
确定模块72,设置为:根据TCP数据包的传输情况以及LTE协议层的传输情况,确定数据通路异常的原因;The determining module 72 is configured to: determine the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer;
执行模块73,设置为:在所述数据通路异常的原因为终端原因导致数据通路异常时,执行恢复网络的动作。The execution module 73 is configured to perform an operation of restoring the network when the cause of the abnormality of the data path is that the terminal causes the data path to be abnormal.
可选地,所述提升数据通路可靠性的装置还可以包括:检测模块71,设置为:检测传输控制协议TCP数据包的传输情况以及长期演进LTE协议层的传输情况。Optionally, the device for improving the reliability of the data path may further include: a detecting module 71 configured to: detect a transmission condition of a transmission control protocol TCP data packet and a transmission condition of a long-term evolution LTE protocol layer.
可选地,所述检测模块71是设置为执行如下之一或其任意组合:Optionally, the detecting module 71 is configured to perform one of the following or any combination thereof:
检测是否向网络侧发送了TCP数据包;Detect whether a TCP packet is sent to the network side;
检测是否接收到来自网络侧的ACK数据包;Detecting whether an ACK packet from the network side is received;
检测是否向eNB发送了空口数据;Detecting whether air interface data is sent to the eNB;
检测是否接收到来自eNB的空口数据;Detecting whether air interface data from the eNB is received;
检测是否将来自网络侧的ACK数据包发送给PC;Detecting whether an ACK packet from the network side is sent to the PC;
检测是否接收到服务器重传的TCP数据包;Detect whether a TCP packet retransmitted by the server is received;
检测是否将服务器重传的TCP数据包发送给PC;Detect whether the TCP packet retransmitted by the server is sent to the PC;
检测是否接收到来自PC的ACK数据包。It is detected whether an ACK packet from the PC is received.
可选地,所述确定模块72是设置为至少执行如下之一:Optionally, the determining module 72 is configured to perform at least one of the following:
在发生TCP数据重传时,当向网络侧发送了TCP数据包但未接收到来自网络侧的ACK数据包,并且未能成功向eNB发送空口数据时,确定为终端原因导致数据通路异常;When the TCP data retransmission occurs, when the TCP packet is sent to the network side but the ACK packet from the network side is not received, and the air interface data is not successfully sent to the eNB, it is determined that the terminal path causes the data path to be abnormal;
在发生TCP数据重传时,当向网络侧发送了TCP数据包但未接收到来自网络侧的ACK数据包,成功向eNB发送了空口数据但未接收到来自eNB的空口数据时,确定为终端原因导致数据通路异常;When a TCP data retransmission occurs, when a TCP packet is transmitted to the network side but an ACK packet from the network side is not received, and the air interface data is successfully transmitted to the eNB but the air interface data from the eNB is not received, the terminal is determined as the terminal. The cause of the data path is abnormal;
在发生TCP数据重传时,当向网络侧发送了TCP数据包且接收到了来自网络侧的ACK数据包,成功接收到了来自eNB的空口数据但未能成功将来自网络侧的ACK数据包发送给PC时,确定为终端原因导致数据通路异常;When TCP data retransmission occurs, when a TCP packet is sent to the network side and an ACK packet from the network side is received, the air interface data from the eNB is successfully received but the ACK packet from the network side is not successfully sent to When the PC is determined, the terminal causes the data path to be abnormal;
在发生TCP数据重传时,当未能成功向网络侧发送TCP数据包时,确定为终端原因导致数据通路异常。When TCP data retransmission occurs, when the TCP packet is not successfully sent to the network side, it is determined that the terminal path causes the data path to be abnormal.
可选地,所述确定模块72是设置为:在发生TCP数据重传时,当向网络侧发送了TCP数据包但未接收到来自网络侧的ACK数据包,成功向eNB发送了空口数据且接收到了来自eNB的空口数据时,确定为网络原因导致数据通路异常。Optionally, the determining module 72 is configured to: when the TCP data retransmission occurs, when the TCP data packet is sent to the network side but the ACK data packet from the network side is not received, the air interface data is successfully sent to the eNB. When the air interface data from the eNB is received, it is determined that the network path causes the data path to be abnormal.
可选地,所述确定模块72是设置为至少执行如下之一:Optionally, the determining module 72 is configured to perform at least one of the following:
当接收到了服务器重传的TCP数据包,但未能将所述TCP数据包成功发送给PC时,确定为终端原因导致数据通路异常;When the TCP packet retransmitted by the server is received, but the TCP packet is not successfully sent to the PC, it is determined that the terminal causes the data path to be abnormal;
当接收到了服务器重传的TCP数据包,将所述TCP数据包成功发送给PC且接收到了来自PC的ACK数据包,但未能成功向eNB发送空口数据时,确定为终端原因导致数据通路异常;After receiving the TCP packet retransmitted by the server, successfully transmitting the TCP packet to the PC and receiving the ACK packet from the PC, but failing to successfully send the air interface data to the eNB, determining that the terminal path causes the data path to be abnormal. ;
当接收到了服务器重传的TCP数据包,将所述TCP数据包成功发送给PC但未接收到来自PC的ACK数据包时,确定为终端原因导致数据通路异常。When the TCP packet retransmitted by the server is received, and the TCP packet is successfully sent to the PC but the ACK packet from the PC is not received, it is determined that the terminal causes the data path to be abnormal.
本实施例中提升数据通路可靠性的装置可以实现第一实施例所述方法的所有细节,可参照相应方法的相关说明。实际应用中,本实施例中的提升数据通路可靠性的装置可以通过设置于车联网设备(如UE)上来实现上述功能以及第一实施例的方法,或者本实施例中的提升数据通路可靠性的装置可 以直接通过车联网设备(如UE)实现。The device for improving the reliability of the data path in this embodiment can implement all the details of the method described in the first embodiment, and can refer to the related description of the corresponding method. In an actual application, the device for improving the reliability of the data path in the embodiment may implement the foregoing functions and the method of the first embodiment, or the reliability of the data path in the embodiment, by being disposed on a vehicle networking device (such as a UE). The device can be implemented directly through a vehicle networking device such as a UE.
实际应用中,检测模块71、确定模块72、执行模块73分别可以通过软件、硬件或两者结合的方式实现。例如,检测模块71、确定模块72、执行模块73可以通过车联网设备(如UE)的处理器通过执行相应程序来实现。对此本文不作限制。In an actual application, the detecting module 71, the determining module 72, and the executing module 73 can be implemented by software, hardware, or a combination of the two. For example, the detection module 71, the determination module 72, and the execution module 73 can be implemented by executing a corresponding program by a processor of a vehicle networking device such as a UE. There are no restrictions on this article.
第三实施例Third embodiment
本实施例提供一种提升数据通路可靠性的装置,至少可以包括:This embodiment provides an apparatus for improving reliability of a data path, which may include at least:
存储有提升数据通路可靠性程序的存储器;A memory storing a program for improving the reliability of the data path;
处理器,配置为执行所述提升数据通路可靠性程序以执行下述操作:检测传输控制协议TCP数据包的传输情况以及长期演进LTE协议层的传输情况;根据TCP数据包的传输情况以及LTE协议层的传输情况,确定数据通路异常的原因;在所述数据通路异常的原因为终端原因导致数据通路异常时,执行恢复网络的动作。a processor configured to perform the enhanced data path reliability procedure to perform: detecting a transmission control protocol TCP packet transmission condition and a long-term evolution LTE protocol layer transmission condition; according to a TCP packet transmission condition and an LTE protocol The transmission condition of the layer determines the cause of the abnormality of the data path; when the cause of the abnormality of the data path is that the terminal path causes the data path to be abnormal, the action of restoring the network is performed.
本实施例中提升数据通路可靠性的装置可以实现第一实施例所述方法的所有细节,可参照相应方法的相关说明。实际应用中,本实施例中的提升数据通路可靠性的装置可以通过设置于车联网设备(如UE)上来实现上述功能以及第一实施例的方法,或者本实施例中的提升数据通路可靠性的装置可以直接通过车联网设备(如UE)实现。The device for improving the reliability of the data path in this embodiment can implement all the details of the method described in the first embodiment, and can refer to the related description of the corresponding method. In an actual application, the device for improving the reliability of the data path in the embodiment may implement the foregoing functions and the method of the first embodiment, or the reliability of the data path in the embodiment, by being disposed on a vehicle networking device (such as a UE). The device can be implemented directly through a vehicle networking device such as a UE.
此外,本公开实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述提升数据通路可靠性的方法。Moreover, embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions that, when executed, implement the above method of improving data path reliability.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行上述实施例的方法步骤。Optionally, in this embodiment, the processor performs the method steps of the foregoing embodiments according to the stored program code in the storage medium.
可选地,本实施例中的可选示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For an alternative example in this embodiment, reference may be made to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的每个模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本公开不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, being executed by a processor and stored in a memory. Programs/instructions to implement their respective functions. The present disclosure is not limited to any specific form of combination of hardware and software.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于随机存取存储器(RAM,Random Access Memory)、只读存储器(ROM,Read-Only Memory)、电可擦除只读存储器(EEPROM,Electrically Erasable Programmable Read-only Memory)、闪存或其他存储器技术、光盘只读存储器(CD-ROM,Compact Disc Read-Only Memory)、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and functional blocks/units of the methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical The components work together. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer readable medium, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media. Computer storage media include, but are not limited to, Random Access Memory (RAM), Read-Only Memory (ROM), and Electrically Erasable Programmable Read-only Memory (EEPROM). Flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical disc storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or Any other medium used to store the desired information and that can be accessed by the computer. Moreover, it is well known to those skilled in the art that communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .
本领域的普通技术人员可以理解,可以对本公开的技术方案进行修改或 者等同替换,而不脱离本公开技术方案的精神和范围,均应涵盖在本公开的权利要求范围当中。A person skilled in the art can understand that the technical solutions of the present disclosure may be modified or equivalent, and the scope of the claims of the present disclosure should be included in the scope of the claims.
工业实用性Industrial applicability
本公开实施例中,结合UE侧的TCP层数据包传输情况及LTE协议栈中网络侧数据包的传输情况进行综合判断,从而准确判断UE当前的数据通路状况,在判断为终端原因导致的数据通路异常时,在UE侧执行恢复操作,从而能够准确判断数据通路障碍的原因以及避免因终端导致数据通路障碍时无法及时进行恢复以至于影响数据业务正常进行的情形。In the embodiment of the present disclosure, the TCP layer data packet transmission situation on the UE side and the network side data packet transmission situation in the LTE protocol stack are comprehensively determined, so as to accurately determine the current data path status of the UE, and determine the data caused by the terminal cause. When the path is abnormal, the recovery operation is performed on the UE side, so that the cause of the data path obstacle can be accurately determined and the situation that the data service cannot be recovered in time due to the failure of the data path is prevented from affecting the normal operation of the data service.

Claims (15)

  1. 一种提升数据通路可靠性的方法,包括:A method of improving the reliability of a data path, including:
    根据传输控制协议TCP数据包的传输情况以及长期演进LTE协议层的传输情况,确定数据通路异常的原因;Determining the cause of the abnormality of the data path according to the transmission condition of the TCP packet of the transmission control protocol and the transmission condition of the long-term evolution LTE protocol layer;
    在所述数据通路异常的原因为终端原因导致数据通路异常时,执行恢复网络的动作。When the cause of the abnormality of the data path is that the terminal causes the data path to be abnormal, the action of restoring the network is performed.
  2. 根据权利要求1所述的方法,所述根据TCP数据包的传输情况以及LTE协议层的传输情况,确定数据通路异常的原因之前,还包括:The method according to claim 1, wherein before determining the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer, the method further includes:
    检测TCP数据包的传输情况以及LTE协议层的传输情况。Detect the transmission of TCP packets and the transmission of the LTE protocol layer.
  3. 根据权利要求2所述的方法,其中,所述检测TCP数据包的传输情况以及LTE协议层的传输情况,包括如下之一或其任意组合:The method according to claim 2, wherein said detecting a transmission condition of a TCP data packet and a transmission condition of an LTE protocol layer include one or any combination of the following:
    检测是否向网络侧发送了TCP数据包;Detect whether a TCP packet is sent to the network side;
    检测是否接收到来自网络侧的确认字符ACK数据包;Detecting whether an acknowledgment character ACK packet from the network side is received;
    检测是否向基站eNB发送了空口数据;Detecting whether air interface data is sent to the base station eNB;
    检测是否接收到来自eNB的空口数据;Detecting whether air interface data from the eNB is received;
    检测是否将来自网络侧的ACK数据包发送给个人计算机PC;Detecting whether an ACK packet from the network side is sent to the personal computer PC;
    检测是否接收到服务器重传的TCP数据包;Detect whether a TCP packet retransmitted by the server is received;
    检测是否将服务器重传的TCP数据包发送给PC;Detect whether the TCP packet retransmitted by the server is sent to the PC;
    检测是否接收到来自PC的ACK数据包。It is detected whether an ACK packet from the PC is received.
  4. 根据权利要求1所述的方法,其中,所述根据TCP数据包的传输情况以及LTE协议层的传输情况,确定数据通路异常的原因,包括如下之一:The method according to claim 1, wherein the determining the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer includes one of the following:
    在发生TCP数据重传时,当向网络侧发送了TCP数据包但未接收到来自网络侧的ACK数据包,并且未能成功向eNB发送空口数据时,确定为终端原因导致数据通路异常;When the TCP data retransmission occurs, when the TCP packet is sent to the network side but the ACK packet from the network side is not received, and the air interface data is not successfully sent to the eNB, it is determined that the terminal path causes the data path to be abnormal;
    在发生TCP数据重传时,当向网络侧发送了TCP数据包但未接收到来自网络侧的ACK数据包,成功向eNB发送了空口数据但未接收到来自eNB的空口数据时,确定为终端原因导致数据通路异常;When a TCP data retransmission occurs, when a TCP packet is transmitted to the network side but an ACK packet from the network side is not received, and the air interface data is successfully transmitted to the eNB but the air interface data from the eNB is not received, the terminal is determined as the terminal. The cause of the data path is abnormal;
    在发生TCP数据重传时,当向网络侧发送了TCP数据包且接收到了来自网络侧的ACK数据包,成功接收到了来自eNB的空口数据但未能成功将来自网络侧的ACK数据包发送给PC时,确定为终端原因导致数据通路异常;When TCP data retransmission occurs, when a TCP packet is sent to the network side and an ACK packet from the network side is received, the air interface data from the eNB is successfully received but the ACK packet from the network side is not successfully sent to When the PC is determined, the terminal causes the data path to be abnormal;
    在发生TCP数据重传时,当未能成功向网络侧发送TCP数据包时,确定为终端原因导致数据通路异常。When TCP data retransmission occurs, when the TCP packet is not successfully sent to the network side, it is determined that the terminal path causes the data path to be abnormal.
  5. 根据权利要求1所述的方法,其中,所述根据TCP数据包的传输情况以及LTE协议层的传输情况,确定数据通路异常的原因,包括:The method according to claim 1, wherein the determining the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer includes:
    在发生TCP数据重传时,当向网络侧发送了TCP数据包但未接收到来自网络侧的ACK数据包,成功向eNB发送了空口数据且接收到了来自eNB的空口数据时,确定为网络原因导致数据通路异常。When a TCP data retransmission occurs, when a TCP packet is sent to the network side but an ACK packet from the network side is not received, the air interface data is successfully transmitted to the eNB, and the air interface data from the eNB is received, the network cause is determined. Causes an abnormal data path.
  6. 根据权利要求1或5所述的方法,所述确定数据通路异常的原因之后,还包括:在所述数据通路异常的原因为网络原因导致数据通路异常时,不执行恢复网络的动作。The method according to claim 1 or 5, after the determining the cause of the abnormality of the data path, further comprising: performing an action of restoring the network when the cause of the abnormality of the data path is that the network path is abnormal due to the network cause.
  7. 根据权利要求1所述的方法,其中,所述根据TCP数据包的传输情况以及LTE协议层的传输情况,确定数据通路异常的原因,包括如下之一:The method according to claim 1, wherein the determining the cause of the abnormality of the data path according to the transmission condition of the TCP data packet and the transmission condition of the LTE protocol layer includes one of the following:
    当接收到了服务器重传的TCP数据包,但未能将所述TCP数据包成功发送给PC时,确定为终端原因导致数据通路异常;When the TCP packet retransmitted by the server is received, but the TCP packet is not successfully sent to the PC, it is determined that the terminal causes the data path to be abnormal;
    当接收到了服务器重传的TCP数据包,将所述TCP数据包成功发送给PC且接收到了来自PC的ACK数据包,但未能成功向eNB发送空口数据时,确定为终端原因导致数据通路异常;After receiving the TCP packet retransmitted by the server, successfully transmitting the TCP packet to the PC and receiving the ACK packet from the PC, but failing to successfully send the air interface data to the eNB, determining that the terminal path causes the data path to be abnormal. ;
    当接收到了服务器重传的TCP数据包,将所述TCP数据包成功发送给PC但未接收到来自PC的ACK数据包时,确定为终端原因导致数据通路异常。When the TCP packet retransmitted by the server is received, and the TCP packet is successfully sent to the PC but the ACK packet from the PC is not received, it is determined that the terminal causes the data path to be abnormal.
  8. 一种提升数据通路可靠性的装置,包括:A device for improving the reliability of a data path, comprising:
    确定模块,设置为:根据传输控制协议TCP数据包的传输情况以及长期演进LTE协议层的传输情况,确定数据通路异常的原因;The determining module is configured to: determine the cause of the abnormality of the data path according to the transmission condition of the TCP packet of the transmission control protocol and the transmission condition of the long-term evolution LTE protocol layer;
    执行模块,设置为:在所述数据通路异常的原因为终端原因导致数据通路异常时,执行恢复网络的动作。The execution module is configured to perform an action of restoring the network when the cause of the abnormality of the data path is that the data path is abnormal due to the terminal cause.
  9. 根据权利要求8所述的装置,还包括:检测模块,设置为:检测传输控制协议TCP数据包的传输情况以及LTE协议层的传输情况。The apparatus according to claim 8, further comprising: a detecting module configured to: detect a transmission condition of the transmission control protocol TCP data packet and a transmission condition of the LTE protocol layer.
  10. 根据权利要求9所述的装置,其中,所述检测模块是设置为执行如下之一或其任意组合:The apparatus of claim 9, wherein the detection module is configured to perform one of: or any combination thereof:
    检测是否向网络侧发送了TCP数据包;Detect whether a TCP packet is sent to the network side;
    检测是否接收到来自网络侧的确认字符ACK数据包;Detecting whether an acknowledgment character ACK packet from the network side is received;
    检测是否向基站eNB发送了空口数据;Detecting whether air interface data is sent to the base station eNB;
    检测是否接收到来自eNB的空口数据;Detecting whether air interface data from the eNB is received;
    检测是否将来自网络侧的ACK数据包发送给个人计算机PC;Detecting whether an ACK packet from the network side is sent to the personal computer PC;
    检测是否接收到服务器重传的TCP数据包;Detect whether a TCP packet retransmitted by the server is received;
    检测是否将服务器重传的TCP数据包发送给PC;Detect whether the TCP packet retransmitted by the server is sent to the PC;
    检测是否接收到来自PC的ACK数据包。It is detected whether an ACK packet from the PC is received.
  11. 根据权利要求8所述的装置,其中,所述确定模块是设置为执行如下之一:The apparatus of claim 8 wherein said determining module is configured to perform one of the following:
    在发生TCP数据重传时,当向网络侧发送了TCP数据包但未接收到来自网络侧的ACK数据包,并且未能成功向eNB发送空口数据时,确定为终端原因导致数据通路异常;When the TCP data retransmission occurs, when the TCP packet is sent to the network side but the ACK packet from the network side is not received, and the air interface data is not successfully sent to the eNB, it is determined that the terminal path causes the data path to be abnormal;
    在发生TCP数据重传时,当向网络侧发送了TCP数据包但未接收到来自网络侧的ACK数据包,成功向eNB发送了空口数据但未接收到来自eNB的空口数据时,确定为终端原因导致数据通路异常;When a TCP data retransmission occurs, when a TCP packet is transmitted to the network side but an ACK packet from the network side is not received, and the air interface data is successfully transmitted to the eNB but the air interface data from the eNB is not received, the terminal is determined as the terminal. The cause of the data path is abnormal;
    在发生TCP数据重传时,当向网络侧发送了TCP数据包且接收到了来自网络侧的ACK数据包,成功接收到了来自eNB的空口数据但未能成功将来自网络侧的ACK数据包发送给PC时,确定为终端原因导致数据通路异常;When TCP data retransmission occurs, when a TCP packet is sent to the network side and an ACK packet from the network side is received, the air interface data from the eNB is successfully received but the ACK packet from the network side is not successfully sent to When the PC is determined, the terminal causes the data path to be abnormal;
    在发生TCP数据重传时,当未能成功向网络侧发送TCP数据包时,确定为终端原因导致数据通路异常。When TCP data retransmission occurs, when the TCP packet is not successfully sent to the network side, it is determined that the terminal path causes the data path to be abnormal.
  12. 根据权利要求8所述的装置,其中,所述确定模块是设置为:在发生TCP数据重传时,当向网络侧发送了TCP数据包但未接收到来自网络侧 的ACK数据包,成功向eNB发送了空口数据且接收到了来自eNB的空口数据时,确定为网络原因导致数据通路异常。The apparatus according to claim 8, wherein said determining module is configured to: when a TCP data retransmission occurs, when a TCP packet is transmitted to the network side but an ACK packet from the network side is not received, the determining is successful When the eNB sends the air interface data and receives the air interface data from the eNB, it is determined that the network path causes the data path to be abnormal.
  13. 根据权利要求8所述的装置,其中,所述确定模块是设置为执行如下之一:The apparatus of claim 8 wherein said determining module is configured to perform one of the following:
    当接收到了服务器重传的TCP数据包,但未能将所述TCP数据包成功发送给PC时,确定为终端原因导致数据通路异常;When the TCP packet retransmitted by the server is received, but the TCP packet is not successfully sent to the PC, it is determined that the terminal causes the data path to be abnormal;
    当接收到了服务器重传的TCP数据包,将所述TCP数据包成功发送给PC且接收到了来自PC的ACK数据包,但未能成功向eNB发送空口数据时,确定为终端原因导致数据通路异常;After receiving the TCP packet retransmitted by the server, successfully transmitting the TCP packet to the PC and receiving the ACK packet from the PC, but failing to successfully send the air interface data to the eNB, determining that the terminal path causes the data path to be abnormal. ;
    当接收到了服务器重传的TCP数据包,将所述TCP数据包成功发送给PC但未接收到来自PC的ACK数据包时,确定为终端原因导致数据通路异常。When the TCP packet retransmitted by the server is received, and the TCP packet is successfully sent to the PC but the ACK packet from the PC is not received, it is determined that the terminal causes the data path to be abnormal.
  14. 一种提升数据通路可靠性的装置,包括:A device for improving the reliability of a data path, comprising:
    存储有提升数据通路可靠性程序的存储器;A memory storing a program for improving the reliability of the data path;
    处理器,配置为执行所述提升数据通路可靠性程序以执行下述操作:根据传输控制协议TCP数据包的传输情况以及长期演进LTE协议层的传输情况,确定数据通路异常的原因;在所述数据通路异常的原因为终端原因导致数据通路异常时,执行恢复网络的动作。a processor configured to perform the enhanced data path reliability procedure to perform an operation of determining a cause of a data path abnormality according to a transmission control protocol TCP packet transmission condition and a long term evolution LTE protocol layer transmission condition; When the data path is abnormal, the operation of restoring the network is performed when the data path is abnormal due to the terminal cause.
  15. 一种计算机可读存储介质,所述计算机可读存储介质上存储有提升数据通路可靠性程序,所述提升数据通路可靠性程序被处理器执行时实现如权利要求1至7中任一项所述提升数据通路可靠性方法的步骤。A computer readable storage medium having stored thereon an elevated data path reliability program, the enhanced data path reliability program being executed by a processor to implement any one of claims 1 to 7 The steps of the method of improving the reliability of the data path.
PCT/CN2018/084349 2017-04-28 2018-04-25 Method and device for improving data path reliability WO2018196767A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710294200.6 2017-04-28
CN201710294200.6A CN108810939B (en) 2017-04-28 2017-04-28 Method and device for improving reliability of data path

Publications (1)

Publication Number Publication Date
WO2018196767A1 true WO2018196767A1 (en) 2018-11-01

Family

ID=63918841

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/084349 WO2018196767A1 (en) 2017-04-28 2018-04-25 Method and device for improving data path reliability

Country Status (2)

Country Link
CN (1) CN108810939B (en)
WO (1) WO2018196767A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022061698A1 (en) * 2020-09-25 2022-03-31 Qualcomm Incorporated Recover from downlink data transfer failure

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863065A (en) * 2005-05-10 2006-11-15 华为技术有限公司 Method for positioning fault of asynchronous transmission mode carrying IP data channel
CN101437029A (en) * 2008-12-23 2009-05-20 华为技术有限公司 Data transmission method, local maintenance terminal, proxy equipment and system
CN102833783A (en) * 2012-07-02 2012-12-19 北京邮电大学 Method for optimizing terminal control protocol (TCP) under wireless environment
CN103648058A (en) * 2013-10-28 2014-03-19 南京邮电大学 3G media stream cross-layer rate control method based on channel measurement
EP2899929A1 (en) * 2014-01-28 2015-07-29 Samsung Electronics Co., Ltd Method and apparatus for traffic distribution control using Multi-Path Transport Control Protocol in wireless heterogeneous networks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863065A (en) * 2005-05-10 2006-11-15 华为技术有限公司 Method for positioning fault of asynchronous transmission mode carrying IP data channel
CN101437029A (en) * 2008-12-23 2009-05-20 华为技术有限公司 Data transmission method, local maintenance terminal, proxy equipment and system
CN102833783A (en) * 2012-07-02 2012-12-19 北京邮电大学 Method for optimizing terminal control protocol (TCP) under wireless environment
CN103648058A (en) * 2013-10-28 2014-03-19 南京邮电大学 3G media stream cross-layer rate control method based on channel measurement
EP2899929A1 (en) * 2014-01-28 2015-07-29 Samsung Electronics Co., Ltd Method and apparatus for traffic distribution control using Multi-Path Transport Control Protocol in wireless heterogeneous networks

Also Published As

Publication number Publication date
CN108810939B (en) 2021-04-30
CN108810939A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
WO2017024860A1 (en) Acknowledgement information transmission method, apparatus, base station, and terminal
TWI471024B (en) Method and apparatur of exchanging data between a base station and a mobile station
US20170196038A1 (en) Method, terminal, and system for realizing device to device communication
KR101532789B1 (en) Harq operation method for retransmitted data
KR101721015B1 (en) Blind scheduiling apparatus in a mobile communication system and method thereof
TWI395426B (en) Utilizing harq for uplink grants received in wireless communications
JP2018512772A (en) Fast radio link control error recovery with low latency transmission
CN108322936B (en) Data retransmission method and device
WO2017215749A1 (en) Reallocation of control channel resources for retransmission of data in wireless networks based on communications mode
US11246185B2 (en) Radio terminal and base station
JP2022533337A (en) Method, terminal device and network node for uplink transmission
CN108292973B (en) Indicator of handover-based reception success
JP6471624B2 (en) Wireless communication device
US20180310285A1 (en) Method of error recovery in transmitting and receiving voice service in packet based mobile communication systems
WO2018196767A1 (en) Method and device for improving data path reliability
KR101313517B1 (en) Packet data network communications device and method
US20220225351A1 (en) Method of wireless communication system for enhancing quality of service
US11617165B2 (en) Methods and systems for recovering dangling data in a NR leg of a split bearer
JP2011082616A (en) Radio link failure detecting method, mobile station device, base station device, and control program
WO2022082748A1 (en) Hybrid automatic repeat request method, semi-persistent scheduling method, and communication apparatus
JP2015039215A (en) Communication system, mobile station device, wireless link state management method, and integrated circuit
CN116015565A (en) Data retransmission method, device, equipment and storage medium
KR101374522B1 (en) A Method of Error Recovery for Voice Service Transmission and Reception in Packet Mobile Communication Systems
JP2011055435A (en) Apparatus and method for retransmission control

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

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

Country of ref document: EP

Kind code of ref document: A1