CN102457986A - Method for transmitting uplink data of terminal, and terminal - Google Patents

Method for transmitting uplink data of terminal, and terminal Download PDF

Info

Publication number
CN102457986A
CN102457986A CN2010105256035A CN201010525603A CN102457986A CN 102457986 A CN102457986 A CN 102457986A CN 2010105256035 A CN2010105256035 A CN 2010105256035A CN 201010525603 A CN201010525603 A CN 201010525603A CN 102457986 A CN102457986 A CN 102457986A
Authority
CN
China
Prior art keywords
tcp
bag
serial number
data
terminal
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
CN2010105256035A
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.)
Leadcore Technology Co Ltd
Original Assignee
Leadcore Technology 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 Leadcore Technology Co Ltd filed Critical Leadcore Technology Co Ltd
Priority to CN2010105256035A priority Critical patent/CN102457986A/en
Publication of CN102457986A publication Critical patent/CN102457986A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the field of communication and discloses a method for transmitting uplink data of a terminal, and the terminal. In the invention, a message sequence number of a transmission control protocol (TCP) data packet to be sent is compared with a message sequence number of a TCP packet in cache queue; furthermore, the message sequence numbers of the TCP packets positioned in front of the TCP data packet to be sent in the cache queue are smaller than the message sequence number of the TCP data packet to be sent by adjusting the position of the TCP data packet to be sent, so that a receiving end can receive a retransmitted data packet timely without a process of releasing TCP connection; therefore, the utilization rate of radio resources is increased effectively; and the whole system resource can be used rationally.

Description

The uplink data transmission method at terminal and terminal
Technical field
The present invention relates to the communications field, particularly the data transmission technology in the communications field.
Background technology
In wireless communication system, the portable terminal and the network equipment can provide transmission link for application program as the carrying of bottom, accomplish the transmission of data.For the application program of using transmission control protocol TCP/ internetworking protocol IP agreement; The data of transmitting between terminal and the wireless device are exactly the IP bag; As shown in Figure 1; Terminal (MS) itself comprises Non-Access Stratum, Access Layer and physical layer, and TCP/IP and application layer then belong to the category of application program, and application program can be positioned at PC (personal computer) side.
FTP (File Transfer Protocol; Be called for short " FTP ") be exactly a kind of in the application program; Between terminal and network, can carry out the transfer of data of both direction; The terminal is called transmitting uplink data to transmitted data on network, and network is called downlink data transmission to the transfer of data of terminal direction.When carrying out transmitting uplink data; The TCP/IP packet is through Non-Access Stratum, Access Layer and the physical layer at terminal; Arrive base station sub-system (BSS) through wireless channel, arrived service universal grouping wireless business supporting node (Serving GPRS Support Node is called for short " SGSN ") through cable network again afterwards; Through the Internet, finally arrive third party application server (APP server) again.Downlink data transmission then is opposite process.For wireless network; Main difference is the wireless channel between the MS and BSS among Fig. 1; This is the channel of a resource-sharing, and the uplink and downlink resource of distributing to certain terminal all the time all possibly change, and is perhaps big; Perhaps smaller, this just might cause the bottleneck that on this air interface, occurs in the transfer of data.
At present, when carrying out transmitting uplink data, the protocol layer at the terminal is transparent fully, that is to say; The operation of bag is unpacked, organized in the terminal according to the sequencing of the TCP/IP message of receiving, deposits in buffer queue then; If obtain the notice of the acquisition ascending wireless resource of physical layer, show and can send data, then from buffer queue, take out data; Through coding, modulated process, send to network one side through Radio Link then, in network one side; Through the cable network transmission, finally arrive the third party application server, as shown in Figure 2.In downlink data transmission; The protocol layer at terminal also is transparent for the data that receive fully; Be that the terminal receives from the message of eating dishes without rice or wine, through demodulation, decode, unpack, organize the process of bag, be submitted to the application layer at terminal then according to the order that receives these data blocks.
And concerning the application program of the application program of terminal one side and network one side, will carry out flow control according to congestion window and advertised window.Wherein congestion window is that transmit leg is used for carrying out flow control, and advertised window then is that the recipient is used for carrying out flow control.Transmit leg determines whether that according to congestion window needs continue to send TCP and wrap to the opposite end, and the recipient then tells through advertised window whether transmit leg can continue to receive the TCP bag, and this is that ICP/IP protocol is described.Whether the recipient replys confirmation, depends on the number of the TCP message segment of receiving on the one hand, depends on recipient's cycle timer on the other hand, and these two conditions meet one of them, will trigger the transmission of confirmation.
With congestion window and advertised window all is that the size of 4 message segments is an example:
Congestion window=5840 bytes,
Advertised window=5840 bytes,
Message segment length (LEN)=1460 byte
Under the normal condition, the recipient receives that a bag or two bags will be through ACK answer confirmations.Under the situation of having only a TCP to connect, this process is as shown in Figure 3.Can see that transmit leg can send 4 TCP bags continuously, can arrive congestion state, window is no longer mobile.In process of transmitting, received affirmation again, so send window is moved, can continues again to send from the opposite end.If whole process of transmitting is very smooth, eat dishes without rice or wine not go wrong and substitute, the TCP of seq (test serial number)=4840 bag will be sent to network at time point 3 so, and on this aspect, network has been received 5 complete TCP bags.
But because TCP/IP is positioned at the PC side, the TCP message need pass through NAS layer (Non-Access Stratum), AS layer (Access Layer), sends to network through wave point then.And ascending resource is not all to be fully all the time, in this case, though the TCP bag has been issued the terminal through Transmission Control Protocol; But maybe be because ascending resource is being waited at the terminal; And be buffered in NAS layer or AS layer, and not having under the situation about retransmitting, existing scheme does not have any problem yet; The message transmission rate of seeing from application layer is comparatively stable, and Radio Resource is fully utilized.If but quality of wireless channel is relatively poor or gravity treatment has taken place, the TCP bag will take place retransmit, the situation that will occur lowering efficiency under the existing scheme.
Illustrate, as shown in Figure 4, the TCP of seq=1460 wraps in when sending for the first time and has lost at wave point; Network side has been replied ACK and has been required end side to resend; Because the send window at terminal is also bigger, the TCP of seq=2920 and seq=3380 bag has also produced, but does not send because the reason of ascending resource is buffered in end side; After the PC side has received that the ACK of seq=1460 is retransmitted in twice requirement; Produced the TCP bag of the seq=1460 that retransmits, even when the bag of the seq=1460 that retransmits sends to end side, the TCP of seq=2920 and seq=3380 bag does not still send.
Under existing scheme, even run into this situation, the TCP bag is still sent according to the order of the TCP bag of receiving from the PC side in the terminal; Cause the network receiver side so on the one hand owing to slowly can not receive the TCP bag of continuous sequence number; Will send the data that the ACK of repetition requires terminal re-sends to lose, and the terminal need produce new re-transmission tcp data bag again after receiving these ACK; That kind as indicated with a dotted line in Fig. 4, this has just strengthened the load of eating dishes without rice or wine; On the other hand; If some application programs can not receive the TCP bag of continuous sequence number within a certain period of time, will think to take defeat, need to initiate new application process and come to carry out again transfer of data; The data of before sending just are equivalent to not send, and the Radio Resource that took just has been wasted.
Therefore under existing scheme,, make tcp data be transmitted on this link and bottleneck occurred, so the tcp data efficiency of transmission of whole network has just reduced because the communication process between terminal and the wireless subsystem has been passed through in the transmission of the tcp data of whole network.
Summary of the invention
The object of the present invention is to provide a kind of uplink data transmission method and terminal of terminal, to improve wireless resource utility efficiency and system effectiveness.
For solving the problems of the technologies described above, execution mode of the present invention provides a kind of uplink data transmission method of terminal, comprises following steps:
With the test serial number of tcp data bag to be sent, compare with the test serial number of TCP in buffer queue bag;
If there be the TCP bag of test serial number in the said buffer queue, then will said tcp data bag to be sent place before this TCP wraps greater than the test serial number of said tcp data bag to be sent;
Said terminal obtains TCP bag successively from said buffer queue when being allowed to send upstream data, and send after the TCP bag that obtains is reassembled as the IP bag.
Execution mode of the present invention also provides a kind of terminal, comprises:
Comparison module is used for the test serial number with tcp data bag to be sent, compares with the test serial number of TCP in buffer queue bag;
The sequence number adjusting module is used for the comparative result according to said comparison module, when in said buffer queue, having test serial number greater than the TCP bag of the test serial number of said tcp data bag to be sent, said tcp data bag to be sent is placed before this TCP bag;
Sending module is used for when being allowed to send upstream data, from said buffer queue, obtains TCP bag successively, and sends after the TCP bag that obtains is reassembled as the IP bag.
Embodiment of the present invention in terms of existing technologies; Through the test serial number of tcp data bag more to be sent and the test serial number of the bag of the TCP in the buffer queue; And adjustment to sent the position of tcp data bag; Make in buffer queue, be positioned at the test serial number of the TCP bag before the tcp data bag to be sent, all less than the test serial number of this tcp data bag to be sent.Owing to will in buffer queue, carry out arranging again according to test serial number from the tcp data bag of upper layer application; Sequencing according to test serial number sends; And no matter whether be packet or the new packet that retransmits; Make receiving terminal can in time receive the packet of re-transmission, do not have the process that TCP connects that discharges.That is to say, when ICP/IP protocol operates on the wireless network, can effectively improve the operational efficiency of ICP/IP protocol, thereby effectively raise utilization ratio of wireless resources, help the whole system reasonable resources and use.
In addition, if having the test serial number TCP bag identical, then terminal deletion tcp data bag to be sent in the buffer queue with the test serial number of tcp data bag to be sent.Through deleting redundant TCP bag, can save transfer resource, further improve utilization ratio of wireless resources.
In addition; At test serial number with tcp data bag to be sent; Before comparing with the test serial number of TCP in buffer queue bag, need to judge earlier whether the TCP bag from upper layer application is the tcp data bag, if the tcp data bag then gets into test serial number step relatively; If not the tcp data bag, then will be arranged in the afterbody of buffer queue from the TCP bag of upper layer application.Because waste of radio resources mainly is that re-transmission because of the tcp data bag causes in the prior art; Therefore technical scheme of the present invention is only carried out the position adjustment to the tcp data bag; For simple TCP control message; Still handle, be arranged in the afterbody of buffer queue by prior art, thus can be compatible better with prior art.
In addition, the data field partial-length that wraps through A bit and this TCP that comprises in the packet header to the TCP bag detects to judge whether the TCP bag is the tcp data bag, and is simple, convenient enforcement.
Description of drawings
Fig. 1 is the protocol architecture sketch map that carries out transfer of data through wireless terminal according to of the prior art;
Fig. 2 is the schematic flow sheet according to terminal transmission upstream data of the prior art;
Fig. 3 is the TCP message sequence sketch map that sends according to data in the prior art;
Fig. 4 is according to the message sequence sketch map that exists TCP to lose in the prior art;
Fig. 5 is the uplink data transmission method flow chart according to the terminal of first embodiment of the invention;
Fig. 6 is the structural representation according to the TCP header in the first embodiment of the invention;
Fig. 7 is the structural representation according to the IP header in the first embodiment of the invention;
Whether Fig. 8 is to be the flow chart of simple ACK controlling packet according to the TCP/IP bag judged in the first embodiment of the invention;
Fig. 9 is according to the TCP message sequence sketch map in the first embodiment of the invention;
Figure 10 is the transmitting uplink data structural representation according to the terminal of first embodiment of the invention;
Figure 11 is the terminal structure sketch map according to third embodiment of the invention.
Embodiment
First execution mode of the present invention relates to a kind of uplink data transmission method of terminal.Idiographic flow is as shown in Figure 5.
In step 501, the terminal is decided to be target TCP bag with this TCP bag behind the TCP bag of receiving from upper layer application.That is to say that the terminal is wrapped this TCP bag from the PC side as target TCP behind the TCP bag of receiving from the PC side.
Then, in step 502, whether this target of terminal judges TCP bag is the tcp data bag.Specifically, the terminal is through resolving target TCP bag, and the data field partial-length of A bit that comprises in the detection packet header and target TCP bag judges whether this target TCP bag is the tcp data bag, if judge it is not the tcp data bag, then gets into step 503; If judge it is the tcp data bag, then get into step 504.
It will be understood by those skilled in the art that the TCP bag is made up of header (packet header) and data.TCPheader constitutes by being no less than 5 bytes, and the structure of the header of TCP bag is as shown in Figure 6.Sequence number is wherein represented the sequence number of first byte of data division; The i.e. test serial number of this TCP bag; The head length kilsyth basalt shows with 32 bits to be the length of the TCP header of unit, and A is a bit, representes this TCP for " 1 " and comprises an ACK message; Each part is identical with existing protocol among the header of TCP bag, repeats no more at this.
The IP bag is made up of header part and data content part two parts equally, and wherein data content partly comprises the TCP bag, and IP header is made up of at least 5 bytes, and the structure of the header of IP bag is as shown in Figure 7.Wherein, length overall representes with the byte to be the total length of IP bag of unit, and the long expression of leader is the length of the IP header of unit with 32 bits.Each part is identical with existing protocol among the header of IP bag, repeats no more at this.
In step 502,, detect the A bit that comprises in the packet header of TCP bag and be changed to 1 if through parsing to target TCP bag; And the data field partial-length of target TCP bag is 0; Judge that then this target TCP bag for simple TCP controlling packet, promptly is not the tcp data bag, as shown in Figure 8.Whether the data field partial-length (data_Len) among Fig. 8 is 0, subtract each other through the Several Parameters of TCP header part and IP header part to obtain, as:
The long * 4 of Ip_header_Len=IP header leader;
Ip_total_Len=IP header length overall;
Tcp_header_Len=TCP header head length degree * 4;
data_Len=Ip_total_Len-Ip_header_Len-Tcp_header_Len;
If judge it is not the tcp data bag, then in step 503, this target TCP is wrapped the afterbody that is arranged in buffer queue, get back to step 501.That is to say, if judge that in step 502 target TCP bag is a simple TCP controlling packet, but not the tcp data bag, then just direct transparent transmission does not process.Detect to judge whether the TCP bag is the tcp data bag through A bit that comprises in the packet header to the TCP bag and the data field partial-length that this TCP wraps, simple, convenient enforcement.
If judge it is the tcp data bag, then in step 504, obtain the test serial number of target TCP bag (being tcp data bag to be sent).Through the structure introduction of above-mentioned header to TCP bag, be not difficult to find, through resolving TCP header, can obtain the test serial number of target TCP bag easily according to " sequence number " field among the TCP header.
Need to prove that through the parsing to TCP header and IP header, it is right also can to obtain socket, i.e. source port, source IP address, destination interface, the combination of purpose IP address.Connect to same TCP, it is right to have an identical socket.In this execution mode, all be to connect to same TCP.
Then, in step 505, with the tcp data bag that starts in buffer queue TCP bag as a comparison.
Then, in step 506,, judge that whether target TCP bag is identical with the test serial number of contrast TCP bag, if identical, then gets into step 507 through the test serial number of comparison object TCP bag and contrast TCP bag; If inequality, then get into step 508.
In step 507, terminal deletion target TCP bag (also being appreciated that) to abandoning this target TCP bag.Owing to when the test serial number of target TCP bag is identical with the test serial number of existing TCP bag in the buffer queue, explain that target TCP bag for redundant TCP bag, therefore wraps through the TCP that deletes redundancy, can save transfer resource, further improve utilization ratio of wireless resources.
In step 508, through the test serial number of comparison object TCP bag and contrast TCP bag, judge the test serial number of target TCP bag, whether compare bigger than the test serial number of TCP bag.If judge the test serial number of target TCP bag, comparison is bigger than the test serial number of TCP bag, then gets into step 509, the next TCP in the buffer queue is wrapped TCP bag as a comparison, and get back to step 506; If judge the test serial number of target TCP bag, comparison is littler than the test serial number of TCP bag, then gets into step 510.
In step 510, the terminal is placed on target TCP bag before the contrast TCP bag.That is to say that in step 505 to step 510, the terminal begins to look for (being referred to as to contrast the TCP bag) from the head of buffer queue; If test serial number is identical, that just explains that target TCP bag is unnecessary, need abandon; If find the contrast TCP bag of first sequence number greater than target TCP bag, just be placed on target TCP before the contrast TCP bag, make in buffer queue; Be positioned at the test serial number of the TCP bag before the target TCP bag, all less than the test serial number of target tcp data bag.
Then, in step 511, whether terminal judges is current is allowed to send data.Specifically, the notice that receive according to physical layer at the terminal is known the time that is allowed to send upstream data.If upstream data is sent in current permission, then get into step 512; If do not allow to send upstream data, then wait for new gathering data arrival from application layer, behind the new TCP bag of receiving from application layer, get back to step 501.
In step 512, TCP bag is taken out at the terminal successively from buffer queue, through unpacking, organize bag and coded modulation process, is reassembled as the IP bag and sends to and eat dishes without rice or wine.
Be not difficult to find; Owing to will in buffer queue, carry out arranging again according to test serial number from the tcp data bag of upper layer application; Sequencing according to test serial number sends; And, make receiving terminal can in time receive the packet of re-transmission no matter whether be packet or the new packet that retransmits, do not have the process that TCP connects that discharges.As shown in Figure 9, in message sequence, just received the TCP bag of the SEQ=1460 of the re-transmission that comes self terminal at time point 1 network, shifted to an earlier date much than originally need just receiving at time point 3.If originally at time point 2, the timer of network will be overtime, can cause rebuliding of TCP, and now,, not have the process that TCP connects that discharges, thereby improve utilization ratio of wireless resources because just received the packet that retransmits at time point 1.And for the retransmission packet shown in the dotted line, owing to be that redundant packet will be dropped.This shows, when ICP/IP protocol operates on the wireless network, can effectively improve the operational efficiency of ICP/IP protocol, thereby effectively raise utilization ratio of wireless resources, help the whole system reasonable resources and use.And, as far as the terminal, only increased the process that reorders (this process can realize through the mode of hardware or software) to TCP bag in the buffer queue, shown in figure 10, make this execution mode have stronger feasibility.
Second execution mode of the present invention relates to a kind of uplink data transmission method of terminal.Second execution mode and first execution mode are roughly the same, and main distinction part is: in the first embodiment, all be to connect to same TCP from the TCP of application layer bag, it is right to have an identical socket.And in second embodiment of the invention, possibly be to connect to different TCP from the TCP of application layer bag.Therefore, in this execution mode, each TCP is connected, all need carry out flow process as shown in Figure 5.
Need to prove, above the step of the whole bag of tricks divide, just clear in order to describe; Can merge into a step during realization perhaps splits some step; Be decomposed into a plurality of steps, as long as comprise identical logical relation, all in the protection range of this patent; To adding inessential modification in the algorithm or in the flow process or introduce inessential design, but the core design that does not change its algorithm and flow process is all in the protection range of this patent.
Third embodiment of the invention relates to a kind of terminal, and is shown in figure 11, comprises:
Comparison module is used for the test serial number with tcp data bag to be sent, compares with the test serial number of TCP in buffer queue bag.Comparison module obtains the test serial number of tcp data bag to be sent through resolving the packet header of tcp data bag to be sent.
The sequence number adjusting module is used for the comparative result according to comparison module, when in buffer queue, having test serial number greater than the TCP of the test serial number of tcp data bag to be sent bag, tcp data bag to be sent is placed before this TCP bag.The sequence number adjusting module also is used for when there is the identical TCP bag of the test serial number of test serial number and tcp data bag to be sent in buffer queue, deleting tcp data bag to be sent.
Sending module is used for when being allowed to send upstream data, from buffer queue, obtains TCP bag successively, and sends after the TCP bag that obtains is reassembled as the IP bag.Wherein, the notice that sending module is received according to physical layer is known the time that is allowed to send upstream data.
Judge module is used to judge whether the TCP bag from upper layer application is the tcp data bag, is being judged to be when being the tcp data bag, and the indication comparison module carries out above-mentioned comparison; When judgement is not the tcp data bag, will be arranged in the afterbody of buffer queue from the TCP bag of upper layer application.
This judge module comprises following submodule:
Detection sub-module is used for detecting A bit that the packet header from the TCP bag of upper layer application comprises and from the data field partial-length of the TCP bag of upper layer application;
Decision sub-module as a result; Be used for detecting the A bit and be changed to 1 in detection sub-module; And the data field partial-length is 0 o'clock, judges that the TCP bag from upper layer application is not the tcp data bag, detects the A bit in detection sub-module and is not changed to 1; Perhaps the data field partial-length is not 0 o'clock, judges that the TCP bag from upper layer application is the tcp data bag.
Be not difficult to find that this execution mode is and the corresponding system embodiment of first execution mode, this execution mode can with the enforcement of working in coordination of first execution mode.The correlation technique details of mentioning in first execution mode is still effective in this execution mode, in order to reduce repetition, repeats no more here.Correspondingly, the correlation technique details of mentioning in this execution mode also can be applicable in first execution mode.
What deserves to be mentioned is that each involved in this execution mode module is logic module, in practical application, a logical block can be a physical location, also can be the part of a physical location, can also realize with the combination of a plurality of physical locations.In addition, for outstanding innovation part of the present invention, will not introduce in this execution mode, but this does not show the unit that does not have other in this execution mode with solving the not too close unit of technical problem relation proposed by the invention.
The 4th execution mode of the present invention relates to a kind of terminal.The 4th execution mode and the 3rd execution mode are roughly the same, and main distinction part is: in the 3rd execution mode, all be to connect to same TCP from the TCP of application layer bag, it is right to have an identical socket.And in four embodiment of the invention, possibly be to connect to different TCP from the TCP of application layer bag.Therefore, in this execution mode, judge module, comparison module, sequence number adjusting module and sending module need be connected to each TCP, all need carry out the function described in the 3rd execution mode.
Above-mentioned each execution mode is to realize specific embodiment of the present invention, and in practical application, can be in form with on the details it is done various changes, and without departing from the spirit and scope of the present invention.

Claims (12)

1. the uplink data transmission method at a terminal is characterized in that, comprises following steps:
With the test serial number of transmission control protocol tcp data bag to be sent, compare with the test serial number of TCP in buffer queue bag;
If there be the TCP bag of test serial number in the said buffer queue, then will said tcp data bag to be sent place before this TCP wraps greater than the test serial number of said tcp data bag to be sent;
Said terminal obtains TCP bag successively from said buffer queue when being allowed to send upstream data, and send after the TCP bag that obtains is reassembled as internetworking protocol IP bag.
2. the uplink data transmission method at terminal according to claim 1 is characterized in that,
Said terminal is through resolving the packet header of said tcp data bag to be sent, obtains the test serial number of said tcp data bag to be sent.
3. the uplink data transmission method at terminal according to claim 1 is characterized in that, at the test serial number with tcp data bag to be sent, after comparing with the test serial number of TCP in buffer queue bag, also comprises following steps:
If have the test serial number TCP bag identical in the said buffer queue, the said tcp data bag to be sent of then said terminal deletion with the test serial number of said tcp data bag to be sent.
4. the uplink data transmission method at terminal according to claim 1 is characterized in that, at the test serial number with tcp data bag to be sent, before comparing with the test serial number of TCP in buffer queue bag, also comprises following steps:
Whether judgement is the tcp data bag from the TCP bag of upper layer application, if the tcp data bag then gets into the step of said comparison; If not the tcp data bag, then with the said afterbody that is arranged in said buffer queue from the TCP bag of upper layer application.
5. the uplink data transmission method at terminal according to claim 4 is characterized in that, said terminal judges in the following manner whether the TCP bag from upper layer application is the tcp data bag:
Detect the data field partial-length of the A bit that comprises in the packet header of said TCP bag from upper layer application and said TCP bag from upper layer application;
If said A bit is changed to 1, and said data field partial-length is 0, judges that then said TCP bag from upper layer application is not the tcp data bag; If said A bit is not changed to 1, perhaps said data field partial-length is not 0, judges that then said TCP bag from upper layer application is the tcp data bag.
6. according to the uplink data transmission method at each described terminal in the claim 1 to 5, it is characterized in that,
The notice that receive according to physical layer at said terminal is known the said time that is allowed to send upstream data.
7. a terminal is characterized in that, comprises:
Comparison module is used for the test serial number with transmission control protocol tcp data bag to be sent, compares with the test serial number of TCP in buffer queue bag;
The sequence number adjusting module is used for the comparative result according to said comparison module, when in said buffer queue, having test serial number greater than the TCP bag of the test serial number of said tcp data bag to be sent, said tcp data bag to be sent is placed before this TCP bag;
Sending module is used for when being allowed to send upstream data, from said buffer queue, obtains TCP bag successively, and sends after the TCP bag that obtains is reassembled as internetworking protocol IP bag.
8. terminal according to claim 7 is characterized in that, said comparison module is through resolving the packet header of said tcp data bag to be sent, obtains the test serial number of said tcp data bag to be sent.
9. terminal according to claim 7; It is characterized in that; Said sequence number adjusting module also is used for when there is the identical TCP bag of the test serial number of test serial number and said tcp data bag to be sent in said buffer queue, deleting said tcp data bag to be sent.
10. terminal according to claim 7 is characterized in that, said terminal also comprises:
Judge module is used to judge whether the TCP bag from upper layer application is the tcp data bag, being judged to be when being the tcp data bag, indicates said comparison module to carry out said comparison; When judgement is not the tcp data bag, with the said afterbody that is arranged in said buffer queue from the TCP bag of upper layer application.
11. terminal according to claim 10 is characterized in that, said judge module comprises following submodule:
Detection sub-module is used for detecting A bit and the said data field partial-length that wraps from the TCP of upper layer application that said packet header of wrapping from the TCP of upper layer application comprises;
Decision sub-module as a result; Be used for detecting said A bit and be changed to 1 in said detection sub-module; And said data field partial-length is 0 o'clock, judges that said TCP bag from upper layer application is not the tcp data bag, detects said A bit in said detection sub-module and is not changed to 1; Perhaps said data field partial-length is not 0 o'clock, judges that said TCP bag from upper layer application is the tcp data bag.
12., it is characterized in that the notice that said sending module is received according to physical layer is known the said time that is allowed to send upstream data according to each described terminal in the claim 7 to 11.
CN2010105256035A 2010-10-29 2010-10-29 Method for transmitting uplink data of terminal, and terminal Pending CN102457986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105256035A CN102457986A (en) 2010-10-29 2010-10-29 Method for transmitting uplink data of terminal, and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105256035A CN102457986A (en) 2010-10-29 2010-10-29 Method for transmitting uplink data of terminal, and terminal

Publications (1)

Publication Number Publication Date
CN102457986A true CN102457986A (en) 2012-05-16

Family

ID=46040471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105256035A Pending CN102457986A (en) 2010-10-29 2010-10-29 Method for transmitting uplink data of terminal, and terminal

Country Status (1)

Country Link
CN (1) CN102457986A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102823207A (en) * 2012-05-18 2012-12-12 华为技术有限公司 Method and device for forwarding data packet
CN106941461A (en) * 2017-02-23 2017-07-11 江苏徐工信息技术股份有限公司 A kind of method that utilization message queue optimizes server processing requests
CN107465625A (en) * 2016-06-06 2017-12-12 普天信息技术有限公司 The transmission method and device of transmission control protocol
CN112615701A (en) * 2020-12-30 2021-04-06 展讯半导体(成都)有限公司 Data processing method and device
CN113364790A (en) * 2021-06-12 2021-09-07 四川虹美智能科技有限公司 Data transmission method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296173A (en) * 2007-04-26 2008-10-29 宽宇科技有限公司 Network packet conveying method
US20080291937A1 (en) * 2007-05-22 2008-11-27 Cheshire Stuart D Transmission control protocol queue sorting

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296173A (en) * 2007-04-26 2008-10-29 宽宇科技有限公司 Network packet conveying method
US20080291937A1 (en) * 2007-05-22 2008-11-27 Cheshire Stuart D Transmission control protocol queue sorting

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102823207A (en) * 2012-05-18 2012-12-12 华为技术有限公司 Method and device for forwarding data packet
CN107465625A (en) * 2016-06-06 2017-12-12 普天信息技术有限公司 The transmission method and device of transmission control protocol
CN106941461A (en) * 2017-02-23 2017-07-11 江苏徐工信息技术股份有限公司 A kind of method that utilization message queue optimizes server processing requests
CN112615701A (en) * 2020-12-30 2021-04-06 展讯半导体(成都)有限公司 Data processing method and device
CN112615701B (en) * 2020-12-30 2023-02-14 展讯半导体(成都)有限公司 Data processing method and device
CN113364790A (en) * 2021-06-12 2021-09-07 四川虹美智能科技有限公司 Data transmission method and device

Similar Documents

Publication Publication Date Title
CN101621368B (en) Method, device and system for retransmitting data packet
EP1695462B1 (en) Transmitting and receiving control protocol data unit having processing time information
RU2461147C2 (en) Method of processing radio protocol in mobile communication system and mobile communication transmitter
CN1613233B (en) Method and system of retransmission
CN101978639B (en) Techniques using a hop-by-hop approach for automatic repeat request (arq) in wireless relay networks
JP4625044B2 (en) Window control and retransmission control method, and transmission side apparatus
JP4929349B2 (en) Retransmission request transmission method and receiving side apparatus
US7688855B2 (en) Multi-rate multi-receiver multi-response aggregation
WO2013053304A1 (en) Method and device for implementing tcp transmission
CN102449944A (en) Method and apparatus for downlink data transmission control in multi-hop relay communication system
KR20090055550A (en) Communications equipment
CN100471101C (en) Repeating method for data based on error feedback mechanism and relative system
CN114189901A (en) Data receiving state reporting method and device
CN101436978A (en) Method for authentic data transmission using UDP protocol
CN102395156A (en) Data transmission methods and device applied between packet data convergence protocol (PDCP) entity and radio link control (RLC) entity
US20110194490A1 (en) Method for tcp ack containment in unidirectional flows with cross layer optimization in wireless networks
CN102457986A (en) Method for transmitting uplink data of terminal, and terminal
Ding et al. A new explicit loss notification with acknowledgment for wireless TCP
CN107104902A (en) A kind of method, relevant apparatus and the system of RDMA data transfers
CN102315923B (en) Radio link control method of 3G (The 3rd Generation) satellite communication system
KR20050078096A (en) Method for frame retransmission and network apparatus employing the method
Sayenko et al. Performance analysis of the IEEE 802.16 ARQ mechanism
JP4976904B2 (en) Retransmission control method and transmission side apparatus
CN102263618A (en) Method, device and system for controlling wireless network congestion
CN104580171B (en) The transmission method of Transmission Control Protocol, device and system

Legal Events

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

Application publication date: 20120516