WO2020133218A1 - Retransmission data processing method and device - Google Patents

Retransmission data processing method and device Download PDF

Info

Publication number
WO2020133218A1
WO2020133218A1 PCT/CN2018/124888 CN2018124888W WO2020133218A1 WO 2020133218 A1 WO2020133218 A1 WO 2020133218A1 CN 2018124888 W CN2018124888 W CN 2018124888W WO 2020133218 A1 WO2020133218 A1 WO 2020133218A1
Authority
WO
WIPO (PCT)
Prior art keywords
dtu
frame
frames
queue
retransmission
Prior art date
Application number
PCT/CN2018/124888
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 华为技术有限公司
Priority to PCT/CN2018/124888 priority Critical patent/WO2020133218A1/en
Publication of WO2020133218A1 publication Critical patent/WO2020133218A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/56Queue scheduling implementing delay-aware scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/28Flow control; Congestion control in relation to timing considerations

Definitions

  • the invention relates to the field of data communication, and in particular to a method and device for processing retransmitted data.
  • Digital subscriber line (Digital Subscriber Line, DSL) technology is a high-speed transmission technology for data transmission through telephone lines, that is, unshielded twisted pair (Unshielded Twisted Pair, UTP), including Asymmetrical Digital Subscriber Line (Asymmetrical Digital Subscriber Line) , ADSL), Very-high-bit-rate Digital Subscriber Line (VDSL) and Very-high-bit-rate Digital Subscriber Line 2 (Very-high-bit-rate Digital Subscriber Line 2, VDSL2), etc.
  • Asymmetrical Digital Subscriber Line Asymmetrical Digital Subscriber Line
  • VDSL Very-high-bit-rate Digital Subscriber Line
  • VDSL2 Very-high-bit-rate Digital Subscriber Line 2
  • G.fast technology uses Time Division Duplexing (TDD) for uplink and downlink, that is, both uplink and downlink occupy all subcarriers of the entire frequency band to send information.
  • TDD Time Division Duplexing
  • the transmission rate supported by the twisted pair network is getting higher and higher, and the reliability of signal transmission is also getting higher and higher.
  • the upstream and downstream transmission channels support retransmission, that is, packet loss will be retransmitted to compensate for service packet loss.
  • G.fast simply retransmits the data that has not been successfully received by the receiving end, there are no other constraints.
  • the data in the retransmission queue has been aging, and directly retransmitting these data to the receiving end will also be directly discarded by the receiving end, which is equivalent to meaningless retransmission and waste of bandwidth.
  • Embodiments of the present invention provide a method and device for processing retransmission data to replace low priority TDU frames in a retransmission queue to improve retransmission efficiency.
  • an embodiment of the present invention provides a retransmission data processing method, which is executed by the sending side and includes:
  • the total length of the selected segment of one DTU frame and the segment of one or more DTU frames is not greater than the total length of the discarded k DTU frames.
  • the newly added fragment of one DTU frame and one or more DTU frames may be added to the discarded The original position of the DTU frame, or at another position of the DTU.
  • each DTU frame in the at least one DTU frame contains DTU frame position information, It is used to mark whether the DTU frame has been replaced, and the offset value of the position of the DTU frame relative to the sequence identification SID value in the current DTU header.
  • an embodiment of the present invention provides a data packet processing method, which is executed by a sending side and includes:
  • Carry the data packet to be sent to at least one data transmission unit DTU the DTU at least contains the DTU header and the DTU payload;
  • the DTU header carries the DTU header indication information, at least includes the sequence identification SID; the SID Is the number of the DTU;
  • the DTU payload includes at least one DTU frame, and each DTU frame includes at least DTU frame position indication information;
  • the DTU frame position indication information includes: used to mark whether the DTU frame has been replaced Identifier and SID offset value, the SID offset value is used to indicate the offset value of the position to which the DTU frame belongs relative to the SID field in the current DTU header;
  • the DTU header further includes a time stamp; the time stamp records the sending time of the DTU, and is used to indicate the time when the DTU is sent on the receiving side.
  • an embodiment of the present invention provides a data packet processing method, which is executed by a receiving side and includes:
  • the DTU includes at least a DTU header and a DTU payload;
  • the DTU header carries DTU header indication information, at least includes a sequence identification SID;
  • the SID is the number of the DTU;
  • the DTU payload includes at least one DTU frame, and each DTU frame includes at least DTU frame position indication information;
  • the DTU frame header is used to indicate frame type and frame length;
  • the DTU frame position indication information includes: for marking Whether the identifier and SID offset value of the DTU frame have been replaced, the SID offset value is used to indicate the offset value of the position to which the DTU frame belongs relative to the SID field in the current DTU header;
  • the parsing of the at least one DTU includes determining, according to the DTU frame new position indication information contained in the DTU frame header in the DTU, the DTU frames are carried Order of packets.
  • an embodiment of the present invention provides a retransmission data processing apparatus for a sending side, including:
  • An obtaining unit obtaining the remaining aging time t of at least one DTU frame in the data transmission unit DTU in the retransmission queue that needs to be retransmitted;
  • DTU frame replacement unit used to discard the k DTU frames from the DTU if there are k DTU frames that have been aged or are about to age; where k is a positive integer greater than or equal to 1;
  • the aging remaining time t of the frame is less than the estimated time T required for the DTU frame to be delivered to the peer and successfully parsed; and select a fragment of the DTU frame and one or more DTU frames from the cache queue to join the retransmission A new DTU is formed in the queue;
  • a sending unit configured to send the new DTU.
  • the total length of the selected segment of one DTU frame and the segment of one or more DTU frames is not greater than the total length of the discarded k DTU frames.
  • the newly added fragment of one DTU frame and one or more DTU frames may be added to the discarded The original position of the DTU frame, or at another position of the DTU.
  • each DTU frame in the at least one DTU frame includes DTU frame position information, It is used to mark whether the DTU frame has been replaced, and the offset value of the position of the DTU frame relative to the sequence identification SID value in the current DTU header.
  • an embodiment of the present invention provides a sending device, including: one or more processors, a memory, and a communication interface;
  • the memory and the communication interface are coupled with the one or more processors;
  • the memory is used to store computer program code, and the computer program code includes instructions.
  • the network-side device is used to perform the first aspect, the third aspect, The method according to any one of the first aspect or the third aspect.
  • an embodiment of the present invention provides a receiving device, including: one or more processors, a memory, and a communication interface;
  • the memory and the communication interface are coupled with the one or more processors;
  • the memory is used to store computer program code, where the computer program code includes instructions, and when the one or more processors execute the instructions, the user premises equipment is used to execute the third aspect or the third aspect.
  • an embodiment of the present invention provides a processing system including a sending device according to the fourth or fifth aspect and a receiving device according to the sixth aspect.
  • an embodiment of the present invention provides a computer-readable storage medium having instructions stored therein, which when executed on a computer, causes the computer to execute the first aspect, the third aspect, the first aspect or The method described in any implementation manner of the third aspect.
  • the DTU frames that are aging or close to aging in the retransmission queue can be replaced, which avoids the invalid transmission of the aging or close to aging DTU frames, reduces the waste of retransmission resources, and improves Bandwidth utilization.
  • replace them with DTU frames with high service priority which can ensure that the data packets carried by the DTU frames with high service priority are sent out in time, reducing the data with high service priority Packet delay.
  • Figure 1 is a schematic diagram of the connection relationship between the network side and the user end in the xDSL system
  • Figure 2 is a schematic diagram of the data processing flow in G.fast technology
  • Figure 3 is a schematic diagram of the structure of DTU in G.fast technology
  • FIG. 4 is a schematic flowchart of a method according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of a method according to another embodiment of the present invention.
  • 6A is a schematic diagram of DTU frame replacement according to an embodiment of the present invention.
  • 6B is a schematic diagram of DTU frame replacement according to another embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a DTU according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a retransmission data processing apparatus according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a sending device according to another embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a receiving device according to another embodiment of the present invention.
  • DSL adopting passband transmission utilizes Frequency Division Division (FDD) technology to make DSL and traditional telephone service (Plain Old Telephone Service, POTS) coexist in the same pair.
  • FDD Frequency Division Division
  • POTS Personal Telephone Service
  • the xDSL for passband transmission uses Discrete Multi-Tone (DMT) modulation technology for modulation and demodulation.
  • DMT Discrete Multi-Tone
  • the schematic diagram of the network structure is shown in 1.
  • the user-side xDSL transceiver 120 includes a user-side transceiver unit 121 and a splitter/integrator 122.
  • the user-side transceiver unit 121 receives the DSL signal from the computer 110 and amplifies the received signal. Send the processed DSL signal to the splitter/integrator 122; the splitter/integrator 122 integrates the DSL signal from the user-end transceiver unit 121 and the POTS signal of the telephone terminal 130; the integrated signal passes through the multi-channel UTP140 Transmission, received by the splitter/integrator 151 in the network-side xDSL transceiver 150; the splitter/integrator 151 separates the received signal and sends the POTS signal to the public switched telephone network (Public Switched Telephone Network, PSTN) 160.
  • PSTN Public Switched Telephone Network
  • the network-side transceiver unit 152 sends the DSL signal to the network-side transceiver unit 152 of the network-side xDSL transceiver 150.
  • the network-side transceiver unit 152 then amplifies the received signal and sends it to the upper network system 170. In the downstream direction of the signal, the signal is transmitted in the reverse order to the above.
  • the network-side xDSL transceiver 150 may not include the splitter/integrator 151, that is, the signal from the user side is not split/integrated, but the network-side transceiver unit 152 may pass other networks in the upper-layer network system 170 Side equipment for separation/integration.
  • the network-side device in the embodiment of the present application may be a device for communicating with user-end devices in the network.
  • the specific form of the network-side device may be a digital subscriber line access multiplexer (DSLAM), More generally, it may be the network-side transceiver shown in FIG. 1.
  • DSLAM digital subscriber line access multiplexer
  • the network-side equipment deployment point may be at the central office of the telecommunications service provider, or it may be a node position upstream of the user equipment in the network.
  • the user-end device or the network-side device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer.
  • the hardware layer includes hardware such as a central processing unit (CPU), memory management unit (MMU), and memory (also called main memory).
  • the operating system may be any one or more computer operating systems that implement business processes through processes, for example, a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system.
  • the embodiments of the present application do not specifically limit the specific structure of the execution body of the method provided in the embodiments of the present application, as long as it can run the program that records the code of the method provided by the embodiments of the present application to provide according to the embodiments of the present application
  • the method may be used for communication.
  • the execution body of the method provided in the embodiment of the present application may be a user terminal device or a network side device, or a functional module in the user terminal device or network side device that can call a program and execute the program.
  • the term "article of manufacture” as used in this application encompasses a computer program accessible from any computer-readable device, carrier, or medium.
  • the computer-readable medium may include, but is not limited to: magnetic storage devices (for example, hard disks, floppy disks, or magnetic tapes, etc.), optical disks (for example, compact discs (CDs), digital universal discs (digital discs, digital discs, DVDs)) Etc.), smart cards and flash memory devices (for example, erasable programmable read-only memory (EPROM), cards, sticks or key drives, etc.).
  • various storage media described herein may represent one or more devices and/or other machine-readable media for storing information.
  • machine-readable medium may include, but is not limited to, wireless channels and various other media capable of storing, containing, and/or carrying instructions and/or data.
  • the network-side device in the downstream direction, is the sending side, and the user-end device is the receiving side; the execution body for signal transmission and corresponding signal processing in the embodiment of the present invention may be a transmitter or an integrated transmitter
  • the functioning network component in the same way, the main body that performs signal reception and corresponding signal processing may also be a receiver or a network component that integrates the receiver function.
  • the user equipment is the sending side, and the network equipment is the receiving side.
  • the data processing procedures of the sending side are described separately.
  • the processed data includes business data packets and management data packets. In this case, the business data packets may also be referred to as data packets.
  • the management data packets are embedded operation channels (EOC) data packets from the management channel. Sometimes referred to as EOC packet (EOC packet).
  • EOC packet EOC packet
  • the service packets of the upper layers and the EOC packets from the management channel must be transport protocol related convergence sublayer (transport protocol specific transmission convergence, TPS-TC) And physical media specific convergence sublayer (physical specific-transmission convergence, PMS-TC) processing.
  • TPS-TC transport protocol specific transmission convergence
  • PMS-TC physical media specific convergence sublayer
  • Data flow control includes priority control, buffer management and other operations, which will form a buffer queue for business data packets, and then form a DTU frame through a DTU framer.
  • business data packets and management data packets are encapsulated into a data transmission unit (DTU); then, after the encapsulated DTU reaches the PMS-TC layer, it will enter the DTU queue and retransmit Queue (RTX queue) Two queues; after the DTU in the DTU queue is transmitted to the receiving end through the mixer (MUX), the receiving end will feedback whether the reception is successful. If the PMS-TC layer receives the reception success message fed back by the receiving end, the DTU is removed from the retransmission queue, and if a feedback message that the reception fails is received, the DTU will retransmit from the retransmission queue.
  • DTU data transmission unit
  • the data in the retransmission queue is controlled more finely, so that the data retransmitted to the receiving end can be applied by the receiving end, avoiding meaningless retransmission.
  • the embodiments of the present invention are directed to the problems of G.fast, they are also applicable to other various DSL systems, such as G.mgfast technology.
  • a DTU includes a DTU head (DTU head), a DTU payload (DTU payload), and an error check sequence (ECS). section.
  • the DTU header carries DTU header indication information, at least including a sequence identifier (SID) and time stamp. SID is the number of the DTU. Each time a new DTU is encapsulated, the SID field is incremented by 1. The SID is used by the receiver to sort the DTU; the timestamp records the sending time of the DTU.
  • the DTU payload carries data packets in the form of DTU frames.
  • the DTU payload includes multiple DTU frames, and each DTU frame is composed of a DTU frame header and a DTU frame payload.
  • Each DTU frame payload can be the entire data packet or a part of the data packet.
  • the DTU frame header (DTU frame head) contains the DTU frame type and DTU frame length indicator, where the DTU frame type indicator is used to identify whether the frame is a service data packet or a management data packet, and indicates whether the frame is the entire data packet, or A part of the data packet; the DTU frame length indicator bit indicates the byte length of the corresponding DTU frame payload.
  • an interactive channel is established between the data packet control unit of the TPS-TC layer and the retransmission queue of the PMS-TC layer.
  • the channel will also pass through the DTU framer, which may be part of the processing functions of the original DTU framer in the TPS-TC layer in FIG. 2 or may be independent of the original TPS-TC layer in FIG. 2 A new DTU framer outside the framer. In this way, the newly added processing channel from the buffer queue to the retransmission queue is different from the normal buffer queue to the DTU queue.
  • the DTU in the retransmission queue retransmits, determine the aging time and/or priority of each DTU frame in the DTU, and replace the DTU frame corresponding to the aging, close to aging, or low-priority data packets with unaged or The DTU frame corresponding to the data packet with high service priority; or further, the DTU frame with low priority is replaced with the DTU frame with high priority.
  • the DTU frame priority may be the service priority of the data packet carried by the DTU frame, such as the delay priority and the service type priority related to the service quality of service QoS.
  • the service priority of the data packet carried in the DTU frame may also be described as the service priority of the DTU frame in the following.
  • An embodiment of the present invention provides a retransmission data processing method, as shown in FIG. 4, including:
  • Step 401 Obtain the aging remaining time t of at least one DTU frame in the DTU that needs to be retransmitted in the retransmission queue;
  • Step 403 If there are k DTU frames that have been aged or are about to be aged, discard the k DTU frames from the DTU; where k is a positive integer greater than or equal to 1;
  • the forthcoming aging means that the remaining aging time t of the DTU frame is less than the estimated time T required for the DTU frame to be delivered to the peer and successfully parsed; for a scenario where K is greater than 1, t is the aging including the multiple DTU frames
  • the remaining time can be understood as a sequence of time (t 1 , t 2 , ..., t k ), which contains multiple elements, and each element corresponds to the remaining aging time of each DTU frame.
  • the aging refers to the time when the data processing time exceeds the service quality QoS requirements; generally, each data packet starts to count from the time when it enters the cache queue and aging after a time T.
  • the remaining aging time refers to the remaining time from the time critical point of service quality QoS requirements, that is, aging after a certain period of time.
  • the remaining aging time of the aging DTU frame can be regarded as equal to 0.
  • the aging DTU frame refers to the DTU that is too late to be processed normally even if it is sent immediately.
  • the remaining aging time of the DTU is less than the estimated time T required for the DTU frame to be delivered to the opposite end and be resolved; no aging means that the remaining aging time of the DTU is not less than the DTU frame being delivered to the opposite end
  • the estimated time T required for analysis includes the total time from the signal being sent to the peer end after being parsed, which is strongly related to the hardware system and bandwidth throughput.
  • the T value can be accurately estimated according to the amount of data
  • fixed for a certain period of time the specific value can be determined by the operator configuration or program implementation. For different business priorities, each priority has its own aging time.
  • step 405 selecting a segment of a DTU frame from the buffer queue, adding one or more DTU frames to the retransmission queue to form a new DTU.
  • step 405 selecting a segment of a DTU frame from the buffer queue, adding one or more DTU frames to the retransmission queue to form a new DTU.
  • DTU frames are variable length, the length of each DTU frame is not necessarily the same, so the number of newly added DTU frames and discarded DTU frames are not necessarily equal. How many DTU frames are added is based on the length principle: the total length of the selected one DTU frame fragment or one or more DTU frame fragments is not greater than the total length of the discarded k DTU frames in step 402 to avoid exceeding the The load length of the DTU.
  • the selected segment of one DTU frame and one or more DTU frames are DTU frames without aging.
  • no aging means that the remaining aging time of the DTU frame is not less than the estimated time T required for the DTU frame to be delivered to the peer and resolved.
  • the newly added fragment of one DTU frame and one or more DTU frames may be added to the original position of the discarded DTU frame, or at other positions of the DTU, such as at the end or beginning of the DTU.
  • step 407 sending the new DTU.
  • the method further includes determining that the DTU needs to be retransmitted. Specifically, if no successful reception of the DTU information fed back from the receiving end is received, it is determined that the DTU needs to be retransmitted.
  • the method further includes processing the new DTU before sending the new DTU in the retransmission queue in step 407, as shown in FIG. 5, including
  • Step 501 Obtain the service priority of at least one DTU frame in the DTU that needs to be retransmitted in the retransmission queue;
  • Step 503 If the service priority of m DTU frames is less than the service priority of n DTU frames in the cache queue, then use a fragment, a or a DTU frame of the n DTU frames in the cache queue Multiple DTU frames replace the m DTU frames in the retransmission queue to form a newer DTU; where m and n are positive integers greater than or equal to 1;
  • replacing the m DTU frames in the retransmission queue with k DTU frames in the buffer queue to form an updated DTU frame is to delete the k DTU frames in the retransmission queue to form a new DTU frame, and then delete The k DTU frames selected in the buffer queue are added to the DTUs in the retransmission queue that need to be retransmitted.
  • the total length of the fragments of the one DTU frame and the fragments of the one or more DTU frames selected from the n DTU frames is not greater than that of the replaced Describe the total length of n DTU frames.
  • the length principle which may be a fragment of one DTU frame in the buffer queue, one or more DTU frames replacing the multiple DTU frames in the retransmission queue.
  • the following uses a DTU frame in the buffer queue to replace one DTU frame in the retransmission queue as an example for description.
  • the service priority of one data packet in the cache queue is greater than the service priority of one DTU frame in the DTU in the reselection queue, the data packet carried by this DTU frame is put back into the cache In the queue, the data packet with a high service priority in the buffer queue is encapsulated in a DTU frame and added to the DTU.
  • the service priority of one data packet in the cache queue is greater than the service priority of multiple DTU frames in the DTU in the reselection queue, the data packet carried by the one DTU frame with the lowest service priority is selected and returned to the cache queue , And encapsulate this data packet with high service priority in the buffer queue into the DTU after encapsulating it in the DTU; if the service priority of multiple data packets in the buffer queue is greater than all the DTUs in the reselection queue For the service priority of the DTU frame, the DTU frame corresponding to the data packet with the highest service priority in the cache queue replaces the DTU frame corresponding to the data packet with the lowest service priority carried by the DTU in the retransmission queue, and the service in the cache queue takes priority The DTU frame corresponding to the data packet with the higher rank replaces the DTU frame corresponding to the data packet with the lower priority of the service carried by the DTU in the retransmission queue, according to this principle.
  • the DTU frame corresponding to the data packet with a high service priority is added to the retransmission DTU queue from the buffer queue for retransmission, the DTU is not added to the normal DTU queue for transmission. To avoid sending the DTU repeatedly.
  • the aging or near-aging DTU frames in the retransmission queue are discarded to avoid the invalid transmission of the aging or near-aging DTU frames, reduce the waste of retransmission resources, and improve the bandwidth utilization .
  • For the DTU frames with low service priority in the retransmission queue replace them with DTU frames with high service priority, which can ensure that the data packets carried by the DTU frames with high service priority are sent out in time, reducing the data with high service priority Packet delay.
  • the operation of replacing the DTU frame according to the service priority of the DTU frame may be performed after discarding the aging or aging DTU frame in the retransmitted DTU to form a new DTU to send together; or it may be executed separately That is, after directly operating the DTU frames in a retransmitted DTU according to the methods of steps 501 and 503, a new DTU is sent.
  • the value in each square represents the number of the data packet carried by the DTU frame (such as 1, 2) or the number of data packet fragments (such as 1.1, 1.2).
  • One DTU frame in each DTU can carry one data packet, for example, the 4th and 5th DTU frames in DTU1 carry data packets 2 and 3 respectively, and the 2nd and 3rd DTU frames in DTU2 carry data respectively.
  • Packets 5 and 6; multiple DTU frames can also carry a data packet.
  • the first and second DTU frames in DTU1 carry data packet 1
  • the first and second DTU frames in DTU3 carry data.
  • DTU2 transmission is not successful, and retransmission is required from the retransmission queue.
  • DTU2 transmission is not successful, and retransmission is required from the retransmission queue.
  • the first and third DTU frames corresponding to the second fragment of the fourth data packet and the sixth data packet, respectively
  • the first and third DTU frames are discarded, and the corresponding two DTU frames (corresponding to packets 12 and 13 respectively) are replaced from the packet buffer queue to form a new DTU2 for transmission.
  • the receiving end did not receive DTU2 in the first normal DTU queue transmission, but received a new DTU2 in the retransmission queue transmission; after that, the receiving end would parse out the data packets carried by the DTU frame according to the order. Since only part of the packet (4.1) was received in the data packet 4, the data packet cannot be completely parsed; the data packet 6 is not successfully received, and the data packet 6 cannot be parsed by the receiving end; therefore, the data packet can be parsed by the receiving end 1, 2, 3, 5, 7, 8, 9, 10, 11, 12, and 13.
  • the DTU frames corresponding to the data packets 12 and 13 are the DTU frames to be discarded at the original position.
  • DTU2 can also be defragmented, and the undiscarded DTU frames are moved forward so that the vacated DTU frame is at the end of the DTU; then the DTU frames corresponding to data packets 12 and 13 are filled in; As shown in Figure 6B.
  • defragmentation can also be to move back the undiscarded DTU frames so that the vacated DTU frame position is at the head of the DTU; then fill in the DTU frames corresponding to data packets 12 and 13.
  • DTU2 transmission is still unsuccessful, and retransmission is required from the retransmission queue.
  • DTU2 transmission is still unsuccessful, and retransmission is required from the retransmission queue.
  • DTU2 transmission is still unsuccessful, and retransmission is required from the retransmission queue.
  • the business priority of the DTU frame is lower than the business priority of the data packet 13 in the cache queue; specifically, the time threshold of the sixth data packet of the low business priority is greater than that of the high business priority
  • the time threshold of the 13th data packet that is, the 13th data packet will age before the 6th data packet.
  • one data packet is carried in one DTU or multiple DTU frames, and the corresponding DTU frames of multiple data packets are the order of the corresponding data packets in the DTU payload; if one data packet is composed of multiple Multiple DTU frames are carried, and the multiple DTU frames are also arranged in order of carrying data. Since the replaced DTU frame destroys the original sequence of sequentially corresponding data packets, it is necessary to add new position indication information in the DTU frame.
  • An embodiment of the present invention also provides a DTU data structure. As shown in FIG. 7, the DTU includes at least a DTU header and a DTU payload;
  • the DTU header carries DTU header indication information, at least including a sequence identifier SID; the SID is the number of the DTU;
  • the DTU payload includes at least one DTU frame, and each DTU frame includes at least a DTU frame header and a DTU frame payload;
  • the DTU frame header includes information indicating the DTU frame type, DTU frame length, and DTU frame position; as a Alternatively, the position information of the DTU frame may not be at the head of the DTU frame, but at another position of the DTU frame.
  • the DTU frame position information includes:
  • Replacement identifier used to mark whether the DTU frame has been replaced. 0 means no replacement, 1 means replacement.
  • SID offset value used to indicate the offset value of the position to which the DTU frame belongs relative to the value shown in the SID field in the current DTU header, and used to determine the actual position of the DTU frame.
  • the header of the DTU frame also includes service priority information of the data packet carried by the DTU frame.
  • the high business priority data packet may be a business data packet that requires higher processing time; the higher the business priority, the more urgent the time requirement for identifying the data packet processing.
  • the DTU frame position indication information may also include other information that can indicate the position to which the DTU frame belongs.
  • the DTU header also includes a time stamp.
  • the timestamp records the sending time of the DTU; it is used to indicate the time when the DTU is sent on the receiving side.
  • the sending end/receiving end sends/receives the newly defined DTU in this embodiment, and replaces the DTU frame with a low priority based on the above method embodiment.
  • An embodiment of the present invention also provides a retransmission data processing apparatus 800, as shown in FIG. 8, including:
  • the obtaining unit 801 is configured to obtain the remaining aging time t of at least one DTU frame in the DTU that needs to be retransmitted in the retransmission queue;
  • the DTU frame replacement unit 802 is used to discard the k DTU frames from the DTU if there are k DTU frames that have been aged or are about to be aged; where k is a positive integer greater than or equal to 1; from the cache queue Select a segment of a DTU frame and one or more DTU frames to join the retransmission queue to form a new DTU
  • the sending unit 803 is used to send the new DTU.
  • a retransmission confirmation unit 804 is further included, which is used to determine that the DTU needs to be retransmitted.
  • the obtaining unit 801 is further configured to obtain the service priority of at least one DTU frame in the DTU in the retransmission queue that needs to be retransmitted;
  • the DTU frame replacement unit 802 is also used to: if the service priority of m DTU frames is less than the service priority of n DTU frames in the cache queue, then use the n DTU frames in the cache queue A fragment of one DTU frame and one or more DTU frames replace the m DTU frames in the retransmission queue to form a newer DTU; where m and n are positive integers greater than or equal to 1;
  • the retransmission data processing apparatus of the embodiment is used to execute the method embodiments corresponding to FIGS. 4 and 5, wherein each unit separately implements the corresponding flow in the embodiment shown in the data packet processing method. Repeat.
  • An embodiment of the present invention also provides a data packet processing method for the sending side, including:
  • the DTU Carry the data packet to be sent to at least one DTU, the DTU at least contains the DTU header and the DTU payload;
  • the DTU header carries the header indication information of the DTU, at least includes the sequence identifier SID; the SID is the DTU number;
  • the DTU payload includes at least one DTU frame, each DTU frame includes at least DTU frame position indication information;
  • the DTU frame position indication information includes: an identifier used to mark whether the DTU frame has been replaced (flag), and SID offset (SID offset), used to indicate the offset value of the position of the DTU frame relative to the SID field in the current DTU header to determine the actual position of the DTU frame; optional, all
  • the DTU frame position indication information may also include other information that can indicate the position to which the DTU frame belongs.
  • An embodiment of the present invention also provides a data packet processing method for the receiving side, including:
  • the DTU contains at least a DTU header and a DTU payload;
  • the DTU header carries DTU header indication information, at least includes a sequence identification SID;
  • the SID is the number of the DTU;
  • the DTU The payload includes at least one DTU frame, and each DTU frame includes at least DTU frame position indication information;
  • the DTU frame position indication information includes: an identifier (flag) used to mark whether the DTU frame has been replaced, and an SID offset SID offset is used to indicate the offset value of the position of the DTU frame relative to the SID field in the current DTU header to determine the actual position of the DTU frame; optionally, the DTU frame position indication information also It may contain other information that can indicate where the DTU frame belongs.
  • the parsing of the at least one DTU includes determining the sequence of the data packets carried by each DTU frame according to the DTU frame new position indication information included in the DTU frame header in the DTU.
  • the sending side may be a network side device, and the corresponding receiving side is a user side device; if the sending side is a user side device, the corresponding receiving side is a network side device.
  • the structure in the DTU is consistent with the restrictions in other embodiments above, and will not be repeated here.
  • the sending device 900 includes a processor 901, a memory 902, and a communication interface 903.
  • the memory 902 is used to store executable program code.
  • the processor 901 reads the executable program code stored in the memory 902 to run and The program corresponding to the executable program code executes the steps in the method embodiment shown in FIG. 3 corresponding to the program.
  • the communication interface 903 is used to communicate with external devices.
  • the sending device 900 may further include a bus 904.
  • the bus 904 is used to connect the processor 901, the memory 902, and the communication interface 903, so that the processor 901, the memory 902, and the communication interface 903 are performed through the bus 904. Communicate with each other.
  • Each operation and/or function in the transmitting device 900 according to an embodiment of the present invention is to implement the corresponding flow in the embodiment shown in FIGS. 4 and 5 or the above-described packet processing method for the transmitting side, for simplicity, here No longer.
  • the receiving device 1000 includes a processor 1001, a memory 1002, and a communication interface 1003.
  • the memory 1002 is used to store executable program code.
  • the processor 1001 runs and reads the executable program code stored in the memory 1002.
  • the communication interface 1003 is used to communicate with an external device.
  • the receiving device 1000 may further include a bus 1004.
  • the bus 1004 is used to connect the processor 1001, the memory 1002, and the communication interface 1003, so that the processor 1001, the memory 1002 Communicate with the communication interface 1003 via the bus 1004.
  • the operations and/or functions in the receiving device 1000 according to the embodiments of the present invention are respectively the corresponding processes in the embodiment shown in the above-mentioned data packet processing method for the receiving side, and for the sake of brevity, they are not repeated here.
  • An embodiment of the present invention provides a synchronization symbol transmission system, including a transmission device 900 shown in FIG. 8 and a reception device 1000 shown in FIG. 9.

Abstract

Embodiments of the present invention provide a retransmission data processing method, comprising: obtaining an age-out remaining time t for at least one data transmission unit (DTU) frame within a DTU requiring retransmission; if there are a k number of DTU frames which have already aged-out or are soon to age-out, discarding the k DTU frames from the DTU, wherein k is a positive integer greater than or equal to 1, and soon to age-out indicates that the age-out remaining time t of a DTU frame is less than an estimated time T required for the DTU frame to be transmitted to an opposing terminal and to be successfully parsed; selecting, from a cache queue, a DTU frame fragment and one or a plurality of DTU frames to add to a retransmission queue to form a new DTU; sending the new DTU. Using embodiments of the present invention to discard DTU frames which have aged-out or are nearing age-out allows for avoiding the ineffective transmission of DTU frames which have aged-out or are nearing age-out, thus reducing retransmission resource waste and increasing bandwidth utilization.

Description

一种重传数据处理方法及装置Retransmission data processing method and device 技术领域Technical field
本发明涉及数据通讯领域,具体地说,涉及一种重传数据处理方法及装置。The invention relates to the field of data communication, and in particular to a method and device for processing retransmitted data.
背景技术Background technique
数字用户线(Digital Subscriber Line,DSL)技术是一种通过电话线,即无屏蔽双绞线(Unshielded Twist Pair,UTP)进行数据传输的高速传输技术,包括非对称数字用户线(Asymmetrical Digital Subscriber Line,ADSL)、甚高速数字用户线(Very-high-bit-rate Digital Subscriber Line,VDSL)和甚高速数字用户线2(Very-high-bit-rate Digital Subscriber Line 2,VDSL2)等。并且,不久前又发展到了G.fast技术,能达到媲美光纤的传输速率。G.fast网络的上下行采用时分双工(Time Division Duplexing,TDD),即上下行都占用整个频段的所有子载波来发送信息。Digital subscriber line (Digital Subscriber Line, DSL) technology is a high-speed transmission technology for data transmission through telephone lines, that is, unshielded twisted pair (Unshielded Twisted Pair, UTP), including Asymmetrical Digital Subscriber Line (Asymmetrical Digital Subscriber Line) , ADSL), Very-high-bit-rate Digital Subscriber Line (VDSL) and Very-high-bit-rate Digital Subscriber Line 2 (Very-high-bit-rate Digital Subscriber Line 2, VDSL2), etc. And, not long ago, G.fast technology was developed, which can reach the transmission rate comparable to optical fiber. G.fast network uses Time Division Duplexing (TDD) for uplink and downlink, that is, both uplink and downlink occupy all subcarriers of the entire frequency band to send information.
随着DSL技术的发展,双绞线网络支持的传输速率越来越高,对信号传输可靠性要求也越来越高。比如G.fast技术中上下行传输通道支持重传,即对丢包会进行重传,以弥补业务丢包。但由于G.fast只是简单地对接收端没有接受成功的数据进行重传,没有其他约束条件。会导致某些场景下重传队列中数据已经老化,直接重传这些数据给接收端也会被接收端直接丢弃,相当于做无意义的重传,浪费带宽。With the development of DSL technology, the transmission rate supported by the twisted pair network is getting higher and higher, and the reliability of signal transmission is also getting higher and higher. For example, in the G.fast technology, the upstream and downstream transmission channels support retransmission, that is, packet loss will be retransmitted to compensate for service packet loss. However, since G.fast simply retransmits the data that has not been successfully received by the receiving end, there are no other constraints. In some scenarios, the data in the retransmission queue has been aging, and directly retransmitting these data to the receiving end will also be directly discarded by the receiving end, which is equivalent to meaningless retransmission and waste of bandwidth.
发明内容Summary of the invention
本发明实施例提供一种重传数据处理方法及装置,以将重传队列中低优先级的TDU帧替换掉,提高重传效率。Embodiments of the present invention provide a method and device for processing retransmission data to replace low priority TDU frames in a retransmission queue to improve retransmission efficiency.
第一方面,本发明实施例提供一种重传数据处理方法,由发送侧执行,包括:In a first aspect, an embodiment of the present invention provides a retransmission data processing method, which is executed by the sending side and includes:
获取重传队列中需要进行重传的数据传输单元DTU中的至少一个DTU帧的老化剩余时间t;如果有k个DTU帧已经老化或即将老化,则将所述k个DTU帧从DTU中丢弃;其中k是大于或等于1的正整数;所述即将老化是指DTU帧的老化剩余时间t小于DTU帧传递到对端并被成功解析需要的预估时间T;从所述缓存队列中选择一个DTU帧的片段、一个或多个DTU帧加入到所述重传队列中形成新的DTU;Obtain the remaining aging time t of at least one DTU frame in the data transmission unit DTU of the retransmission queue that needs to be retransmitted; if k DTU frames have been aged or are about to age, then discard the k DTU frames from the DTU ; Where k is a positive integer greater than or equal to 1; the forthcoming aging means that the remaining aging time t of the DTU frame is less than the estimated time T required for the DTU frame to be delivered to the peer and successfully parsed; select from the cache queue A fragment of one DTU frame and one or more DTU frames are added to the retransmission queue to form a new DTU;
然后将所述新的DTU发送给对端设备。Then send the new DTU to the peer device.
在第一方面的第一种可能的实现方式中,所述选择的一个DTU帧的片段、一个或多个DTU帧的片段的总长度不大于丢弃的所述k个DTU帧的总长度。In a first possible implementation manner of the first aspect, the total length of the selected segment of one DTU frame and the segment of one or more DTU frames is not greater than the total length of the discarded k DTU frames.
结合第一方面或第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述新加入的一个DTU帧的片段、一个或多个DTU帧可以增加到已丢弃的DTU帧原来的位置上,或者在该DTU的其他位置上。With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner, the newly added fragment of one DTU frame and one or more DTU frames may be added to the discarded The original position of the DTU frame, or at another position of the DTU.
结合第一方面、第一方面的第一种可能或第二种可能的实现方式,在第三种可能的实 现方式中,所述至少一个DTU帧中的每个DTU帧包含DTU帧位置信息,用于标记该DTU帧是否已被替换,以及DTU帧所属位置相对于当前DTU头部中序列标识SID值的偏移值。With reference to the first aspect, the first possible or second possible implementation manner of the first aspect, in a third possible implementation manner, each DTU frame in the at least one DTU frame contains DTU frame position information, It is used to mark whether the DTU frame has been replaced, and the offset value of the position of the DTU frame relative to the sequence identification SID value in the current DTU header.
第二方面,本发明实施例提供一种数据包处理方法,由发送侧执行,包括:In a second aspect, an embodiment of the present invention provides a data packet processing method, which is executed by a sending side and includes:
将待发送的数据包承载到至少一个数据传输单元DTU上,所述DTU至少包含DTU头部和DTU载荷;所述DTU头部承载DTU的头部指示信息,至少包括序列标识SID;所述SID是所述DTU的编号;所述DTU载荷至少包括至少一个DTU帧,每个DTU帧至少包括DTU帧位置指示信息;所述DTU帧位置指示信息包括:用于标记该DTU帧是否已被替换替换的标识符和SID偏移值,所述SID偏移值用于指示该DTU帧所属位置相对于当前DTU头部中SID字段的偏移值;Carry the data packet to be sent to at least one data transmission unit DTU, the DTU at least contains the DTU header and the DTU payload; the DTU header carries the DTU header indication information, at least includes the sequence identification SID; the SID Is the number of the DTU; the DTU payload includes at least one DTU frame, and each DTU frame includes at least DTU frame position indication information; the DTU frame position indication information includes: used to mark whether the DTU frame has been replaced Identifier and SID offset value, the SID offset value is used to indicate the offset value of the position to which the DTU frame belongs relative to the SID field in the current DTU header;
将承载了数据包的所述至少一个DTU发送出去。Sending the at least one DTU carrying the data packet.
在第二方面的第一种可能的实现方式中,所述DTU头部还包括时间戳;所述时间戳记录该DTU的发送时间,用于指示接收侧所述DTU被发送的时间。In a first possible implementation manner of the second aspect, the DTU header further includes a time stamp; the time stamp records the sending time of the DTU, and is used to indicate the time when the DTU is sent on the receiving side.
第三方面,本发明实施例提供一种数据包处理方法,有接收侧执行,包括:In a third aspect, an embodiment of the present invention provides a data packet processing method, which is executed by a receiving side and includes:
接收至少一个数据传输单元DTU上,所述DTU至少包含DTU头部和DTU载荷;所述DTU头部承载DTU的头部指示信息,至少包括序列标识SID;所述SID是所述DTU的编号;所述DTU载荷至少包括至少一个DTU帧,每个DTU帧至少包括DTU帧位置指示信息;所述DTU帧头部用于指示帧类型和帧长度;所述DTU帧位置指示信息包括:用于标记该DTU帧是否已被替换替换的标识符和SID偏移值,所述SID偏移值用于指示该DTU帧所属位置相对于当前DTU头部中SID字段的偏移值;Receiving at least one data transmission unit DTU, the DTU includes at least a DTU header and a DTU payload; the DTU header carries DTU header indication information, at least includes a sequence identification SID; the SID is the number of the DTU; The DTU payload includes at least one DTU frame, and each DTU frame includes at least DTU frame position indication information; the DTU frame header is used to indicate frame type and frame length; and the DTU frame position indication information includes: for marking Whether the identifier and SID offset value of the DTU frame have been replaced, the SID offset value is used to indicate the offset value of the position to which the DTU frame belongs relative to the SID field in the current DTU header;
对所述至少一个DTU进行解析,获得所述至少一个DTU所承载的数据包。Parsing the at least one DTU to obtain a data packet carried by the at least one DTU.
在第三方面的第一种可能的实现方式中,所述对所述至少一个DTU进行解析包括,根据所述DTU中的DTU帧头部包含的DTU帧新位置指示信息确定各DTU帧所承载的数据包的顺序。In a first possible implementation manner of the third aspect, the parsing of the at least one DTU includes determining, according to the DTU frame new position indication information contained in the DTU frame header in the DTU, the DTU frames are carried Order of packets.
第四方面,本发明实施例提供一种重传数据处理装置,用于发送侧,包括:According to a fourth aspect, an embodiment of the present invention provides a retransmission data processing apparatus for a sending side, including:
获取单元,获取重传队列中需要进行重传的数据传输单元DTU中的至少一个DTU帧的老化剩余时间t;An obtaining unit, obtaining the remaining aging time t of at least one DTU frame in the data transmission unit DTU in the retransmission queue that needs to be retransmitted;
DTU帧替换单元,用于如果有k个DTU帧已经老化或即将老化,则将所述k个DTU帧从DTU中丢弃;其中k是大于或等于1的正整数;所述即将老化是指DTU帧的老化剩余时间t小于DTU帧传递到对端并被成功解析需要的预估时间T;并从所述缓存队列中选择一个DTU帧的片段、一个或多个DTU帧加入到所述重传队列中形成新的DTU;DTU frame replacement unit, used to discard the k DTU frames from the DTU if there are k DTU frames that have been aged or are about to age; where k is a positive integer greater than or equal to 1; The aging remaining time t of the frame is less than the estimated time T required for the DTU frame to be delivered to the peer and successfully parsed; and select a fragment of the DTU frame and one or more DTU frames from the cache queue to join the retransmission A new DTU is formed in the queue;
发送单元,用于发送所述新的DTU。A sending unit, configured to send the new DTU.
在第四方面的第一种可能的实现方式中,所述选择的一个DTU帧的片段、一个或多个DTU帧的片段的总长度不大于丢弃的所述k个DTU帧的总长度。In a first possible implementation manner of the fourth aspect, the total length of the selected segment of one DTU frame and the segment of one or more DTU frames is not greater than the total length of the discarded k DTU frames.
结合第四方面或第四方面的第一种可能的实现方式,在第二种可能的实现方式中,所述新加入的一个DTU帧的片段、一个或多个DTU帧可以增加到已丢弃的DTU帧原来的位置上,或者在该DTU的其他位置上。With reference to the fourth aspect or the first possible implementation manner of the fourth aspect, in a second possible implementation manner, the newly added fragment of one DTU frame and one or more DTU frames may be added to the discarded The original position of the DTU frame, or at another position of the DTU.
结合第四方面、第四方面的第一种可能或第二种可能的实现方式,在第三种可能的实现方式中,所述至少一个DTU帧中的每个DTU帧包含DTU帧位置信息,用于标记该DTU帧是否已被替换,以及DTU帧所属位置相对于当前DTU头部中序列标识SID值的偏移值。With reference to the fourth aspect, the first possible or second possible implementation manner of the fourth aspect, in a third possible implementation manner, each DTU frame in the at least one DTU frame includes DTU frame position information, It is used to mark whether the DTU frame has been replaced, and the offset value of the position of the DTU frame relative to the sequence identification SID value in the current DTU header.
第五方面,本发明实施例提供一种发送设备,包括:一个或多个处理器、存储器、通 信接口;According to a fifth aspect, an embodiment of the present invention provides a sending device, including: one or more processors, a memory, and a communication interface;
所述存储器、所述通信接口与所述一个或多个处理器耦合;The memory and the communication interface are coupled with the one or more processors;
所述存储器用于存储计算机程序代码,所述计算机程序代码包括指令,当所述一个或多个处理器执行所述指令时,所述网络侧设备用于执行如第一方面、第三方面、第一方面或第三方面的任意一种实现方式所述的方法。The memory is used to store computer program code, and the computer program code includes instructions. When the one or more processors execute the instructions, the network-side device is used to perform the first aspect, the third aspect, The method according to any one of the first aspect or the third aspect.
第六方面,本发明实施例提供一种接收设备,包括:一个或多个处理器、存储器、通信接口;According to a sixth aspect, an embodiment of the present invention provides a receiving device, including: one or more processors, a memory, and a communication interface;
所述存储器、所述通信接口与所述一个或多个处理器耦合;The memory and the communication interface are coupled with the one or more processors;
所述存储器用于存储计算机程序代码,所述计算机程序代码包括指令,当所述一个或多个处理器执行所述指令时,所述用户驻地设备用于执行如第三方面或第三方面的任意一种实现方式所述的方法。The memory is used to store computer program code, where the computer program code includes instructions, and when the one or more processors execute the instructions, the user premises equipment is used to execute the third aspect or the third aspect. The method described in any implementation manner.
第七方面,本发明实施例提供一种处理处理系统,包括如第四方面或者五方面所述的发送设备和如第六方面所述的接收设备。According to a seventh aspect, an embodiment of the present invention provides a processing system including a sending device according to the fourth or fifth aspect and a receiving device according to the sixth aspect.
第八方面,本发明实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行第一方面、第三方面、第一方面或第三方面的任意一种实现方式所述的方法。According to an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium having instructions stored therein, which when executed on a computer, causes the computer to execute the first aspect, the third aspect, the first aspect or The method described in any implementation manner of the third aspect.
利用本实施例的方法,对于重传队列中存在已老化或接近老化的DTU帧,能对其进行替换,避免了已老化或接近老化的DTU帧的无效传输,减少重传的资源浪费,提高带宽利用率。对于重传队列中存在低业务优先级的DTU帧,用高业务优先级的DTU帧进行替换,能保证将高业务优先级的DTU帧承载的数据包及时发送出去,减小高业务优先级数据包的时延。With the method of this embodiment, the DTU frames that are aging or close to aging in the retransmission queue can be replaced, which avoids the invalid transmission of the aging or close to aging DTU frames, reduces the waste of retransmission resources, and improves Bandwidth utilization. For the DTU frames with low service priority in the retransmission queue, replace them with DTU frames with high service priority, which can ensure that the data packets carried by the DTU frames with high service priority are sent out in time, reducing the data with high service priority Packet delay.
附图说明BRIEF DESCRIPTION
图1为xDSL系统中网络侧和用户端连接关系示意图;Figure 1 is a schematic diagram of the connection relationship between the network side and the user end in the xDSL system;
图2为G.fast技术中的数据处理流程示意图;Figure 2 is a schematic diagram of the data processing flow in G.fast technology;
图3为G.fast技术中的DTU的结构示意图;Figure 3 is a schematic diagram of the structure of DTU in G.fast technology;
图4为本发明实施例的方法流程示意图;4 is a schematic flowchart of a method according to an embodiment of the present invention;
图5为本发明又一实施例的方法流程示意图;5 is a schematic flowchart of a method according to another embodiment of the present invention;
图6A为本发明实施例的DTU帧替换示意图;6A is a schematic diagram of DTU frame replacement according to an embodiment of the present invention;
图6B为本发明又一个实施例的DTU帧替换示意图;6B is a schematic diagram of DTU frame replacement according to another embodiment of the present invention;
图7为本发明实施例的DTU的结构示意图;7 is a schematic structural diagram of a DTU according to an embodiment of the present invention;
图8为本发明一个实施例的重传数据处理装置结构示意图;8 is a schematic structural diagram of a retransmission data processing apparatus according to an embodiment of the present invention;
图9为本发明又一个实施例的发送设备结构示意图;9 is a schematic structural diagram of a sending device according to another embodiment of the present invention;
图10为本发明又一个实施例的接收设备结构示意图;10 is a schematic structural diagram of a receiving device according to another embodiment of the present invention;
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述。The technical solutions in the embodiments of the present invention will be described below in conjunction with the drawings in the embodiments of the present invention.
在各种数字用户线技术(xDSL)中,采用通带传输的DSL利用频分复用(Frequency  Division Duplexing,FDD)技术使得DSL与传统电话业务(Plain Old Telephone Service,POTS)共存于同一对双绞线上,其中DSL占据高频段,POTS占用4KHz以下基带部分,POTS信号与DSL信号通过分离/整合器(Splitter)进行分离或合并。通带传输的xDSL采用离散多音频(Discrete Multi-Tone,DMT)调制技术进行调制和解调。网络结构示意图如1所示。用户端xDSL收发器(transceiver)120包括用户端收发单元121和分离/整合器122,,在上行方向,用户端收发单元121接收来自计算机110的DSL信号并对所收到的信号进行放大处理,将处理后的DSL信号发送至分离/整合器122;分离/整合器122将来自用户端收发单元121的DSL信号和电话终端130的POTS信号进行整合处理;整合好的信号通过多路的UTP140的传输,由网络侧xDSL收发器150中的分离/整合器151接收;分离/整合器151将所接收的信号进行分离,将其中的POTS信号发送至公用电话交换网(Public Switched Telephone Network,PSTN)160,将其中的DSL信号发送至网络侧xDSL收发器150的网络侧收发单元152,网络侧收发单元152再将所收到的信号进行放大处理后发送至上层网络系统170。在信号的下行方向,则信号按照与上述相反的顺序进行传输。可选的,网络侧xDSL收发器150可以不包含分离/整合器151,即不对来自用户侧的信号进行分离/整合,而是由处于网络侧收发单元152可以通过上层网络系统170中的其他网络侧设备进行分离/整合。Among various digital subscriber line technologies (xDSL), DSL adopting passband transmission utilizes Frequency Division Division (FDD) technology to make DSL and traditional telephone service (Plain Old Telephone Service, POTS) coexist in the same pair. On the stranded wire, DSL occupies the high frequency band, POTS occupies the baseband part below 4KHz, and the POTS signal and DSL signal are separated or combined by a splitter/splitter. The xDSL for passband transmission uses Discrete Multi-Tone (DMT) modulation technology for modulation and demodulation. The schematic diagram of the network structure is shown in 1. The user-side xDSL transceiver 120 includes a user-side transceiver unit 121 and a splitter/integrator 122. In the upstream direction, the user-side transceiver unit 121 receives the DSL signal from the computer 110 and amplifies the received signal. Send the processed DSL signal to the splitter/integrator 122; the splitter/integrator 122 integrates the DSL signal from the user-end transceiver unit 121 and the POTS signal of the telephone terminal 130; the integrated signal passes through the multi-channel UTP140 Transmission, received by the splitter/integrator 151 in the network-side xDSL transceiver 150; the splitter/integrator 151 separates the received signal and sends the POTS signal to the public switched telephone network (Public Switched Telephone Network, PSTN) 160. Send the DSL signal to the network-side transceiver unit 152 of the network-side xDSL transceiver 150. The network-side transceiver unit 152 then amplifies the received signal and sends it to the upper network system 170. In the downstream direction of the signal, the signal is transmitted in the reverse order to the above. Optionally, the network-side xDSL transceiver 150 may not include the splitter/integrator 151, that is, the signal from the user side is not split/integrated, but the network-side transceiver unit 152 may pass other networks in the upper-layer network system 170 Side equipment for separation/integration.
对本申请实施例中的部分用语进行解释说明,以便于本领域技术人员理解。本申请实施例中的术语“系统”和“网络”可被互换使用。“多个”是指两个或两个以上,鉴于此,本申请实施例中也可以将“多个”理解为“至少两个”。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,字符“/”,如无特殊说明,一般表示前后关联对象是一种“或”的关系。以及,除非有相反的说明,本申请实施例提及“第一”、“第二”等序数词是用于对多个对象进行区分,不用于限定多个对象的顺序、时序、优先级或者重要程度。Explain some terms in the embodiments of the present application to facilitate understanding by those skilled in the art. The terms "system" and "network" in the embodiments of the present application may be used interchangeably. "Multiple" refers to two or more. In view of this, in the embodiments of the present application, "multiple" may also be understood as "at least two". "And/or" describes the relationship of the related objects, indicating that there can be three relationships, for example, A and/or B, which can indicate: there are three cases of A alone, A and B, and B alone. In addition, the character "/", unless otherwise specified, generally indicates that the related object is a "or" relationship. And, unless stated to the contrary, the embodiments of this application refer to ordinal numbers such as "first" and "second" to distinguish between multiple objects, and are not used to limit the order, timing, priority, or Importance.
本申请实施例中的网络侧设备可以是用于在网络中与用户端设备通信的设备,该网络侧设备具体形式可以是数字用户线接入复接器(digital subscriber line access multiplexer,DSLAM),更通用地,可以是图1所示的网络侧收发器。需要说明的是,网络侧设备布放点可以在电信服务提供商的中心局点,也可以是相对用户端设备在网络中更上游的节点位置。The network-side device in the embodiment of the present application may be a device for communicating with user-end devices in the network. The specific form of the network-side device may be a digital subscriber line access multiplexer (DSLAM), More generally, it may be the network-side transceiver shown in FIG. 1. It should be noted that the network-side equipment deployment point may be at the central office of the telecommunications service provider, or it may be a node position upstream of the user equipment in the network.
在本申请实施例中,用户端设备或网络侧设备包括硬件层、运行在硬件层之上的操作系统层,以及运行在操作系统层上的应用层。该硬件层包括中央处理器(central processing unit,CPU)、内存管理单元(memory management unit,MMU)和内存(也称为主存)等硬件。该操作系统可以是任意一种或多种通过进程(process)实现业务处理的计算机操作系统,例如,Linux操作系统、Unix操作系统、Android操作系统、iOS操作系统或windows操作系统等。并且,本申请实施例并未对本申请实施例提供的方法的执行主体的具体结构特别限定,只要能够通过运行记录有本申请实施例的提供的方法的代码的程序,以根据本申请实施例提供的方法进行通信即可,例如,本申请实施例提供的方法的执行主体可以是用户端设备或网络侧设备,或者,是用户端设备或网络侧设备中能够调用程序并执行程序的功能模块。In the embodiment of the present application, the user-end device or the network-side device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), memory management unit (MMU), and memory (also called main memory). The operating system may be any one or more computer operating systems that implement business processes through processes, for example, a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system. In addition, the embodiments of the present application do not specifically limit the specific structure of the execution body of the method provided in the embodiments of the present application, as long as it can run the program that records the code of the method provided by the embodiments of the present application to provide according to the embodiments of the present application The method may be used for communication. For example, the execution body of the method provided in the embodiment of the present application may be a user terminal device or a network side device, or a functional module in the user terminal device or network side device that can call a program and execute the program.
另外,本申请的各个方面或特征可以实现成方法、装置或使用标准编程和/或工程技 术的制品。本申请中使用的术语“制品”涵盖可从任何计算机可读器件、载体或介质访问的计算机程序。例如,计算机可读介质可以包括,但不限于:磁存储器件(例如,硬盘、软盘或磁带等),光盘(例如,压缩盘(compact disc,CD)、数字通用盘(digital versatile disc,DVD)等),智能卡和闪存器件(例如,可擦写可编程只读存储器(erasable programmable read-only memory,EPROM)、卡、棒或钥匙驱动器等)。另外,本文描述的各种存储介质可代表用于存储信息的一个或多个设备和/或其它机器可读介质。术语“机器可读介质”可包括但不限于,无线信道和能够存储、包含和/或承载指令和/或数据的各种其它介质。In addition, various aspects or features of the present application may be implemented as methods, devices, or articles using standard programming and/or engineering techniques. The term "article of manufacture" as used in this application encompasses a computer program accessible from any computer-readable device, carrier, or medium. For example, the computer-readable medium may include, but is not limited to: magnetic storage devices (for example, hard disks, floppy disks, or magnetic tapes, etc.), optical disks (for example, compact discs (CDs), digital universal discs (digital discs, digital discs, DVDs)) Etc.), smart cards and flash memory devices (for example, erasable programmable read-only memory (EPROM), cards, sticks or key drives, etc.). In addition, the various storage media described herein may represent one or more devices and/or other machine-readable media for storing information. The term "machine-readable medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing, and/or carrying instructions and/or data.
由于DSL网络中,在下行方向上,网络侧设备是发送侧,用户端设备是接收侧;本发明实施例中的进行信号发送及相应信号处理的执行主体可以是发送器,也可以是集成发送器功能的网络部件,同理进行信号接收及其相应信号处理的执行主体也可以是接收器,也可以是集成接收器功能的网络部件。上行方向上,用户端设备是发送侧,网络侧设备是接收侧。下面实施例以发送侧对数据处理的过程分别说明。处理的数据包括业务数据包和管理数据包,本案中业务数据包也可简称数据包(data packet);管理数据包由于是来自管理通道的内嵌操作通道(embedded operations channel,EOC)数据包,有时也简称为EOC包(EOC packet)。在发送侧,如图2所示,对上层(Upper layers)的业务数据包和来自管理通道的EOC数据包(packet)要进行传送协议相关汇聚子层(transport protocol specific transmission convergence,TPS-TC)和物理媒质特定汇聚子层(physical media specific-transmission convergence,PMS-TC)处理。数据流控制包括优先级控制、缓存管理等操作,会形成业务数据包缓存队列,然后通过DTU成帧器形成DTU帧。首先,在TPS-TC层是将业务数据包和管理数据包封装为数据传输单元(data transform unit,DTU);然后,封装完成的DTU到达PMS-TC层后,会进入到DTU队列和重传队列(RTX queue)两个队列;DTU队列中的DTU通过混合器(MUX)传输给接收端后,接收端会反馈是否接收成功。如果PMS-TC层接收到接收端反馈的接收成功消息,则将该DTU从重传队列移除,如果接收到接收失败的反馈消息,则该DTU会从重传队列进行重传。由于G.fast只是简单地对接收端没有接受成功的DTU进行重传,没有其他约束条件。会导致某些场景下重传队列中DTU的数据已经老化,直接重传这些DTU给接收端也会被接收端直接丢弃,相当于做无意义的重传和浪费带宽。In the DSL network, in the downstream direction, the network-side device is the sending side, and the user-end device is the receiving side; the execution body for signal transmission and corresponding signal processing in the embodiment of the present invention may be a transmitter or an integrated transmitter The functioning network component, in the same way, the main body that performs signal reception and corresponding signal processing may also be a receiver or a network component that integrates the receiver function. In the upstream direction, the user equipment is the sending side, and the network equipment is the receiving side. In the following embodiments, the data processing procedures of the sending side are described separately. The processed data includes business data packets and management data packets. In this case, the business data packets may also be referred to as data packets. The management data packets are embedded operation channels (EOC) data packets from the management channel. Sometimes referred to as EOC packet (EOC packet). On the sending side, as shown in Figure 2, the service packets of the upper layers and the EOC packets from the management channel must be transport protocol related convergence sublayer (transport protocol specific transmission convergence, TPS-TC) And physical media specific convergence sublayer (physical specific-transmission convergence, PMS-TC) processing. Data flow control includes priority control, buffer management and other operations, which will form a buffer queue for business data packets, and then form a DTU frame through a DTU framer. First, in the TPS-TC layer, business data packets and management data packets are encapsulated into a data transmission unit (DTU); then, after the encapsulated DTU reaches the PMS-TC layer, it will enter the DTU queue and retransmit Queue (RTX queue) Two queues; after the DTU in the DTU queue is transmitted to the receiving end through the mixer (MUX), the receiving end will feedback whether the reception is successful. If the PMS-TC layer receives the reception success message fed back by the receiving end, the DTU is removed from the retransmission queue, and if a feedback message that the reception fails is received, the DTU will retransmit from the retransmission queue. Since G.fast simply retransmits the DTU that the receiving end did not accept successfully, there are no other constraints. In some scenarios, the data of the DTU in the retransmission queue has been aging. Directly retransmitting these DTUs to the receiving end will also be directly discarded by the receiving end, which is equivalent to meaningless retransmission and waste of bandwidth.
本发明实施例通过对重传队列中的数据进行更精细控制,使重传给接收端的数据能被接收端应用,避免做无意义的重传。需要说明的是,本发明各个实施例虽然是针对G.fast出现的问题,但也适用于其他各种DSL系统,比如G.mgfast技术等。In the embodiment of the present invention, the data in the retransmission queue is controlled more finely, so that the data retransmitted to the receiving end can be applied by the receiving end, avoiding meaningless retransmission. It should be noted that, although the embodiments of the present invention are directed to the problems of G.fast, they are also applicable to other various DSL systems, such as G.mgfast technology.
现有技术中,G.fast技术中的DTU的结构如图3所示,一个DTU包含DTU头部(DTU head)、DTU载荷(DTU payload)、误差校验序列(error check sequence,ECS)三部分。DTU头部承载DTU的头部指示信息,至少包括序列标识(sequence identifier,SID)和时间戳。SID是DTU的编号,每封装一个新的DTU,SID字段加1,SID用于接收端对DTU进行排序;时间戳记录该DTU的发送时间。DTU载荷以DTU帧(frame)的形式来承载数据数据包。DTU载荷包括多个DTU帧,每个DTU帧由DTU帧头部和DTU帧载荷组成。每个DTU帧载荷可以是整个数据包,也可以是数据包的一部分。DTU帧头部(DTU frame head)包含DTU帧类型和DTU帧长度指示位,其中DTU帧类型指示位用于标识该帧是业务数据包 还是管理数据包,并指示该帧是整个数据包,还是数据包的一部分;DTU帧长度指示位来表示对应DTU帧载荷部分的字节长度。In the prior art, the structure of the DTU in the G.fast technology is shown in FIG. 3. A DTU includes a DTU head (DTU head), a DTU payload (DTU payload), and an error check sequence (ECS). section. The DTU header carries DTU header indication information, at least including a sequence identifier (SID) and time stamp. SID is the number of the DTU. Each time a new DTU is encapsulated, the SID field is incremented by 1. The SID is used by the receiver to sort the DTU; the timestamp records the sending time of the DTU. The DTU payload carries data packets in the form of DTU frames. The DTU payload includes multiple DTU frames, and each DTU frame is composed of a DTU frame header and a DTU frame payload. Each DTU frame payload can be the entire data packet or a part of the data packet. The DTU frame header (DTU frame head) contains the DTU frame type and DTU frame length indicator, where the DTU frame type indicator is used to identify whether the frame is a service data packet or a management data packet, and indicates whether the frame is the entire data packet, or A part of the data packet; the DTU frame length indicator bit indicates the byte length of the corresponding DTU frame payload.
本发明实施例,在TPS-TC层的数据包控制单元和PMS-TC层重传队列之间建立交互通道。该通道也会通过DTU成帧器,该成帧器可以是图2中TPS-TC层中原有的DTU成帧器的部分处理功能,也可以是独立于图2中TPS-TC层中原有的成帧器之外的一个新的DTU成帧器。这样新增加的缓存队列到重传队列之间的处理通道和正常的缓存队列到DTU队列之间的通道是不同的两条通道。在重传队列中的DTU在重传时,判断DTU中各DTU帧的老化时间和/或优先级,将已老化、接近老化或业务优先级低的数据包对应的DTU帧替换成未老化或业务优先级高的数据包对应的DTU帧;或者进一步地,将优先级低的DTU帧替换成优先级高的DTU帧。其中,DTU帧优先级可以是所述DTU帧所承载的数据包的业务优先级,比如与业务服务质量QoS相关的时延优先级、业务类型优先级等。为描述方便,下文中DTU帧所承载的数据包的业务优先级也可描述为DTU帧的业务优先级。In the embodiment of the present invention, an interactive channel is established between the data packet control unit of the TPS-TC layer and the retransmission queue of the PMS-TC layer. The channel will also pass through the DTU framer, which may be part of the processing functions of the original DTU framer in the TPS-TC layer in FIG. 2 or may be independent of the original TPS-TC layer in FIG. 2 A new DTU framer outside the framer. In this way, the newly added processing channel from the buffer queue to the retransmission queue is different from the normal buffer queue to the DTU queue. When the DTU in the retransmission queue retransmits, determine the aging time and/or priority of each DTU frame in the DTU, and replace the DTU frame corresponding to the aging, close to aging, or low-priority data packets with unaged or The DTU frame corresponding to the data packet with high service priority; or further, the DTU frame with low priority is replaced with the DTU frame with high priority. The DTU frame priority may be the service priority of the data packet carried by the DTU frame, such as the delay priority and the service type priority related to the service quality of service QoS. For convenience of description, the service priority of the data packet carried in the DTU frame may also be described as the service priority of the DTU frame in the following.
本发明实施例提供一种重传数据处理方法,如图4所示,包括:An embodiment of the present invention provides a retransmission data processing method, as shown in FIG. 4, including:
步骤401:获取重传队列中需要进行重传的DTU中的至少一个DTU帧的老化剩余时间t;Step 401: Obtain the aging remaining time t of at least one DTU frame in the DTU that needs to be retransmitted in the retransmission queue;
步骤403:如果有k个DTU帧已经老化或即将老化,则将所述k个DTU帧从DTU中丢弃;其中k是大于或等于1的正整数;Step 403: If there are k DTU frames that have been aged or are about to be aged, discard the k DTU frames from the DTU; where k is a positive integer greater than or equal to 1;
其中所述即将老化是指DTU帧的老化剩余时间t小于DTU帧传递到对端并被成功解析需要的预估时间T;对于K大于1的场景,t是包含所述多个DTU帧的老化剩余时间,可以理解成一个时间数列(t 1,t 2,…,t k),包含多个元素,每个元素分别对应于每个DTU帧的老化剩余时间。 The forthcoming aging means that the remaining aging time t of the DTU frame is less than the estimated time T required for the DTU frame to be delivered to the peer and successfully parsed; for a scenario where K is greater than 1, t is the aging including the multiple DTU frames The remaining time can be understood as a sequence of time (t 1 , t 2 , ..., t k ), which contains multiple elements, and each element corresponds to the remaining aging time of each DTU frame.
需要说明的是,所述老化是指数据处理时间超过了业务质量QoS需求的时间;一般地,每个数据包从进入缓存队列的时间开始计时,经过一个时间T老化。老化剩余时间就是指距离业务质量QoS需求的时间临界点的剩余时间,即再经过一定的时间之后老化。其中已经老化了的DTU帧的老化剩余时间可以认为等于0。即将老化的DTU帧是指即使马上被发送,到达接收端也来不及被正常处理的DTU。作为一个例子,可以是指该DTU的老化剩余时间小于该DTU帧传递到对端并被解析需要的预估时间T;没有老化是指该DTU的老化剩余时间不小于该DTU帧传递到对端并被解析需要的预估时间T。所述预估时间T包括从信号被发送到对端接收后被解析的总时间,其和硬件系统和带宽吞吐量强相关,对于确定的硬件系统,所述T值是可以根据数据量准确估计的,并且在一定时间内是固定的,具体值可以由运营商配置或程序实现来确定。对不同的业务优先级,每个优先级有自己的老化时间。It should be noted that the aging refers to the time when the data processing time exceeds the service quality QoS requirements; generally, each data packet starts to count from the time when it enters the cache queue and aging after a time T. The remaining aging time refers to the remaining time from the time critical point of service quality QoS requirements, that is, aging after a certain period of time. The remaining aging time of the aging DTU frame can be regarded as equal to 0. The aging DTU frame refers to the DTU that is too late to be processed normally even if it is sent immediately. As an example, it may mean that the remaining aging time of the DTU is less than the estimated time T required for the DTU frame to be delivered to the opposite end and be resolved; no aging means that the remaining aging time of the DTU is not less than the DTU frame being delivered to the opposite end And the estimated time T required for analysis. The estimated time T includes the total time from the signal being sent to the peer end after being parsed, which is strongly related to the hardware system and bandwidth throughput. For a certain hardware system, the T value can be accurately estimated according to the amount of data And fixed for a certain period of time, the specific value can be determined by the operator configuration or program implementation. For different business priorities, each priority has its own aging time.
进一步地,包括步骤405:从所述缓存队列中选择一个DTU帧的片段、一个或多个DTU帧加入到所述重传队列中形成新的DTU。一般情况下,为了减少复杂度,可能尽量避免将一个DTU帧的片段接入到重传队列中;即使重传队列加入的完整的DTU帧已导致DTU内各DTU帧序号被打乱了,如果是一个DTU帧的片段加入,接收方还要进一步去匹配这个DTU帧的其他片段,增加了复杂度,会消耗更多系统资源。Further, it includes step 405: selecting a segment of a DTU frame from the buffer queue, adding one or more DTU frames to the retransmission queue to form a new DTU. In general, in order to reduce complexity, it may be possible to avoid inserting a DTU frame segment into the retransmission queue; even if the complete DTU frame added to the retransmission queue has caused the sequence number of each DTU frame in the DTU to be disrupted, if It is a fragment of a DTU frame. The receiver must further match the other fragments of the DTU frame, which increases the complexity and consumes more system resources.
由于DTU帧是可变长的,每个DTU帧的长度不一定相同,所以新加入的DTU帧和丢弃 的DTU帧的数量不一定相等。加入多少个DTU帧是根据长度原则:所述选择的一个DTU帧的片段、一个或多个DTU帧的片段的总长度不大于步骤402中丢弃k个DTU帧的总长度,避免超出了所述DTU的载荷长度。Since DTU frames are variable length, the length of each DTU frame is not necessarily the same, so the number of newly added DTU frames and discarded DTU frames are not necessarily equal. How many DTU frames are added is based on the length principle: the total length of the selected one DTU frame fragment or one or more DTU frame fragments is not greater than the total length of the discarded k DTU frames in step 402 to avoid exceeding the The load length of the DTU.
进一步地,所述选择的一个DTU帧的片段、一个或多个DTU帧是没有老化的DTU帧。所述没有老化是指DTU帧的老化剩余时间不小于该DTU帧传递到对端并被解析需要的预估时间T。Further, the selected segment of one DTU frame and one or more DTU frames are DTU frames without aging. The term “no aging” means that the remaining aging time of the DTU frame is not less than the estimated time T required for the DTU frame to be delivered to the peer and resolved.
可选的,新加入的一个DTU帧的片段、一个或多个DTU帧可以增加到已丢弃的DTU帧原来的位置上,也可以在该DTU的其他位置上,比如在该DTU末尾或者开头。Optionally, the newly added fragment of one DTU frame and one or more DTU frames may be added to the original position of the discarded DTU frame, or at other positions of the DTU, such as at the end or beginning of the DTU.
进一步地,还包括步骤407:发送所述新的DTU。Further, it also includes step 407: sending the new DTU.
还进一步地,在步骤401之前本方法还包括确定需要重传所述DTU。具体为,没有接收到从接收端反馈过来的成功接收所述DTU信息,则确定所述DTU需要被重传。Still further, before step 401, the method further includes determining that the DTU needs to be retransmitted. Specifically, if no successful reception of the DTU information fed back from the receiving end is received, it is determined that the DTU needs to be retransmitted.
更进一步地,还可以将优先级低的DTU帧替换成优先级高的DTU帧。所以所述方法在步骤407中发送重传队列中新的DTU之前还包括对所述新DTU进行进一步处理,如图5所示,包括Furthermore, it is also possible to replace DTU frames with low priority with DTU frames with high priority. Therefore, the method further includes processing the new DTU before sending the new DTU in the retransmission queue in step 407, as shown in FIG. 5, including
步骤501:获取重传队列中需要进行重传的DTU中的至少一个DTU帧的业务优先级;Step 501: Obtain the service priority of at least one DTU frame in the DTU that needs to be retransmitted in the retransmission queue;
步骤503:如果有m个DTU帧的业务优先级分别小于缓存队列中n个DTU帧的业务优先级,则用所述缓存队列中所述n个DTU帧中的一个DTU帧的片段、一个或多个DTU帧替换所述重传队列中所述m个DTU帧形成更新(newer)的DTU;其中m和n是大于或等于1的正整数;Step 503: If the service priority of m DTU frames is less than the service priority of n DTU frames in the cache queue, then use a fragment, a or a DTU frame of the n DTU frames in the cache queue Multiple DTU frames replace the m DTU frames in the retransmission queue to form a newer DTU; where m and n are positive integers greater than or equal to 1;
其中所述用所述缓存队列中k个DTU帧替换所述重传队列中m个DTU帧形成更新的DTU帧就是将重传队列中k个DTU帧形成新的DTU帧删除,然后在所述缓存队列中选择所述k个DTU帧增加到所述重传队列中需要进行重传的DTU中。Wherein replacing the m DTU frames in the retransmission queue with k DTU frames in the buffer queue to form an updated DTU frame is to delete the k DTU frames in the retransmission queue to form a new DTU frame, and then delete The k DTU frames selected in the buffer queue are added to the DTUs in the retransmission queue that need to be retransmitted.
和上述增加的没有老化的DTU帧需满足长度原则类似,从所述n个DTU帧中选择的所述一个DTU帧的片段、一个或多个DTU帧的片段的总长度不大于被替换的所述n个DTU帧的总长度。换句话说,只需要满足长度原则,可以是缓存队列中一个DTU帧的片段、一个或多个DTU帧替换所述重传队列中所述多个DTU帧。下面以缓存队列中一个DTU帧替换所述重传队列中一个DTU帧为例进行说明。Similar to the above-mentioned added non-aged DTU frame needs to meet the length principle, the total length of the fragments of the one DTU frame and the fragments of the one or more DTU frames selected from the n DTU frames is not greater than that of the replaced Describe the total length of n DTU frames. In other words, it only needs to satisfy the length principle, which may be a fragment of one DTU frame in the buffer queue, one or more DTU frames replacing the multiple DTU frames in the retransmission queue. The following uses a DTU frame in the buffer queue to replace one DTU frame in the retransmission queue as an example for description.
在满足长度原则的前提下,如果缓存队列中的1个数据包的业务优先级大于重选队列中DTU中的1个DTU帧的业务优先级,将这个DTU帧所承载的数据包放回缓存队列中,并将缓存队列中的这个业务优先级高的数据包进行DTU帧封装后加入到所述DTU中。如果缓存队列中的1个数据包的业务优先级大于重选队列中DTU中的多个DTU帧的业务优先级,选取业务优先级最低的1个DTU帧所承载的数据包放回缓存队列中,并将缓存队列中的这个业务优先级高的数据包进行DTU帧封装后加入到所述DTU中;如果缓存队列中的有多个数据包的业务优先级大于重选队列中DTU中的所有DTU帧的业务优先级,则缓存队列中的业务优先级最高的数据包对应的DTU帧替换重传队列中DTU所承载的业务优先级最低的数据包对应的DTU帧,缓存队列中的业务优先级次高的数据包对应的DTU帧替换重传队列中DTU所承载的业务优先级次低的数据包对应的DTU帧,按照该原则依次进行。On the premise of satisfying the length principle, if the service priority of one data packet in the cache queue is greater than the service priority of one DTU frame in the DTU in the reselection queue, the data packet carried by this DTU frame is put back into the cache In the queue, the data packet with a high service priority in the buffer queue is encapsulated in a DTU frame and added to the DTU. If the service priority of one data packet in the cache queue is greater than the service priority of multiple DTU frames in the DTU in the reselection queue, the data packet carried by the one DTU frame with the lowest service priority is selected and returned to the cache queue , And encapsulate this data packet with high service priority in the buffer queue into the DTU after encapsulating it in the DTU; if the service priority of multiple data packets in the buffer queue is greater than all the DTUs in the reselection queue For the service priority of the DTU frame, the DTU frame corresponding to the data packet with the highest service priority in the cache queue replaces the DTU frame corresponding to the data packet with the lowest service priority carried by the DTU in the retransmission queue, and the service in the cache queue takes priority The DTU frame corresponding to the data packet with the higher rank replaces the DTU frame corresponding to the data packet with the lower priority of the service carried by the DTU in the retransmission queue, according to this principle.
进一步地,将替换下来的低业务优先级DTU帧承载的数据包放回到缓存队列中;Further, the data packets carried by the replaced low-service priority DTU frames are put back into the buffer queue;
进一步地,从缓存队列中将业务优先级高的数据包对应的DTU帧加入到重传DTU队列 中进行重传后,不将该DTU加入到正常的DTU队列进行发送。以避免重复发送该DTU。Further, after the DTU frame corresponding to the data packet with a high service priority is added to the retransmission DTU queue from the buffer queue for retransmission, the DTU is not added to the normal DTU queue for transmission. To avoid sending the DTU repeatedly.
利用本发明实施例,对于重传队列中存在已老化或接近老化的DTU帧,将其丢弃,避免了已老化或接近老化的DTU帧的无效传输,减少重传的资源浪费,提高带宽利用率。对于重传队列中存在低业务优先级的DTU帧,用高业务优先级的DTU帧进行替换,能保证将高业务优先级的DTU帧承载的数据包及时发送出去,减小高业务优先级数据包的时延。By using the embodiment of the present invention, the aging or near-aging DTU frames in the retransmission queue are discarded to avoid the invalid transmission of the aging or near-aging DTU frames, reduce the waste of retransmission resources, and improve the bandwidth utilization . For the DTU frames with low service priority in the retransmission queue, replace them with DTU frames with high service priority, which can ensure that the data packets carried by the DTU frames with high service priority are sent out in time, reducing the data with high service priority Packet delay.
上述根据DTU帧的业务优先级对DTU帧进行替换的操作可以是在对重传DTU内将已老化或即将老化的DTU帧进行丢弃后的执行,一起形成一个新的DTU发送;也可以单独执行,即直接对一个重传DTU中的DTU帧按照步骤501和503的方法进行操作后,形成新的DTU发送。The operation of replacing the DTU frame according to the service priority of the DTU frame may be performed after discarding the aging or aging DTU frame in the retransmitted DTU to form a new DTU to send together; or it may be executed separately That is, after directly operating the DTU frames in a retransmitted DTU according to the methods of steps 501 and 503, a new DTU is sent.
下面对本发明实施例中的DTU帧的丢弃和替换进行举例说明。The following is an example of discarding and replacing DTU frames in the embodiments of the present invention.
如图6A所示,每个方格中的数值表示DTU帧承载的数据包编号(如1、2)或数据包片段(如1.1、1.2)的编号。每个DTU中的可以是1个DTU帧承载一个数据包,比如DTU1中第4个和第5个DTU帧分别承载数据包2和3,DTU2中第2个和第3个DTU帧分别承载数据包5和6;也可以是多个DTU帧共同承载一个数据包,比如DTU1中第1个和第2个DTU帧共同承载数据包1,DTU3中第1个和第2个DTU帧共同承载数据包8。在该实施例中,假设DTU1、DTU2和DTU3在正常DTU队列传输后,DTU2传输没有成功,需要从重传队列进行重传。而在重传DTU2时,发现里面的第1个和第3个DTU帧(分别对应第4个数据包的第二片段和第6个数据包)已经老化,或离老化时间小于阈值T,则将第1个和第3个DTU帧丢弃,从数据包缓存队列中取对应的两个DTU帧(如图分别对应数据包12和13)进行替换,形成新的DTU2发送。接收端在第一次正常DTU队列传输中没有接收到DTU2,但在重传队列传输中接收到了新的DTU2;之后,接收端就会根据次序解析出DTU帧所承载的数据包。由于数据包4只有部分片段(4.1)被接收到,所以不能完整解析出该数据包;数据包6没有被成功接收到,接收端自然解析不出数据包6;所以接收端可以解析出数据包1、2、3、5、7、8、9、10、11、12和13。As shown in FIG. 6A, the value in each square represents the number of the data packet carried by the DTU frame (such as 1, 2) or the number of data packet fragments (such as 1.1, 1.2). One DTU frame in each DTU can carry one data packet, for example, the 4th and 5th DTU frames in DTU1 carry data packets 2 and 3 respectively, and the 2nd and 3rd DTU frames in DTU2 carry data respectively. Packets 5 and 6; multiple DTU frames can also carry a data packet. For example, the first and second DTU frames in DTU1 carry data packet 1, and the first and second DTU frames in DTU3 carry data. Pack 8. In this embodiment, it is assumed that after DTU1, DTU2, and DTU3 are transmitted in the normal DTU queue, DTU2 transmission is not successful, and retransmission is required from the retransmission queue. When retransmitting DTU2, it is found that the first and third DTU frames (corresponding to the second fragment of the fourth data packet and the sixth data packet, respectively) have aged, or the aging time is less than the threshold T, then The first and third DTU frames are discarded, and the corresponding two DTU frames (corresponding to packets 12 and 13 respectively) are replaced from the packet buffer queue to form a new DTU2 for transmission. The receiving end did not receive DTU2 in the first normal DTU queue transmission, but received a new DTU2 in the retransmission queue transmission; after that, the receiving end would parse out the data packets carried by the DTU frame according to the order. Since only part of the packet (4.1) was received in the data packet 4, the data packet cannot be completely parsed; the data packet 6 is not successfully received, and the data packet 6 cannot be parsed by the receiving end; therefore, the data packet can be parsed by the receiving end 1, 2, 3, 5, 7, 8, 9, 10, 11, 12, and 13.
以上实施例中,数据包12和13对应的DTU帧是原位置体现要丢弃的DTU帧。除此之外,还可将DTU2先进行碎片整理,将未丢弃的DTU帧前移从而使空出的DTU帧位置在DTU的末尾;然后将数据包12和13对应的DTU帧填充进去;如图6B所示。同理,碎片整理也可以是将未丢弃的DTU帧后移从而使空出的DTU帧位置在DTU的头部;然后将数据包12和13对应的DTU帧填充进去。In the above embodiments, the DTU frames corresponding to the data packets 12 and 13 are the DTU frames to be discarded at the original position. In addition, DTU2 can also be defragmented, and the undiscarded DTU frames are moved forward so that the vacated DTU frame is at the end of the DTU; then the DTU frames corresponding to data packets 12 and 13 are filled in; As shown in Figure 6B. In the same way, defragmentation can also be to move back the undiscarded DTU frames so that the vacated DTU frame position is at the head of the DTU; then fill in the DTU frames corresponding to data packets 12 and 13.
更进一步的,在另一个实施例中,假设DTU1、DTU2和DTU3在正常DTU队列传输后,还是DTU2传输没有成功,需要从重传队列进行重传。而在重传DTU2时,除了发现里面的第1个DTU帧(对应第4个数据包的第二片段)已经老化,需要用数据包12对应的DTU帧替换外;还发现里面的第3个DTU帧(对应第6个数据包)的业务优先级低于缓存队列中数据包13的业务优先级;具体可以是,低业务优先级的第6个数据包的时间阈值大于高业务优先级的第13个数据包的时间阈值,即第13个数据包会先于第6个数据包老化。则用数据包13对应的DTU帧替换掉数据包6对应的DTU帧,重新组合成新的DTU2发送,将低业务优先级的数据包6放回缓存队列,或放入其他内存,待重新封装DTU帧。Furthermore, in another embodiment, it is assumed that after DTU1, DTU2, and DTU3 are transmitted in the normal DTU queue, DTU2 transmission is still unsuccessful, and retransmission is required from the retransmission queue. When retransmitting DTU2, in addition to finding that the first DTU frame (corresponding to the second fragment of the fourth data packet) has aged, it needs to be replaced with the DTU frame corresponding to data packet 12; also found the third The business priority of the DTU frame (corresponding to the sixth data packet) is lower than the business priority of the data packet 13 in the cache queue; specifically, the time threshold of the sixth data packet of the low business priority is greater than that of the high business priority The time threshold of the 13th data packet, that is, the 13th data packet will age before the 6th data packet. Then replace the DTU frame corresponding to the data packet 6 with the DTU frame corresponding to the data packet 13 and reassemble into a new DTU 2 to send. Put the low-service priority data packet 6 back into the cache queue or put it into other memory to be repackaged DTU frame.
一般地,1个数据包承载在1个DTU或多个DTU帧后,多个数据包对应的DTU帧是对应数据包的先后次序依次排列在DTU载荷中;其中如果1个数据包是由多个DTU帧承载, 这多个DTU帧也是按照承载数据的先后排列。由于替换后的DTU帧破坏了原来的依次对应数据包的顺序,就需要在DTU帧中增加新的位置指示信息。Generally, one data packet is carried in one DTU or multiple DTU frames, and the corresponding DTU frames of multiple data packets are the order of the corresponding data packets in the DTU payload; if one data packet is composed of multiple Multiple DTU frames are carried, and the multiple DTU frames are also arranged in order of carrying data. Since the replaced DTU frame destroys the original sequence of sequentially corresponding data packets, it is necessary to add new position indication information in the DTU frame.
本发明实施例还提供一种DTU数据结构,如图7所示,所述DTU至少包含DTU头部和DTU载荷;An embodiment of the present invention also provides a DTU data structure. As shown in FIG. 7, the DTU includes at least a DTU header and a DTU payload;
所述DTU头部承载DTU的头部指示信息,至少包括序列标识SID;所述SID是所述DTU的编号;The DTU header carries DTU header indication information, at least including a sequence identifier SID; the SID is the number of the DTU;
所述DTU载荷至少包括至少一个DTU帧,每个DTU帧至少包括DTU帧头部和DTU帧载荷;所述DTU帧头部包括指示DTU帧类型、DTU帧长度和DTU帧位置信息;作为一个可选方式,所述DTU帧位置信息也可以不在DTU帧头部,而在DTU帧的其他位置。The DTU payload includes at least one DTU frame, and each DTU frame includes at least a DTU frame header and a DTU frame payload; the DTU frame header includes information indicating the DTU frame type, DTU frame length, and DTU frame position; as a Alternatively, the position information of the DTU frame may not be at the head of the DTU frame, but at another position of the DTU frame.
所述DTU帧位置信息包括:The DTU frame position information includes:
替换标识符(flag):用于标记该DTU帧是否已被替换。0表示没被替换,1表示进行了替换。Replacement identifier (flag): used to mark whether the DTU frame has been replaced. 0 means no replacement, 1 means replacement.
SID偏移值(SID offset):用于指示该DTU帧所属位置相对于当前DTU头部中SID字段所示值的偏移值,用于确定该DTU帧的实际位置。SID offset value (SID offset): used to indicate the offset value of the position to which the DTU frame belongs relative to the value shown in the SID field in the current DTU header, and used to determine the actual position of the DTU frame.
可选地,DTU帧头部还包括DTU帧所承载的数据包的业务优先级信息。高业务优先级数据包可以是对处理时间要求更高的业务数据包;业务优先级越高标识数据包处理的时间要求越紧急。Optionally, the header of the DTU frame also includes service priority information of the data packet carried by the DTU frame. The high business priority data packet may be a business data packet that requires higher processing time; the higher the business priority, the more urgent the time requirement for identifying the data packet processing.
可选的,所述DTU帧位置指示信息也可以包含其他能表示该DTU帧所属位置的信息。Optionally, the DTU frame position indication information may also include other information that can indicate the position to which the DTU frame belongs.
可以选地,DTU头部还包括时间戳。所述时间戳记录该DTU的发送时间;用于指示接收侧所述DTU被发送的时间。Optionally, the DTU header also includes a time stamp. The timestamp records the sending time of the DTU; it is used to indicate the time when the DTU is sent on the receiving side.
这样,发送端/接收端就通过发送/接收本实施例新定义的DTU,基于上述的方法实施例,来对低优先级的DTU帧进行替换。In this way, the sending end/receiving end sends/receives the newly defined DTU in this embodiment, and replaces the DTU frame with a low priority based on the above method embodiment.
本发明实施例还提供一种重传数据处理装置800,如图8所示,包括:An embodiment of the present invention also provides a retransmission data processing apparatus 800, as shown in FIG. 8, including:
获取单元801,用于获取重传队列中需要进行重传的DTU中的至少一个DTU帧的老化剩余时间t;The obtaining unit 801 is configured to obtain the remaining aging time t of at least one DTU frame in the DTU that needs to be retransmitted in the retransmission queue;
DTU帧替换单元802,用于如果有k个DTU帧已经老化或即将老化,则将所述k个DTU帧从DTU中丢弃;其中k是大于或等于1的正整数;从所述缓存队列中选择一个DTU帧的片段、一个或多个DTU帧加入到所述重传队列中形成新的DTUThe DTU frame replacement unit 802 is used to discard the k DTU frames from the DTU if there are k DTU frames that have been aged or are about to be aged; where k is a positive integer greater than or equal to 1; from the cache queue Select a segment of a DTU frame and one or more DTU frames to join the retransmission queue to form a new DTU
发送单元803,用于发送所述新的DTU。The sending unit 803 is used to send the new DTU.
进一步地,还包括重传确认单元804,用于确定需要重传所述DTU。Further, a retransmission confirmation unit 804 is further included, which is used to determine that the DTU needs to be retransmitted.
更进一步地,所述获取单元801还用于获取重传队列中需要进行重传的DTU中的至少一个DTU帧的业务优先级;Furthermore, the obtaining unit 801 is further configured to obtain the service priority of at least one DTU frame in the DTU in the retransmission queue that needs to be retransmitted;
所述DTU帧替换单元802还用于,如果有m个DTU帧的业务优先级分别小于缓存队列中n个DTU帧的业务优先级,则用所述缓存队列中所述n个DTU帧中的一个DTU帧的片段、一个或多个DTU帧替换所述重传队列中所述m个DTU帧形成更新(newer)的DTU;其中m和n是大于或等于1的正整数;The DTU frame replacement unit 802 is also used to: if the service priority of m DTU frames is less than the service priority of n DTU frames in the cache queue, then use the n DTU frames in the cache queue A fragment of one DTU frame and one or more DTU frames replace the m DTU frames in the retransmission queue to form a newer DTU; where m and n are positive integers greater than or equal to 1;
所述实施例的重传数据处理装置用于执行图4和5所对应的方法实施例,其中各个单元分别为了实现数据包处理方法所示实施例中的相应流程,为了简洁,在此不再赘述。The retransmission data processing apparatus of the embodiment is used to execute the method embodiments corresponding to FIGS. 4 and 5, wherein each unit separately implements the corresponding flow in the embodiment shown in the data packet processing method. Repeat.
本发明实施例还提供一种数据包处理方法,用于发送侧,包括:An embodiment of the present invention also provides a data packet processing method for the sending side, including:
将待发送的数据包承载到至少一个DTU上,所述DTU至少包含DTU头部和DTU载荷;所述DTU头部承载DTU的头部指示信息,至少包括序列标识SID;所述SID是所述DTU的编号;所述DTU载荷至少包括至少一个DTU帧,每个DTU帧至少包括DTU帧位置指示信息;所述DTU帧位置指示信息包括:用于标记该DTU帧是否已被替换替换的标识符(flag),和SID偏移值(SID offset),用于指示该DTU帧所属位置相对于当前DTU头部中SID字段的偏移值,以确定该DTU帧的实际位置;可选的,所述DTU帧位置指示信息也可以包含其他能表示该DTU帧所属位置的信息。Carry the data packet to be sent to at least one DTU, the DTU at least contains the DTU header and the DTU payload; the DTU header carries the header indication information of the DTU, at least includes the sequence identifier SID; the SID is the DTU number; the DTU payload includes at least one DTU frame, each DTU frame includes at least DTU frame position indication information; the DTU frame position indication information includes: an identifier used to mark whether the DTU frame has been replaced (flag), and SID offset (SID offset), used to indicate the offset value of the position of the DTU frame relative to the SID field in the current DTU header to determine the actual position of the DTU frame; optional, all The DTU frame position indication information may also include other information that can indicate the position to which the DTU frame belongs.
将承载了数据包的所述至少一个DTU发送出去。Sending the at least one DTU carrying the data packet.
本发明实施例还提供一种数据包处理方法,用于接收侧,包括:An embodiment of the present invention also provides a data packet processing method for the receiving side, including:
接收至少一个DTU上,所述DTU至少包含DTU头部和DTU载荷;所述DTU头部承载DTU的头部指示信息,至少包括序列标识SID;所述SID是所述DTU的编号;所述DTU载荷至少包括至少一个DTU帧,每个DTU帧至少包括DTU帧位置指示信息;所述DTU帧位置指示信息包括:用于标记该DTU帧是否已被替换替换的标识符(flag),和SID偏移值(SID offset),用于指示该DTU帧所属位置相对于当前DTU头部中SID字段的偏移值,以确定该DTU帧的实际位置;可选的,所述DTU帧位置指示信息也可以包含其他能表示该DTU帧所属位置的信息。Receiving at least one DTU, the DTU contains at least a DTU header and a DTU payload; the DTU header carries DTU header indication information, at least includes a sequence identification SID; the SID is the number of the DTU; the DTU The payload includes at least one DTU frame, and each DTU frame includes at least DTU frame position indication information; the DTU frame position indication information includes: an identifier (flag) used to mark whether the DTU frame has been replaced, and an SID offset SID offset is used to indicate the offset value of the position of the DTU frame relative to the SID field in the current DTU header to determine the actual position of the DTU frame; optionally, the DTU frame position indication information also It may contain other information that can indicate where the DTU frame belongs.
对所述至少一个DTU进行解析,获得所述至少一个DTU所承载的数据包。Parsing the at least one DTU to obtain a data packet carried by the at least one DTU.
进一步地,所述对所述至少一个DTU进行解析包括,根据所述DTU中的DTU帧头部包含的DTU帧新位置指示信息确定各DTU帧所承载的数据包的顺序。Further, the parsing of the at least one DTU includes determining the sequence of the data packets carried by each DTU frame according to the DTU frame new position indication information included in the DTU frame header in the DTU.
上述实施例中发送侧可以是网路侧设备,对应的接收侧就是用户侧设备;发送侧如果是用户侧设备,对应的接收侧就是网络侧设备。所述DTU中的结构和上文中其他实施例中的限制保持一致,这里不再赘述。In the above embodiment, the sending side may be a network side device, and the corresponding receiving side is a user side device; if the sending side is a user side device, the corresponding receiving side is a network side device. The structure in the DTU is consistent with the restrictions in other embodiments above, and will not be repeated here.
图9是根据本发明另一实施例的一种发送设备900的示意性框图。如图9所示,发送设备900包括处理器901、存储器902和通信接口903,存储器902用于存储可执行的程序代码,处理器901通过读取存储器902中存储的可执行程序代码来运行与可执行程序代码对应的程序,执行程序对应的图3所示的方法实施例中的各步骤。通信接口903用于与外部设备通信,发送设备900还可以包括总线904,总线904用于连接处理器901、存储器902和通信接口903,使处理器901、存储器902和通信接口903通过总线904进行相互通信。9 is a schematic block diagram of a sending device 900 according to another embodiment of the present invention. As shown in FIG. 9, the sending device 900 includes a processor 901, a memory 902, and a communication interface 903. The memory 902 is used to store executable program code. The processor 901 reads the executable program code stored in the memory 902 to run and The program corresponding to the executable program code executes the steps in the method embodiment shown in FIG. 3 corresponding to the program. The communication interface 903 is used to communicate with external devices. The sending device 900 may further include a bus 904. The bus 904 is used to connect the processor 901, the memory 902, and the communication interface 903, so that the processor 901, the memory 902, and the communication interface 903 are performed through the bus 904. Communicate with each other.
根据本发明实施例的发送设备900中的各操作和/或功能分别为了实现图4和5,或上述用于发送侧的数据包处理方法所示实施例中的相应流程,为了简洁,在此不再赘述。Each operation and/or function in the transmitting device 900 according to an embodiment of the present invention is to implement the corresponding flow in the embodiment shown in FIGS. 4 and 5 or the above-described packet processing method for the transmitting side, for simplicity, here No longer.
图10是根据本发明另一实施例的一种接收设备1000的示意性框图。如图10所示,接收设备1000包括处理器1001、存储器1002和通信接口1003,存储器1002用于存储可执行的程序代码,处理器1001通过读取存储器1002中存储的可执行程序代码来运行与可执行程序代码对应的程序,通信接口1003用于与外部设备通信,接收设备1000还可以包括总线1004,总线1004用于连接处理器1001、存储器1002和通信接口1003,使处理器1001、存储器1002和通信接口1003通过总线1004进行相互通信。10 is a schematic block diagram of a receiving device 1000 according to another embodiment of the present invention. As shown in FIG. 10, the receiving device 1000 includes a processor 1001, a memory 1002, and a communication interface 1003. The memory 1002 is used to store executable program code. The processor 1001 runs and reads the executable program code stored in the memory 1002. A program corresponding to executable program code. The communication interface 1003 is used to communicate with an external device. The receiving device 1000 may further include a bus 1004. The bus 1004 is used to connect the processor 1001, the memory 1002, and the communication interface 1003, so that the processor 1001, the memory 1002 Communicate with the communication interface 1003 via the bus 1004.
根据本发明实施例的接收设备1000中的各操作和/或功能分别为了上述用于接收侧的数据包处理方法所示实施例中的相应流程,为了简洁,在此不再赘述。The operations and/or functions in the receiving device 1000 according to the embodiments of the present invention are respectively the corresponding processes in the embodiment shown in the above-mentioned data packet processing method for the receiving side, and for the sake of brevity, they are not repeated here.
本发明一个实施例提供了一种同步符号的发送系统,包括如图8所示的发送设备900和如图9所示的接收设备1000。An embodiment of the present invention provides a synchronization symbol transmission system, including a transmission device 900 shown in FIG. 8 and a reception device 1000 shown in FIG. 9.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention, rather than limiting it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features can be equivalently replaced; and these modifications or replacements do not deviate from the essence of the corresponding technical solutions of the technical solutions of the embodiments of the present invention. range.

Claims (20)

  1. 一种重传数据处理方法,其特征在于,包括:A method for processing retransmission data, which includes:
    获取重传队列中需要进行重传的数据传输单元DTU中的至少一个DTU帧的老化剩余时间t;Obtain the aging remaining time t of at least one DTU frame in the data transmission unit DTU in the retransmission queue that needs to be retransmitted;
    如果有k个DTU帧已经老化或即将老化,则将所述k个DTU帧从DTU中丢弃;其中k是大于或等于1的正整数;所述即将老化是指DTU帧的老化剩余时间t小于DTU帧传递到对端并被成功解析需要的预估时间T;If there are k DTU frames that have been aged or are about to be aged, then discard the k DTU frames from the DTU; where k is a positive integer greater than or equal to 1; the upcoming aging means that the remaining aging time t of the DTU frame is less than The estimated time T required for the DTU frame to be delivered to the peer and successfully parsed;
    从所述缓存队列中选择一个DTU帧的片段、一个或多个DTU帧加入到所述重传队列中形成新的DTU;Selecting a fragment of a DTU frame and one or more DTU frames from the buffer queue to join the retransmission queue to form a new DTU;
    发送所述新的DTU。Send the new DTU.
  2. 如权利要求1所述的方法,其特征在于,所述选择的一个DTU帧的片段、一个或多个DTU帧的片段的总长度不大于丢弃的所述k个DTU帧的总长度。The method according to claim 1, wherein the total length of the selected one DTU frame segment or one or more DTU frame segments is not greater than the total length of the discarded k DTU frames.
  3. 如权利要求1或2所述的方法,其特征在于,所述新加入的一个DTU帧的片段、一个或多个DTU帧可以增加到已丢弃的DTU帧原来的位置上,或者在该DTU的其他位置上。The method according to claim 1 or 2, wherein the newly added fragment of one DTU frame and one or more DTU frames can be added to the original position of the discarded DTU frame, or in the DTU Other locations.
  4. 如权利要求1至3任一所述的方法,其特征在于,所述选择的一个DTU帧的片段、一个或多个DTU帧是没有老化的DTU帧的判断或没有老化的DTU帧。The method according to any one of claims 1 to 3, wherein the selected segment of one DTU frame and one or more DTU frames are judgments of no aging DTU frames or no aging DTU frames.
  5. 如权利要求1至4任一所述的方法,其特征在于,在发送所述新的DTU之前,所述方法还包括获取重传队列中需要进行重传的DTU中的至少一个DTU帧的业务优先级;The method according to any one of claims 1 to 4, wherein before the sending of the new DTU, the method further comprises acquiring a service of at least one DTU frame in the DTU in the retransmission queue that needs to be retransmitted priority;
    如果有m个DTU帧的业务优先级分别小于缓存队列中n个DTU帧的业务优先级,则用所述缓存队列中所述n个DTU帧中的一个DTU帧的片段、一个或多个DTU帧替换所述重传队列中所述m个DTU帧形成更新的DTU;其中m和n是大于或等于1的正整数。If the service priority of m DTU frames is less than the service priority of n DTU frames in the cache queue, then the fragment of one DTU frame and one or more DTUs in the n DTU frames in the cache queue are used The frames replace the m DTU frames in the retransmission queue to form an updated DTU; where m and n are positive integers greater than or equal to 1.
  6. 如权利要求5所述的方法,其特征在于,如果缓存队列中的1个数据包的业务优先级大于重选队列中DTU中的多个DTU帧的业务优先级,选取业务优先级最低的1个DTU帧所承载的数据包放回缓存队列中,并将缓存队列中的这个业务优先级高的数据包进行DTU帧封装后加入到所述DTU中。The method according to claim 5, wherein if the service priority of one data packet in the cache queue is greater than the service priority of multiple DTU frames in the DTU in the reselection queue, the lowest service priority is selected as 1. The data packets carried by the DTU frames are put back into the buffer queue, and the data packets with high service priority in the buffer queue are encapsulated in the DTU frame and added to the DTU.
  7. 如权利要求1至6任一所述的方法,其特征在于,所述至少一个DTU帧中的每个DTU帧包含DTU帧位置信息,用于标记该DTU帧是否已被替换,以及DTU帧所属位置相对于当前DTU头部中序列标识SID值的偏移值。The method according to any one of claims 1 to 6, wherein each DTU frame in the at least one DTU frame contains DTU frame position information for marking whether the DTU frame has been replaced, and the DTU frame belongs to The offset value of the position relative to the sequence identification SID value in the current DTU header.
  8. 一种数据包处理方法,用于发送侧,其特征在于,包括:A data packet processing method for the sending side, characterized in that it includes:
    将待发送的数据包承载到至少一个数据传输单元DTU上,所述DTU至少包含DTU头部和DTU载荷;所述DTU头部承载DTU的头部指示信息,至少包括序列标识SID;所述SID是所述DTU的编号;所述DTU载荷至少包括至少一个DTU帧,每个DTU帧至少包括DTU帧位置指示信息;所述DTU帧位置指示信息包括:用于标记该DTU帧是否已被替换替换的标识符和SID偏移值,所述SID偏移值用于指示该DTU帧所属位置相对于当前DTU头部中SID字段的偏移值;Carry the data packet to be sent to at least one data transmission unit DTU, the DTU at least contains the DTU header and the DTU payload; the DTU header carries the DTU header indication information, at least includes the sequence identification SID; the SID Is the number of the DTU; the DTU payload includes at least one DTU frame, and each DTU frame includes at least DTU frame position indication information; the DTU frame position indication information includes: used to mark whether the DTU frame has been replaced Identifier and SID offset value, the SID offset value is used to indicate the offset value of the position to which the DTU frame belongs relative to the SID field in the current DTU header;
    将承载了数据包的所述至少一个DTU发送出去。Sending the at least one DTU carrying the data packet.
  9. 如权利要求8所述的方法,其特征在于,所述DTU头部还包括时间戳;所述时间戳记录该DTU的发送时间,用于指示接收侧所述DTU被发送的时间。The method according to claim 8, wherein the DTU header further includes a time stamp; the time stamp records the sending time of the DTU, and is used to indicate the time when the DTU is sent on the receiving side.
  10. 一种数据包处理方法,用于接收侧,其特征在于,包括:A data packet processing method for the receiving side, characterized in that it includes:
    接收至少一个数据传输单元DTU上,所述DTU至少包含DTU头部和DTU载荷;所述DTU头 部承载DTU的头部指示信息,至少包括序列标识SID;所述SID是所述DTU的编号;所述DTU载荷至少包括至少一个DTU帧,每个DTU帧至少包括DTU帧位置指示信息;所述DTU帧头部用于指示帧类型和帧长度;所述DTU帧位置指示信息包括:用于标记该DTU帧是否已被替换替换的标识符和SID偏移值,所述SID偏移值用于指示该DTU帧所属位置相对于当前DTU头部中SID字段的偏移值;Receiving at least one data transmission unit DTU, the DTU includes at least a DTU header and a DTU payload; the DTU header carries DTU header indication information, at least includes a sequence identification SID; the SID is the number of the DTU; The DTU payload includes at least one DTU frame, and each DTU frame includes at least DTU frame position indication information; the DTU frame header is used to indicate frame type and frame length; and the DTU frame position indication information includes: for marking Whether the identifier and SID offset value of the DTU frame have been replaced, the SID offset value is used to indicate the offset value of the position to which the DTU frame belongs relative to the SID field in the current DTU header;
    对所述至少一个DTU进行解析,获得所述至少一个DTU所承载的数据包。Parsing the at least one DTU to obtain a data packet carried by the at least one DTU.
  11. 如权利要求10所述的方法,其特征在于,所述对所述至少一个DTU进行解析包括,根据所述DTU中的DTU帧头部包含的DTU帧新位置指示信息确定各DTU帧所承载的数据包的顺序。The method according to claim 10, wherein the parsing of the at least one DTU includes determining, according to the DTU frame new position indication information contained in the DTU frame header in the DTU, the The order of packets.
  12. 如权利要求10或11所述的方法,其特征在于,所述DTU头部还包括时间戳。所述时间戳记录该DTU的发送时间,用于指示接收侧所述DTU被发送的时间。The method according to claim 10 or 11, wherein the DTU header further includes a time stamp. The time stamp records the sending time of the DTU and is used to indicate the time when the DTU is sent on the receiving side.
  13. 一种重传数据处理装置,其特征在于,包括:A retransmission data processing device, characterized in that it includes:
    获取单元,获取重传队列中需要进行重传的数据传输单元DTU中的至少一个DTU帧的老化剩余时间t;An obtaining unit, obtaining the remaining aging time t of at least one DTU frame in the data transmission unit DTU in the retransmission queue that needs to be retransmitted;
    DTU帧替换单元,用于如果有k个DTU帧已经老化或即将老化,则将所述k个DTU帧从DTU中丢弃;其中k是大于或等于1的正整数;所述即将老化是指DTU帧的老化剩余时间t小于DTU帧传递到对端并被成功解析需要的预估时间T;并从所述缓存队列中选择一个DTU帧的片段、一个或多个DTU帧加入到所述重传队列中形成新的DTU;DTU frame replacement unit, used to discard the k DTU frames from the DTU if there are k DTU frames that have been aged or are about to age; where k is a positive integer greater than or equal to 1; The aging remaining time t of the frame is less than the estimated time T required for the DTU frame to be delivered to the peer and successfully parsed; and select a fragment of the DTU frame and one or more DTU frames from the cache queue to join the retransmission A new DTU is formed in the queue;
    发送单元,用于发送所述新的DTU。A sending unit, configured to send the new DTU.
  14. 如权利要求13所述的装置,其特征在于,所述选择的一个DTU帧的片段、一个或多个DTU帧的片段的总长度不大于丢弃的所述k个DTU帧的总长度。The apparatus of claim 13, wherein the total length of the selected one DTU frame segment and one or more DTU frame segments is not greater than the total length of the discarded k DTU frames.
  15. 如权利要求13或14所述的装置,其特征在于,所述新加入的一个DTU帧的片段、一个或多个DTU帧可以增加到已丢弃的DTU帧原来的位置上,或者在该DTU的其他位置上。The apparatus according to claim 13 or 14, wherein the newly added fragment of one DTU frame and one or more DTU frames can be added to the original position of the discarded DTU frame, or at the Other locations.
  16. 如权利要求13至15任一所述的装置,其特征在于,还包括重传确认单元,用于确定需要重传所述DTU。The apparatus according to any one of claims 13 to 15, further comprising a retransmission confirmation unit for determining that the DTU needs to be retransmitted.
  17. 如权利要求13至16任一所述的装置,其特征在于,所述选择的一个DTU帧的片段、一个或多个DTU帧是没有老化的DTU帧的判断或没有老化的DTU帧。The device according to any one of claims 13 to 16, wherein the selected segment of one DTU frame and one or more DTU frames are judgments of no aging DTU frames or no aging DTU frames.
  18. 如权利要求17所述的装置,其特征在于,所述获取单元还用于获取重传队列中需要进行重传的DTU中的至少一个DTU帧的业务优先级;所述DTU帧替换单元进一步用于,如果有m个DTU帧的业务优先级分别小于缓存队列中n个DTU帧的业务优先级,则用所述缓存队列中所述n个DTU帧中的一个DTU帧的片段、一个或多个DTU帧替换所述重传队列中所述m个DTU帧形成更新的DTU;其中m和n是大于或等于1的正整数。The apparatus according to claim 17, wherein the obtaining unit is further used to obtain the service priority of at least one DTU frame in the DTU that needs to be retransmitted in the retransmission queue; the DTU frame replacement unit further uses Therefore, if the service priorities of m DTU frames are less than the service priorities of n DTU frames in the cache queue, then the fragment, one or more of the DTU frames in the n DTU frames in the cache queue are used DTU frames replace the m DTU frames in the retransmission queue to form an updated DTU; where m and n are positive integers greater than or equal to 1.
  19. 如权利要求14至18任一所述的装置,其特征在于,所述DTU帧替换单元进一步用于,如果缓存队列中的1个数据包的业务优先级大于重选队列中DTU中的多个DTU帧的业务优先级,选取业务优先级最低的1个DTU帧所承载的数据包放回缓存队列中,并将缓存队列中的这个业务优先级高的数据包进行DTU帧封装后加入到所述DTU中。The apparatus according to any one of claims 14 to 18, wherein the DTU frame replacement unit is further used if the service priority of one data packet in the buffer queue is greater than that of multiple DTUs in the reselection queue For the service priority of the DTU frame, the data packet carried by the DTU frame with the lowest service priority is selected and returned to the buffer queue, and the data packet with the high service priority in the buffer queue is encapsulated by the DTU frame and added to the Described in DTU.
  20. 如权利要求13至19任一所述的装置,其特征在于,所述至少一个DTU帧中的每个DTU帧包含DTU帧位置信息,用于标记该DTU帧是否已被替换,以及DTU帧所属位置相对于当前DTU头部中序列标识SID值的偏移值。The apparatus according to any one of claims 13 to 19, wherein each DTU frame in the at least one DTU frame contains DTU frame position information for marking whether the DTU frame has been replaced, and the DTU frame belongs to The offset value of the position relative to the sequence identification SID value in the current DTU header.
PCT/CN2018/124888 2018-12-28 2018-12-28 Retransmission data processing method and device WO2020133218A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/124888 WO2020133218A1 (en) 2018-12-28 2018-12-28 Retransmission data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/124888 WO2020133218A1 (en) 2018-12-28 2018-12-28 Retransmission data processing method and device

Publications (1)

Publication Number Publication Date
WO2020133218A1 true WO2020133218A1 (en) 2020-07-02

Family

ID=71126725

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/124888 WO2020133218A1 (en) 2018-12-28 2018-12-28 Retransmission data processing method and device

Country Status (1)

Country Link
WO (1) WO2020133218A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100274897A1 (en) * 2004-01-06 2010-10-28 Yean Kee Yong Random Early Detect and Differential Packet Aging Flow Control in Switch Queues
CN103795656A (en) * 2012-10-28 2014-05-14 领特德国有限公司 Method of packet encapsulation for multi-service operation from distribution point
CN107431668A (en) * 2015-03-23 2017-12-01 阿尔卡特朗讯公司 For the queuing of packet and method, queuing system, network element and the network system of processing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100274897A1 (en) * 2004-01-06 2010-10-28 Yean Kee Yong Random Early Detect and Differential Packet Aging Flow Control in Switch Queues
CN103795656A (en) * 2012-10-28 2014-05-14 领特德国有限公司 Method of packet encapsulation for multi-service operation from distribution point
CN107431668A (en) * 2015-03-23 2017-12-01 阿尔卡特朗讯公司 For the queuing of packet and method, queuing system, network element and the network system of processing

Similar Documents

Publication Publication Date Title
US8719671B2 (en) Method of process configuration for multiple HARQ processes
US8848740B2 (en) Retransmission in data communication systems
EP2567482B1 (en) Method and system of transfering data in a carrier aggregation environment
EP2103054B1 (en) Signature sequences and methods for time-frequency selective channel
US8254339B2 (en) Receiver apparatus and method for releasing memory thereof
RU2480963C2 (en) Method and device to relate modulation and coding circuit with scope of resources
CN108667573B (en) Data processing method and device and related equipment
US8179812B2 (en) System and method for providing status reports of transmitted data packets in a data communications system
JP2005218118A (en) Method and device of dynamic resource allocation in wireless network
KR102255051B1 (en) Data processing method and device
CN110831061B (en) Method and device for acquiring scheduling throughput, base station and storage medium
JP2017516395A (en) Method and apparatus for improved multi-carrier communication
EP3637843B1 (en) Data transmission method, and apparatus
Susitaival et al. LTE coverage improvement by TTI bundling
CN108631959B (en) Communication method, data unit and control unit
US20110019568A1 (en) Method and apparatus for transmitting and receiving data in mobile communication system
CN110114995B (en) Fast ACK/NACK in a wireless communication network
WO2021082796A1 (en) Embb cce resource allocation method and apparatus
WO2020133218A1 (en) Retransmission data processing method and device
CN115398966A (en) Method and device for processing downlink RRC (radio resource control) segmented messages in next generation mobile communication system
WO2020029195A1 (en) Data processing method, apparatus, and system
US20240056231A1 (en) Harq transmission enhancement method, communication device, and readable storage medium
WO2023010254A1 (en) Data transmission method and apparatus, device, and storage medium
WO2023193269A1 (en) Data processing method and apparatus, communication device and storage medium
WO2023241553A1 (en) Method and apparatus used in nodes for wireless communication

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

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

Country of ref document: EP

Kind code of ref document: A1