WO2015154522A1 - 丢失数据报文的识别方法及装置 - Google Patents

丢失数据报文的识别方法及装置 Download PDF

Info

Publication number
WO2015154522A1
WO2015154522A1 PCT/CN2014/094557 CN2014094557W WO2015154522A1 WO 2015154522 A1 WO2015154522 A1 WO 2015154522A1 CN 2014094557 W CN2014094557 W CN 2014094557W WO 2015154522 A1 WO2015154522 A1 WO 2015154522A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
synchronization
sequence
synchronization sequence
data
Prior art date
Application number
PCT/CN2014/094557
Other languages
English (en)
French (fr)
Inventor
崔冶华
杜高鹏
常华伟
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP14888846.4A priority Critical patent/EP3200414B1/en
Priority to JP2017512671A priority patent/JP2017533616A/ja
Publication of WO2015154522A1 publication Critical patent/WO2015154522A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • 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/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements

Definitions

  • the present invention relates to the field of communications, and in particular to a method and apparatus for identifying lost data packets.
  • LTE Long Term Evolution
  • the Multimedia Broadcast Multicast Service (MBMS) synchronization protocol stipulates that the receiving end needs to detect the continuity of the synchronization frame by using the synchronization information carried in the synchronization frame.
  • the synchronization frame needs to be reordered to detect whether the synchronization frame is lost (the data packet number in the related art is generally numbered from 0).
  • the receiver should stop transmitting the wireless subframe affected by the lost synchronization frame after discovering that the synchronization frame is lost. Frame; however, there is no effective technical solution in the related art to quickly and accurately identify which messages are lost in the received message.
  • the present invention provides a method and apparatus for identifying lost data packets to at least solve the above problems.
  • a method for identifying a lost data packet comprising: when the first synchronization sequence of the received synchronization message includes a control packet, the first synchronization sequence
  • the packet sequence number of the data packet is uniformly sorted, wherein the packet sequence number includes: a packet sequence number of the data packet and a packet sequence number of the control packet; when the packet sequence number is intermittent in the sorting result, the packet sequence number is missing in the sorting result.
  • the corresponding data packet is used as the lost data message.
  • the control packet of the second synchronization sequence and the third synchronization sequence are acquired.
  • Control packet wherein the first synchronization sequence, the second synchronization sequence and the third synchronization sequence are located a synchronization period, and the second synchronization sequence is a previous synchronization sequence of the first synchronization sequence, and the third synchronization sequence is a subsequent synchronization sequence of the first synchronization sequence; determining the first according to the following formula
  • the number of data packets lost by the last packet in the synchronization sequence to the control packet X: X YZP, where Y is the total number of packets indicated by the total packet data field in the control packet of the third synchronization sequence
  • the quantity, Z is the total number of data packets indicated by the total data packet data field in the control packet of the second synchronization sequence, and P is the packet sequence number of the control packet of the third synchronization sequence; the last one of the ranking results
  • the data packet sequence number is incremented by 1 and added X times in succession, and then the data packets lost in the first synchronization sequence are sequentially determined.
  • the first synchronization sequence does not include a control packet
  • the first synchronization sequence is the first synchronization sequence received in the current synchronization period
  • the sequence number of the control packet of the sequence; the last packet number in the sorting result is sequentially incremented by one and continuously added A times, and then the packet sequence numbers corresponding to the lost data packets in the first synchronization sequence are sequentially determined.
  • the synchronization message carries the following information: synchronization period counting information, where the synchronization period counting information is used to determine a synchronization period to which the synchronization message of the data packet belongs.
  • the synchronization period counting information is carried in a following field of the synchronization message: a dedicated field of the synchronization period counting information, and an extended field of the synchronization message.
  • an apparatus for identifying a lost data message comprising: a sorting module, configured to: when the first synchronization sequence of the received synchronization message includes a control packet, Performing a unified ordering on the packet sequence numbers of the data packets in the first synchronization sequence, where the packet sequence number includes: a packet sequence number of the data packet and a packet sequence number of the control packet; and a determining module configured to be in the sequence result of the packet sequence number When there is a discontinuity, the data packet corresponding to the missing packet sequence number in the sorting result is used as the lost data packet.
  • the determining module is configured to: when the first synchronization sequence does not include a control packet, if the first synchronization sequence is not the first synchronization sequence received in the current synchronization period, acquiring the second synchronization sequence And a control packet of the third synchronization sequence, wherein the first synchronization sequence, the second synchronization sequence and the third synchronization sequence are in the same synchronization period, and the second synchronization sequence is the first a previous synchronization sequence of the synchronization sequence, the third synchronization sequence being a subsequent synchronization sequence of the first synchronization sequence; determining a data packet lost by the last packet in the first synchronization sequence to the control packet according to the following formula
  • the number of words X: X YZP, where Y is the data indicated by the total packet data field in the control packet of the third synchronization sequence The total number of packets, Z is the total number of packets indicated by the total packet data field in the control packet of the second synchronization sequence, P is the packet sequence sequence
  • the determining module is further configured to: when the first synchronization sequence does not include a control packet, if the first synchronization sequence is the first synchronization sequence received in the current synchronization period, acquiring the fourth synchronization a control packet of the sequence, wherein the first synchronization sequence and the fourth synchronization sequence are in the same synchronization period, and the fourth synchronization sequence is a subsequent synchronization sequence of the first synchronization sequence;
  • the number of data packets lost by the last packet in the first synchronization sequence to the control packet A: A BP, where B is the packet indicated by the total packet data field of the control packet of the fourth synchronization sequence a total amount, P is a packet sequence number of the control packet of the fourth synchronization sequence; and sequentially adding 1 to the last packet number in the ranking result and continuously adding A times, thereby sequentially determining that the first synchronization sequence is lost The packet number corresponding to the data packet.
  • the sorting module is configured to: when the received synchronization message carries the following information, sort the first packet sequence number of the data packet in the first synchronization sequence and the second packet sequence number of the control packet: synchronization
  • the period counting information is used to determine a synchronization period to which the synchronization message of the data packet belongs.
  • the ordering module is configured to: when the synchronization period counting information is carried in the following field of the synchronization message, the first packet sequence number of the data packet in the first synchronization sequence and the second packet of the control packet The packet sequence number is sorted: a dedicated field of the synchronization cycle count information, and an extension field of the synchronization message.
  • the data packet of the received synchronization message and the packet sequence number of the control packet are all sorted, and when the packet sequence number is interrupted, the missing packet number is determined.
  • the technical solution of the lost data packet solves the problem that the related technology does not have an effective technical solution to quickly and accurately identify which packets are lost in the received message, and can quickly be received in the received message. Accurately identify lost data packets.
  • FIG. 1 is a flowchart of a method for identifying a lost data message according to an embodiment of the present invention
  • SYNC PDU Synchronization Protocol Data Unit
  • FIG. 3 is a schematic diagram of a SYNC PDU Type 1 format in the related art
  • FIG. 5 is a schematic diagram of a SYNC PDU Type 3 format in the related art
  • FIG. 6 is a schematic diagram of transmitting two synchronization sequences according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of sending out two synchronization sequences in an out-of-order manner according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of processing of synchronization sequence out of order in the related art.
  • FIG. 9 is a schematic diagram of a SYNC PDU Type 0 format according to an embodiment of the present invention.
  • FIG. 10 is another schematic diagram of a SYNC PDU Type 0 format according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of a SYNC PDU Type 1 format according to an embodiment of the present invention.
  • FIG. 12 is a schematic diagram of a SYNC PDU Type 2 format according to an embodiment of the present invention.
  • FIG. 13 is a schematic diagram of a SYNC PDU Type 3 format according to an embodiment of the present invention.
  • FIG. 14 is a schematic diagram of a method of transmitting two synchronization sequences in accordance with a preferred embodiment of the present invention.
  • 15 is a schematic diagram showing the out-of-sequence of two adjacent synchronization sequences in two adjacent synchronization periods according to an embodiment of the present invention
  • 16 is a schematic diagram of processing after two adjacent synchronization sequences are out of order according to an embodiment of the present invention.
  • FIG. 17 is a structural block diagram of an apparatus for identifying a lost data message according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for identifying a lost data packet according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
  • Step S102 When the first synchronization sequence of the received synchronization message includes the control packet, the packet sequence number and the packet sequence number of the data packet in the first synchronization sequence are uniformly sorted, where the packet sequence number includes: a packet of the data packet. Serial number and package serial number of the control package;
  • Step S104 When there is a discontinuity in the sequence number of the packet in the sorting result, the data packet corresponding to the missing packet sequence number in the sorting result is used as the lost data packet.
  • the first synchronization sequence in which the received synchronization message is located includes the control packet
  • the data packet and the control packet of the synchronization message are sorted, and when the packet sequence number is interrupted, the lost packet number is determined to be lost.
  • the technical solution of the data packet solves the related technology. There is no effective technical solution to quickly and accurately identify which packets are lost in the received message, and can quickly and accurately receive the received message. Determine the missing data message.
  • the data packet is lost due to the discontinuity of the sequence number of the preceding and succeeding packets, and the data packet corresponding to the lost packet sequence number is lost as the lost data packet; After the packets are sorted, the lost data packets are quickly learned.
  • the data packet that is lost in the above-mentioned synchronization packet can be identified in the following manners.
  • two main cases are determined, which are mainly based on determining whether the control packet is received in the first synchronization sequence:
  • the packet sequence number in the first synchronization sequence is uniformly sorted, where the packet sequence number includes: a packet sequence number of the data packet and a packet sequence number of the control packet.
  • the packet sequence number includes: a packet sequence number of the data packet and a packet sequence number of the control packet.
  • the packet sequence number is intermittent, the data packet corresponding to the missing packet sequence number in the sorting result is used as the lost data packet, because the packet sequence numbers of the respective control packets in the MBMS synchronization protocol are the same, When there is a gap in the packet sequence number, the lost data packet can be determined according to the missing packet sequence number.
  • the first synchronization sequence actually includes six packets: five data packets, and the packet sequence numbers are 0, 1, 2, respectively. 3, 4, there is also a control packet, the packet sequence number is 5.
  • the first base station actually receives the synchronization sequence with the packet number 0, 1, 2 and the control packet number 5, that is, the first base station receives
  • the first synchronization sequence has lost the data packet with the packet number 3, 4, and in this case, the above technical solution provided by the embodiment of the present invention is used to identify 0, 1, 2, 5 in the sorting result. If the packet sequence number is intermittent, and the missing packet sequence number is 3, 4, then the packet with the packet sequence number of 3, 4 is the packet lost in the first synchronization sequence.
  • the control packet of the second synchronization sequence and the control packet of the third synchronization sequence are acquired.
  • the packet serial number of the packet; the last data packet number in the above sorting result is sequentially added by 1 and continuously added X times, thereby sequentially determining the first same The sequence of lost data packets.
  • the control packet of the fourth synchronization sequence is acquired, where the first synchronization sequence and the fourth synchronization sequence The synchronization sequence is located in the same synchronization period, and the fourth synchronization sequence is the latter synchronization sequence of the first synchronization sequence;
  • the embodiment of the present invention further provides the following technical solution to determine a lost data packet: the first data packet number in the foregoing sorting result is sequentially decremented by 1 and continuously decreased by X times, and then the first The data packet that is lost in the synchronization sequence, optionally, in the specific implementation process, the foregoing technical solution of continuously adding X times and continuously reducing X times can be combined according to actual needs.
  • a synchronization sequence does not receive the control packet, only the information carried in the synchronization sequence data packet cannot determine whether the data packet is lost before the control packet, and the control packet of the previous synchronization sequence needs to be combined with the synchronization sequence.
  • the text information is used to calculate the total number of messages of the synchronization sequence.
  • the first synchronization sequence and the third synchronization sequence receive the control packet, and the total number of data packets of the third and first synchronization sequence control packets (total packet num, also called Subtracting Total Number Of Packet, obtaining the total number of data packets of the second synchronization sequence, and subtracting the packet number (Packet Number, simply Packet Num) of the last data packet of the second synchronization sequence, and subtracting the synchronization
  • the sequence number of the control packet of a synchronization sequence after the sequence, and the obtained value indicates the number of data packets lost before the second synchronization sequence control message, and the packet sequence number of the packet loss packet is
  • the packet sequence number of the last data packet of the second synchronization sequence is incremented (decremented), and is incremented (decremented) by one each time.
  • the packet number of the packet loss packet is incremented (decremented) by one each time according to the obtained value.
  • the first synchronization sequence and the second synchronization sequence belong to the first two synchronization sequences of the synchronization period, the first synchronization sequence loses the control message, and the second synchronization sequence receives the control message, and the Total Control Packet of the second control message Subtracting the Packet Number of the last data packet of the first synchronization sequence, and subtracting the packet sequence number of the control packet of the synchronization sequence after the synchronization sequence, and the obtained value indicates the number of data packets lost before the second synchronization sequence control message.
  • the packet number of the packet loss packet is incremented (decremented) by one each time according to the obtained value.
  • the packet sequence number of the packet loss packet is incremented (decremented) according to the packet sequence number of the last data packet in the first synchronization sequence, and is incremented (decremented) by one each time.
  • the total packet number field in the embodiment of the present invention is carried in the control packet of the synchronization sequence, and the control packet refers to the Type 0 and Type 3 packets in the synchronization protocol; the data packet refers to the Type 1 in the synchronization protocol. Type 2 packet.
  • the eNB After receiving the synchronization packet, the eNB needs to sort the synchronization packet, and according to the sorting result, the Type 1 or Type 3 is identified. Text.
  • the eNB parses the Timestamp, Packet Number, and Type0 or Type3 packet headers included in the Type1 header, Timestamp, Packet Number, Total Number Of Packet, and the same Type1.
  • And Type0 or Type3 belongs to a synchronization sequence, and the synchronization packets of a synchronization sequence are sorted in ascending order according to the Packet Number. If the Packet Number is found to be discontinuous, the Type1 packet is considered to be lost, and the packet number that is not received is considered to be the Type1 packet.
  • the eNB does not receive the synchronization sequence Type0 or Type3, it is necessary to determine whether the Type1 of the synchronization sequence is determined by the previous synchronization sequence of the synchronization sequence and the Type0 or Type3 of the subsequent synchronization sequence.
  • the packet number that is lost and not received is considered to be the Packet Number of the Type1 message.
  • the synchronization packet carries the following information: synchronization period counting information, where the synchronization period counting information is used to determine a synchronization period to which the data packet belongs.
  • the synchronization period counting information is carried in the synchronization packet.
  • Field a dedicated field of the above synchronization period counting information, and an extension field of the above synchronization message.
  • the first synchronization message is determined to be the first received synchronization message in the current synchronization period by determining the synchronization period counting information in the synchronization message, that is, the synchronization frame is in the embodiment of the present invention.
  • the synchronization period count of the transmitting end is increased, and the receiving end determines which synchronization period the synchronization frame belongs to according to the synchronization period count.
  • the BMSC sends two synchronization sequences.
  • two adjacent synchronization sequences in two adjacent synchronization periods are out of order on the eNB side.
  • the processing in the related art is as shown in FIG. 8.
  • the foregoing technical solution provided by the embodiment of the present invention adds a Type 0 format after the synchronization period is counted; a Type 1 format; a Type 2 format and a Type 3 format, as shown in FIG. 9 13 is shown.
  • FIG. 14 is a schematic diagram of a method for transmitting two synchronization sequences according to a preferred embodiment of the present invention
  • FIG. 15 is a schematic diagram of two adjacent synchronization sequences in two adjacent synchronization periods in the new method according to an embodiment of the present invention.
  • FIG. 16 is a schematic diagram of processing after two adjacent synchronization sequences are out of order according to an embodiment of the present invention.
  • the BMSC sends a synchronization sequence in sequence in the synchronization period N.
  • the synchronization sequence has three Type1 messages and one Type3 message.
  • the Packet Number is 0, 1, 2, and 3 respectively, and the Time Stamp is 50.
  • the Synchronisation Period Counter is Is N ( Figure 13).
  • the BMSC sends a synchronization sequence in sequence in the next synchronization period N+1.
  • the synchronization sequence has three Type1 messages and one Type3 message.
  • the Packet Number is 0, 1, 2, and 3 respectively, and the Time Stamp is 10, Synchronisation.
  • the Period Counter is N+1 ( Figure 13).
  • the eNB receives two synchronization sequences that are out of order, a total of 8 synchronization frames, and the synchronization frame in step 2 is out of order to the synchronization period N, and the synchronization frame of step 1 is out of order to the synchronization period N+1 (Fig. 14). .
  • the eNB divides it into a synchronization sequence of two synchronization periods according to the Synchronisation Period Counter.
  • the eNB divides two different synchronization sequences according to the Time Stamp.
  • the eNB reorders the synchronization frames according to the Packet Number within the two synchronization sequences, resulting in two complete synchronization sequences (Fig. 15).
  • the method successfully solves the problem that the synchronization sequence message in a synchronization period cannot be correctly reordered after being out of order in other synchronization periods.
  • FIG. 17 is a structural block diagram of an apparatus for identifying a lost data message according to an embodiment of the present invention. As shown in Figure 17, the device includes:
  • the sorting module 170 is configured to: when the first synchronization sequence of the received synchronization message includes the control packet, sort the first packet sequence number of the data packet in the first synchronization sequence and the second packet sequence number of the control packet;
  • the determining module 172 is connected to the sorting module 170, and is configured to, when the first packet sequence number and the second packet sequence number are intermittent in the sorting result, use the data packet corresponding to the missing packet sequence number in the sorting result as the lost data packet.
  • the data packet of the received synchronization message and the packet sequence number of the control packet are all sorted, and when the packet sequence number is interrupted, The packet sequence number determines the technical solution of the lost data message, and solves the related technology. There is no effective technical solution to quickly and accurately identify which packets are lost in the received message, and can receive the received message. The message is quickly and accurately determined in the message.
  • the total number of packets Z is the total number of data packets indicated by the total data packet data field in the second control packet, P is the packet sequence number of the second control packet; and the last packet number in the above sorting result is sequentially added to And continuously adding X times, and then sequentially determining the missing data message in the first synchronization sequence.
  • a further improvement of the foregoing technical solution in the embodiment of the present invention is that the determining module 172 is further configured to not include the control packet in the first synchronization sequence, and the first synchronization sequence is the first synchronization sequence received in the current synchronization period. And acquiring a third control packet of the fourth synchronization sequence, where the first synchronization sequence is in the same synchronization period as the fourth synchronization sequence, and the fourth synchronization sequence is a subsequent synchronization sequence of the first synchronization sequence;
  • the quantity, P is the packet number of the third control packet; and the last data packet number in the above sorting result is sequentially added by 1 and continuously added A times, and then the data packets lost in the first synchronization message are sequentially determined.
  • Package serial number is the packet in the first synchronization sequence
  • the sorting module 170 is configured to: when the received synchronization message carries the following information, the first packet sequence number and the control packet of the data packet in the first synchronization sequence
  • the second packet sequence number is sorted: a synchronization period counting information, where the synchronization period counting information is used to determine a synchronization period to which the synchronization packet of the data packet belongs, and is also used to carry the synchronization period counting information in the synchronization packet.
  • the first packet sequence number of the data packet in the first synchronization sequence and the second packet sequence number of the control packet are sorted: a dedicated field of the synchronization period counting information, and an extension field of the synchronization message.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the embodiments of the present invention achieve the following beneficial effects: the related art has not been solved, and an effective technical solution can quickly and accurately identify which packets are lost in the received message, and can receive The lost packets are quickly and accurately determined in the received message.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the received synchronization message when the received synchronization message includes the control packet, the data packet of the received synchronization packet and the packet sequence number of the control packet are all sorted, and when the packet sequence number is interrupted,
  • the technical solution for determining the lost data packet by the missing packet sequence number solves the problem that the related technology does not have an effective technical solution to quickly and accurately identify which packets are lost in the received packet, and can The received message quickly and accurately determines the lost data message.

Abstract

本发明提供了一种丢失数据报文的识别方法及装置,其中,所述识别方法包括:在接收到的同步报文所在第一同步序列包含控制包时,对所述第一同步序列中数据包的包序号进行统一排序,其中,所述包序号包括:数据包的包序号和控制包的包序号;在排序结果中所述包序号存在间断时,将排序结果中缺失包序号所对应的数据包作为所述丢失的数据报文。采用本发明提供的上述技术方案,解决了相关技术尚无一种有效的技术方案能够快速准确的识别出接收到的报文中丢失了哪些报文的问题,能够在接收到的报文中快速准确的确定丢失的数据报文。

Description

丢失数据报文的识别方法及装置 技术领域
本发明涉及通信领域,更具体地说,涉及一种丢失数据报文的识别方法及装置。
背景技术
在长期演进(Long Term Evolution,简称为LTE)商用网络中,核心网传输丢包普遍存在。
为保证无线侧用户数据传输的实时性和准确性,多媒体广播多播业务(Multimedia Broadcast Multicast Service,简称为MBMS)同步协议规定接收端需要通过同步帧携带的同步信息检测同步帧的连续性。检测连续性时,需要重排序同步帧以检测同步帧是否丢失(相关技术中数据包序号一般从0开始编号)。
为保证演进型基站(Evolved Node B,简称eNB)在相同的多播子帧传输同样的用户数据,接收端在发现丢失了同步帧后,应该停止传输由于丢失了同步帧而影响到的无线子帧;然而相关技术中并没有一种有效的技术方案能够快速准确的识别出接收到的报文中丢失了哪些报文。
针对相关技术中尚无一种有效的技术方案能够快速准确的识别出接收到的报文中丢失了哪些报文的问题,目前尚未提出有效的解决方案。
发明内容
本发明提供了一种丢失数据报文的识别方法及装置,以至少解决上述问题。
根据本发明的一个实施例,提供了一种丢失数据报文的识别方法,所述识别方法包括:在接收到的同步报文所在第一同步序列包含控制包时,对所述第一同步序列中数据包的包序号进行统一排序,其中,所述包序号包括:数据包的包序号和控制包的包序号;在排序结果中所述包序号存在间断时,将排序结果中缺失包序号所对应的数据包作为所述丢失的数据报文。
优选地,在所述第一同步序列不包含控制包时,如果所述第一同步序列不是当前同步周期内接收到的首个同步序列,则获取第二同步序列的控制包以及第三同步序列的控制包,其中,所述第一同步序列、所述第二同步序列与所述第三同步序列位于同 一同步周期,且所述第二同步序列为所述第一同步序列的前一个同步序列,所述第三同步序列为所述第一同步序列的后一个同步序列;根据以下公式确定所述第一同步序列中最后一个数据包至控制包所丢失的数据报文的数量X:X=Y-Z-P,其中,Y为所述第三同步序列的控制包中总数据包数据字段所指示的数据包总量,Z为所述第二同步序列的控制包中总数据包数据字段所指示的数据包总量,P为所述第三同步序列的控制包的包序号;将所述排序结果中最后一个数据包序号依次加1并连续加X次,进而依次确定所述第一同步序列中丢失的数据报文。
优选地,在所述第一同步序列不包含控制包时,如果所述第一同步序列为当前同步周期内接收到的首同步序列时,获取第四同步序列的控制包,其中,所述第一同步序列与所述第四同步序列位于同一同步周期,所述第四同步序列为所述第一同步序列的后一个同步序列;根据以下公式确定所述第一同步序列中最后一个数据包至控制包所丢失的数据报文的数量A:A=B-P,其中,B为所述第四同步序列的控制包的总数据包数据字段所指示的数据包总量,P为所述第四同步序列的控制包的包序号;将所述排序结果中最后一个数据包序号依次加1并连续加A次,进而依次确定所述第一同步序列中丢失的数据报文对应的包序号。
优选地,所述同步报文中携带有以下信息:同步周期计数信息,该同步周期计数信息用于确定所述数据报文所在同步报文所归属的同步周期。
优选地,所述同步周期计数信息携带于所述同步报文的以下字段:所述同步周期计数信息的专用字段、所述同步报文的扩展字段。
根据本发明的另一个实施例,还提供了一种丢失数据报文的识别装置,所述识别装置包括:排序模块,设置为在接收到的同步报文所在第一同步序列包含控制包时,对所述第一同步序列中数据包的包序号进行统一排序,其中,所述包序号包括:数据包的包序号和控制包的包序号;确定模块,设置为在排序结果中所述包序号存在间断时,将排序结果中缺失包序号所对应的数据包作为所述丢失的数据报文。
优选地,所述确定模块,设置为在所述第一同步序列不包含控制包时,如果所述第一同步序列不是当前同步周期内接收到的首个同步序列,则获取第二同步序列的控制包以及第三同步序列的控制包,其中,所述第一同步序列、所述第二同步序列与所述第三同步序列位于同一同步周期,且所述第二同步序列为所述第一同步序列的前一个同步序列,所述第三同步序列为所述第一同步序列的后一个同步序列;根据以下公式确定所述第一同步序列中最后一个数据包至控制包所丢失的数据报文的数量X:X=Y-Z-P,其中,Y为所述第三同步序列的控制包中总数据包数据字段所指示的数据 包总量,Z为所述第二同步序列的控制包中总数据包数据字段所指示的数据包总量,P为所述第三同步序列的控制包的包序号;以及将所述排序结果中最后一个数据包序号依次加1并连续加X次,进而依次确定所述第一同步序列中丢失的数据报文。
优选地,所述确定模块,还设置为在所述第一同步序列不包含控制包时,如果所述第一同步序列为当前同步周期内接收到的第一个同步序列,则获取第四同步序列的控制包,其中,所述第一同步序列与所述第四同步序列位于同一同步周期,所述第四同步序列为所述第一同步序列的后一个同步序列;根据以下公式确定所述第一同步序列中最后一个数据包至控制包所丢失的数据报文的数量A:A=B-P,其中,B为所述第四同步序列的控制包的总数据包数据字段所指示的数据包总量,P为所述第四同步序列的控制包的包序号;以及将所述排序结果中最后一个数据包序号依次加1并连续加A次,进而依次确定所述第一同步序列中丢失的数据报文对应的包序号。
优选地,所述排序模块,设置为在接收到的同步报文携带有以下信息时,对所述第一同步序列中数据包的第一包序号和控制包的第二包序号进行排序:同步周期计数信息,该同步周期计数信息用于确定所述数据报文所在同步报文所归属的同步周期。
优选地,所述排序模块,设置为在所述同步周期计数信息携带于所述同步报文的以下字段时,对所述第一同步序列中数据包的第一包序号和控制包的第二包序号进行排序:所述同步周期计数信息的专用字段、所述同步报文的扩展字段。
通过本发明,采用当接收到的同步报文包含控制包时,对接收到的同步报文的数据包和控制包的包序号均进行排序,并在包序号间断时,通过缺失的包序号确定丢失的数据报文的技术方案,解决了相关技术尚无一种有效的技术方案能够快速准确的识别出接收到的报文中丢失了哪些报文的问题,能够在接收到的报文中快速准确的确定丢失的数据报文。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1为根据本发明实施例的丢失数据报文的识别方法的流程图;
图2为相关技术中的同步协议数据单元(SYNC PDU)Type 0格式的示意图;
图3为相关技术中的SYNC PDU Type 1格式的示意图;
图4为相关技术中的SYNC PDU Type 2格式的示意图;
图5为相关技术中的SYNC PDU Type 3格式的示意图;
图6为根据本发明实施例的发送两个同步序列的示意图;
图7为根据本发明实施例的发送两个同步序列发生乱序的示意图;
图8为相关技术中的同步序列乱序的处理示意图;
图9为根据本发明实施例的SYNC PDU Type 0格式的示意图;
图10为根据本发明实施例的SYNC PDU Type0格式的另一示意图;
图11为根据本发明实施例的SYNC PDU Type 1格式的示意图;
图12为根据本发明实施例的SYNC PDU Type 2格式的示意图;
图13为根据本发明实施例的SYNC PDU Type 3格式的示意图;
图14为根据本发明优选实施例的两个同步序列的发送方法的示意图;
图15为根据本发明实施例的相邻两个同步周期相邻两个同步序列发生了乱序的示意图;
图16为根据本发明实施例的两个相邻同步序列发生乱序后的处理示意图;
图17为根据本发明实施例的丢失数据报文的识别装置的结构框图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。
本发明实施例提供了一种丢失数据报文的识别方法,图1为根据本发明实施例的丢失数据报文的识别方法的流程图,如图1所示,该方法包括如下步骤:
步骤S102:在接收到的同步报文所在第一同步序列包含控制包时,对上述第一同步序列中数据包的包序号和包序号进行统一排序,其中,上述包序号包括:数据包的包序号和控制包的包序号;
步骤S104:在排序结果中上述包序号存在间断时,将排序结果中缺失包序号所对应的数据包作为上述丢失的数据报文。
通过上述各个步骤,采用当接收到的同步报文所在第一同步序列包含控制包时,对同步报文地数据包和控制包进行排序,并在包序号间断时,通过缺失的包序号确定丢失的数据报文的技术方案,解决了相关技术尚无一种有效的技术方案能够快速准确的识别出接收到的报文中丢失了哪些报文的问题,能够在接收到的报文中快速准确的确定丢失的数据报文。
即在一个同步序列内部,通过前后包序号的不连续,则认为丢失了数据报文,丢失包序号所对应的数据报文作为丢失的上述数据报文;而采用上述技术方案,实现了在对数据包进行排序后,快速获知丢失的数据报文。
可以通过以下方式实现识别上述同步报文中丢失的数据报文(本发明实施例中主要分了两种情况,其主要依据为判断上述第一同步序列中是否接收到了控制包):
第一种情况
在接收到的上述同步报文所在第一同步序列包含控制包时,对上述第一同步序列中的包序号进行统一排序,其中,上述包序号包括:数据包的包序号和控制包的包序号;在排序结果中上述包序号存在间断时,将排序结果中缺失包序号所对应的数据包作为上述丢失的数据报文,由于在MBMS同步协议中各个控制报文的包序号是相同的,因此,在包序号存在间断时,便可以根据缺失的包序号确定丢失的数据报文。
以下结合一个示例对上述技术方案进行说明,例如:接收到的第一同步序列,上述第一同步序列实际上是包含了六个包:五个数据包,包序号依次为0,1,2,3,4,还有一个控制包,包序号为5,然而第一基站实际上接收到的是数据包编号为0,1,2,控制包编号为5的同步序列,即第一基站接收到的第一同步序列丢失了数据包编号为3,4的数据包,那么在这种情况下,采用本发明实施例提供的上述技术方案,识别出排序结果中0,1,2,5,存在包序号间断的情况,且缺失的包序号为3,4,那么包序号为3,4的数据包就是第一同步序列中丢失的报文。
第二种情况
1)在上述第一同步序列不包含控制包时,如果上述第一同步序列不是当前同步周期内接收到的首个同步序列,则获取第二同步序列的控制包以及第三同步序列的控制包,其中,上述第一同步序列、上述第二同步序列与上述第三同步序列位于同一同步周期,且上述第二同步序列为上述第一同步序列的前一个同步序列,上述第三同步序列为上述第一同步序列的后一个同步序列;根据以下公式确定上述第一同步序列中最后一个数据包至控制包所丢失的数据报文的数量X:X=Y-Z-P,其中,Y为上述第三同步序列的控制包中总数据包数据字段所指示的数据包总量,Z为上述第二同步序列的控制包中总数据包数据字段所指示的数据包总量,P为上述第三同步序列的控制包的包序号;将上述排序结果中最后一个数据包序号依次加1并连续加X次,进而依次确定上述第一同步序列中丢失的数据报文。
2)在第一同步序列不包含控制包,且第一同步序列为当前同步周期内接收到的首个同步序列时,则获取第四同步序列的控制包,其中,第一同步序列与第四同步序列位于同一同步周期,第四同步序列为第一同步序列的后一个同步序列;根据以下公式确定第一同步序列中最后一个数据包至控制包所丢失的数据报文的数量A:A=B-P,其中,B为第四同步序列的控制包的总数据包数据字段所指示的数据包总量,P为第四同步序列的控制包的包序号;将上述排序结果中最后一个数据包序号依次加1并连续加A次,进而依次确定第一同步序列中丢失的数据报文对应的包序号。
为了适应实际的需要,本发明实施例还提供了以下技术方案来确定丢失的数据报文:将上述排序结果中第一个数据包序号依次减1并连续减X次,进而依次确定上述第一同步序列中丢失的数据报文,可选地,在具体实施过程中,上述连续加X次和连续减X次的技术方案可以根据实际需要结合使用。
以下结合另两个优选示例对上述技术方案进行说明:
优选示例一
若一个同步序列未收到控制报文,仅通过该同步序列数据报文携带的信息无法确定控制报文前是否丢失了数据报文,需要结合该同步序列后一个与前一个同步序列的控制报文信息来计算出该同步序列的报文总个数。则当三个同步序列同属于同一个同步周期,第一同步序列、第三同步序列收到了控制报文,第三、第一同步序列控制报文的数据报文总数(total packet num,又称为Total Number Of Packet)相减,得到第二同步序列的数据报文总数,再减去第二同步序列最后一个数据报文的包序号(Packet Number,简称为Packet Num),再减去上述同步序列后一个同步序列的控制包的包序号,所得值表示第二同步序列控制报文前丢失的数据报文数,丢包报文的包序号按第 二同步序列最后一个数据报文的包序号自增(减),每次自增(减)一。丢包报文的包序号按所得值每次自增(减)一。
优选示例二
第一同步序列、第二同步序列属于同步周期的头两个同步序列,第一同步序列丢失了控制报文,第二同步序列存在收到了控制报文,第二控制报文的Total Number Of Packet减去第一同步序列最后一个数据报文的Packet Number,再减去上述同步序列后一个同步序列的控制包的包序号,所得值表示第二同步序列控制报文前丢失的数据报文数,丢包报文的包序号按所得值每次自增(减)一。丢包报文的包序号按第一同步序列最后一个数据报文的包序号自增(减),每次自增(减)一。
需要说明的是,本发明实施例中的总包数字段是携带于同步序列的控制报文中的,控制报文指同步协议中的Type0、Type3报文;数据报文指同步协议中的Type1、Type2报文。
以下举例说明上述识别同步报文中丢失的数据报文的技术方案:eNB收到同步报文后,需要对同步报文进行排序,根据排序结果,结合Type0或者Type3,识别出的丢失的Type1报文。
具体的,eNB解析Type1报文头中包含的Timestamp、Packet Number以及Type0或者Type3报文头中包含的时间戳Timestamp、数据包编号Packet Number、总的数据包的数量Total Number Of Packet,相同的Type1以及Type0或Type3属于一个同步序列,一个同步序列的同步报文按照Packet Number升序排序,若识别出Packet Number不连续,则认为该Type1报文丢失,未收到的Packet Number认为就是该Type1报文的Packet Number;若eNB没有收到该同步序列Type0或Type3,则需要借助该同步序列的前一个同步序列以及后一个同步序列的Type0或者Type3中的Total Number Of Packet来判断该同步序列的Type1是否丢失,未收到的Packet Number认为就是该Type1报文的Packet Number。
相关技术中,接收端发生了一个同步周期内的同步序列报文在其他同步周期乱序到达时,依据相关同步信息,无法正确的进行重排序。原因在于,同步序列所携带的同步信息无法判断出特定的同步帧归属于哪一个同步周期,即现有技术中还存在同步序列无法判断特定的帧归属于哪个同步周期,为了解决上述技术问题,本发明实施例还提供了以下技术方案:
上述同步报文中携带有以下信息:同步周期计数信息,该同步周期计数信息用于确定上述数据报文所归属的同步周期,可选地,上述同步周期计数信息携带于上述同步报文的以下字段:上述同步周期计数信息的专用字段、上述同步报文的扩展字段。
在本发明实施例中,通过判断同步报文中的同步周期计数信息来判断上述第一同步报文为当前同步周期内的第一个接收的同步报文,即本发明实施例是在同步帧的同步信息中增加发送端的同步周期计数,接收端依据同步周期计数来确定同步帧归属于哪一个同步周期。
为了更好的理解上述添加同步周期计数后如何能够解决其要解决的技术问题的过程,以下结合优选实施例进行说明。
如图2、3、4、5所示,相关技术中,SYNC PDU Type 0格式;SYNC PDU Type 1格式;SYNC PDU Type 2格式;SYNC PDU Type 3格式;当上述Type 0、Type 1、Type2、Type 3发生乱序时,如图6所示,BMSC发送了两个同步序列,如图7所示,相邻两个同步周期相邻两个同步序列在eNB侧发生了乱序。
相关技术中的处理方式如图8所示,而本发明实施例提供的上述技术方案,添加过同步周期计数后的Type 0格式;Type 1格式;Type 2格式以及Type 3格式,如图9-13所示。
图14为根据本发明优选实施例的两个同步序列的发送方法的示意图,图15为根据本发明实施例的新方法下相邻两个同步周期相邻两个同步序列在eNB侧发生了乱序的情况,图16为根据本发明实施例的两个相邻同步序列发生乱序后的处理示意图。
以下结合一个示例对上述技术方案进行简单说明。
需要说明的是,发送端相对于同步周期起始时间点经过的同步周期数,取值范围:0–2m*8-1,m的单位为octets。域长度:对于Type0,m=0.5,对于Type1、Type2、Type3,m=4。
BMSC在同步周期N按序发送了一个同步序列,该同步序列有3个Type1报文、一个Type3报文,Packet Number分别为0、1、2、3,Time Stamp均为50,Synchronisation Period Counter均为N(图13)。
BMSC在下一个同步周期N+1按序发送了一个同步序列,该同步序列有3个Type1报文、一个Type3报文,Packet Number分别为0、1、2、3,Time Stamp均为10,Synchronisation Period Counter均为N+1(图13)。
eNB收到了发生乱序的两个同步序列,共8个同步帧,步骤2中的同步帧乱序到了同步周期N中,步骤1的同步帧乱序到了同步周期N+1中(图14)。
eNB根据Synchronisation Period Counter将其划分为两个同步周期的同步序列。
eNB根据Time Stamp划分出两个不同的同步序列。
eNB在两个同步序列内部,分别根据Packet Number重排序同步帧,得出两个完整的同步序列(图15)。
从图8与图16对比发现,该方法成功解决了一个同步周期内的同步序列报文在其他同步周期内乱序到达后无法正确的进行重排序问题。
在本实施例中还提供了一种丢失数据报文的识别装置,应用于第一基站,用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述,下面对该装置中涉及到的模块进行说明。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。图17为根据本发明实施例的丢失数据报文的识别装置的结构框图。如图17所示,该装置包括:
排序模块170,设置为在接收到的同步报文所在第一同步序列包含控制包时,对上述第一同步序列中数据包的第一包序号和控制包的第二包序号进行排序;
确定模块172,与排序模块170连接,设置为在排序结果中上述第一包序号和第二包序号存在间断时,将排序结果中缺失包序号所对应的数据包作为上述丢失的数据报文。
通过上述各个模块的综合作用,采用当接收到的同步报文包含控制包时,对接收到的同步报文的数据包和控制包的包序号均进行排序,并在包序号间断时,通过缺失的包序号确定丢失的数据报文的技术方案,解决了相关技术尚无一种有效的技术方案能够快速准确的识别出接收到的报文中丢失了哪些报文的问题,能够在接收到的报文中快速准确的确定丢失的数据报文。
可选地,确定模块172,设置为在上述第一同步序列不包含控制包时,如果上述第一同步序列不是当前同步周期内接收到的第一个同步序列,则获取第二同步序列的第一控制包以及第三同步序列的第二控制包,其中,上述第一同步序列、上述第二同步序列与上述第三同步序列位于同一同步周期,且上述第二同步序列为上述第一同步序列的前一个同步序列,上述第三同步序列为上述第一同步序列的后一个同步序列; 根据以下公式确定上述第一同步序列中最后一个数据包至控制包所丢失的数据报文的数量X:X=Y-Z-P,其中,Y为上述第一控制包中总数据包数据字段所指示的数据包总量,Z为上述第二控制包中总数据包数据字段所指示的数据包总量,P为上述第二控制包的包序号;以及将上述排序结果中最后一个数据包序号依次加1并连续加X次,进而依次确定上述第一同步序列中丢失的数据报文。
本发明实施例对上述技术方案的进一步改进在于,确定模块172,还设置为在上述第一同步序列不包含控制包,且上述第一同步序列为当前同步周期内接收到的第一个同步序列时,获取第四同步序列的第三控制包,其中,上述第一同步序列与上述第四同步序列位于同一同步周期,上述第四同步序列为上述第一同步序列的后一个同步序列;根据以下公式确定上述第一同步序列中最后一个数据包至控制包所丢失的数据报文的数量A:A=B-P,其中,B为上述第三控制包的总数据包数据字段所指示的数据包总量,P为上述第三控制包的包序号;以及将上述排序结果中最后一个数据包序号依次加1并连续加A次,进而依次确定上述第一同步报文中丢失的数据报文对应的包序号。
在本发明实施例的一个可选实施例中,排序模块170,设置为在接收到的同步报文携带有以下信息时,对上述第一同步序列中数据包的第一包序号和控制包的第二包序号进行排序:同步周期计数信息,该同步周期计数信息用于确定上述数据报文所在同步报文所归属的同步周期,还用于在上述同步周期计数信息携带于上述同步报文的以下字段时,对上述第一同步序列中数据包的第一包序号和控制包的第二包序号进行排序:上述同步周期计数信息的专用字段、上述同步报文的扩展字段。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的对象在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
综上所述,本发明实施例实现了以下有益效果:解决了相关技术尚无一种有效的技术方案能够快速准确的识别出接收到的报文中丢失了哪些报文的问题,能够在接收到的报文中快速准确的确定丢失的数据报文。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
基于本发明实施例提供的上述技术方案,采用当接收到的同步报文包含控制包时,对接收到的同步报文的数据包和控制包的包序号均进行排序,并在包序号间断时,通过缺失的包序号确定丢失的数据报文的技术方案,解决了相关技术尚无一种有效的技术方案能够快速准确的识别出接收到的报文中丢失了哪些报文的问题,能够在接收到的报文中快速准确的确定丢失的数据报文。

Claims (10)

  1. 一种丢失数据报文的识别方法,包括:
    在接收到的同步报文所在第一同步序列包含控制包时,对所述第一同步序列中数据包的包序号进行统一排序,其中,所述包序号包括:数据包的包序号和控制包的包序号;
    在排序结果中所述包序号存在间断时,将排序结果中缺失包序号所对应的数据包作为所述丢失的数据报文。
  2. 根据权利要求1所述的识别方法,其中,
    在所述第一同步序列不包含控制包时,如果所述第一同步序列不是当前同步周期内接收到的首个同步序列,则获取第二同步序列的控制包以及第三同步序列的控制包,其中,所述第一同步序列、所述第二同步序列与所述第三同步序列位于同一同步周期,且所述第二同步序列为所述第一同步序列的前一个同步序列,所述第三同步序列为所述第一同步序列的后一个同步序列;
    根据以下公式确定所述第一同步序列中最后一个数据包至控制包所丢失的数据报文的数量X:
    X=Y-Z-P,其中,Y为所述第三同步序列的控制包中总数据包数据字段所指示的数据包总量,Z为所述第二同步序列的控制包中总数据包数据字段所指示的数据包总量,P为所述第三同步序列的控制包的包序号;
    将所述排序结果中最后一个数据包序号依次加1并连续加X次,进而依次确定所述第一同步序列中丢失的数据报文。
  3. 根据权利要求1所述的方法,其中,
    在所述第一同步序列不包含控制包时,如果所述第一同步序列为当前同步周期内接收到的首同步序列时,获取第四同步序列的控制包,其中,所述第一同步序列与所述第四同步序列位于同一同步周期,所述第四同步序列为所述第一同步序列的后一个同步序列;
    根据以下公式确定所述第一同步序列中最后一个数据包至控制包所丢失的数据报文的数量A:
    A=B-P,其中,B为所述第四同步序列的控制包的总数据包数据字段所指示的数据包总量,P为所述第四同步序列的控制包的包序号;
    将所述排序结果中最后一个数据包序号依次加1并连续加A次,进而依次确定所述第一同步序列中丢失的数据报文对应的包序号。
  4. 根据权利要求1至3中任一项所述的方法,其中,所述同步报文中携带有以下信息:
    同步周期计数信息,该同步周期计数信息用于确定所述数据报文所在同步报文所归属的同步周期。
  5. 根据权利要求4所述的方法,其中,所述同步周期计数信息携带于所述同步报文的以下字段:
    所述同步周期计数信息的专用字段、所述同步报文的扩展字段。
  6. 一种丢失数据报文的识别装置,包括:
    排序模块,设置为在接收到的同步报文所在第一同步序列包含控制包时,对所述第一同步序列中数据包的包序号进行统一排序,其中,所述包序号包括:数据包的包序号和控制包的包序号;
    确定模块,设置为在排序结果中所述包序号存在间断时,将排序结果中缺失包序号所对应的数据包作为所述丢失的数据报文。
  7. 根据权利要求6所述的识别装置,其中,
    所述确定模块,设置为在所述第一同步序列不包含控制包时,如果所述第一同步序列不是当前同步周期内接收到的首个同步序列,则获取第二同步序列的控制包以及第三同步序列的控制包,其中,所述第一同步序列、所述第二同步序列与所述第三同步序列位于同一同步周期,且所述第二同步序列为所述第一同步序列的前一个同步序列,所述第三同步序列为所述第一同步序列的后一个同步序列;根据以下公式确定所述第一同步序列中最后一个数据包至控制包所丢失的数据报文的数量X:X=Y-Z-P,其中,Y为所述第三同步序列的控制包中总数据包数据字段所指示的数据包总量,Z为所述第二同步序列的控制包中总数据包数据字段所指示的数据包总量,P为所述第三同步序列的控制包的包序号;以及将所述排序结果中最后一个数据包序号依次加1并连续加X次,进而依次确定所述第一同步序列中丢失的数据报文。
  8. 根据权利要求6所述的方法,其中,
    所述确定模块,还设置为在所述第一同步序列不包含控制包时,如果所述第一同步序列为当前同步周期内接收到的第一个同步序列,则获取第四同步序列的控制包,其中,所述第一同步序列与所述第四同步序列位于同一同步周期,所述第四同步序列为所述第一同步序列的后一个同步序列;根据以下公式确定所述第一同步序列中最后一个数据包至控制包所丢失的数据报文的数量A:A=B-P,其中,B为所述第四同步序列的控制包的总数据包数据字段所指示的数据包总量,P为所述第四同步序列的控制包的包序号;以及将所述排序结果中最后一个数据包序号依次加1并连续加A次,进而依次确定所述第一同步序列中丢失的数据报文对应的包序号。
  9. 根据权利要求6至8中任一项所述的装置,其中,所述排序模块,设置为在接收到的同步报文携带有以下信息时,对所述第一同步序列中数据包的第一包序号和控制包的第二包序号进行排序:同步周期计数信息,该同步周期计数信息用于确定所述数据报文所在同步报文所归属的同步周期。
  10. 根据权利要求9所述的装置,其中,所述排序模块,设置为在所述同步周期计数信息携带于所述同步报文的以下字段时,对所述第一同步序列中数据包的第一包序号和控制包的第二包序号进行排序:所述同步周期计数信息的专用字段、所述同步报文的扩展字段。
PCT/CN2014/094557 2014-09-03 2014-12-22 丢失数据报文的识别方法及装置 WO2015154522A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP14888846.4A EP3200414B1 (en) 2014-09-03 2014-12-22 Identification method and device for lost data packet
JP2017512671A JP2017533616A (ja) 2014-09-03 2014-12-22 損失データパケットの識別方法及び装置

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410447438.4A CN105471825B (zh) 2014-09-03 2014-09-03 丢失数据报文的识别方法及装置
CN201410447438.4 2014-09-03

Publications (1)

Publication Number Publication Date
WO2015154522A1 true WO2015154522A1 (zh) 2015-10-15

Family

ID=54287257

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/094557 WO2015154522A1 (zh) 2014-09-03 2014-12-22 丢失数据报文的识别方法及装置

Country Status (4)

Country Link
EP (1) EP3200414B1 (zh)
JP (1) JP2017533616A (zh)
CN (1) CN105471825B (zh)
WO (1) WO2015154522A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108243171B (zh) * 2016-12-27 2020-12-22 北京新唐思创教育科技有限公司 在线直播互动系统及方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394252A (zh) * 2008-11-12 2009-03-25 北京佳讯飞鸿电气股份有限公司 一种基于rtp的数据传输方法
CN101656747A (zh) * 2009-09-25 2010-02-24 深圳创维数字技术股份有限公司 流媒体数据的传输方法及系统
CN103501259A (zh) * 2013-10-21 2014-01-08 腾讯科技(深圳)有限公司 一种丢包检测的方法及检测装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3566931B2 (ja) * 2001-01-26 2004-09-15 日本電信電話株式会社 音声信号の符号列のパケット組立方法、装置及びパケット分解方法、装置並びにこれらの方法を実行するプログラム、プログラムを記録する記録媒体
US7113773B2 (en) * 2003-05-16 2006-09-26 Qualcomm Incorporated Reliable reception of broadcast/multicast content
JP4705814B2 (ja) * 2005-07-08 2011-06-22 株式会社日立製作所 同期配信方法
JP4859419B2 (ja) * 2005-09-14 2012-01-25 株式会社エヌ・ティ・ティ・ドコモ 無線基地局およびユーザ共通データ伝送方法
CN101500341B (zh) * 2008-02-02 2011-02-02 上海贝尔阿尔卡特股份有限公司 基于窗的内容同步的网关和基站及其方法
CN102036170B (zh) * 2009-09-29 2012-04-04 华为技术有限公司 处理子帧的方法和设备
JP2012129868A (ja) * 2010-12-16 2012-07-05 Nec Corp 通信システム

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394252A (zh) * 2008-11-12 2009-03-25 北京佳讯飞鸿电气股份有限公司 一种基于rtp的数据传输方法
CN101656747A (zh) * 2009-09-25 2010-02-24 深圳创维数字技术股份有限公司 流媒体数据的传输方法及系统
CN103501259A (zh) * 2013-10-21 2014-01-08 腾讯科技(深圳)有限公司 一种丢包检测的方法及检测装置

Also Published As

Publication number Publication date
EP3200414A4 (en) 2017-09-06
EP3200414B1 (en) 2019-06-26
EP3200414A1 (en) 2017-08-02
JP2017533616A (ja) 2017-11-09
CN105471825B (zh) 2019-08-23
CN105471825A (zh) 2016-04-06

Similar Documents

Publication Publication Date Title
CN105553880B (zh) 一种软件定义网络中的数据处理方法及装置
WO2016049872A1 (zh) 一种网络丢包的测量装置及方法
JP5296102B2 (ja) ウィンドウベースのコンテンツ同期化のためのゲートウェイ、基地局および方法
JP5916873B2 (ja) パケットロス検出方法及びシステム、送信装置並びに受信装置
CN101174969A (zh) 在单频移动通信网络中分发数据分组的方法及装置和网络
JP2016526323A5 (zh)
US9226266B2 (en) Method for determining delay parameters for user data flow synchronization for eMBMS
US20110206019A1 (en) Synchronization Scheduling Method
RU2010107450A (ru) Способ, устройство и система синхронизации в беспроводных сетях
CN102932919B (zh) 上行链路探测参考信号的资源配置方法及装置
CN102349251A (zh) 用于处理具有用于对数据分组网络通信节点进行同步的选择类型的分布式数据的方法,以及相应设备
CN101150763A (zh) 一种测试WiMAX网络实时传输业务性能的终端和方法
CN108616925B (zh) 一种数据流的处理方法及装置
CN106301987B (zh) 一种报文丢失检测方法、装置及系统
JP2019537894A5 (zh)
CN105636098B (zh) 一种上行业务等待时延的估算方法和装置
JP2018508157A (ja) リアルタイムトランスポートプロトコルrtpパケット伝送方法及び装置
JP2013179392A (ja) 通信装置及び通信方法
US11121938B2 (en) Performance measurement in a packet-switched communication network
JP2018534878A (ja) 輻輳および競合を最小化するためのデータパケットの生存時間制限の設定
WO2010031257A1 (zh) 同步处理方法和装置
WO2015154522A1 (zh) 丢失数据报文的识别方法及装置
WO2016101600A1 (zh) 线卡的确定、确定处理方法及装置、线卡的确定系统
WO2015154523A1 (zh) 丢失数据的恢复处理方法及装置
Sanabria-Russo et al. WLANs throughput improvement with CSMA/ECA

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017512671

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2014888846

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014888846

Country of ref document: EP