CN104301066A - Data packet transmission method and device - Google Patents

Data packet transmission method and device Download PDF

Info

Publication number
CN104301066A
CN104301066A CN201310306110.6A CN201310306110A CN104301066A CN 104301066 A CN104301066 A CN 104301066A CN 201310306110 A CN201310306110 A CN 201310306110A CN 104301066 A CN104301066 A CN 104301066A
Authority
CN
China
Prior art keywords
packet
data
buffer queue
transmission
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310306110.6A
Other languages
Chinese (zh)
Inventor
伍天宇
李云波
罗毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310306110.6A priority Critical patent/CN104301066A/en
Priority to PCT/CN2014/073021 priority patent/WO2015007099A1/en
Publication of CN104301066A publication Critical patent/CN104301066A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0083Formatting with frames or packets; Protocol or part of protocol for error control

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a data packet transmission method and device. The method comprises the steps that a first data packet is received; the data bulk of data packets, which comprise the first data packet, in a caching queue is compared with a set data-bulk threshold; when the data bulk of the data packets in the caching queue is greater than the data-bulk threshold, the data packets in the caching queue are aggregated to generate an aggregated data packet; and the aggregated data packet is transmitted. According to the method and device, the data packets are not transmitted one by one; instead, when the data bulk of the data packets in the caching queue is greater than the data-bulk threshold, the aggregated data packet is transmitted, thereby reducing the possibility of transmission collision of the data packets in the network, reducing transmission time delay of the data packets, and improving the total throughput of the system.

Description

Data pack transmission method and device
Technical field
The present invention relates to communication technical field, particularly data pack transmission method, device and transmission equipment.
Background technology
WLAN (Wireless Local Area Networks, WLAN) exist in system in a large number by the data packet traffic of wireless network transmissions, particularly small data packets business, such as, in the cloud desktop application of WLAN, the operation of a large amount of mouse and keyboard can generate a large amount of small data packets.The Physical Resource Block of a usual WLAN can transmit the data of a hundreds of byte, and the size of small data packets only has several byte usually to tens bytes, much smaller than the transmittability of a Physical Resource Block.In existing wlan system, each equipment all adopts Carrier Sense Multiple Access/conflict avoidance (Carrier Sense Multiple Access with Collision Avoidance, CSMA/CA) technology, sends packet by the mode of competitive channel.After equipment receives packet, if listen to channel idle, then, after waiting for one section of random time, if it is still idle to listen to channel, then transmit this packet.
Inventor finds in the research process of prior art, when in wlan system, the data packet number of device transmission is larger, when particularly the quantity of small data packets is larger, these packets may make the same time have at least two packets needs to be transmitted by this channel to the competition of channel, thus improve the transmission collision probability of packet, because the transmission collision between packet causes data packet retransmission, thus increase the propagation delay time of packet; And because each small data packets takies whole channel resource with small data quantity, the overall throughput of system also can be caused to decline.
Summary of the invention
Provide data pack transmission method, device and transmission equipment in the embodiment of the present invention, easily increase transmission collision probability and time delay to solve data packet transmission mode of the prior art, cause the problem of overall system throughput degradation.
In order to solve the problems of the technologies described above, the embodiment of the invention discloses following technical scheme:
First aspect, provides a kind of data pack transmission method, and described method comprises:
Receive the first packet;
The relatively data volume of packet and the data-quantity threshold of setting in buffer queue, the packet in described buffer queue comprises described first packet;
When the data volume that comparative result is packet in described buffer queue is greater than described data-quantity threshold, the packet in described buffer queue is carried out polymerization and generate aggregated data bag;
Transmit described aggregated data bag.
In conjunction with first aspect, in the first possible implementation of first aspect, after described reception first packet, described method also comprises:
Obtain the initial maximum stand-by period of described first packet;
Judge whether there is the second packet in described buffer queue, described second packet is other packets in the packet in described buffer queue except described first packet;
When there is not described second packet, the maximum latency arranging described first packet is the described initial maximum stand-by period, and according to described first packet of described initial maximum stand-by period transmission, when there is described second packet, perform the described step comparing the data volume of packet and the data-quantity threshold of setting in buffer queue.
In conjunction with the first possible implementation of first aspect, in the implementation that the second of first aspect is possible, described method also comprises:
When the data volume that comparative result is packet in described buffer queue is not more than described data-quantity threshold, upgrade the maximum latency of all packets in described buffer queue, the maximum latency after renewal is the smaller value in the remaining time of the initial maximum stand-by period of described first packet and the maximum latency of described second packet;
When the maximum latency after described renewal arrives, perform described being carried out by packet in described buffer queue and be polymerized the step generating aggregated data bag.
In conjunction with the first possible implementation of first aspect, or the implementation that the second of first aspect is possible, in the third possible implementation of first aspect, the initial maximum stand-by period of described first packet of described acquisition, comprising:
Obtain service delay and the network delay of the first packet;
The difference of described service delay and described network delay is defined as the initial maximum stand-by period of described first packet.
In conjunction with first aspect, or the first possible implementation of first aspect, or the implementation that the second of first aspect is possible, or the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, describedly compare in buffer queue before the data volume of packet and the data-quantity threshold of setting, described method also comprises:
Detect the transmission conditions value of packet;
When described transmission conditions value exceedes the condition threshold of setting, perform the described step comparing the data volume of packet and the data-quantity threshold of setting in buffer queue; Wherein,
The transmission conditions value of described packet comprises at least one following values: the busy duty ratio of eating dishes without rice or wine of the collision probability value of data packet transmission, the packet loss of data packet transmission, data packet transmission.
Second aspect, provide a kind of data packet transmission device, described device comprises:
Receiving element, for receiving the first packet;
Comparing unit, for comparing the data volume of packet and the data-quantity threshold of setting in buffer queue, the packet in described buffer queue comprises the first packet that described receiving element receives;
Polymerized unit, for when the data volume that the comparative result of described comparing unit is packet in described buffer queue is greater than described data-quantity threshold, carries out polymerization and generates aggregated data bag by the packet in described buffer queue;
Transmission unit, for transmitting the aggregated data bag that described polymerized unit generates.
In conjunction with second aspect, in the first possible implementation of second aspect, described device also comprises:
Acquiring unit, for obtaining the initial maximum stand-by period of the first packet that described receiving element receives;
Judging unit, for judging whether there is the second packet in described buffer queue, described second packet is other packets in the packet in described buffer queue except described first packet;
Setting unit, for when the judged result of described judging unit is not for existing described second packet, the maximum latency arranging described first packet is the described initial maximum stand-by period;
Described transmission unit, described first packet of initial maximum stand-by period transmission also for arranging according to described setting unit;
Described comparing unit, specifically for when the judged result of described judging unit is for existing described second packet, compares the data volume of packet and the data-quantity threshold of setting in buffer queue.
In conjunction with the first possible implementation of second aspect, in the implementation that the second of second aspect is possible, described device also comprises:
Updating block, for when the data volume that the comparative result of described comparing unit is packet in described buffer queue is not more than described data-quantity threshold, upgrade the maximum latency of all packets in described buffer queue, the maximum latency after renewal is the smaller value in the remaining time of the initial maximum stand-by period of described first packet and the maximum latency of described second packet;
Described polymerized unit, specifically for when the maximum latency after described updating block upgrades arrives, carries out polymerization and generates aggregated data bag by the packet in described buffer queue.
In conjunction with the first possible implementation of second aspect, or the implementation that the second of second aspect is possible, in the third possible implementation of second aspect, described acquiring unit comprises:
Time delay obtains subelement, for obtaining service delay and the network delay of the first packet;
Time determines subelement, for the difference of described service delay and described network delay being defined as the initial maximum stand-by period of described first packet.
In conjunction with second aspect, or the first possible implementation of second aspect, or the implementation that the second of second aspect is possible, or the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect, described device also comprises:
Detecting unit, for detecting the transmission conditions value of packet;
Described comparing unit, specifically for when the transmission conditions value that described detecting unit detects exceedes the condition threshold of setting, compares the data volume of packet and the data-quantity threshold of setting in buffer queue;
Wherein, the transmission conditions value of described packet comprises at least one following values: the busy duty ratio of eating dishes without rice or wine of the collision probability value of data packet transmission, the packet loss of data packet transmission, data packet transmission.
The third aspect, provides a kind of transmission equipment, and described transmission equipment comprises: network interface, buffer and processor, wherein,
Described network interface, for receiving packet;
Described buffer, for the packet received by network interface described in buffer queue buffer memory;
Described processor, for after described network interface receives the first packet, the data volume of packet and the data-quantity threshold of setting in more described buffer queue, packet in described buffer queue comprises described first packet, when the data volume that comparative result is packet in described buffer queue is greater than described data-quantity threshold, the packet in described buffer queue is carried out polymerization and generate aggregated data bag;
Described network interface, also for transmitting described aggregated data bag.
In conjunction with the third aspect, in the first possible implementation of the third aspect, described processor, also for obtaining the initial maximum stand-by period of described first packet, judge whether there is the second packet in described buffer queue, described second packet is other packets in the packet in described buffer queue except described first packet, when there is not described second packet, the maximum latency arranging described first packet is the described initial maximum stand-by period, when there is described second packet, the relatively data volume of packet and the data-quantity threshold of setting in buffer queue,
Described network interface, also for transmitting described first packet according to the described initial maximum stand-by period.
In conjunction with the first possible implementation of the third aspect, in the implementation that the second of the third aspect is possible, described processor, also for when comparative result be the data volume of packet in described buffer queue be not more than described data-quantity threshold time, upgrade the maximum latency of all packets in described buffer queue, maximum latency after renewal is the smaller value in the remaining time of the initial maximum stand-by period of described first packet and the maximum latency of described second packet, and when the maximum latency after described renewal arrives, packet in described buffer queue is carried out polymerization and generate aggregated data bag.
In conjunction with the first possible implementation of the third aspect, or the implementation that the second of the third aspect is possible, in the third possible implementation of the third aspect, described processor, specifically for obtaining service delay and the network delay of the first packet, the difference of described service delay and described network delay is defined as the initial maximum stand-by period of described first packet.
In conjunction with the third aspect, or the first possible implementation of the third aspect, or the implementation that the second of the third aspect is possible, or the third possible implementation of the third aspect, in the 4th kind of possible implementation of the third aspect, described processor, also for detecting the transmission conditions value of packet, when described transmission conditions value exceedes the condition threshold of setting, compare the data volume of packet and the data-quantity threshold of setting in buffer queue; Wherein,
The transmission conditions value of described packet comprises at least one following values: the busy duty ratio of eating dishes without rice or wine of the collision probability value of data packet transmission, the packet loss of data packet transmission, data packet transmission.
In the embodiment of the present invention, after receiving the first packet, the relatively data volume of packet and the data-quantity threshold of setting in buffer queue, packet in buffer queue comprises the first packet and at least one second packet, when the data volume that comparative result is packet in buffer queue is greater than data-quantity threshold, packet in buffer queue is carried out polymerization and generate aggregated data bag, and transmission convergence packet.The application embodiment of the present invention, without the need to transmitting a packet at every turn, but can when in buffer queue, the data volume of packet exceedes data-quantity threshold, the transmission collision probability of packet in network is reduced by transmission convergence packet, reduce the propagation delay time of packet, thus the overall throughput of system can be improved.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, for those of ordinary skills, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is an embodiment flow chart of data pack transmission method of the present invention;
Fig. 2 is another embodiment flow chart of data pack transmission method of the present invention;
Fig. 3 is another embodiment flow chart of data pack transmission method of the present invention;
Fig. 4 is an embodiment block diagram of data packet transmission device of the present invention;
Fig. 5 is another embodiment block diagram of data packet transmission device of the present invention;
Fig. 6 is another embodiment block diagram of data packet transmission device of the present invention;
Fig. 7 is the embodiment block diagram of transmission equipment of the present invention.
Embodiment
Technical scheme in the embodiment of the present invention is understood better in order to make those skilled in the art person, and enable the above-mentioned purpose of the embodiment of the present invention, feature and advantage become apparent more, below in conjunction with accompanying drawing, technical scheme in the embodiment of the present invention is described in further detail.
See Fig. 1, an embodiment flow chart for data pack transmission method of the present invention:
Step 101: receive the first packet.
The transmission equipment that the embodiment of the present invention can be applied in wlan system transmits packet, and transmission equipment can comprise various access point (Access Point, AP) equipment, and terminal equipment, such as, and mobile phone, panel computer etc.
In the present embodiment, the first packet that transmission equipment receives can be general data bag, also can be small data packets.It should be noted that, the present embodiment does not limit the occurrence of the data volume of small data packets, can define flexibly according to the actual requirements, such as, define a K byte, packet data volume being not more than to K byte is small data packets, and packet data volume being greater than to K byte is general data bag.
Step 102: compare the data volume of packet and the data-quantity threshold of setting in buffer queue, the packet in this buffer queue comprises this first packet.
In the present embodiment, transmission equipment can arrange maximum latency to the packet received, and when maximum latency does not arrive, these packets are stored in buffer queue awaiting transmission.After transmission equipment receives the first packet, this first packet is added buffer queue, now may also there is the packet do not sent in buffer queue, these packets do not sent can be called the second packet, and the second packet can be one or more.
Transmission equipment statistics buffer queue comprises the first packet and the second packet data volume at interior all packets, and the size between the data volume of comparative statistics and the data-quantity threshold of setting.Wherein, data-quantity threshold can be arranged as required flexibly, such as, can be set to the size of a Physical Resource Block (Physical Resource Block, PRB).
Step 103: when the data volume that comparative result is packet in buffer queue is greater than data-quantity threshold, carries out polymerization and generates aggregated data bag by the packet in buffer queue.
In the present embodiment, when in buffer queue, the data volume of packet is greater than data-quantity threshold, even if the maximum latency of these packets does not also reach, these packets also can be carried out polymerization and generate aggregated data bag, to carry out overall transfer to these packets by transmission equipment.The mode of the embodiment of the present invention to polymerization does not limit, and such as, can be polymerized by physically based deformation layer, also can be polymerized based on medium access control (Media Access Control, MAC) layer or application layer.
Step 104: transmit this aggregated data bag.
Compared with prior art, the transmission equipment in the present embodiment, when transmission convergence packet, can pass through a multiple packet of transmission resources for transmitting.
As seen from the above-described embodiment, this embodiment is without the need to transmitting a packet at every turn, but can when in buffer queue, the data volume of packet exceedes data-quantity threshold, the transmission collision probability of packet in network is reduced by transmission convergence packet, reduce the propagation delay time of packet, thus the overall throughput of system can be improved.
See Fig. 2, another embodiment flow chart for data pack transmission method of the present invention:
Step 201: transmission equipment receives the first packet.
In the present embodiment, transmission equipment can comprise various AP equipment, and terminal equipment, such as, and mobile phone, panel computer etc.In the present embodiment, the first packet that transmission equipment receives can be general data bag, also can be small data packets.It should be noted that, the present embodiment does not limit the occurrence of the data volume of small data packets, can define flexibly according to the actual requirements, such as, define a K byte, packet data volume being not more than to K byte is small data packets, and packet data volume being greater than to K byte is general data bag.
Step 202: transmission equipment obtains service delay and the network delay of the first packet.
Wherein, transmission equipment can obtain the service delay of this first packet according to the type of service of the first packet, such as, as voice (the Voice over Internet Protocol that the type of service of the first packet is internet protocol-based, VoIP) during class business, then corresponding service delay is 20ms(millisecond); Transmission equipment conventionally can calculate the network delay of the first packet, repeats no more this embodiment of the present invention.
Step 203: the difference of service delay and network delay is defined as the initial maximum stand-by period of the first packet by transmission equipment.
Step 204: transmission equipment judges whether there is the second packet in buffer queue, if so, then performs step 205; If not, then step 209 is performed.
In the present embodiment, transmission equipment can arrange maximum latency to the packet received, when maximum latency does not arrive, these packets are stored in buffer queue awaiting transmission, therefore in step 201 after transmission equipment receives the first packet, this first packet can be added buffer queue.After the initial maximum stand-by period that the first packet determined by transmission equipment, judge in buffer queue, whether to there is the second packet received.
Step 205: whether the data volume of all packets that transmission equipment judges in buffer queue is greater than the data-quantity threshold of setting, if so, then performs step 208; Otherwise, perform step 206.
When there is the second packet in buffer queue, transmission equipment statistics buffer queue comprises the first packet and the second packet data volume at interior all packets, and the size between the data volume of comparative statistics and the data-quantity threshold of setting.Wherein, data-quantity threshold can be arranged as required flexibly, such as, can be set to the size of a PRB.
Step 206: transmission equipment upgrades the maximum latency of all packets in buffer queue, and the maximum latency after renewal is the smaller value of the remaining time of the initial maximum stand-by period of the first packet and the maximum latency of the second packet.
Because buffer queue comprises the first packet newly received, and already present second packet, wherein the second packet has waited for a period of time in buffer queue, the difference of the maximum latency being therefore the second packet the remaining time of the maximum latency of the second packet and stand-by period.In the present embodiment, transmission equipment needs to carry out polymerization to the multiple packets in buffer queue and sends, when will ensure to send aggregated data bag, due in without any the maximum latency of a packet exceedes the delivery time of this aggregated data bag, therefore transmission equipment is when judging that the data volume of all packets in buffer queue is not more than the data-quantity threshold of setting, transmission equipment selects a smaller value from the remaining time of the maximum latency of initial maximum stand-by period of the first packet and the second packet, this minimum value is updated to the maximum latency of all packets in buffer queue.
Step 207: transmission equipment judges whether the maximum latency after upgrading arrives, and if so, then performs step 208; Otherwise; Return step 207.
Step 208: all packets in buffer queue are carried out polymerization and generate aggregated data bag by transmission equipment, and transmit this aggregated data bag, terminate current process.
When the data volume of all packets that transmission equipment in step 205 judges in buffer queue is greater than the data-quantity threshold of setting, all packets in buffer queue are directly polymerized by transmission equipment, and transmit this aggregated data bag; When transmission equipment in step 207 judges the maximum latency arrival in buffer queue after all packet renewals, then transmission equipment carries out polymerization generation aggregated data bag to all packets, and can pass through this aggregated data bag of transmission resources for transmitting.
The polymerization methods of the embodiment of the present invention to packet does not limit, and such as, can be polymerized by physically based deformation layer, also can be polymerized based on MAC layer or application layer.
Step 209: the maximum latency of the first packet is set to the initial maximum stand-by period by transmission equipment.
Step 210: transmission equipment judges whether the maximum latency of the first packet arrives, if so, then performs step 211; Otherwise, return step 210.
Step 211: transmission equipment transmits this first packet, terminates current process.
When only there being this first packet in buffer queue, then when the maximum latency of the first packet arrives, consistent with prior art, transmission equipment is by this first packet of transmission resources for transmitting.
As seen from the above-described embodiment, this embodiment is without the need to transmitting a packet at every turn, but can when in buffer queue, the data volume of packet exceedes data-quantity threshold, the transmission collision probability of packet in network is reduced by transmission convergence packet, reduce the propagation delay time of packet, thus the overall throughput of system can be improved.
See Fig. 3, another embodiment flow chart for data pack transmission method of the present invention:
Step 301: transmission equipment detects the transmission conditions value of packet.
In the present embodiment, the transmission conditions value of packet comprises at least one following values: the busy duty ratio of eating dishes without rice or wine of the collision probability value of data packet transmission, the packet loss of data packet transmission, data packet transmission.Wherein, when detecting collision probability value, transmission equipment can be added up in the number of times of initiating channel competition in preset time period, the number of times clashed with other transmission equipment, using the number of times clashed with initiate the ratio of number of times of channel competition as collision probability value; In addition, the packet loss of data packet transmission and the busy duty ratio of eating dishes without rice or wine of data packet transmission can adopt mode of the prior art to detect, and repeat no more this embodiment of the present invention.
Step 302: judge whether transmission conditions value exceedes the condition threshold of setting, if so, then performs step 303; Otherwise, perform step 306.
In the present embodiment, condition threshold corresponding to each transmission conditions value can be arranged as required flexibly, and the contrast embodiment of the present invention does not limit.Integrating step 301, when transmission conditions value is the collision probability value of data packet transmission, corresponding condition threshold is collision probability threshold value; When transmission conditions value is the packet loss of data packet transmission, corresponding transmission conditions threshold value is packet loss threshold value; When transmission conditions value be data packet transmission eat dishes without rice or wine busy duty ratio time, corresponding transmission conditions threshold value is duty cycle threshold; When transmission conditions value comprises two or more, then can be respectively each transmission conditions value setting model threshold value respectively, and when each transmission conditions value all exceedes respective condition threshold, just perform step 303.
Step 303: after receiving the first packet, compare the data volume of packet and the data-quantity threshold of setting in buffer queue, the packet in this buffer queue comprises this first packet.
In the present embodiment, the first packet that transmission equipment receives can be general data bag, also can be small data packets.It should be noted that, the present embodiment does not limit the occurrence of the data volume of small data packets, can define flexibly according to the actual requirements.In the present embodiment, transmission equipment can arrange maximum latency to the packet received, and when maximum latency does not arrive, these packets are stored in buffer queue awaiting transmission.After transmission equipment receives the first packet, this first packet is added buffer queue, now may also there is the packet do not sent in buffer queue, these packets do not sent can be called the second packet, and the second packet can be one or more.
Transmission equipment statistics buffer queue comprises the first packet and the second packet data volume at interior all packets, and the size between the data volume of comparative statistics and the data-quantity threshold of setting.Wherein, data-quantity threshold can be arranged as required flexibly, such as, can be set to the size of a PRB.
Step 304: when the data volume that comparative result is packet in buffer queue is greater than data-quantity threshold, carries out polymerization and generates aggregated data bag by the packet in buffer queue.
In the present embodiment, when in buffer queue, the data volume of packet is greater than data-quantity threshold, even if the maximum latency of these packets does not also reach, these packets also can be carried out polymerization and generate aggregated data bag, to carry out overall transfer to these packets by transmission equipment.The mode of the embodiment of the present invention to polymerization does not limit, and such as, can be polymerized by physically based deformation layer, also can be polymerized based on MAC layer or application layer.
Step 305: transmit this aggregated data bag, terminates current process.
Step 306: after receiving the first packet, transmits this first packet according to available data bag transmission means, terminates current process.
As seen from the above-described embodiment, this embodiment can compatible existing data packet transmission mode, when the transmission conditions value of packet does not exceed the condition threshold of setting, use existing data packet transmission mode, when the transmission conditions value of packet exceedes the condition threshold of setting, use the data packet transmission mode that the embodiment of the present invention provides, this transmission means is without the need to transmitting a packet at every turn, but can when in buffer queue, the data volume of packet exceedes data-quantity threshold, the transmission collision probability of packet in network is reduced by transmission convergence packet, reduce the propagation delay time of packet, thus the overall throughput of system can be improved.
Corresponding with the embodiment of data pack transmission method of the present invention, present invention also offers the embodiment of data packet transmission device and transmission equipment.
See Fig. 4, an embodiment block diagram for data packet transmission device of the present invention:
This device comprises: receiving element 410, comparing unit 420, polymerized unit 430 and transmission unit 440.
Wherein, receiving element 410, for receiving the first packet;
Comparing unit 420, for comparing the data volume of packet and the data-quantity threshold of setting in buffer queue, the packet in described buffer queue comprises the first packet that described receiving element receives;
Polymerized unit 430, for when the data volume that the comparative result of described comparing unit is packet in described buffer queue is greater than described data-quantity threshold, carries out polymerization and generates aggregated data bag by the packet in described buffer queue;
Transmission unit 440, for transmitting the aggregated data bag that described polymerized unit generates.
See Fig. 5, another embodiment block diagram for data packet transmission device of the present invention:
This device comprises: receiving element 510, acquiring unit 520, judging unit 530, setting unit 540, transmission unit 550, comparing unit 560, polymerized unit 570 and updating block 580.
Wherein, receiving element 510, for receiving the first packet;
Acquiring unit 520, for obtaining the initial maximum stand-by period of the first packet that described receiving element 510 receives;
Judging unit 530, for judging whether there is the second packet in buffer queue, described second packet is other packets in the packet in described buffer queue except described first packet;
Setting unit 540, for when the judged result of described judging unit 530 is not for existing described second packet, the maximum latency arranging described first packet is the described initial maximum stand-by period;
Transmission unit 550, for described first packet of initial maximum stand-by period transmission arranged according to described setting unit 540;
Comparing unit 560, for when the judged result of described judging unit 530 is for existing described second packet, compares the data volume of packet and the data-quantity threshold of setting in buffer queue;
Updating block 580, for when the data volume that the comparative result of described comparing unit 560 is packet in described buffer queue is not more than described data-quantity threshold, upgrade the maximum latency of all packets in described buffer queue, the maximum latency after renewal is the smaller value in the remaining time of the initial maximum stand-by period of described first packet and the maximum latency of described second packet;
Polymerized unit 570, for when the data volume that the comparative result of described comparing unit 560 is packet in described buffer queue is greater than described data-quantity threshold, packet in described buffer queue is carried out polymerization and generate aggregated data bag, or when the maximum latency after described updating block 580 upgrades arrives, the packet in described buffer queue is carried out polymerization and generate aggregated data bag;
Transmission unit 550, also for transmitting the aggregated data bag that described polymerized unit 570 generates.
Optionally, described acquiring unit 520 can comprise (not shown in Fig. 5):
Time delay obtains subelement, for obtaining service delay and the network delay of the first packet;
Time determines subelement, for the difference of described service delay and described network delay being defined as the initial maximum stand-by period of described first packet.
See Fig. 6, another embodiment block diagram for data packet transmission device of the present invention:
This device comprises: detecting unit 610, receiving element 620, comparing unit 630, polymerized unit 640 and transmission unit 650.
Wherein, detecting unit 610, for detecting the transmission conditions value of packet; Wherein, the transmission conditions value of described packet comprises at least one following values: the busy duty ratio of eating dishes without rice or wine of the collision probability value of data packet transmission, the packet loss of data packet transmission, data packet transmission;
Receiving element 620, for receiving the first packet;
Comparing unit 630, for when the transmission conditions value that described detecting unit 610 detects exceedes the condition threshold of setting, the relatively data volume of packet and the data-quantity threshold of setting in buffer queue, the packet in described buffer queue comprises the first packet that described receiving element 620 receives;
Polymerized unit 640, for when the data volume that the comparative result of described comparing unit 630 is packet in described buffer queue is greater than described data-quantity threshold, carries out polymerization and generates aggregated data bag by the packet in described buffer queue;
Transmission unit 650, for transmitting the aggregated data bag that described polymerized unit 640 generates.
See Fig. 7, the embodiment block diagram for transmission equipment of the present invention:
This transmission equipment comprises: network interface 710, buffer 720 and processor 730.
Wherein, described network interface 710, for receiving packet;
Described buffer 720, for the packet received by network interface described in buffer queue buffer memory;
Described processor 730, for after described network interface 710 receives the first packet, the data volume of packet and the data-quantity threshold of setting in more described buffer queue, packet in described buffer queue comprises described first packet, when the data volume that comparative result is packet in described buffer queue is greater than described data-quantity threshold, the packet in described buffer queue is carried out polymerization and generate aggregated data bag;
Described network interface 710, also for transmitting described aggregated data bag.
In an optional implementation:
Described processor 730, the initial maximum stand-by period obtaining described first packet can also be used for, judge whether there is the second packet in described buffer queue, described second packet is other packets in the packet in described buffer queue except described first packet, when there is not described second packet, the maximum latency arranging described first packet is the described initial maximum stand-by period, when there is described second packet, compare the data volume of packet and the data-quantity threshold of setting in buffer queue;
Described network interface 710, can also be used for according to described first packet of described initial maximum stand-by period transmission.
In another optional implementation:
Described processor 730, can also be used for when the data volume that comparative result is packet in described buffer queue is not more than described data-quantity threshold, upgrade the maximum latency of all packets in described buffer queue, maximum latency after renewal is the smaller value in the remaining time of the initial maximum stand-by period of described first packet and the maximum latency of described second packet, and when the maximum latency after described renewal arrives, the packet in described buffer queue is carried out polymerization and generate aggregated data bag.
In another optional implementation:
Described processor 730, can specifically for obtaining service delay and the network delay of the first packet, the difference of described service delay and described network delay is defined as the initial maximum stand-by period of described first packet.
In another optional implementation:
Described processor 730, can also be used for the transmission conditions value detecting packet, when described transmission conditions value exceedes the condition threshold of setting, compares the data volume of packet and the data-quantity threshold of setting in buffer queue; Wherein, the transmission conditions value of described packet comprises at least one following values: the busy duty ratio of eating dishes without rice or wine of the collision probability value of data packet transmission, the packet loss of data packet transmission, data packet transmission.
As seen from the above-described embodiment, after receiving the first packet in the embodiment of the present invention, the relatively data volume of packet and the data-quantity threshold of setting in buffer queue, packet in buffer queue comprises the first packet, when the data volume that comparative result is packet in buffer queue is greater than data-quantity threshold, packet in buffer queue is carried out polymerization and generate aggregated data bag, and transmission convergence packet.The application embodiment of the present invention, without the need to transmitting a packet at every turn, but can when in buffer queue, the data volume of packet exceedes data-quantity threshold, the transmission collision probability of packet in network is reduced by transmission convergence packet, reduce the propagation delay time of packet, thus the overall throughput of system can be improved.
Those skilled in the art can be well understood to the mode that technology in the embodiment of the present invention can add required general hardware platform by software and realize.Based on such understanding, technical scheme in the embodiment of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or transmission equipment etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Above-described embodiment of the present invention, does not form limiting the scope of the present invention.Any amendment done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a method for data packet transmission, is characterized in that, described method comprises:
Receive the first packet;
The relatively data volume of packet and the data-quantity threshold of setting in buffer queue, the packet in described buffer queue comprises described first packet;
When the data volume that comparative result is packet in described buffer queue is greater than described data-quantity threshold, the packet in described buffer queue is carried out polymerization and generate aggregated data bag;
Transmit described aggregated data bag.
2. method according to claim 1, is characterized in that, after described reception first packet, described method also comprises:
Obtain the initial maximum stand-by period of described first packet;
Judge whether there is the second packet in described buffer queue, described second packet is other packets in the packet in described buffer queue except described first packet;
When there is not described second packet, the maximum latency arranging described first packet is the described initial maximum stand-by period, and according to described first packet of described initial maximum stand-by period transmission, when there is described second packet, perform the described step comparing the data volume of packet and the data-quantity threshold of setting in buffer queue.
3. method according to claim 2, is characterized in that, described method also comprises:
When the data volume that comparative result is packet in described buffer queue is not more than described data-quantity threshold, upgrade the maximum latency of all packets in described buffer queue, the maximum latency after renewal is the smaller value in the remaining time of the initial maximum stand-by period of described first packet and the maximum latency of described second packet;
When the maximum latency after described renewal arrives, perform described being carried out by packet in described buffer queue and be polymerized the step generating aggregated data bag.
4. according to the method in claim 2 or 3, it is characterized in that, the initial maximum stand-by period of described first packet of described acquisition, comprising:
Obtain service delay and the network delay of the first packet;
The difference of described service delay and described network delay is defined as the initial maximum stand-by period of described first packet.
5. the method according to Claims 1-4 any one, is characterized in that, describedly compares in buffer queue before the data volume of packet and the data-quantity threshold of setting, and described method also comprises:
Detect the transmission conditions value of packet;
When described transmission conditions value exceedes the condition threshold of setting, perform the described step comparing the data volume of packet and the data-quantity threshold of setting in buffer queue; Wherein,
The transmission conditions value of described packet comprises at least one following values: the busy duty ratio of eating dishes without rice or wine of the collision probability value of data packet transmission, the packet loss of data packet transmission, data packet transmission.
6. a data packet transmission device, is characterized in that, described device comprises:
Receiving element, for receiving the first packet;
Comparing unit, for comparing the data volume of packet and the data-quantity threshold of setting in buffer queue, the packet in described buffer queue comprises the first packet that described receiving element receives;
Polymerized unit, for when the data volume that the comparative result of described comparing unit is packet in described buffer queue is greater than described data-quantity threshold, carries out polymerization and generates aggregated data bag by the packet in described buffer queue;
Transmission unit, for transmitting the aggregated data bag that described polymerized unit generates.
7. device according to claim 6, is characterized in that, described device also comprises:
Acquiring unit, for obtaining the initial maximum stand-by period of the first packet that described receiving element receives;
Judging unit, for judging whether there is the second packet in described buffer queue, described second packet is other packets in the packet in described buffer queue except described first packet;
Setting unit, for when the judged result of described judging unit is not for existing described second packet, the maximum latency arranging described first packet is the described initial maximum stand-by period;
Described transmission unit, described first packet of initial maximum stand-by period transmission also for arranging according to described setting unit;
Described comparing unit, specifically for when the judged result of described judging unit is for existing described second packet, compares the data volume of packet and the data-quantity threshold of setting in buffer queue.
8. device according to claim 7, is characterized in that, described device also comprises:
Updating block, for when the data volume that the comparative result of described comparing unit is packet in described buffer queue is not more than described data-quantity threshold, upgrade the maximum latency of all packets in described buffer queue, the maximum latency after renewal is the smaller value in the remaining time of the initial maximum stand-by period of described first packet and the maximum latency of described second packet;
Described polymerized unit, specifically for when the maximum latency after described updating block upgrades arrives, carries out polymerization and generates aggregated data bag by the packet in described buffer queue.
9. the device according to claim 7 or 8, is characterized in that, described acquiring unit comprises:
Time delay obtains subelement, for obtaining service delay and the network delay of the first packet;
Time determines subelement, for the difference of described service delay and described network delay being defined as the initial maximum stand-by period of described first packet.
10. the device according to claim 6 to 9 any one, is characterized in that, described device also comprises:
Detecting unit, for detecting the transmission conditions value of packet;
Described comparing unit, specifically for when the transmission conditions value that described detecting unit detects exceedes the condition threshold of setting, compares the data volume of packet and the data-quantity threshold of setting in buffer queue;
Wherein, the transmission conditions value of described packet comprises at least one following values: the busy duty ratio of eating dishes without rice or wine of the collision probability value of data packet transmission, the packet loss of data packet transmission, data packet transmission.
CN201310306110.6A 2013-07-19 2013-07-19 Data packet transmission method and device Pending CN104301066A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310306110.6A CN104301066A (en) 2013-07-19 2013-07-19 Data packet transmission method and device
PCT/CN2014/073021 WO2015007099A1 (en) 2013-07-19 2014-03-07 Data packet transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310306110.6A CN104301066A (en) 2013-07-19 2013-07-19 Data packet transmission method and device

Publications (1)

Publication Number Publication Date
CN104301066A true CN104301066A (en) 2015-01-21

Family

ID=52320651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310306110.6A Pending CN104301066A (en) 2013-07-19 2013-07-19 Data packet transmission method and device

Country Status (2)

Country Link
CN (1) CN104301066A (en)
WO (1) WO2015007099A1 (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106059948A (en) * 2016-05-09 2016-10-26 中国联合网络通信集团有限公司 Data packet blocking transmission method and system
CN106357275A (en) * 2016-08-30 2017-01-25 国网冀北电力有限公司信息通信分公司 Huffman compression method and device
WO2017059775A1 (en) * 2015-10-06 2017-04-13 Huawei Technologies Co., Ltd. Method and apparatus for adaptive packet aggregation
CN106713171A (en) * 2015-07-28 2017-05-24 腾讯科技(深圳)有限公司 Server and delay-queue-based current-limiting protection system and method
CN107181696A (en) * 2017-06-14 2017-09-19 中国传媒大学 A kind of method for saving parcel data network resources and energy consumption
CN108366111A (en) * 2018-02-06 2018-08-03 西安电子科技大学 A kind of data packet low time delay buffer storage and method for switching equipment
CN108476177A (en) * 2015-12-31 2018-08-31 阿尔卡特朗讯美国公司 Data plane for processing function scalability
CN108540395A (en) * 2018-04-18 2018-09-14 清华大学 Without the congestion judgment method lost in network
CN110022268A (en) * 2018-01-09 2019-07-16 腾讯科技(深圳)有限公司 A kind of data transfer control method, device and storage medium
CN110149660A (en) * 2019-05-24 2019-08-20 重庆邮电大学 Based on goal-oriented majority according to packet aggregation selection method
CN110366203A (en) * 2018-04-09 2019-10-22 启碁科技股份有限公司 Promote the method and device of intelligent electric meter to efficiency between server
CN112118195A (en) * 2020-03-31 2020-12-22 潍柴动力股份有限公司 Data packaging method and device, storage medium and processor
CN112188553A (en) * 2019-07-01 2021-01-05 大唐移动通信设备有限公司 Data transmission method and device of 5G system
CN112770358A (en) * 2021-01-13 2021-05-07 广州技象科技有限公司 Multi-rate mode data transmission control method and device based on service data
CN113032313A (en) * 2021-02-08 2021-06-25 珠海奔图电子有限公司 Data receiving method, data receiving apparatus, image forming apparatus, and readable storage medium
CN114567607A (en) * 2022-02-25 2022-05-31 山东云海国创云计算装备产业创新中心有限公司 Multi-port arbitration method, device, equipment and computer readable storage medium
CN115002527A (en) * 2022-05-30 2022-09-02 平安科技(深圳)有限公司 Data transmission optimization method, device, equipment and storage medium
CN115686819A (en) * 2021-07-23 2023-02-03 慧与发展有限责任合伙企业 System and method for implementing network interface based full reduction operations

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113452471A (en) * 2020-03-26 2021-09-28 伊姆西Ip控股有限责任公司 Method, electronic device and computer program product for data processing
CN115167612B (en) * 2022-07-14 2023-06-16 北京中科心研科技有限公司 Wall time and supplementary packet method, device and equipment for synchronizing data and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110243055A1 (en) * 2010-03-31 2011-10-06 Siemens Aktiengesellschaft Method and Apparatus for Packet Aggregation Transmission
CN102905311A (en) * 2012-09-29 2013-01-30 北京傲天动联技术有限公司 Data-message aggregating device and method
CN102970118A (en) * 2012-12-04 2013-03-13 福建星网锐捷网络有限公司 Transmission control protocol acknowledgement (TCP ACK) message processing method and device and wireless network equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110243055A1 (en) * 2010-03-31 2011-10-06 Siemens Aktiengesellschaft Method and Apparatus for Packet Aggregation Transmission
CN102905311A (en) * 2012-09-29 2013-01-30 北京傲天动联技术有限公司 Data-message aggregating device and method
CN102970118A (en) * 2012-12-04 2013-03-13 福建星网锐捷网络有限公司 Transmission control protocol acknowledgement (TCP ACK) message processing method and device and wireless network equipment

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713171A (en) * 2015-07-28 2017-05-24 腾讯科技(深圳)有限公司 Server and delay-queue-based current-limiting protection system and method
WO2017059775A1 (en) * 2015-10-06 2017-04-13 Huawei Technologies Co., Ltd. Method and apparatus for adaptive packet aggregation
US9813351B2 (en) 2015-10-06 2017-11-07 Huawei Technologies Co., Ltd. Method and apparatus for adaptive packet aggregation
CN108476177B (en) * 2015-12-31 2021-08-24 阿尔卡特朗讯美国公司 Apparatus, and associated method, for supporting a data plane for handling functional scalability
CN108476177A (en) * 2015-12-31 2018-08-31 阿尔卡特朗讯美国公司 Data plane for processing function scalability
CN106059948A (en) * 2016-05-09 2016-10-26 中国联合网络通信集团有限公司 Data packet blocking transmission method and system
CN106357275A (en) * 2016-08-30 2017-01-25 国网冀北电力有限公司信息通信分公司 Huffman compression method and device
CN106357275B (en) * 2016-08-30 2019-12-17 国网冀北电力有限公司信息通信分公司 Huffman compression method and device
CN107181696A (en) * 2017-06-14 2017-09-19 中国传媒大学 A kind of method for saving parcel data network resources and energy consumption
CN110022268A (en) * 2018-01-09 2019-07-16 腾讯科技(深圳)有限公司 A kind of data transfer control method, device and storage medium
CN110022268B (en) * 2018-01-09 2022-05-03 腾讯科技(深圳)有限公司 Data transmission control method, device and storage medium
CN108366111A (en) * 2018-02-06 2018-08-03 西安电子科技大学 A kind of data packet low time delay buffer storage and method for switching equipment
CN108366111B (en) * 2018-02-06 2020-04-07 西安电子科技大学 Data packet low-delay buffer device and method for switching equipment
CN110366203A (en) * 2018-04-09 2019-10-22 启碁科技股份有限公司 Promote the method and device of intelligent electric meter to efficiency between server
CN108540395A (en) * 2018-04-18 2018-09-14 清华大学 Without the congestion judgment method lost in network
CN110149660B (en) * 2019-05-24 2022-05-06 重庆邮电大学 Multi-data packet aggregation selection method based on target direction
CN110149660A (en) * 2019-05-24 2019-08-20 重庆邮电大学 Based on goal-oriented majority according to packet aggregation selection method
CN112188553A (en) * 2019-07-01 2021-01-05 大唐移动通信设备有限公司 Data transmission method and device of 5G system
CN112188553B (en) * 2019-07-01 2022-03-25 大唐移动通信设备有限公司 Data transmission method and device of 5G system
CN112118195A (en) * 2020-03-31 2020-12-22 潍柴动力股份有限公司 Data packaging method and device, storage medium and processor
CN112770358A (en) * 2021-01-13 2021-05-07 广州技象科技有限公司 Multi-rate mode data transmission control method and device based on service data
CN112770358B (en) * 2021-01-13 2022-05-27 广州技象科技有限公司 Multi-rate mode data transmission control method and device based on service data
CN113032313A (en) * 2021-02-08 2021-06-25 珠海奔图电子有限公司 Data receiving method, data receiving apparatus, image forming apparatus, and readable storage medium
CN113032313B (en) * 2021-02-08 2024-04-26 珠海奔图电子有限公司 Data receiving method, apparatus, image forming device, and readable storage medium
CN115686819A (en) * 2021-07-23 2023-02-03 慧与发展有限责任合伙企业 System and method for implementing network interface based full reduction operations
CN114567607A (en) * 2022-02-25 2022-05-31 山东云海国创云计算装备产业创新中心有限公司 Multi-port arbitration method, device, equipment and computer readable storage medium
CN115002527A (en) * 2022-05-30 2022-09-02 平安科技(深圳)有限公司 Data transmission optimization method, device, equipment and storage medium
CN115002527B (en) * 2022-05-30 2024-05-07 平安科技(深圳)有限公司 Data transmission optimization method, device, equipment and storage medium

Also Published As

Publication number Publication date
WO2015007099A1 (en) 2015-01-22

Similar Documents

Publication Publication Date Title
CN104301066A (en) Data packet transmission method and device
US11071168B2 (en) Multi-station access method, apparatus, and system
CN101335603B (en) Data transmission method and apparatus
WO2021232568A1 (en) Method, terminal and system for transceiving data over wireless local area network, and network access device
CN110113808A (en) System and method for power control
CN104159306B (en) A kind of method, equipment and system for controlling interface-free resources
CN101982951B (en) Data transmission control method and intermediate node
KR102091138B1 (en) Method for Data Transmission for Wireless Network Environment and Data Transmitter
US20140314060A1 (en) Method and apparatus for efficient aggregation scheduling in wireless local area network (wlan) system
CN110506403A (en) Flow control for wireless device
WO2017148446A1 (en) Network resource scheduling method, device and system, and network node
CN104703288A (en) Transmission method based on quasi-random back-off strategy in wireless distributed network
CN106332165A (en) Method of feeding downlink channel back by cluster terminal, terminal and system
CN109417446A (en) Dynamic media access control in crowded WLAN receives rearrangement time-out
CN101207570A (en) Data transmission method, data sending rate control method and base station
WO2022142573A1 (en) Channel access method and apparatus
CN101795228A (en) Bandwidth adjusting method of user and equipment thereof
CN102130756A (en) Data transmission method and device
Seddik et al. A feedback-based access scheme for cognitive radio systems
WO2016125775A1 (en) Control device, communication device, control method and program
CN105474736A (en) Data transmission method and apparatus
EP3099091A1 (en) Uplink resource allocation method, access terminal, and access point
WO2016101148A1 (en) Method, device and system for scheduling physical radio resource block
Vázquez-Rodas et al. Dynamic buffer sizing for wireless devices via maximum entropy
CN102624612B (en) Transmission method and transmission device for aggregate media protocol data unit (A-mpdu) messages

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150121