Summary of the invention
It is logical that the technical problem to be solved by the present invention is to provide a kind of data transmission method based on air interface, device and networks
Equipment is believed, so that TCP-ACK data packet is timely feedbacked, thus improve data transfer speed.
The embodiment provides a kind of data transmission methods based on air interface, which comprises passes through
Service convergence sublayer receives the data packet for entering air interface data link layer;By the data packet divide into TCP data packet and
TCP-ACK data packet;The TCP data packet and TCP-ACK data packet are mapped to not simultaneous interpretation respectively by service convergence sublayer
The Business Stream of defeated priority, wherein the transmission priority of the corresponding Business Stream of the TCP-ACK data packet is higher than the TCP number
According to the corresponding Business Stream of packet;The Business Stream is sent by the air interface data link layer according to the transmission priority.
Optionally, the method that the data packet is divided into TCP data packet and TCP-ACK data packet includes: to work as institute
The size stated into the data packet of air interface data link layer is less than preset value, then the data packet is determined as TCP-ACK
Data packet;When the size of the data packet into air interface data link layer is greater than or equal to preset value, then by the number
It is determined as TCP data packet according to packet.
Optionally, the method that the data packet is divided into TCP data packet and TCP-ACK data packet includes: basis
The corresponding TCP layer notice of the data packet into air interface data link layer, divides into TCP data packet for the data packet
With TCP-ACK data packet.
Optionally, the TCP data packet and TCP-ACK data packet are mapped to by not simultaneous interpretation by service convergence sublayer respectively
The method of the Business Stream of defeated priority includes: that the uplink TCP data packet in the TCP data packet is mapped as with the first business
First Business Stream of traffic identifier;Downlink TCP data packet in the TCP data packet is mapped as with the second traffic stream identifier
Second Business Stream;Uplink TCP-ACK data packet in the TCP-ACK data packet is mapped as with third traffic stream identifier
Third Business Stream;Downlink TCP-ACK data packet in the TCP-ACK data packet is mapped as with the 4th traffic stream identifier
4th Business Stream, wherein the third traffic stream identifier and the 4th operation flow identify corresponding transmission priority higher than described
First traffic stream identifier and the corresponding transmission priority of the second traffic stream identifier.
Optionally, the TCP data packet and TCP-ACK data packet are mapped to by not simultaneous interpretation by service convergence sublayer respectively
The method of the Business Stream of defeated priority includes: that the TCP data packet is mapped as the 5th business with the 5th traffic stream identifier
Stream;The TCP-ACK data packet is mapped as the 6th Business Stream with the 6th traffic stream identifier, wherein the 6th business
The corresponding transmission priority of process identification is higher than the corresponding transmission priority of the 5th traffic stream identifier.
The embodiments of the present invention also provide a kind of data transmission device based on air interface, described device includes: to connect
Unit is received, for receiving the data packet for entering air interface data link layer by service convergence sublayer;Processing unit, being used for will
The data packet divides into TCP data packet and TCP-ACK data packet;Map unit, will be described for passing through service convergence sublayer
TCP data packet and TCP-ACK data packet are mapped to the Business Stream of different transmission priorities respectively, wherein the TCP-ACK data
The transmission priority for wrapping corresponding Business Stream is higher than the corresponding Business Stream of the TCP data packet;Transmission unit, for according to described
Transmission priority sends the Business Stream by the air interface data link layer.
Optionally, the processing unit is used to be less than when the size of the data packet into air interface data link layer
The data packet is then determined as TCP-ACK data packet by preset value;When the data packet into air interface data link layer
Size be greater than or equal to preset value, then the data packet is determined as TCP data packet.
Optionally, the processing unit is used for corresponding according to the data packet into air interface data link layer
TCP layer notice, divides into TCP data packet and TCP-ACK data packet for the data packet.
Optionally, the map unit includes: the first mapping subelement, for by the uplink TCP in the TCP data packet
Data packet is mapped as the first Business Stream with the first traffic stream identifier;Second mapping subelement, is used for the TCP data packet
In downlink TCP data packet be mapped as the second Business Stream with the second traffic stream identifier;Third maps subelement, is used for institute
It states the uplink TCP-ACK data packet in TCP-ACK data packet and is mapped as the third Business Stream with third traffic stream identifier;4th
Subelement is mapped, for the downlink TCP-ACK data packet in the TCP-ACK data packet to be mapped as failing to be sold at auction with the 4th business
The 4th Business Stream known, wherein the third traffic stream identifier and the 4th operation flow identify corresponding transmission priority and be higher than
First traffic stream identifier and the corresponding transmission priority of the second traffic stream identifier.
Optionally, the map unit includes: the 5th mapping subelement, for the TCP data packet to be mapped as having
5th Business Stream of the 5th traffic stream identifier;6th mapping subelement, for being mapped as the TCP-ACK data packet with the
6th Business Stream of six traffic stream identifier, wherein the 6th operation flow identifies corresponding transmission priority and is higher than described the
The corresponding transmission priority of five traffic stream identifier.
The embodiments of the present invention also provide a kind of network communication equipment, the network communication equipment includes described based on sky
The data transmission device of middle interface.
Compared with prior art, in the above-mentioned technical solutions, it will can receive to enter by service convergence sublayer and connect in the air
The data packet of mouth data link layer, and the data packet is divided into TCP data packet and TCP-ACK data packet, further pass through
The TCP data packet and TCP-ACK data packet are mapped to the Business Stream of different transmission priorities by service convergence sublayer respectively,
In, the transmission priority of the corresponding Business Stream of the TCP-ACK data packet is higher than the corresponding Business Stream of the TCP data packet.?
That is the TCP-ACK data packet with higher transmission priority will be prior to the TCP data packet with lower transmission priority
It is transmitted, so that TCP-ACK data packet is timely feedbacked, to improve data transmission bauds.
Specific embodiment
To more fully understand those skilled in the art and realizing the present invention, referring to the drawings, pass through specific embodiment
It is described in detail.
Fig. 1 is the flow chart of the data transmission method in the embodiment of the present invention based on air interface.
Referring to FIG. 1, the described method includes: step S100 to S103.
Step S100 receives the data packet for entering air interface data link layer by service convergence sublayer.
Referring to FIG. 2, in an embodiment of the present invention, the air interface data link layer 200 divides for three sublayers, from
Top to bottm is successively are as follows: service convergence sublayer (TCS) 210, data access control sublayer (DAC) 220 and Media Access Control
(MAC)230。
TCP layer 110 and IP layer 120 are located on the air interface data link layer.By TCP layer 110 and IP layer 120
Data packet enter air interface data link layer after, by the service convergence sublayer (TCS) 210 receive.Data packet is from institute
After stating the entrance air interface data link layer 200 of TCS layer 210, DAC layer 220 and MAC layer 230 will be passed sequentially through.
The data packet is divided into TCP data packet and TCP-ACK data packet by step S101.
The data packet into air interface data link layer 200 may be TCP data packet, it is also possible to be TCP-
Ack msg packet, but the size of TCP-ACK data packet is generally smaller than TCP data packet.Therefore, in one embodiment of this invention, may be used
By judging that the data packet is divided into TCP data packet and TCP-ACK data packet, detailed process by the size of data packet
Are as follows: the preset value for presetting a measurement data package size, when the discovery number into air interface data link layer 200
It is less than the preset value according to the size of packet, then the data packet is determined as TCP-ACK data packet, and when the entrance connects in the air
The size of the data packet of mouth data link layer 200 is greater than or equal to the preset value, then the data packet is determined as TCP data
Packet.
In another embodiment of the invention, it can be built between the service convergence sublayer (TCS) 210 and TCP layer 110
Vertical connecting interface, when the data packet is when entering the air interface data link layer 200, the service convergence sublayer
(TCS) 210 TCP that also will receive TCP layer 210 corresponding with the data packet are notified, the TCP notice will inform the business
The type of the data packet of convergence sub-layer (TCS) 210, the service convergence sublayer (TCS) 210 accordingly distinguish the data packet
For TCP data packet or TCP-ACK data packet.
The TCP data packet and TCP-ACK data packet are mapped to by step S102 respectively by service convergence sublayer 210
The Business Stream of different transmission priorities.Wherein, the transmission priority of the corresponding Business Stream of the TCP-ACK data packet is higher than described
The corresponding Business Stream of TCP data packet.
Since the direction transmitted according to data is different, the TCP data packet that the service convergence sublayer 210 receives includes upper
The TCP data packet of line direction and the TCP-ACK data packet of down direction, similarly, what the service convergence sublayer 210 received
TCP-ACK data packet also includes the TCP-ACK data packet of up direction and the-TCP-ACK data packet of down direction.
It in one embodiment of this invention, can be respectively by the uplink TCP data packet and downlink in the TCP data packet
TCP data packet is each mapped to the Business Stream with different business traffic identifier (SFID), for example, by the TCP data packet
Uplink TCP data packet is mapped as the first Business Stream with the first traffic stream identifier;By the downlink TCP in the TCP data packet
Data packet is mapped as the second Business Stream with the second traffic stream identifier.It is equally possible that respectively by the TCP-ACK data
Uplink TCP-ACK data packet and downlink TCP-ACK data packet in packet are each mapped to different business traffic identifier (SFID)
Business Stream, for example, the uplink TCP-ACK data packet in the TCP-ACK data packet is mapped as failing to be sold at auction with third business
The third Business Stream of knowledge;Downlink TCP-ACK data packet in the TCP-ACK data packet is mapped as failing to be sold at auction with the 4th business
The 4th Business Stream known.
It is higher than it should be noted that the third traffic stream identifier and the 4th operation flow identify corresponding transmission priority
First traffic stream identifier and the corresponding transmission priority of the second traffic stream identifier, that is to say, that the third Business Stream and
The transmission priority of 4th Business Stream is higher than first Business Stream and the second Business Stream.However the transmission of first Business Stream
The transmission priority whether priority is higher than the second Business Stream can be arranged according to user demand, if user requires to pay the utmost attention to
The transmission speed of up direction, the then transmission priority that first Business Stream can be set are higher than the biography of second Business Stream
Defeated priority.Similarly, the transmission priority that whether transmission priority of the third Business Stream is higher than the 4th Business Stream can be with
It is arranged according to user demand, if user requires to pay the utmost attention to the transmission speed of up direction, the 4th industry can be set
The transmission priority of business stream is higher than the transmission priority of third Business Stream.
In another embodiment of the invention, the data packet that the service convergence sublayer 210 can not also be received into
The differentiation of row upstream data packet and downlink data packet only distinguishes TCP data packet and TCP-ACK data packet, by received TCP
Data packet is all mapped as the 5th Business Stream with the 5th traffic stream identifier, and received TCP-ACK data packet is all reflected
It penetrates as the 6th Business Stream with the 6th traffic stream identifier, and the 6th operation flow identifies corresponding transmission priority and is higher than
The corresponding transmission priority of 5th traffic stream identifier, that is to say, that the transmission priority of the 6th Business Stream is higher than described
The transmission priority of 5th Business Stream.
It is worth noting that, the TCP data packet and TCP-ACK data packet are divided by traffic stream identifier field
Different transmission priorities.This is not only utilized existing traffic stream identifier field and has reached TCP data packet and TCP-ACK data
The transmission priority of packet divides, and with the purpose of improve data transfer speed, and passes because identifying without adding additional field
Defeated priority can also save data volume.
Step S103 sends the Business Stream by the air interface data link layer according to the transmission priority.
As previously mentioned, the TCP data packet and TCP-ACK data packet are mapped to the Business Stream of different transmission priorities,
Wherein, the transmission priority of the corresponding Business Stream of the TCP-ACK data packet is higher than the corresponding Business Stream of the TCP data packet.
Correspondingly, data access control sublayer (DAC) 220 and Media Access Control (MAC) 230 is in data transmission scheduling
When, the transmission priority of different business stream is judged by the traffic stream identifier, and it is higher preferentially to send transmission priority
Business Stream, that is to say, that preferential to send the corresponding Business Stream of TCP-ACK data packet.
The embodiments of the present invention also provide a kind of data transmission devices based on air interface.Please refer to number described in Fig. 3
Include: receiving unit 310 according to transmitting device 300, enters air interface data link layer for receiving by service convergence sublayer
Data packet;Processing unit 320, for the data packet to be divided into TCP data packet and TCP-ACK data packet;Map unit
330, for the TCP data packet and TCP-ACK data packet to be mapped to different transmission preferences respectively by service convergence sublayer
The Business Stream of grade, wherein the transmission priority of the corresponding Business Stream of the TCP-ACK data packet is higher than the TCP data packet pair
The Business Stream answered;Transmission unit 340, for sending institute by the air interface data link layer according to the transmission priority
State Business Stream.
In one embodiment of this invention, the processing unit 320 can be used for entering air interface data chain when described
The size of the data packet of road floor is less than preset value, then the data packet is determined as TCP-ACK data packet;Enter in the air when described
The size of the data packet of interface data link layer is greater than or equal to preset value, then the data packet is determined as TCP data packet.
In another embodiment of the invention, the processing unit 320 can be used for entering air interface number according to described
According to the corresponding TCP layer notice of the data packet of link layer, the data packet is divided into TCP data packet and TCP-ACK data packet.
In one embodiment of this invention, the map unit 330 includes: the first mapping subelement (figure is not shown), is used
In the uplink TCP data packet in the TCP data packet to be mapped as to the first Business Stream with the first traffic stream identifier;Second reflects
Subelement (figure is not shown) is penetrated, for the downlink TCP data packet in the TCP data packet to be mapped as failing to be sold at auction with the second business
The second Business Stream known;Third mapping subelement (figure do not show), for by the uplink TCP- in the TCP-ACK data packet
Ack msg packet is mapped as the third Business Stream with third traffic stream identifier;4th mapping subelement (figure is not shown), being used for will
Downlink TCP-ACK data packet in the TCP-ACK data packet is mapped as the 4th Business Stream with the 4th traffic stream identifier,
In, the third traffic stream identifier and the 4th operation flow identify corresponding transmission priority and are higher than first traffic stream identifier
Transmission priority corresponding with the second traffic stream identifier.
In another embodiment of the invention, the map unit 330 includes: the 5th mapping subelement (figure is not shown),
For the TCP data packet to be mapped as the 5th Business Stream with the 5th traffic stream identifier;(figure is not shown 6th mapping subelement
Show), for the TCP-ACK data packet to be mapped as the 6th Business Stream with the 6th traffic stream identifier, wherein the described 6th
Operation flow identifies corresponding transmission priority and is higher than the corresponding transmission priority of the 5th traffic stream identifier.
The embodiments of the present invention also provide a kind of network communication equipment, the network communication equipment includes described based on sky
The data transmission device of middle interface.Specifically, the network communication equipment can have for communication terminal, router, gateway etc.
The equipment of network data communication function.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include: ROM, RAM, disk or CD etc..
Although present disclosure is as above, present invention is not limited to this.Anyone skilled in the art are not departing from this
It in the spirit and scope of invention, can make various changes or modifications, therefore protection scope of the present invention should be with claim institute
Subject to the range of restriction.