CN102546531B - Data traffic control method and user terminal - Google Patents

Data traffic control method and user terminal Download PDF

Info

Publication number
CN102546531B
CN102546531B CN201010588172.7A CN201010588172A CN102546531B CN 102546531 B CN102546531 B CN 102546531B CN 201010588172 A CN201010588172 A CN 201010588172A CN 102546531 B CN102546531 B CN 102546531B
Authority
CN
China
Prior art keywords
tcp
bag
advertised window
received
submodule
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.)
Active
Application number
CN201010588172.7A
Other languages
Chinese (zh)
Other versions
CN102546531A (en
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 CN201010588172.7A priority Critical patent/CN102546531B/en
Publication of CN102546531A publication Critical patent/CN102546531A/en
Application granted granted Critical
Publication of CN102546531B publication Critical patent/CN102546531B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the field of communication and discloses a data traffic control method and a user terminal. In the invention, a user equipment (UE) side is used for detecting the jamming situation in a protocol stack, and a personal computer (PC) side is indicated not to transmit data in a jamming state. As the UE is used for monitoring the jamming situation in the protocol stack, the PC side is indicated not to transmit data at any time in the jamming state (i.e., the situation that a transmission control protocol (TCP) packet can not be transmitted in time through an idle hole is caused), a redundant TCP retransmission packet is not generated at the PC side in the jamming state, and wireless resources can be effectively utilized. In the invention, the field in an advertisement window in the TCP packet received from a network side can be modified to be zero, so that the PC side is indicated to temporarily stop the transmission for the TCP packet in the jamming state; and the method disclosed by the invention is simple to implement, and the effect of controlling the flow between a terminal and the PC can be achieved without changing the application of the PC side, so that the adaptability is strong.

Description

The control method of data traffic and user terminal
Technical field
The present invention relates to the communications field, particularly the fluidics of data in the communications field.
Background technology
In a wireless communication system, user terminal (UE) and the network equipment, as the carrying of bottom, can provide transmission link for application program, complete the transmission of data.For the application program using transmission control protocol TCP/internetworking protocol IP protocol, the data transmitted between UE and wireless device are exactly IP bag, and as shown in Figure 1, UE protocol stack comprises high level (Non-Access Stratum and Access Layer) and physical layer.ICP/IP protocol layer and application layer thereof then relatively belong to the category of application program, are usually located at PC (personal computer) side.The application of PC side is communicated by USB interface with UE.
PC side and network side data have following process alternately:
(1) the TCP bag of PC side passes to UE by USB port, and UE sends to network by wave point.
(2) downlink data that UE receives automatic network reassembles into TCP bag, and sends to PC side by USB port.
The transmission rate of TCP bag, is generally controlled by sliding window mechanism.It sends parameter is then wrap the change of two-way time (RTT, namely from sending data to the total time receiving data validation) in a network according to TCP to adjust.The transmission rate of UE then depends on interface-free resources situation.If the resource that network side distributes is few, the transmission rate of eating dishes without rice or wine is just relatively slow.Therefore, need to consider the transmission rate of TCP bag and the adjustment of radio interface rate.
At present, the reciprocal process of PC and UE usually as shown in Figure 2.The application program of PC side, within send window, constantly sends TCP and wraps to UE side.This TCP wraps according to form of eating dishes without rice or wine by UE side, carrying out the operations such as segmentation, coding, modulation, then sending to network by eating dishes without rice or wine.
When UE receives and eats dishes without rice or wine data, through the operation of demodulation, decoding and group bag, obtain corresponding TCP and wrap.It is sent to PC side by USB port by UE, and PC side application program then processes accordingly to these TCP bag.
In such scheme, if the transmission rate of TCP bag and radio interface rate comparatively mate, then do not have problems.Such as, be all the size of 32 message segments for congestion window and advertised window: congestion window=32768 byte, advertised window=32768 byte, message segment length (LEN)=1024 byte.
As shown in Figure 3, TCP slow turn-on is not considered.Under radio interface rate faster situation, the packet from PC side that UE receives have sent away all rapidly, also have received the TCP acknowledgment of network in time.Therefore, radio interface rate does not form obvious impact to the transmission that TCP wraps.
If but quality of eating dishes without rice or wine is undesirable, then the PC side at application program place sends to the TCP of UE bag to be deposited in UE protocol stack, cannot send in time.And for TCP layer, data stacking counts in the time of UE and retransmits duration.Once retransmission timer is overtime, the data not receiving confirmation will be retransmitted, and cause interface-free resources to waste.Although TCP/IP itself possesses the function being adapted to speed by adjustment window, the speed of adjustment cannot adapt to interface-free resources change.If transmission rate and the radio interface rate of TCP bag can not mate, then there is the congested of UE side upstream data, make TCP bag be buffered in UE and can not get timely transmission, cause the re-transmission that TCP layer is unnecessary.
Specifically, as shown in Figure 4, in existing scheme, after UE receives TCP bag, because radio interface rate is comparatively slow, the data grows being deposited in terminal is many.The TCP bag of the seq=5120 that the T1 moment sends, in the T2 moment because be not also confirmed, so resend in T2 moment time-out.The data block of seq=6144, seq=7168 is also the same, respectively at T3 and T4 moment Retransmission timeout.
As can be seen here, eat dishes without rice or wine on can pile up a large amount of packet retransmitted.Although after a period of time, ICP/IP protocol can be elongated and adjust the interval of data retransmission because measure RTT.But the data retransmitted still can increase the burden of eating dishes without rice or wine.The wireless channel of carrying data is easy to change with environment, and existing scheme just inevitably occurs the problem that TCP transmission rate cannot match, thus affects the efficiency of whole system.
In addition, if increase a flow-control mechanism between PC and UE, by message, UE notifies that PC side is suspended and sends or recover to send tcp data, this needs the realization changing PC side application program.In the nontransparent situation of general application program, this point cannot be accomplished.
Summary of the invention
The object of the present invention is to provide a kind of control method and user terminal of data traffic, make TCP apply the Rapid Variable Design that can adapt to wireless system resources, thus efficiently utilize Radio Resource.
For solving the problems of the technologies described above, embodiments of the present invention provide a kind of control method of data traffic, comprise following steps:
User terminal UE detects the accumulation situation of transmission control protocol TCP bag to be sent in this UE, and according to the accumulation situation that described TCP wraps, judges whether described UE is in congestion state;
If described UE judges to be in congestion state, then described UE indicates personal computer PC side to suspend the transmission of TCP bag.
Embodiments of the present invention additionally provide a kind of user terminal, comprise:
Detection module, for detecting the accumulation situation of transmission control protocol TCP bag to be sent;
Condition judgment module, the accumulation situation that the TCP for detecting according to described detection module wraps, judges whether described user terminal UE is in congestion state;
Flow-control module, during for judging to be in congestion state in described condition judgment module, the transmission of TCP bag is suspended in instruction personal computer PC side.
Embodiment of the present invention in terms of existing technologies, in UE side detection protocol stack internal congestion situation, indicates PC side no longer to send out data when being in congestion state.Because UE is by monitoring protocol stack internal congestion situation, (situation that TCP bag can not send by eating dishes without rice or wine in time is there is) when being in congestion state, PC side is indicated no longer to send out data at any time, therefore when congestion state, PC side would not produce unnecessary TCP retransmission packet again, ensure that the transmission rate that TCP wraps can be mated preferably with radio interface rate, make TCP apply the Rapid Variable Design that can adapt to wireless system resources, thus effectively make use of Radio Resource.
In addition, after UE is revised as 0 by the advertised window field in being wrapped by the TCP received from network side, then this TCP bag is passed to PC side, realize the transmission suspending TCP bag under congestion state to the instruction of PC side.Realize simple, do not need to change the effect that the application of PC side just can reach flow control between terminal and PC, there is extremely strong adaptability.
In addition, when the accumulation situation that UE wraps according to TCP, when judging that UE is not in congestion state, the TCP received from network side bag is directly passed through described PC side, further ensure the Rapid Variable Design that TCP application can adapt to wire system resource, make interface-free resources obtain reasonable employment.
In addition, connect if there are at least two TCP in UE, then the different priorities that connects according to each TCP of UE, arranges different congestion threshold values for each TCP connects, wherein, is that the TCP that priority is lower connects, arranges lower congestion threshold value.The TCP of different priorities is connected the flow-control mechanism adopting Different Strategies, both ensure that the transmission buffer memory of terminal can not overflow, the application data of high priority can be made again to have larger probability to send.
Accompanying drawing explanation
Fig. 1 is according to the protocol architecture schematic diagram being carried out transfer of data by UE of the prior art;
Fig. 2 is the reciprocal process schematic diagram according to PC and UE of the prior art;
Fig. 3 is according to TCP sequence schematic diagram when TCP transmission rate of the prior art and radio interface rate relative match;
TCP sequence schematic diagram when Fig. 4 is slower according to radio interface rate of the prior art;
Fig. 5 is the control method schematic diagram of the data traffic according to first embodiment of the invention;
Fig. 6 is the control method flow chart of the data traffic according to first embodiment of the invention;
Fig. 7 is the structural representation according to the TCP header in first embodiment of the invention;
Fig. 8 is the structural representation according to the IP header in first embodiment of the invention;
TCP sequence schematic diagram when Fig. 9 is slower according to the radio interface rate in first embodiment of the invention;
Figure 10 is the structural representation of the user terminal according to third embodiment of the invention.
Embodiment
First execution mode of the present invention relates to a kind of control method of data traffic.In the present embodiment, in the high level of UE side, need to judge currently whether be in congestion state, such as, a module P can be increased in UE higher level protocol suite, judge whether this UE is in congestion state by this module P, and when being in congestion state, the transmission of TCP bag is suspended in instruction PC side, as shown in Figure 5.
Specifically, UE, according to the situation of the TCP bag piled up in this UE, judges whether to meet congestion condition, once meet congestion condition, then illustrates and is currently in congestion state.Now, once receive the TCP bag carrying win field from network side, then advertised window (win) field in being wrapped by TCP is set to 0, and other parameters do not change, and are submitted to PC side.Because PC side tcp protocol stack detects that the advertised window of receiving terminal is 0, then can not send out TCP again and wrap to UE side.Like this, the effect of Flow Control between PC side and UE is just reached.Also can not affect the normal process of PC side tcp protocol stack simultaneously.If UE detects that congestion condition is no longer satisfied, then the TCP bag of automatic network side passes through the application of PC side in the future.After UE is revised as 0 by the advertised window field in being wrapped by the TCP received from network side, then this TCP bag is passed to PC side, realize the transmission suspending TCP bag under congestion state to the instruction of PC side.Realize simple, do not need to change the effect that the application of PC side just can reach flow control between terminal and PC, there is extremely strong adaptability.
As shown in Figure 6, in step 601, UE receives descending TCP and wraps idiographic flow, and that is, the TCP that UE receives from network side wraps.
Then, in step 602, UE judges currently whether be in congestion state.Specifically, a congestion threshold value can be pre-set in UE, and by detecting the accumulation situation of transmission control protocol TCP bag to be sent in this UE, judge whether the TCP bag of current accumulation reaches default congestion threshold value, if reach this congestion threshold value, then judge currently to be in congestion state; If do not reach this congestion threshold value, then judge currently not to be in congestion state.Such as setting congestion threshold value is 3, if the TCP bag of then current accumulation is more than or equal to 3, then judge currently to be in congestion state.
If in step 602, UE judges currently to be in congestion state, then enter step 603, if in step 602, judge currently not to be in congestion state, then enter step 607, in step 607, the TCP received from network side bag is passed through PC side by UE.
In step 603, UE judges whether carry advertised window (win) field the TCP bag received from network side.If carry win field, then enter step 604; If do not carry win field, then enter step 607.
Then, in step 604, UE judges whether the value of this win field is 0.If the value of this win field is not 0, then enter step 605; If the value of this win field is 0, then enter step 607.
In step 605, during this TCP wraps by UE, the value of win field, is revised as 0.
Then, in step 606, amended for advertised window field TCP bag is passed to PC side by UE.
In the present embodiment, UE can obtain advertised window win according to TCP/IP pack arrangement.It will be understood by those skilled in the art that TCP bag is made up of header (packet header) and data, TCP header is formed by being no less than 20 bytes, as shown in Figure 7.Head length in Fig. 7 represents the length of the TCP header in units of 32 bits, and A is a bit, for " 1 " represents that this TCP handbag is containing an ACK message.The window (win) of the 4th high 16 of row just refers to the size of advertised window, and minimum is 0, and maximum can value be 65535.IP bag is also made up of header part and data content portion two parts.Wherein data division comprises TCP bag.IP header is made up of at least 20 bytes, as shown in Figure 8.Overall length in Fig. 8 represents the total length of the IP bag in units of byte, the long length representing the IP header in units of 32 bits of leader.Therefore, UE, by with under type, obtains the advertised window field in described TCP bag: by the header parser to the IP bag received from network side, judges whether this bag is TCP bag.If it is determined that be TCP bag, then the header parser by wrapping this TCP, obtains advertised window field.Win field, after getting win field, can be revised as 0 by UE.
For predetermined congestion threshold value be 3 (just judging when the TCP being namely deposited in UE wraps in and reaches 3 to be in congestion state), TCP sequence in present embodiment when radio interface rate is slower is as shown in Figure 9: when UE receives (Seq=0 from network side, ACK=1024, win=32768) after TCP bag, because UE had received 5 TCP bags from PC side at that time, 2 were only sent.So module P judges to reach congestion condition, change the win that this TCP received from network side wraps in (Seq=0, ACK=1024, win=32768) into 0, other parameter constants, then issue PC side.The ICP/IP protocol of PC side, after the TCP bag receiving win=0, will stop sending TCP bag according to agreement immediately.UE continues segmentation and sends the TCP bag being deposited in protocol stack inside, when the TCP bag piled up is less than 3, judges not meet congestion condition.The TCP bag that UE receives (Seq=0, ACK=2048, win=32768), again because now congestion condition is no longer satisfied, so this TCP of UE transparent transmission wraps to PC side.PC side receives after this win is not the message of 0, and obtaining receive window is not 0, then restart to send new TCP bag.Process is afterwards similar.
Be not difficult to find, in the present embodiment, because UE is by monitoring protocol stack internal congestion situation, (situation that TCP bag can not send by eating dishes without rice or wine in time is there is) when being in congestion state, PC side is indicated no longer to send out data at any time, therefore when congestion state, PC side would not produce unnecessary TCP retransmission packet again, ensure that the transmission rate that TCP wraps can be mated preferably with radio interface rate, make TCP apply the Rapid Variable Design that can adapt to wireless system resources, thus effectively make use of Radio Resource.
And UE is after receiving TCP bag, if the accumulation situation of wrapping according to TCP, judge to be in congestion state, then 16 bits of TCP header window part are set to 0; If according to the accumulation situation of TCP bag, judge not to be in congestion state, then do not process with regard to transparent data.Further ensure the Rapid Variable Design that TCP application can adapt to wire system resource, make interface-free resources obtain reasonable employment.
Second execution mode of the present invention relates to a kind of control method of data traffic.Second execution mode is roughly the same with the first execution mode, and main distinction part is: in the first embodiment, only there is a TCP and connect (the TCP bag namely received from PC side have identical socket to) in UE.And in second embodiment of the invention, there is multiple TCP in UE and connect.Therefore, in the present embodiment, can according to the difference of socket priority, determine whether needing entering Flow Control and needs are set to 0 the advertised window of which application (socket).
Such as, there are 2 TCP in UE and connect, corresponding socket1 and socket2 respectively.Socket1 is used for carrying out up FTP transmission, and requirement of real-time is low, and priority is lower; Socket2 is used for carrying out web-browsing, and requirement of real-time is high, and priority is higher.If carry out in process in business, the transmit queue of UE sets two congestion threshold value T1 and T2.Wherein T1 is the congestion threshold value arranged for socket1, and T2 is the congestion threshold value arranged for socket2, and T1 is less than T2, because the priority of socket1 is less than priority be less than socket2.
When send the capacity of buffer memory start to reach T1 time, at this moment need to carry out Flow Control, be exactly first low to priority, namely carry out Flow Control to socket1, the UE advertised window that just should produce for socket1 is the control bag of 0.After when PC side, to receive this advertised window be the control bag of 0, the uplink of socket1 can suspend, and the uplink of socket2 continues.When send the capacity of buffer memory start to reach T2 time, the terminal advertised window produced again for socket2 is the control bag of 0, and after when PC side, to receive this advertised window be the control bag of 0, the uplink of socket2 can suspend.
That is, connect if there are at least two TCP in UE, then the different priorities that connects according to each TCP of UE, arranges different congestion threshold values for each TCP connects, wherein, is that the TCP that priority is lower connects, arranges lower congestion threshold value.By the TCP of different priorities being connected the flow-control mechanism adopting Different Strategies, both ensure that the transmission buffer memory of terminal can not overflow, the application data of high priority can be made again to have larger probability to send.
The step of various method divides above, just in order to be described clearly, can merge into a step or splitting some step, being decomposed into multiple step, when realizing as long as comprise identical logical relation, all in the protection range of this patent; To adding inessential amendment in algorithm or in flow process or introducing inessential design, but the core design not changing its algorithm and flow process is all in the protection range of this patent.
Third embodiment of the invention relates to a kind of user terminal, as shown in Figure 10, comprises:
Detection module, for detecting the accumulation situation of TCP bag to be sent;
Threshold sets module, for presetting congestion threshold value;
Condition judgment module, the accumulation situation that the TCP for detecting according to this detection module wraps, judges whether user terminal UE is in congestion state.The accumulation situation that this condition judgment module is being wrapped according to TCP, when judging whether UE is in congestion state, the congestion threshold value (as 3 TCP wrap) that the TCP piled up bag and threshold sets module set is compared, when the TCP bag piled up reaches the congestion threshold value of setting, judge to be in congestion state;
Flow-control module, during for judging to be in congestion state in this condition judgment module, the transmission of TCP bag is suspended in instruction PC side.
Wherein, flow-control module comprises following submodule: advertised window amendment submodule, is revised as 0 for the advertised window field in being wrapped by the TCP received from network side; Transmit submodule, for amended for advertised window field TCP bag is passed to PC side; Transparent transmission submodule, during for judging not to be in congestion state in this condition judgment module, directly passes through PC side by the TCP received from network side bag; Advertised window field judges submodule, during for judging to be in congestion state in this condition judgment module, judge whether carry advertised window field the TCP bag received from network side, when being judged to carry advertised window field, advertised window field during the TCP received from network side wraps by instruction advertised window amendment submodule is revised as 0, when being judged to not carry advertised window field, the TCP received from network side bag is directly passed through PC side by instruction transparent transmission submodule.
Advertised window amendment submodule, by comprising following submodule, obtains the advertised window field in TCP bag: submodule determined by TCP bag, for by the header parser to the IP bag received from network side, judges whether this bag is TCP bag; TCP header parser submodule, for being judged to be that the packet header that TCP wraps is resolved, obtains advertised window field.
Be not difficult to find, present embodiment is the system embodiment corresponding with the first execution mode, and present embodiment can be worked in coordination with the first execution mode and be implemented.The relevant technical details mentioned in first execution mode is still effective in the present embodiment, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment also can be applicable in the first execution mode.
It is worth mentioning that, each module involved in present embodiment is logic module, and in actual applications, a logical block can be a physical location, also can be a part for a physical location, can also realize with the combination of multiple physical location.In addition, in order to outstanding innovative part of the present invention, the unit not too close with solving technical problem relation proposed by the invention is not introduced in present embodiment, but this does not show the unit that there is not other in present embodiment.
Four embodiment of the invention relates to a kind of user terminal.4th execution mode is roughly the same with the 3rd execution mode, and main distinction part is: in the third embodiment, only there is a TCP and connect (the TCP bag namely received from PC side have identical socket to) in UE.And in four embodiment of the invention, there is multiple TCP in UE and connect.Therefore, in the present embodiment, can according to the difference of socket priority, determine whether needing entering Flow Control and needs are set to 0 the advertised window of which application (socket).
That is, when threshold sets module exists at least two TCP connections in UE, according to the different priorities that each TCP connects, different congestion threshold values is set for each TCP connects; Wherein, the TCP lower for priority connects, and arranges lower congestion threshold value.
Be not difficult to find, present embodiment is the system embodiment corresponding with the second execution mode, and present embodiment can be worked in coordination with the second execution mode and be implemented.The relevant technical details mentioned in second execution mode is still effective in the present embodiment, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment also can be applicable in the second execution mode.
The respective embodiments described above realize specific embodiments of the invention, and in actual applications, can do various change in the form and details to it, and without departing from the spirit and scope of the present invention.

Claims (12)

1. a control method for data traffic, is characterized in that, comprises following steps:
User terminal UE detects the accumulation situation of transmission control protocol TCP bag to be sent in this UE, and according to the accumulation situation that described TCP wraps, judges whether described UE is in congestion state;
If described UE judges to be in congestion state, then described UE indicates personal computer PC side to suspend the transmission of TCP bag;
If described UE judges not to be in congestion state, then the TCP received from network side bag is directly passed through described PC side by described UE;
Wherein, indicate PC side to suspend in the step of the transmission of TCP bag at described UE, comprise following sub-step:
Advertised window field during the TCP received from network side wraps by described UE is revised as 0;
Described advertised window field amended TCP bag is passed to described PC side by described UE;
Further, after the TCP received from network side bag is directly passed through described PC side by described UE, if stopped before PC side sending TCP bag, then PC side is after having received this advertised window and not being the message of 0, restarts to send new TCP bag.
2. the control method of data traffic according to claim 1, is characterized in that, described UE in the following manner, obtains the advertised window field in described TCP bag:
By the header parser to the IP bag received from network side, judge whether this bag is TCP bag;
If it is determined that be TCP bag, then the header parser by wrapping this TCP, obtains described advertised window field.
3. the control method of data traffic according to claim 1, is characterized in that, after described UE judges to be in the step of congestion state, instruction PC side also comprises following steps before suspending the step of the transmission of TCP bag:
Described UE judges whether carry advertised window field the TCP bag received from network side;
If described UE judges to carry advertised window field, then enter the step that the transmission of TCP bag is suspended in described instruction PC side again; If described UE judges not carry advertised window field, then the TCP received from network side bag is directly passed through described PC side.
4. the control method of data traffic according to any one of claim 1 to 3, is characterized in that, the described accumulation situation according to TCP bag, judges whether described UE is in the step of congestion state, comprise following sub-step:
If the TCP bag piled up reaches predetermined congestion threshold value, then judge to be in congestion state.
5. the control method of data traffic according to claim 4, is characterized in that, described congestion threshold value is 3.
6. the control method of data traffic according to claim 4, is characterized in that, connects if there are at least two TCP in described UE, then the different priorities that connects according to each TCP of described UE, arranges different congestion threshold values for each TCP connects;
Wherein, the TCP lower for priority connects, and arranges lower congestion threshold value.
7. a user terminal, is characterized in that, comprises:
Detection module, for detecting the accumulation situation of transmission control protocol TCP bag to be sent;
Condition judgment module, the accumulation situation that the TCP for detecting according to described detection module wraps, judges whether described user terminal UE is in congestion state;
Flow-control module, during for judging to be in congestion state in described condition judgment module, the transmission of TCP bag is suspended in instruction personal computer PC side;
Wherein, described flow-control module comprises following submodule:
Advertised window amendment submodule, is revised as 0 for the advertised window field in being wrapped by the TCP received from network side;
Transmit submodule, for described advertised window field amended TCP bag is passed to described PC side;
Described flow-control module also comprises transparent transmission submodule, during for judging not to be in congestion state in described condition judgment module, the TCP received from network side bag is directly passed through described PC side; Further, after the TCP received from network side bag is directly passed through described PC side by described UE, if stopped before PC side sending TCP bag, then PC side is after having received this advertised window and not being the message of 0, restarts to send new TCP bag.
8. user terminal according to claim 7, is characterized in that, described advertised window amendment submodule, by comprising following submodule, obtains the advertised window field in described TCP bag:
Submodule determined by TCP bag, for by the header parser to the IP bag received from network side, judges whether this bag is TCP bag;
TCP header parser submodule, for being judged to be that the packet header that TCP wraps is resolved, obtains described advertised window field.
9. user terminal according to claim 7, is characterized in that, described flow-control module also comprises following submodule:
Advertised window field judges submodule, during for judging to be in congestion state in described condition judgment module, judges whether carry advertised window field the TCP bag received from network side;
Described advertised window field judges that submodule is when being judged to carry advertised window field, indicates described advertised window to revise submodule and the advertised window field in the TCP received from network side bag is revised as 0; When being judged to not carry advertised window field, indicate described transparent transmission submodule that the TCP received from network side bag is directly passed through described PC side.
10. the user terminal according to any one of claim 7 to 9, is characterized in that, described user terminal also comprises threshold sets module, for presetting congestion threshold value;
The accumulation situation that described condition judgment module is being wrapped according to TCP, when judging whether UE is in congestion state, the TCP of accumulation is wrapped the congestion threshold value set with described threshold sets module compare, when the TCP bag piled up reaches described congestion threshold value, judge to be in congestion state.
11. user terminals according to claim 10, is characterized in that, described congestion threshold value is 3.
12. user terminals according to claim 10, is characterized in that, when described threshold sets module exists at least two TCP connections in described UE, according to the different priorities that each TCP connects, arrange different congestion threshold values for each TCP connects;
Wherein, the TCP lower for priority connects, and arranges lower congestion threshold value.
CN201010588172.7A 2010-12-14 2010-12-14 Data traffic control method and user terminal Active CN102546531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010588172.7A CN102546531B (en) 2010-12-14 2010-12-14 Data traffic control method and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010588172.7A CN102546531B (en) 2010-12-14 2010-12-14 Data traffic control method and user terminal

Publications (2)

Publication Number Publication Date
CN102546531A CN102546531A (en) 2012-07-04
CN102546531B true CN102546531B (en) 2015-05-20

Family

ID=46352505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010588172.7A Active CN102546531B (en) 2010-12-14 2010-12-14 Data traffic control method and user terminal

Country Status (1)

Country Link
CN (1) CN102546531B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104955123B (en) * 2015-05-25 2018-09-14 广东欧珀移动通信有限公司 A kind of the networking method for limiting and device of mobile terminal application
CN109891785B (en) 2016-11-02 2022-01-11 Oppo广东移动通信有限公司 Communication method, terminal device, network device, and computer-readable medium
CN111050341B (en) * 2019-12-24 2022-02-22 展讯通信(上海)有限公司 Method and device for judging air interface congestion state in dual-connection scene
CN114039926B (en) * 2021-11-05 2023-10-03 北京字节跳动网络技术有限公司 Transmission control protocol determining method and device, readable medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146034A (en) * 2007-04-18 2008-03-19 中兴通讯股份有限公司 A SMN packet control method
CN101507188A (en) * 2006-09-13 2009-08-12 松下电器产业株式会社 Communication device
CN100571249C (en) * 2006-02-27 2009-12-16 中兴通讯股份有限公司 A kind of ethernet communication method of determining transmission in real time

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100054123A1 (en) * 2008-08-30 2010-03-04 Liu Yong Method and device for hign utilization and efficient flow control over networks with long transmission latency

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100571249C (en) * 2006-02-27 2009-12-16 中兴通讯股份有限公司 A kind of ethernet communication method of determining transmission in real time
CN101507188A (en) * 2006-09-13 2009-08-12 松下电器产业株式会社 Communication device
CN101146034A (en) * 2007-04-18 2008-03-19 中兴通讯股份有限公司 A SMN packet control method

Also Published As

Publication number Publication date
CN102546531A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
US11025531B2 (en) Packet transmission method and hybrid access gateway
CN102137027B (en) Reliable data transmission method and device thereof
CN102413503B (en) Method for adaptively determining packet delayed sending for Semi-TCP (transmission control protocol)
US20080101290A1 (en) Apparatus for Arq Controlling in Wireless Portable Internet System and Method Thereof
CN107204834A (en) A kind of control method of the express network transmitting based on UDT agreements
KR20090055550A (en) Communications equipment
CN101436978A (en) Method for authentic data transmission using UDP protocol
CN104093170A (en) TCP-based data transmission method and TCP agent apparatus
CN104243097A (en) Data transmission method and system based on satellite network
CN102546531B (en) Data traffic control method and user terminal
CN103200622A (en) Communication handling method, device and gateway equipment
CN105376172B (en) A method of control network congestion
CN102263618B (en) Method, device and system for controlling wireless network congestion
CN101969432B (en) Random backoff based control method of TCP (Transmission Control Protocol) congestion window
CN106304188B (en) A kind of AM RLC is for retransmitting the receiving handling method of the optimization of data
CN102457986A (en) Method for transmitting uplink data of terminal, and terminal
CN104580171B (en) The transmission method of Transmission Control Protocol, device and system
CN109067663B (en) System and method for controlling request response rate in application program
WO2013091373A1 (en) Robust header compression feedback management method and device, and decompressor
CN104283647B (en) Data transmission method, device and network communication equipment based on air interface
Song et al. Rate-control snoop: a reliable transport protocol for heterogeneous networks with wired and wireless links
Nabeshima et al. Improving the convergence time highspeed TCP
CN104601484B (en) A kind of TCP unloads the transmitting element of engine
CN106559350A (en) A kind of cross-layer jamming control method and relevant device and system
Zhou et al. Adaptive status report with congestion control in NB-IoT

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant