WO2012162968A1 - Method, apparatus and system for controlling data transmission - Google Patents

Method, apparatus and system for controlling data transmission Download PDF

Info

Publication number
WO2012162968A1
WO2012162968A1 PCT/CN2011/079108 CN2011079108W WO2012162968A1 WO 2012162968 A1 WO2012162968 A1 WO 2012162968A1 CN 2011079108 W CN2011079108 W CN 2011079108W WO 2012162968 A1 WO2012162968 A1 WO 2012162968A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless
tcp
wireless network
wireless client
congestion state
Prior art date
Application number
PCT/CN2011/079108
Other languages
French (fr)
Chinese (zh)
Inventor
张锦芳
李波杰
张伟
彭程晖
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201180001768.5A priority Critical patent/CN103098510B/en
Priority to PCT/CN2011/079108 priority patent/WO2012162968A1/en
Publication of WO2012162968A1 publication Critical patent/WO2012162968A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0284Traffic management, e.g. flow control or congestion control detecting congestion or overload during communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0273Traffic management, e.g. flow control or congestion control adapting protocols for flow control or congestion control to wireless environment, e.g. adapting transmission control protocol [TCP]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, apparatus, and system for controlling data transmission.
  • the wireless connection of the wireless network is very unstable compared to the wired network, the wireless connection is sometimes in a high throughput state, sometimes in a fading blocking state; sexuality and the increasing demand for high-bandwidth services, the system is sometimes in a congested state, and sometimes in a relatively idle state.
  • TCP Transmission Control Protocol
  • the wireless network is congested or the channel is in a fading state.
  • the receiving end is in a low-speed receiving state for a long time, which greatly wastes the terminal power.
  • the embodiments of the present invention provide a method, device, and system for controlling data transmission.
  • the technical solution is as follows:
  • a method of controlling data transmission comprising:
  • the device that deploys the Transmission Control Protocol TCP proxy determines whether there is a wireless network congestion state or a wireless channel congestion state
  • a device for deploying a Transmission Control Protocol TCP proxy comprising:
  • a determining module configured to determine whether a wireless network congestion state or a wireless channel blocking state exists
  • a processing module configured to suspend data transmission with the wireless client if the determination result of the determining module is yes.
  • a method of controlling data transmission comprising:
  • the wireless client acquires a wireless network congestion state or a wireless channel blocking state sent by a device deploying the Transmission Control Protocol TCP; After obtaining the wireless network congestion state or the wireless channel congestion state, disconnecting the TCP connection with the device deploying the TCP proxy, and suspending data transmission with the device deploying the TCP proxy.
  • a wireless client includes an acquiring module, configured to acquire a wireless network congestion state or a wireless channel blocking state sent by a device that deploys a Transmission Control Protocol (TCP);
  • TCP Transmission Control Protocol
  • a disconnecting module configured to: after the obtaining module acquires the wireless network congestion state or the wireless channel blocking state, disconnect the TCP connection with the device that deploys the TCP proxy, suspend the wireless client, and deploy the TCP Data transfer of the agent's device.
  • a system for controlling data transmission comprising: a device for deploying a Transmission Control Protocol TCP as described above and a wireless client as described above.
  • a method of controlling data transmission comprising:
  • the wireless client acquires a wireless network congestion state or a wireless channel blocking state sent by a device deploying a Transmission Control Protocol (TCP);
  • TCP Transmission Control Protocol
  • a wireless client includes: a first acquiring module, configured to acquire a wireless network congestion state or a wireless channel blocking state sent by a device that deploys a transmission control protocol TCP;
  • a first notification module configured to notify the wireless client of the wireless network congestion state or the wireless channel congestion state after the first acquisition module acquires the wireless network congestion state or the wireless channel congestion state
  • the application is configured to automatically disconnect the wireless client from the TCP connection of the device deploying the TCP proxy, and suspend data transmission between the wireless client and the device deploying the TCP proxy.
  • a system for controlling data transmission comprising: a device for deploying a Transmission Control Protocol TCP as described above and a wireless client as described above.
  • the technical solution provided by the embodiment of the present invention has the beneficial effects of: monitoring a wireless network and channel information by deploying a TCP proxy on a wireless network, thereby suspending wireless TCP data transmission when the wireless network or channel is congested, and avoiding long-term wireless client wireless connection. Data communication at a slow rate causes the battery to be quickly exhausted, thereby achieving the beneficial effects of power saving.
  • FIG. 1 is a flowchart of a method for controlling data transmission according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for controlling data transmission according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a device for deploying a TCP proxy according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a device for deploying a TCP proxy according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of still another device for deploying a TCP proxy according to an embodiment of the present disclosure
  • FIG. 6 is a flowchart of a method for controlling data transmission according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a wireless client according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of another wireless client according to an embodiment of the present invention.
  • FIG. 9 is a flowchart of a method for controlling data transmission according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a wireless client according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of another wireless client according to an embodiment of the present invention. detailed description
  • an embodiment of the present invention provides a method for controlling data transmission, where the method includes:
  • the device of the TCP proxy determines whether there is a wireless network congestion state or a wireless channel blocking state;
  • the device that deploys the TCP proxy determines whether there is a wireless network congestion state or a wireless channel congestion state, including:
  • the deployment The device of the TCP proxy determines whether there is a wireless network congestion state or a wireless channel congestion state, and includes: learning the cached data volume or capturing a retransmission timeout, and determining whether the wireless network is congested according to the buffered data volume or the captured retransmission timeout period. State; or
  • the wireless transmission rate or the packet loss rate is known, and whether the wireless channel is in a blocked state is determined according to the wireless transmission rate or the packet loss rate.
  • the data transmission of the suspension and the wireless client includes:
  • TCP proxy is an ETCP (Enhanced Transmit Control Protocol)
  • ETCP Enhanced Transmit Control Protocol
  • the suspending data transmission with the wireless client includes:
  • Notifying the wireless client of the wireless network congestion state or the wireless channel blocking state causing the wireless client to disconnect the TCP connection with the device deploying the TCP proxy, and suspending data with the device deploying the TCP proxy transmission.
  • the application platform is set on the wireless client, and the wireless network congestion state or the wireless channel blocking state is notified to the wireless client, and then includes:
  • API Application Programming Interface
  • the method further includes:
  • TCP proxy is ETCP, sending an ETCP pause message to the server, suspending an ETCP connection with the server, and suspending data transmission with the server;
  • the preset receiving window receives, by the preset receiving window, data sent by the server at a preset sending rate to maintain a TCP connection with the server;
  • the preset receiving window is configured to control a preset sending rate of the server Or setting the receiving window of the data sent by the server to 0, causing the server to suspend the data transmission with the device deploying the TCP proxy, and monitoring the receiving window detection packet sent by the server, and Return ACK (Acknowledgement, correct answer) to maintain a TCP connection with the server; if the service is not detected
  • the receiving window probe packet sent by the server end periodically sends a probe packet to the server end to maintain a TCP connection with the server end.
  • the device deploying the TCP proxy determines that there is no wireless network congestion state or a wireless channel congestion state, data transmission with the wireless client and the server is resumed.
  • an embodiment of the present invention provides a method for controlling data transmission, including:
  • the non-real time service is transmitted in a non-real time manner on the wireless network.
  • the network side device may be a radio base station, an RNC (Radio Network Controller), or a GW (Gateway), and is not limited in this embodiment.
  • the TCP proxy may be deployed on the network side device, or the TCP proxy device may be separately set on the network side, and the network side device deploying the TCP proxy or the device respectively setting the TCP proxy is collectively referred to as the deployed TCP proxy.
  • the device by deploying a TCP proxy, splits the transmission link from the server to the wireless client into two segments, namely, the server to the device deploying the TCP proxy, and the device deploying the TCP proxy to the wireless client.
  • the specific device for deploying the TCP proxy includes: a monitoring module 100, a control module 200, and a TCP module 300.
  • the monitoring module 100 is configured to provide an interface with the base station, obtain wireless network load information and/or wireless channel information from the base station, and simultaneously monitor TCP connection information.
  • the control module 200 is configured to determine the TCP module according to the information input by the monitoring module. Parameters, such as a receiving window, sending a Keepalive detection packet, etc.; or generating a congestion or congestion cancellation indication message to the client; the TCP module 300, for completing a complete TCP protocol, providing a TCP connection information export interface and a control module 200 input interface At the same time, the TCP state is adjusted according to the information input by the control module 200.
  • the device deploying the TCP proxy determines whether there is a wireless network congestion state or a wireless channel congestion state; if yes, step 203 is performed, otherwise the wireless client data transmission is continued.
  • the wireless network is congested, which is characterized by extremely low throughput of the network system; the wireless channel is blocked, and the channel loss rate is high, and the transmission rate is extremely low.
  • the wireless base station provides a logical interface to the device deploying the TCP proxy
  • the TCP proxy is deployed.
  • the device determines whether there is a wireless network congestion state or a wireless channel blocking state, including:
  • the device that deploys the TCP proxy learns, by using the interface, load information of a cell that is locally served by the base station, and determines, according to the load information, whether the wireless network is in a congested state;
  • the logical interface provided by the wireless base station mainly refers to a logical interface customized for transmitting control information, and the role of the logical interface is: for all devices deploying the TCP proxy, whether deployed separately or deployed in the existing
  • the device deploying the TCP proxy can learn the network information of the base station or the channel information of a certain user through the logical interface, and can also issue an indication message such as congestion/congestion cancellation, and the logical interface completes the transmission of the additional information.
  • the network related information is obtained from different sources in different systems. For example, in the LTE system, this information can be obtained from the eNB, that is, the base station; in the 3G system, this information can be obtained from the NB (Node B) or the RNC.
  • the interface between the device that deploys the TCP proxy and the device on the network side is a standard defined interface.
  • the interface is S 1-U; in the 3G system, in the GW and Between the RNCs, this interface is Iu; between the RNC and the base station, this interface is Iu_b; in other systems, the same depends on the location of the device deployment, and will not be described in this embodiment.
  • the load information of the cell may be obtained by using the output power of the base station and/or the occupation of the time-frequency resource. If the TCP proxy determines that the resource usage of the base station exceeds the resource allocated by the cell, the wireless network congestion state is determined. . Similarly, if the device deploying the TCP proxy determines that the channel SNR of the user served by the radio base station is lower than a preset value, it is determined that the radio channel blocking state has occurred.
  • the method for determining the downlink packet loss by the device deploying the TCP proxy may be that a duplicate ACK or duplicate data is received; the method for the TCP proxy to determine the uplink packet loss may be detecting a discontinuous TCP sequence number or a retransmission timeout, and the specific TCP proxy.
  • the method for determining the packet loss in the uplink or the downlink belongs to the prior art, and is not described in this embodiment. In this embodiment, when the amount of data buffered reaches a preset amount, or when the retransmitted data exceeds a predetermined time limit, it is determined that the wireless network is in a congestion state; or when the wireless transmission rate is less than a predetermined rate, or is lost.
  • the packet rate is greater than a predetermined threshold, it is determined that the wireless channel is in a blocked state.
  • a predetermined threshold the number of presets mentioned above, a preset time limit, a predetermined rate, or a predetermined threshold
  • the value may be set according to the network status and experience, and is not specifically limited in this embodiment.
  • the device deploying the TCP proxy suspends data transmission with the wireless client.
  • the data processing manner of the device deploying the TCP proxy to the wireless client includes:
  • the TCP protocol configured on the network side and the wireless client is an enhanced ETCP protocol, which is sent to the wireless client.
  • ETCP Pause message keeps the wireless TCP connection, but suspends data transmission with the wireless client.
  • the TCP Pause/Resume operation is implemented in the TCP protocol, and can be deployed in the current wireless network, and is named ETCP, and the network side enhances the ETCP proxy to be transparent to the application layer.
  • ETCP the ETCP proxy detects the wireless network or the channel is congested
  • the ETCP Pause is sent to the wireless client, so that the wireless ETCP connection is suspended, the wireless end data transmission is suspended, and the ETCP state and the context information are maintained by the ETCPs at both ends of the network side and the wireless client.
  • ETCP continues ETCP data transmission with the maintained ETCP status and context information.
  • TCP Keepalive t imer TCP Keepalive Timer (TCP Keepalive t imer), which is configurable, generally not less than 2 hours, to maintain the wireless TCP connection by periodically sending probe packets to the wireless client.
  • the device deploying the TCP proxy suspends the wireless terminal data transmission. If the wireless network congestion or the wireless channel congestion has not been eliminated within 2 hours, the device deploying the TCP proxy sends the Keepalive detection packet to the wireless client, and the wireless client The end feedback ACK responds to the probe packet. The device deploying the TCP proxy knows that the wireless client is still active by receiving an ACK feedback and resets the survival timer for the next 2 hours. A device deploying a TCP proxy maintains a wireless TCP connection by periodically sending a Keepalive probe packet to the wireless client until the wireless connection resumes a large bandwidth transmission. If the wireless network congestion or wireless channel congestion is removed before the 2 hour expiration, the survival timer is reset for the next 2 hours and the data transmission continues.
  • step 203 after the device deploying the TCP proxy learns the wireless network congestion state or the wireless channel congestion state, the wireless network congestion state or the wireless channel congestion state is notified to the wireless client, so that the wireless The client disconnects from the device deploying the TCP proxy and suspends data transfer with the device deploying the TCP proxy.
  • the device deploying the TCP proxy notifies the wireless client of the wireless network or the wireless channel status, and the wireless client disconnects the TCP connection, including:
  • the wireless client is equipped with a unified application platform to obtain the wireless network or wireless channel status.
  • the application platform simultaneously implements the functions of monitoring, maintaining, and controlling the application. Specifically, the application context and the interrupt are recorded when the wireless network or the channel is congested. Point information and disconnect the TCP connection, the application platform can close or maintain the application; when obtaining the network congestion elimination indication delivered by the TCP proxy, re-initiate the request to establish a TCP connection according to the context and the breakpoint information, and utilize the application provided API pulls up the app or continues to apply;
  • the application platform can only implement the monitoring function, and provide an API interface for querying or according to the application.
  • the subscription notifies the application of the current wireless network or channel congestion status, and the application itself actively disconnects or resumes the TCP connection and records the context and breakpoint status.
  • the application refers to some programs run by the wireless client, including FTP (Fi le Transfer Protocol), HTTP Progressive download (Hypertext Transfer Protocol progressive download), P2P (Peer-to- Peer, peer) download, etc.
  • the device deploying the TCP proxy when the device deploying the TCP proxy detects the wireless network congestion or the wireless channel is blocked, the data transmission with the wireless client is terminated, thereby preventing the wireless client from performing data communication at a slow rate for a long time online, causing rapid battery consumption.
  • the device deploying the TCP proxy may not process the server, the server continues the data transmission, and the device deploying the TCP proxy buffers the data transmitted by the server.
  • the wireless network is congested or the wireless channel is blocked, Send the cached data to the wireless client.
  • the server when the device deploying the TCP proxy processes the wireless client, the server is also processed.
  • the server may be located in the wired network or in the wireless network.
  • a scenario of a wired server and a wireless client is used, but is not limited to a wired server.
  • the processing method of the wireless side and the processing method of the server side in this embodiment can be freely combined and implemented.
  • the data processing manner of the device deploying the TCP proxy to the network side to the server side includes:
  • ETCP is also deployed in the wired network, that is, ETCP is configured at the network side device, the wireless client, and the server, and the ETCP agent detects the wireless network congestion or the wireless channel blocking, and processes the wireless client.
  • the ETCP Pause message is sent to the server to suspend the wired ETCP connection, suspend the transmission of the wired data, and the ETCP state and context information are maintained by the server and the network side ETCP.
  • ETCP continues ETCP data transmission with the maintained ETCP status and context information.
  • the preset receiving window is used to control the server-side preset
  • the preset receiving window is a smaller receiving window set by the device deploying the TCP proxy, and the TCP proxy controls the sending rate of the server and buffers the received data by reducing the wired side TCP receiving window. To keep the wired TCP connection.
  • the TCP proxy monitors the receiving window detection packet sent by the server and returns an ACK to maintain the wired TCP connection; if the TCP proxy does not detect the receiving from the server
  • the window probe packet is periodically sent by the device deploying the TCP proxy to the server to maintain the wired TCP connection.
  • the TCP proxy pauses the data transmission by setting the receiving window to 0.
  • the TCP proxy monitors the receiving window detection packet sent by the server and returns an ACK to maintain the wired TCP connection; if the TCP proxy does not detect the server
  • the receiving window detection packet is sent, and the device deploying the TCP proxy periodically sends a keepalive detection packet to the server to maintain the wired TCP connection through the set survival timer.
  • the device deploying the TCP proxy sends an updated receiving window to the server to activate the server to continue data delivery.
  • the device deploying the TCP proxy when detecting the wireless network or channel congestion cancellation, resumes the TCP connection with the wireless client and the server, and continues data transmission.
  • the device deploying the TCP proxy sends ETCP resume to the wireless client, restores the ETCP connection, and continues data transmission;
  • the specific information indication is not required after detecting the wireless network or channel congestion cancellation, and the TCP proxy can directly send data to the client to continue.
  • the server side when the wireless network or channel congestion is detected, the server side:
  • the TCP proxy monitors the server side.
  • the receiving window detects the packet and returns an ACK to keep the wired TCP connection. If the TCP proxy does not detect the receiving window probe packet sent by the server, the TCP proxy sets the surviving timer, and periodically sends the probe packet to the server to maintain the wired TCP connection. .
  • the device deploying the TCP proxy sends an updated receiving window to the server to activate the server to continue data delivery.
  • an embodiment of the present invention provides a device for deploying a transmission control protocol TCP proxy, where the device includes: a determining module 301 and a processing module 302.
  • the determining module 301 is configured to determine whether there is a wireless network congestion state or a wireless channel blocking state.
  • the processing module 302 is configured to suspend the deployment of the TCP proxy device and the wireless client if the determining result of the determining module is yes. data transmission.
  • the determining module 301 includes:
  • the first determining unit 301a is configured to: if the wireless base station provides a logical interface to the device that deploys the TCP proxy, obtain, by using the logical interface, load information of the locally served cell provided by the base station, and determine, according to the load information, whether the wireless network is In a state of congestion; or
  • a second determining unit 301b configured to: if the wireless base station provides a logical interface to the device that deploys the TCP proxy, obtain, by using the interface, a channel signal to noise ratio of a user of the local service provided by the base station, according to the channel signal to noise It is more than judging whether the wireless channel is in a blocked state.
  • the determining module 301 includes:
  • the third determining unit 301c is configured to: if the wireless base station does not provide a logical interface to the device that deploys the TCP proxy, obtain the buffered data volume or the capture retransmission timeout, and determine according to the cached data volume or the captured retransmission timeout. Whether the wireless network is in a congested state; or
  • the fourth determining unit 301d is configured to: if the wireless base station does not provide a logical interface to the device that deploys the TCP proxy, obtain a wireless transmission rate or a packet loss rate, and determine, according to the wireless transmission rate or the packet loss rate, whether the wireless channel is blocked. status.
  • the processing module 302 includes:
  • the first sending unit 302a is configured to: if the TCP proxy is an enhanced transmission control protocol ETCP, send an ETCP suspension message to the wireless client, suspend an ETCP connection with the wireless client, and suspend the wireless client Data transmission; or
  • the second sending unit 302b is configured to periodically send a keep-alive probe packet to the wireless client, and suspend data transmission with the wireless client, where the probe packet is used to maintain a TCP connection with the wireless client.
  • the processing module 302 further includes:
  • the third sending unit 302c is configured to: if the determining result of the determining module is yes, notify the wireless client of the wireless network congestion state or the wireless channel blocking state, and disconnect the wireless client A TCP connection of a device deploying a TCP proxy suspends data transfer with the device deploying the TCP proxy.
  • the processing module 302 further includes: The fourth sending unit 302d is configured to: if the judgment result of the determining module is yes, and if the TCP proxy is ETCP, send an ETCP pause message to the server end, suspend the ETCP connection with the server end, and suspend Transmission of data with the server side; or
  • the fifth sending unit 302e is configured to: if the determining result of the determining module is yes, receive data sent by the server at a preset sending rate through a preset receiving window, thereby maintaining a TCP connection with the server end.
  • the preset receiving window is used to control a preset sending rate of the server; or
  • a sixth sending unit 302f configured to: if the determination result of the determining module is yes, set a receiving window for receiving data sent by the server to 0, and suspend the server end with the device that deploys the TCP proxy Data transmission, monitoring the receiving window detection packet sent by the server, and returning a correct response ACK to maintain a TCP connection with the server; if the receiving window detection packet sent by the server is not detected, periodically reporting to the The server sends a probe packet to maintain a TCP connection with the server.
  • the device further includes:
  • the sending module 303 is configured to: when the device that deploys the TCP proxy determines that there is no wireless network congestion state or a wireless channel congestion state, send the wireless network congestion state or the wireless channel congestion state to the wireless client and the server. The instruction is cancelled, and the wireless client and the server end continue to transmit data.
  • the beneficial effects of the device embodiments provided by the present invention are: by deploying a TCP proxy in a wireless network, monitoring the wireless network and channel information, suspending wireless TCP data transmission when the wireless network or channel is congested, and the like, or eliminating wireless network congestion or channel blocking. After being eliminated, the data is transmitted at a higher data transmission rate, and the long-term online data communication at a slow rate is caused to cause the battery to be quickly exhausted, thereby achieving the beneficial effect of power saving.
  • an embodiment of the present invention provides a method for controlling data transmission, where the method includes:
  • the wireless client acquires a wireless network congestion state or a wireless channel blocking state sent by a device that deploys a transmission control protocol TCP.
  • the wireless client obtains a wireless network congestion state or a wireless channel congestion state sent by a device that deploys the Transmission Control Protocol (TCP), and then includes: recording an application context and a breakpoint information.
  • TCP Transmission Control Protocol
  • the method further includes:
  • an embodiment of the present invention provides a wireless client, where the wireless client includes: an obtaining module 501 and a disconnecting module 502.
  • the obtaining module 501 is configured to obtain a wireless network congestion state or a wireless channel blocking state sent by a device that deploys the Transmission Control Protocol (TCP).
  • TCP Transmission Control Protocol
  • the disconnecting module 502 is configured to: after the acquiring module acquires the wireless network congestion state or the wireless channel blocking state, disconnect the TCP connection with the device deploying the TCP proxy, suspend the wireless client and the deployment Data transfer of TCP proxy devices.
  • the wireless client further includes:
  • the recording module 503 is configured to record the application context and the breakpoint information after the acquiring module acquires the wireless network congestion state or the wireless channel blocking state.
  • the wireless client also includes:
  • a recovery module 504 configured to: according to the context and breakpoint information of the application recorded by the recording module, after receiving the wireless network congestion state or the wireless channel blocking state cancellation indication sent by the device deploying the TCP proxy Recovering the TCP connection between the wireless client and the device deploying the TCP proxy.
  • the acquisition module, the disconnection module, the recording module, and the recovery module in the specific embodiment can be implemented by using the application platform configured in the foregoing embodiment.
  • the embodiment of the present invention provides a system for controlling data transmission, where the system includes: a device for deploying a transmission control protocol TCP as described above, and a wireless client provided by this embodiment.
  • a method for controlling data transmission includes: 601: The wireless client acquires a wireless network congestion state or a wireless channel blocking state sent by a device that deploys a transmission control protocol TCP.
  • the TCP connection between the wireless client and the device deploying the TCP proxy suspends data transmission between the wireless client and the device deploying the TCP proxy.
  • the method further includes:
  • the wireless client acquires a wireless network congestion status or a wireless channel blocking status cancellation indication sent by the device deploying the TCP;
  • an embodiment of the present invention provides a wireless client, where the wireless client includes: an obtaining module 701 and a notification module 702.
  • the first obtaining module 701 is configured to obtain a wireless network congestion state sent by a device that deploys the Transmission Control Protocol (TCP) or a wireless channel congestion state.
  • TCP Transmission Control Protocol
  • the first notification module 702 is configured to notify the wireless client of the wireless network congestion state or the wireless channel congestion state after the first acquisition mode 701 acquires the wireless network congestion state or the wireless channel congestion state.
  • the running application causes the application to automatically suspend the TCP connection between the wireless client and the device deploying the TCP proxy, and suspend data transmission between the wireless client and the device deploying the TCP proxy.
  • the wireless client provided in this embodiment further includes:
  • a second acquisition mode 703, configured to acquire a wireless network congestion state or a wireless channel blocking state cancellation indication sent by the device deploying the TCP;
  • the second notification module 704 is configured to obtain, by the second obtaining module 703, the wireless network congestion state or none After the line channel blocking state is removed, the wireless network congestion state or the wireless channel blocking state cancellation indication is notified to the application, so that the application actively restores the TCP connection between the wireless client and the device deploying the TCP proxy, and restores the Data transmission between the wireless client and the device deploying the TCP proxy.
  • the obtaining module and the notification module in the specific embodiment can be implemented by using the application platform configured in the foregoing embodiment, and the application platform provides an API interface for the application.
  • the embodiment of the present invention provides a system for controlling data transmission, where the system includes: a device for deploying a transmission control protocol TCP as described above, and a wireless client provided by this embodiment.
  • the beneficial effects of the device embodiments provided by the present invention are: monitoring the wireless network and channel information by deploying a TCP proxy in the wireless network, so that when the wireless network or channel is congested, the wireless client disconnects the TCP connection with the device deploying the TCP proxy. Suspension of data transmission, such as wireless network congestion elimination or channel congestion elimination, and then transmitted at a higher data transmission rate, avoiding the wireless client to communicate with the data at a slow rate for a long time, causing the battery to be quickly exhausted, thereby achieving power saving. Beneficial effect.
  • the device and the system provided in this embodiment may be the same as the method embodiment, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.

Abstract

A method, an apparatus and a system for controlling data transmission are provided in the embodiments of the present invention, which relate to communication technical field. The method comprises: a device deploying a Transmission Control Protocol (TCP) agent determines whether a wireless network congestion state or a wireless channel congestion state is existed; if the wireless network congestion state or the wireless channel congestion state is existed, the data transmission with a wireless client will be suspended. By deploying the TCP agent in the wireless network, with the present invention, the wireless network and the channel information are monitored so that suspending the TCP data transmission with the wireless client can be achieved when the wireless network or channel is congested, the data transmission in a higher rate is transmitted when the wireless network congestion or channel congestion is removed, and thereby the problem that the battery power is consumed rapidly resulted by the online data transmission in a lower rate during a long time is avoided, and the beneficial effect of power saving is achieved.

Description

控制数据传输的方法、 装置和系统 技术领域  Method, device and system for controlling data transmission
本发明涉及通信技术领域, 特别涉及一种控制数据传输的方法、 装置和系统。 背景技术 说  The present invention relates to the field of communications technologies, and in particular, to a method, apparatus, and system for controlling data transmission. Background art
随着无线通信技术的发展, 未来的无线网络将发展成为一个端到端的全 IP ( Internet Protocol , 网络之间互连的协议) 的移动互联网络, 而无线网络和有线网络也将实现无缝 融合, 从而为用户提供随时随地随意的接入。  With the development of wireless communication technology, the future wireless network will develop into an end-to-end mobile internet with all-IP (Internet Protocol), and wireless and wired networks will also be seamlessly integrated. , thus providing users with free access anytime, anywhere.
但在实际应用过程中, 由于无线网络的连接相比书于有线网络具有很大的不稳定性, 导 致了无线连接有时候处于高吞吐率状态, 有时候处于衰落阻塞状态; 同时由于用户高移动 性和对高带宽业务需求的不断增加, 系统在有些时候处于拥塞状态, 有些时候处于比较空 闲的状态, 对于 TCP ( Transmission Control Protocol , 传输控制协议) 业务流, 当无线 网络拥塞或信道处于衰落状态时, 发送速率会以指数下降, 导致接收端长时间处于低速接 收状态, 极大的浪费终端电量。 发明内容  However, in the actual application process, since the connection of the wireless network is very unstable compared to the wired network, the wireless connection is sometimes in a high throughput state, sometimes in a fading blocking state; Sexuality and the increasing demand for high-bandwidth services, the system is sometimes in a congested state, and sometimes in a relatively idle state. For the TCP (Transmission Control Protocol) traffic, when the wireless network is congested or the channel is in a fading state. When the transmission rate decreases exponentially, the receiving end is in a low-speed receiving state for a long time, which greatly wastes the terminal power. Summary of the invention
为了解决终端处于低速接收状态时电量浪费的问题, 本发明实施例提供了一种控制数 据传输的方法、 装置和系统。 所述技术方案如下:  In order to solve the problem of waste of power when the terminal is in the low-speed receiving state, the embodiments of the present invention provide a method, device, and system for controlling data transmission. The technical solution is as follows:
一方面, 提供了一种控制数据传输的方法, 所述方法包括:  In one aspect, a method of controlling data transmission is provided, the method comprising:
部署传输控制协议 TCP代理的设备判断是否存在无线网络拥塞状态或是无线信道阻塞 状态;  The device that deploys the Transmission Control Protocol TCP proxy determines whether there is a wireless network congestion state or a wireless channel congestion state;
如果存在无线网络拥塞状态或是无线信道阻塞状态, 则暂停与无线客户端的数据传输。 一方面, 提供了一种部署传输控制协议 TCP代理的设备, 所述设备包括:  If there is a wireless network congestion state or a wireless channel blocking state, data transmission with the wireless client is suspended. In one aspect, a device for deploying a Transmission Control Protocol TCP proxy is provided, the device comprising:
判断模块, 用于判断是否存在无线网络拥塞状态或是无线信道阻塞状态;  a determining module, configured to determine whether a wireless network congestion state or a wireless channel blocking state exists;
处理模块, 用于如果所述判断模块的判断结果为是, 则暂停与无线客户端的数据传输。 一方面, 提供了一种控制数据传输的方法, 所述方法包括:  And a processing module, configured to suspend data transmission with the wireless client if the determination result of the determining module is yes. In one aspect, a method of controlling data transmission is provided, the method comprising:
无线客户端获取部署传输控制协议 TCP 的设备发送的无线网络拥塞状态或是无线信道 阻塞状态; 在获取到所述无线网络拥塞状态或是无线信道阻塞状态后, 断开与所述部署 TCP代理 的设备的 TCP连接, 暂停与所述部署 TCP代理的设备的数据传输。 The wireless client acquires a wireless network congestion state or a wireless channel blocking state sent by a device deploying the Transmission Control Protocol TCP; After obtaining the wireless network congestion state or the wireless channel congestion state, disconnecting the TCP connection with the device deploying the TCP proxy, and suspending data transmission with the device deploying the TCP proxy.
一方面, 提供了一种无线客户端, 所述无线客户端包括- 获取模块, 用于获取部署传输控制协议 TCP 的设备发送的无线网络拥塞状态或是无线 信道阻塞状态;  In one aspect, a wireless client is provided, where the wireless client includes an acquiring module, configured to acquire a wireless network congestion state or a wireless channel blocking state sent by a device that deploys a Transmission Control Protocol (TCP);
断开模块, 用于在所述获取模块获取到所述无线网络拥塞状态或是无线信道阻塞状态 后, 断开与所述部署 TCP代理的设备的 TCP连接, 暂停无线客户端与所述部署 TCP代理的 设备的数据传输。  a disconnecting module, configured to: after the obtaining module acquires the wireless network congestion state or the wireless channel blocking state, disconnect the TCP connection with the device that deploys the TCP proxy, suspend the wireless client, and deploy the TCP Data transfer of the agent's device.
一方面, 提供了一种控制数据传输的系统, 所述系统包括: 如上所述的部署传输控制 协议 TCP的设备和如上所述的无线客户端。  In one aspect, a system for controlling data transmission is provided, the system comprising: a device for deploying a Transmission Control Protocol TCP as described above and a wireless client as described above.
一方面, 提供了一种控制数据传输的方法, 所述方法包括:  In one aspect, a method of controlling data transmission is provided, the method comprising:
无线客户端获取部署传输控制协议 TCP 的设备发送的无线网络拥塞状态或是无线信道 阻塞状态;  The wireless client acquires a wireless network congestion state or a wireless channel blocking state sent by a device deploying a Transmission Control Protocol (TCP);
在获取到所述无线网络拥塞状态或是无线信道阻塞状态后, 将所述无线网络拥塞状态 或是无线信道阻塞状态通知给所述无线客户端运行的应用, 使所述应用自动断开所述无线 客户端与所述部署 TCP代理的设备的 TCP连接, 暂停无线客户端与所述部署 TCP代理的设 备的数据传输。  After obtaining the wireless network congestion state or the wireless channel congestion state, notifying the wireless network congestion state or the wireless channel blocking state to an application running by the wireless client, so that the application automatically disconnects the A TCP connection between the wireless client and the device deploying the TCP proxy suspends data transmission between the wireless client and the device deploying the TCP proxy.
一方面, 提供了一种无线客户端, 所述无线客户端包括- 第一获取模块, 用于获取部署传输控制协议 TCP 的设备发送的无线网络拥塞状态或是 无线信道阻塞状态;  In one aspect, a wireless client is provided, where the wireless client includes: a first acquiring module, configured to acquire a wireless network congestion state or a wireless channel blocking state sent by a device that deploys a transmission control protocol TCP;
第一通知模块, 用于在所述第一获取模块获取到所述无线网络拥塞状态或是无线信道 阻塞状态后, 将所述无线网络拥塞状态或是无线信道阻塞状态通知给无线客户端运行的应 用, 使所述应用自动断开所述无线客户端与所述部署 TCP代理的设备的 TCP连接, 暂停无 线客户端与所述部署 TCP代理的设备的数据传输。  a first notification module, configured to notify the wireless client of the wireless network congestion state or the wireless channel congestion state after the first acquisition module acquires the wireless network congestion state or the wireless channel congestion state The application is configured to automatically disconnect the wireless client from the TCP connection of the device deploying the TCP proxy, and suspend data transmission between the wireless client and the device deploying the TCP proxy.
另一方面, 提供了一种控制数据传输的系统, 所述系统包括: 如上所述的部署传输控 制协议 TCP的设备和如上所述的无线客户端。  In another aspect, a system for controlling data transmission is provided, the system comprising: a device for deploying a Transmission Control Protocol TCP as described above and a wireless client as described above.
本发明实施例提供的技术方案的有益效果是: 通过在无线网络部署 TCP代理, 监测无 线网络及信道信息, 使在无线网络或信道拥塞时暂停无线端 TCP数据传输, 避免无线客户 端长时间在线以慢速率进行数据通信引起电池迅速耗完, 从而达到节电的有益效果。 附图说明 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所需要使用的 附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本 领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的 附图。 The technical solution provided by the embodiment of the present invention has the beneficial effects of: monitoring a wireless network and channel information by deploying a TCP proxy on a wireless network, thereby suspending wireless TCP data transmission when the wireless network or channel is congested, and avoiding long-term wireless client wireless connection. Data communication at a slow rate causes the battery to be quickly exhausted, thereby achieving the beneficial effects of power saving. DRAWINGS In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in view of the drawings.
图 1是本发明实施例提供的一种控制数据传输的方法的流程图;  1 is a flowchart of a method for controlling data transmission according to an embodiment of the present invention;
图 2是本发明实施例提供的一种控制数据传输的方法的流程图;  2 is a flowchart of a method for controlling data transmission according to an embodiment of the present invention;
图 3是本发明实施例提供的一种部署 TCP代理的设备的示意图;  3 is a schematic diagram of a device for deploying a TCP proxy according to an embodiment of the present invention;
图 4是本发明实施例提供的一种部署 TCP代理的设备的示意图;  4 is a schematic diagram of a device for deploying a TCP proxy according to an embodiment of the present invention;
图 5是本发明实施例提供的又一种部署 TCP代理的设备的示意图;  FIG. 5 is a schematic diagram of still another device for deploying a TCP proxy according to an embodiment of the present disclosure;
图 6是本发明实施例提供的一种控制数据传输的方法的流程图;  6 is a flowchart of a method for controlling data transmission according to an embodiment of the present invention;
图 7是本发明实施例提供的一种无线客户端的示意图;  7 is a schematic diagram of a wireless client according to an embodiment of the present invention;
图 8是本发明实施例提供的另一种无线客户端的示意图;  FIG. 8 is a schematic diagram of another wireless client according to an embodiment of the present invention; FIG.
图 9是本发明实施例提供的一种控制数据传输的方法的流程图;  FIG. 9 is a flowchart of a method for controlling data transmission according to an embodiment of the present invention;
图 10是本发明实施例提供的一种无线客户端的示意图;  FIG. 10 is a schematic diagram of a wireless client according to an embodiment of the present invention; FIG.
图 11是本发明实施例提供的另一种无线客户端的示意图。 具体实施方式  FIG. 11 is a schematic diagram of another wireless client according to an embodiment of the present invention. detailed description
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明实施方式作 进一步地详细描述。  The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
参见图 1, 本发明实施例提供了一种控制数据传输的方法, 所述方法包括:  Referring to FIG. 1, an embodiment of the present invention provides a method for controlling data transmission, where the method includes:
101: 部署传输控制协议 TCP代理的设备判断是否存在无线网络拥塞状态或是无线信道 阻塞状态;  101: Deploying a Transmission Control Protocol The device of the TCP proxy determines whether there is a wireless network congestion state or a wireless channel blocking state;
102: 如果存在无线网络拥塞状态或是无线信道阻塞状态, 则暂停与无线客户端的数据 传输。  102: If there is a wireless network congestion state or a wireless channel blocking state, the data transmission with the wireless client is suspended.
本实施例中, 如果无线基站向所述部署 TCP代理的设备提供逻辑接口, 则所述部署 TCP 代理的设备判断是否存在无线网络拥塞状态或是无线信道阻塞状态, 包括:  In this embodiment, if the wireless base station provides a logical interface to the device that deploys the TCP proxy, the device that deploys the TCP proxy determines whether there is a wireless network congestion state or a wireless channel congestion state, including:
通过所述接口获知所述基站提供的本地服务的小区的负载信息, 根据所述负载信息判 断无线网络是否处于拥塞状态; 或  Obtaining, by the interface, load information of a locally served cell provided by the base station, and determining, according to the load information, whether the wireless network is in a congested state; or
通过所述接口获知所述基站提供的本地服务的用户的信道信噪比, 根据所述信道信噪 比判断无线信道是否处于阻塞状态。  And determining, by the interface, a channel signal to noise ratio of a user of the local service provided by the base station, and determining, according to the channel signal to noise ratio, whether the wireless channel is in a blocked state.
本实施例中, 如果无线基站未向所述部署 TCP代理的设备提供逻辑接口, 则所述部署 TCP代理的设备判断是否存在无线网络拥塞状态或是无线信道阻塞状态, 包括: 获知缓存的数据量或捕获重传超时, 根据所述缓存的数据量或捕获的重传超时判断无 线网络是否处于拥塞状态; 或 In this embodiment, if the wireless base station does not provide a logical interface to the device deploying the TCP proxy, the deployment The device of the TCP proxy determines whether there is a wireless network congestion state or a wireless channel congestion state, and includes: learning the cached data volume or capturing a retransmission timeout, and determining whether the wireless network is congested according to the buffered data volume or the captured retransmission timeout period. State; or
获知无线传输速率或丢包率, 根据所述无线传输速率或丢包率判断无线信道是否处于 阻塞状态。  The wireless transmission rate or the packet loss rate is known, and whether the wireless channel is in a blocked state is determined according to the wireless transmission rate or the packet loss rate.
其中, 所述暂停与无线客户端的数据传输, 包括:  The data transmission of the suspension and the wireless client includes:
如果所述 TCP代理为 ETCP (Enhanced Transmi ss ion Control Protocol , 增强的传输控 制协议), 则向无线客户端发送 ETCP暂停消息, 挂起与所述无线客户端的 ETCP连接, 暂停 与所述无线客户端的数据传输; 或  If the TCP proxy is an ETCP (Enhanced Transmit Control Protocol), send an ETCP pause message to the wireless client, suspend the ETCP connection with the wireless client, and suspend the wireless client. Data transmission; or
周期性的向所述无线客户端发送保持连接探测包, 并暂停与所述无线客户端的数据传 输, 所述探测包用于维持与所述无线客户端的 TCP连接。  Periodically transmitting a keep-alive probe packet to the wireless client and suspending data transmission with the wireless client, the probe packet being used to maintain a TCP connection with the wireless client.
可选地, 本实施例中, 所述暂停与无线客户端的数据传输, 包括:  Optionally, in this embodiment, the suspending data transmission with the wireless client includes:
将所述无线网络拥塞状态或是无线信道阻塞状态通知给无线客户端, 使所述无线客户 端断开与所述部署 TCP代理的设备的 TCP连接, 暂停与所述部署 TCP代理的设备的数据传 输。  Notifying the wireless client of the wireless network congestion state or the wireless channel blocking state, causing the wireless client to disconnect the TCP connection with the device deploying the TCP proxy, and suspending data with the device deploying the TCP proxy transmission.
本实施例中, 在所述无线客户端上设置应用平台, 则将所述无线网络拥塞状态或是无 线信道阻塞状态通知给所述无线客户端, 之后还包括:  In this embodiment, the application platform is set on the wireless client, and the wireless network congestion state or the wireless channel blocking state is notified to the wireless client, and then includes:
使所述应用平台获取所述无线网络拥塞状态或是无线信道阻塞状态, 并断开与所述部 署 TCP代理的设备的 TCP连接, 暂停与所述部署 TCP代理的设备的数据传输;  And causing the application platform to acquire the wireless network congestion state or the wireless channel blocking state, and disconnect the TCP connection with the device that deploys the TCP proxy, and suspend data transmission with the device deploying the TCP proxy;
或由所述应用平台提供 API (Appl icat ion Programming Interface,使应用程序编程接 口),使所述应用平台通过所述 API通知应用所述无线网络拥塞状态或是无线信道阻塞状态, 所述应用自动暂停与所述部署 TCP代理的设备的数据传输。  Or providing an API (Application Programming Interface) by the application platform, so that the application platform notifies the application of the wireless network congestion state or the wireless channel blocking state by using the API, where the application is automatically Suspend data transfer with the device deploying the TCP proxy.
可选地, 本实施例中, 如果存在无线网络拥塞状态或是无线信道阻塞状态, 则所述方 法还包括:  Optionally, in this embodiment, if there is a wireless network congestion state or a wireless channel blocking state, the method further includes:
如果所述 TCP代理为 ETCP, 则向所述服务器端发送 ETCP 暂停消息, 挂起与所述服务 器端的 ETCP连接, 暂停与所述服务器端的数据传输; 或  If the TCP proxy is ETCP, sending an ETCP pause message to the server, suspending an ETCP connection with the server, and suspending data transmission with the server; or
通过预设的接收窗口接收所述服务器端以预设的发送速率发送的数据, 以保持与所述 服务器端的 TCP连接; 所述预设的接收窗口用于控制所述服务器端预设的发送速率; 或 将接收所述服务器端发送的数据的接收窗口设为 0, 使所述服务器端暂停与所述部署 TCP 代理的设备的数据传输, 监测所述服务器端下发的接收窗口探测包, 并返回 ACK (Acknowledgement , 正确应答) 保持与所述服务器端的 TCP连接; 如果没有检测到所述服 务器端下发的接收窗口探测包, 周期性向所述服务器端发送探测包以保持与所述服务器端 的 TCP连接。 Receiving, by the preset receiving window, data sent by the server at a preset sending rate to maintain a TCP connection with the server; the preset receiving window is configured to control a preset sending rate of the server Or setting the receiving window of the data sent by the server to 0, causing the server to suspend the data transmission with the device deploying the TCP proxy, and monitoring the receiving window detection packet sent by the server, and Return ACK (Acknowledgement, correct answer) to maintain a TCP connection with the server; if the service is not detected The receiving window probe packet sent by the server end periodically sends a probe packet to the server end to maintain a TCP connection with the server end.
本实施例中的方法还包括:  The method in this embodiment further includes:
当所述部署 TCP代理的设备判断出不存在无线网络拥塞状态或是无线信道阻塞状态时, 恢复与无线客户端和服务器端的数据传输。  When the device deploying the TCP proxy determines that there is no wireless network congestion state or a wireless channel congestion state, data transmission with the wireless client and the server is resumed.
本发明提供的方法实施例的有益效果是: 通过在无线网络部署 TCP代理, 监测无线网 络及信道信息, 使在无线网络或信道拥塞时暂停无线端 TCP数据传输, 等无线网络拥塞消 除或信道阻塞消除后再以较高的数据传输率传输, 避免长时间在线以慢速率进行数据通信 引起电池迅速耗完, 从而达到节电的有益效果。 参见图 2, 本发明实施例提供了一种控制数据传输的方法, 包括:  The beneficial effects of the method embodiments provided by the present invention are: by deploying a TCP proxy in a wireless network, monitoring the wireless network and channel information, suspending wireless TCP data transmission when the wireless network or channel is congested, and the like, or eliminating wireless network congestion or channel blocking. After being eliminated, the data is transmitted at a higher data transmission rate, and the long-term online data communication at a slow rate is caused to cause the battery to be quickly exhausted, thereby achieving the beneficial effect of power saving. Referring to FIG. 2, an embodiment of the present invention provides a method for controlling data transmission, including:
201: 在无线网络上部署 TCP代理。  201: Deploy the TCP proxy on the wireless network.
本实施例中, 对非实时业务在无线网络以非实时的方式进行传输。 在网络侧部署 TCP 代理。 具体的, 网络侧设备可以是无线基站或 RNC ( Radio Network Control ler, 无线网络 控制器) 或 GW (Gateway, 网关) 等, 在此本实施例不做具体限定。  In this embodiment, the non-real time service is transmitted in a non-real time manner on the wireless network. Deploy the TCP proxy on the network side. Specifically, the network side device may be a radio base station, an RNC (Radio Network Controller), or a GW (Gateway), and is not limited in this embodiment.
本实施例中, 可以在网络侧设备上部署 TCP代理, 也可以在网络侧单独设置 TCP代理 的设备, 将部署 TCP代理的网络侧设备或是单独的设置 TCP代理的设备统称为部署 TCP代 理的设备, 通过部署 TCP代理, 将服务器端到无线客户端的传输链路分成两段, 分别为服 务器端到部署 TCP代理的设备, 和部署 TCP代理的设备到无线客户端。 其中, 不管部署 TCP 代理的设备为哪种方式, 参见图 3, 具体的部署 TCP代理的设备包括: 监测模块 100、 控制 模块 200和 TCP模块 300。 其中, 监测模块 100, 用于提供和基站的接口, 从基站获得无线 网络负载信息和 /或无线信道信息, 同时监测 TCP的连接信息; 控制模块 200, 用于根据监 测模块输入的信息决定 TCP模块参数, 如接收窗口, 发送 Keepal ive探测包等; 或产生拥 塞或拥塞消除指示消息向客户端发送; TCP模块 300, 用于完成完整的 TCP协议, 提供 TCP 连接信息导出接口和控制模块 200输入接口, 同时根据控制模块 200输入的信息调整 TCP 状态。  In this embodiment, the TCP proxy may be deployed on the network side device, or the TCP proxy device may be separately set on the network side, and the network side device deploying the TCP proxy or the device respectively setting the TCP proxy is collectively referred to as the deployed TCP proxy. The device, by deploying a TCP proxy, splits the transmission link from the server to the wireless client into two segments, namely, the server to the device deploying the TCP proxy, and the device deploying the TCP proxy to the wireless client. Regardless of the manner in which the device deploying the TCP proxy is used, referring to FIG. 3, the specific device for deploying the TCP proxy includes: a monitoring module 100, a control module 200, and a TCP module 300. The monitoring module 100 is configured to provide an interface with the base station, obtain wireless network load information and/or wireless channel information from the base station, and simultaneously monitor TCP connection information. The control module 200 is configured to determine the TCP module according to the information input by the monitoring module. Parameters, such as a receiving window, sending a Keepalive detection packet, etc.; or generating a congestion or congestion cancellation indication message to the client; the TCP module 300, for completing a complete TCP protocol, providing a TCP connection information export interface and a control module 200 input interface At the same time, the TCP state is adjusted according to the information input by the control module 200.
202: 部署 TCP代理的设备判断是否存在无线网络拥塞状态或是无线信道阻塞状态; 如 果是, 则执行步骤 203, 否则继续无线客户端的数据传输。  202: The device deploying the TCP proxy determines whether there is a wireless network congestion state or a wireless channel congestion state; if yes, step 203 is performed, otherwise the wireless client data transmission is continued.
本实施例中, 无线网络拥塞, 表现为网络系统吞吐率极低; 无线信道阻塞, 表现为信 道丢包率高, 传输速率极低。  In this embodiment, the wireless network is congested, which is characterized by extremely low throughput of the network system; the wireless channel is blocked, and the channel loss rate is high, and the transmission rate is extremely low.
本实施例中, 如果无线基站向部署 TCP代理的设备提供逻辑接口, 则部署 TCP代理的 设备判断是否存在无线网络拥塞状态或是无线信道阻塞状态, 包括: In this embodiment, if the wireless base station provides a logical interface to the device deploying the TCP proxy, the TCP proxy is deployed. The device determines whether there is a wireless network congestion state or a wireless channel blocking state, including:
所述部署 TCP代理的设备通过所述接口获知所述基站提供的本地服务的小区的负载信 息, 根据所述负载信息判断无线网络是否处于拥塞状态;  And the device that deploys the TCP proxy learns, by using the interface, load information of a cell that is locally served by the base station, and determines, according to the load information, whether the wireless network is in a congested state;
或通过所述接口获知所述基站提供的本地服务的用户的信道信噪比, 根据所述信道信 噪比判断无线信道是否处于阻塞状态。  Or obtaining, by using the interface, a channel signal to noise ratio of a user of the local service provided by the base station, and determining, according to the channel signal to noise ratio, whether the wireless channel is in a blocked state.
本实施例中, 无线基站提供的逻辑接口主要是指为了传输控制信息而自定义的逻辑接 口, 这个逻辑接口的作用是: 针对所有部署了 TCP代理的设备, 不管是单独部署或部署在 现有网络设备上, 部署 TCP代理的设备可以通过这个逻辑接口获知基站的网络信息或某个 用户的信道信息, 还可以发出拥塞 /拥塞消除等指示消息, 这个逻辑接口完成这些额外信息 的传输。 其中网络相关信息在不同的系统中获取来源也不同, 如在 LTE系统中, 这个信息 可以从 eNB, 即基站处获得; 在 3G系统中, 这个信息可以从 NB (Node B)或 RNC处获得。 用 户信道相关信息可以从基站处获得。 具体的, 部署 TCP代理的设备与网络侧设备的接口都 是标准定义的接口, 如在 LTE系统中, 在 GW和基站之间, 这个接口是 S 1-U; 在 3G系统中, 在 GW和 RNC之间, 这个接口是 Iu; 在 RNC和基站之间, 这个接口是 Iu_b ; 在其它系统中, 同样的视所述设备部署的位置而定, 在此本实施例不再赘述。  In this embodiment, the logical interface provided by the wireless base station mainly refers to a logical interface customized for transmitting control information, and the role of the logical interface is: for all devices deploying the TCP proxy, whether deployed separately or deployed in the existing On the network device, the device deploying the TCP proxy can learn the network information of the base station or the channel information of a certain user through the logical interface, and can also issue an indication message such as congestion/congestion cancellation, and the logical interface completes the transmission of the additional information. The network related information is obtained from different sources in different systems. For example, in the LTE system, this information can be obtained from the eNB, that is, the base station; in the 3G system, this information can be obtained from the NB (Node B) or the RNC. User channel related information can be obtained from the base station. Specifically, the interface between the device that deploys the TCP proxy and the device on the network side is a standard defined interface. For example, in the LTE system, between the GW and the base station, the interface is S 1-U; in the 3G system, in the GW and Between the RNCs, this interface is Iu; between the RNC and the base station, this interface is Iu_b; in other systems, the same depends on the location of the device deployment, and will not be described in this embodiment.
其中, 小区的负载信息可以通过基站的输出功率和 /或时频资源的占用获得, 如果 TCP 代理判断出基站的资源使用超过了预设为该小区分配的资源, 则判断出现了无线网络拥塞 状态。 同样, 如果部署 TCP代理的设备判断出无线基站服务的用户的信道信噪比低于预设 值, 则判断出现了无线信道阻塞状态。  The load information of the cell may be obtained by using the output power of the base station and/or the occupation of the time-frequency resource. If the TCP proxy determines that the resource usage of the base station exceeds the resource allocated by the cell, the wireless network congestion state is determined. . Similarly, if the device deploying the TCP proxy determines that the channel SNR of the user served by the radio base station is lower than a preset value, it is determined that the radio channel blocking state has occurred.
进一步地, 本实施例中, 如果无线基站未向所述部署 TCP代理的设备提供逻辑接口, 则所述部署 TCP代理的设备判断是否存在无线网络拥塞状态或是无线信道阻塞状态, 包括: 所述部署 TCP代理的设备获知缓存的数据量或捕获重传超时, 根据所述缓存的数据量 或捕获的重传超时判断无线网络是否处于拥塞状态;  Further, in this embodiment, if the wireless base station does not provide a logical interface to the device that deploys the TCP proxy, the device that deploys the TCP proxy determines whether there is a wireless network congestion state or a wireless channel blocking state, including: The device that deploys the TCP proxy learns the amount of data buffered or captures the retransmission timeout, and determines whether the wireless network is in a congested state according to the buffered data volume or the captured retransmission timeout period;
或获知无线传输速率或丢包率, 根据所述无线传输速率或丢包率判断无线信道是否处 于阻塞状态。  Or knowing the wireless transmission rate or the packet loss rate, and determining whether the wireless channel is in a blocked state according to the wireless transmission rate or the packet loss rate.
其中, 部署 TCP代理的设备判断下行丢包的方法可以是收到重复 ACK或重复数据; TCP 代理判断上行丢包的方法可以是检测到不连续的 TCP序列号或重传超时, 具体的 TCP代理 判断上行或下行的丢包方法属于现有技术范畴, 本实施例对此不再赘述。 本实施例中, 当 所述缓存的数据量达到预设的数量时, 或重传数据超过预定的时间限制时, 判断无线网络 出了拥塞状态; 或当无线传输速率小于预定速率时, 或丢包率大于预定阈值时, 判断无线 信道处于阻塞状态。 其中, 上述提到的预设的数量、 预设的时间限制、 预定速率或预定阈 值, 可以根据网络状态和经验设置, 对此本实施例不做具体限定。 The method for determining the downlink packet loss by the device deploying the TCP proxy may be that a duplicate ACK or duplicate data is received; the method for the TCP proxy to determine the uplink packet loss may be detecting a discontinuous TCP sequence number or a retransmission timeout, and the specific TCP proxy. The method for determining the packet loss in the uplink or the downlink belongs to the prior art, and is not described in this embodiment. In this embodiment, when the amount of data buffered reaches a preset amount, or when the retransmitted data exceeds a predetermined time limit, it is determined that the wireless network is in a congestion state; or when the wireless transmission rate is less than a predetermined rate, or is lost. When the packet rate is greater than a predetermined threshold, it is determined that the wireless channel is in a blocked state. Wherein, the number of presets mentioned above, a preset time limit, a predetermined rate, or a predetermined threshold The value may be set according to the network status and experience, and is not specifically limited in this embodiment.
203: 部署 TCP代理的设备暂停与无线客户端的数据传输。  203: The device deploying the TCP proxy suspends data transmission with the wireless client.
本实施例中, 在检测到无线网络拥塞或无线信道阻塞时, 部署 TCP代理的设备对到无 线客户端的数据处理方式包括:  In this embodiment, when the wireless network congestion or the wireless channel is blocked, the data processing manner of the device deploying the TCP proxy to the wireless client includes:
1 ) 在网络侧和无线客户端配置的 TCP协议均是增强的 ETCP协议, 向无线客户端发送 1) The TCP protocol configured on the network side and the wireless client is an enhanced ETCP protocol, which is sent to the wireless client.
ETCP Pause消息, 保持无线端 TCP连接, 但暂停与无线客户端的数据传输。 ETCP Pause message, keeps the wireless TCP connection, but suspends data transmission with the wireless client.
本实施例中, 在 TCP协议中实现 TCP Pause/Resume操作, 可在当前无线网络部署, 命 名为 ETCP, 网络侧增强 ETCP代理对应用层透明。 当 ETCP代理检测到无线网络或信道拥塞 时向无线客户端发送 ETCP Pause , 使得无线 ETCP连接挂起, 暂停无线端数据传输, 同时由 网络侧和无线客户端两端 ETCP保持 ETCP状态及上下文信息。 当检测到无线网络或信道拥 塞消除时, ETCP利用保持的 ETCP状态及上下文信息继续 ETCP数据传输。  In this embodiment, the TCP Pause/Resume operation is implemented in the TCP protocol, and can be deployed in the current wireless network, and is named ETCP, and the network side enhances the ETCP proxy to be transparent to the application layer. When the ETCP proxy detects the wireless network or the channel is congested, the ETCP Pause is sent to the wireless client, so that the wireless ETCP connection is suspended, the wireless end data transmission is suspended, and the ETCP state and the context information are maintained by the ETCPs at both ends of the network side and the wireless client. When wireless network or channel congestion cancellation is detected, ETCP continues ETCP data transmission with the maintained ETCP status and context information.
2 ) 或在部署 TCP代理的设备设置存活定时器 (TCP Keepal ive t imer) , 该存活定时器 可配置, 一般不小于 2小时, 通过周期性向无线客户端发送探测包保持无线端 TCP连接。  2) Or set the TCP Keepalive Timer (TCP Keepalive t imer), which is configurable, generally not less than 2 hours, to maintain the wireless TCP connection by periodically sending probe packets to the wireless client.
本实施例中, 部署 TCP代理的设备暂停无线端数据传输, 在 2小时内如果无线网络拥 塞或无线信道阻塞还没有消除, 部署 TCP代理的设备便向无线客户端发送 Keepal ive探测 包, 无线客户端反馈 ACK响应该探测包。 部署 TCP代理的设备通过收到 ACK反馈知道无线 客户端仍然活跃, 并为接下来的 2小时复位存活定时器。 部署 TCP代理的设备通过周期性 的向无线客户端发送 Keepal ive探测包保持无线端 TCP连接直到无线连接恢复大带宽传输。 如果在 2个小时到期之前, 无线网络拥塞或无线信道阻塞消除, 则存活定时器重新为往下 的 2小时复位, 并且继续数据传输。  In this embodiment, the device deploying the TCP proxy suspends the wireless terminal data transmission. If the wireless network congestion or the wireless channel congestion has not been eliminated within 2 hours, the device deploying the TCP proxy sends the Keepalive detection packet to the wireless client, and the wireless client The end feedback ACK responds to the probe packet. The device deploying the TCP proxy knows that the wireless client is still active by receiving an ACK feedback and resets the survival timer for the next 2 hours. A device deploying a TCP proxy maintains a wireless TCP connection by periodically sending a Keepalive probe packet to the wireless client until the wireless connection resumes a large bandwidth transmission. If the wireless network congestion or wireless channel congestion is removed before the 2 hour expiration, the survival timer is reset for the next 2 hours and the data transmission continues.
本实施例中, 本步骤 203可选地, 在部署 TCP代理的设备获知无线网络拥塞状态或是 无线信道阻塞状态后, 将无线网络拥塞状态或是无线信道阻塞状态通知给无线客户端, 使 无线客户端断开与部署 TCP代理的设备的连接, 暂停与部署 TCP代理的设备的数据传输。 其中, 部署 TCP代理的设备通知无线客户端无线网络或无线信道状态, 由无线客户端断开 TCP连接, 包括:  In this embodiment, in step 203, after the device deploying the TCP proxy learns the wireless network congestion state or the wireless channel congestion state, the wireless network congestion state or the wireless channel congestion state is notified to the wireless client, so that the wireless The client disconnects from the device deploying the TCP proxy and suspends data transfer with the device deploying the TCP proxy. The device deploying the TCP proxy notifies the wireless client of the wireless network or the wireless channel status, and the wireless client disconnects the TCP connection, including:
1 ) 在无线客户端配有统一的应用平台来获取无线网络或无线信道状态, 该应用平台同 时实现监测、 维护、 控制应用的功能, 具体的, 在无线网络或信道拥塞时记录应用上下文 和断点信息并断开 TCP连接, 应用平台可以关闭或保持该应用; 当获得由 TCP代理下发的 网络拥塞消除指示时, 根据上下文和断点信息重新发起建立 TCP连接的请求, 同时利用应 用提供的 API拉起应用或继续应用;  1) The wireless client is equipped with a unified application platform to obtain the wireless network or wireless channel status. The application platform simultaneously implements the functions of monitoring, maintaining, and controlling the application. Specifically, the application context and the interrupt are recorded when the wireless network or the channel is congested. Point information and disconnect the TCP connection, the application platform can close or maintain the application; when obtaining the network congestion elimination indication delivered by the TCP proxy, re-initiate the request to establish a TCP connection according to the context and the breakpoint information, and utilize the application provided API pulls up the app or continues to apply;
2 ) 或该应用平台可以只实现监测的功能, 同时提供 API接口, 用于给应用查询或根据 订阅向应用通知当前无线网络或信道拥塞状态, 所述应用自身主动断开或恢复 TCP连接, 并记录上下文和断点状态。 其中, 该应用指无线客户端运行的一些程序, 包括 FTP (Fi le Transfer Protocol,文件传输协议)、 HTTP Progressive download (Hypertext Transfer Protocol progressive download, 超文本传输协议渐进下载)、 P2P (Peer-to-peer, 对等) 下载等。 2) or the application platform can only implement the monitoring function, and provide an API interface for querying or according to the application. The subscription notifies the application of the current wireless network or channel congestion status, and the application itself actively disconnects or resumes the TCP connection and records the context and breakpoint status. The application refers to some programs run by the wireless client, including FTP (Fi le Transfer Protocol), HTTP Progressive download (Hypertext Transfer Protocol progressive download), P2P (Peer-to- Peer, peer) download, etc.
本实施例中, 部署 TCP代理的设备在检测到无线网络拥塞或无线信道阻塞时, 终止与 无线客户端的数据传输, 从而避免无线客户端长时间在线以慢速率进行数据通信, 引起电 池迅速耗完的问题, 可选地, 部署 TCP代理的设备可不对服务器端进行处理, 服务器端继 续数据传输, 部署 TCP代理的设备缓存服务器端传输的数据, 当无线网络拥塞或无线信道 阻塞解除时, 再将缓存的数据发送给无线客户端。 可选地, 本实施例中, 在部署 TCP代理 的设备对无线客户端进行处理的时候, 同时也对服务器端进行处理, 其中, 服务器端可以 位于有线网络中, 也可以位于无线网络中。 本实施例中按照一个有线服务器和一个无线客 户端的场景进行举例, 但不限于有线服务器。 同时本实施例中无线侧的处理方法和服务器 端的处理方法可以自由组合实现。 具体的, 在检测到无线网络拥塞或无线信道阻塞时, 部 署 TCP代理的设备对网络侧到服务器端的数据处理方式包括:  In this embodiment, when the device deploying the TCP proxy detects the wireless network congestion or the wireless channel is blocked, the data transmission with the wireless client is terminated, thereby preventing the wireless client from performing data communication at a slow rate for a long time online, causing rapid battery consumption. End of the problem, optionally, the device deploying the TCP proxy may not process the server, the server continues the data transmission, and the device deploying the TCP proxy buffers the data transmitted by the server. When the wireless network is congested or the wireless channel is blocked, Send the cached data to the wireless client. Optionally, in this embodiment, when the device deploying the TCP proxy processes the wireless client, the server is also processed. The server may be located in the wired network or in the wireless network. In this embodiment, a scenario of a wired server and a wireless client is used, but is not limited to a wired server. At the same time, the processing method of the wireless side and the processing method of the server side in this embodiment can be freely combined and implemented. Specifically, when detecting the congestion of the wireless network or the blocking of the wireless channel, the data processing manner of the device deploying the TCP proxy to the network side to the server side includes:
1 ) 在整个网络中配置 ETCP协议, 保持有线侧 ETCP连接, 但暂停与服务器端的数据传 输;  1) Configure the ETCP protocol throughout the network to maintain the wired side ETCP connection, but suspend data transmission with the server;
本实施例中, 在有线网络中也部署 ETCP, 即在网络侧设备处、 无线客户端和服务器端 均配置 ETCP, ETCP代理在检测到无线网络拥塞或无线信道阻塞时, 和在无线客户端的处理 一样, 向服务器端发送 ETCP Pause消息, 使有线 ETCP连接挂起, 暂停有线端数据的传输, 同时由服务器和网络侧两端 ETCP保持 ETCP状态及上下文信息。 当检测到无线网络或信道 拥塞消除时, ETCP利用保持的 ETCP状态及上下文信息继续 ETCP数据传输。  In this embodiment, ETCP is also deployed in the wired network, that is, ETCP is configured at the network side device, the wireless client, and the server, and the ETCP agent detects the wireless network congestion or the wireless channel blocking, and processes the wireless client. Similarly, the ETCP Pause message is sent to the server to suspend the wired ETCP connection, suspend the transmission of the wired data, and the ETCP state and context information are maintained by the server and the network side ETCP. When wireless network or channel congestion cancellation is detected, ETCP continues ETCP data transmission with the maintained ETCP status and context information.
2) 或通过预设的接收窗口接收所述服务器端以预设的发送速率发送的数据, 以保持与 所述服务器端的 TCP连接; 所述预设的接收窗口用于控制所述服务器端预设的发送速率; 本实施例中, 所述预设的接收窗口是部署 TCP代理的设备设置的较小的接收窗口, TCP 代理通过减小有线侧 TCP接收窗口控制服务器发送速率并缓存接收到的数据, 以保持有线 端 TCP连接。  2) receiving, by using a preset receiving window, data sent by the server at a preset sending rate to maintain a TCP connection with the server end; the preset receiving window is used to control the server-side preset In the embodiment, the preset receiving window is a smaller receiving window set by the device deploying the TCP proxy, and the TCP proxy controls the sending rate of the server and buffers the received data by reducing the wired side TCP receiving window. To keep the wired TCP connection.
3) 或通过将接收窗口设为 0使服务器端停止数据发送, TCP代理监测服务器端下发的 接收窗口探测包并返回 ACK保持有线端 TCP连接; 如果 TCP代理没有检测到服务器端下发 的接收窗口探测包, 由部署 TCP代理的设备周期性向服务器端发送探测包保持有线端 TCP 连接。 本实施例中, TCP代理通过将接收窗口设为 0使服务器端暂停数据发送, TCP代理监测 服务器端下发的接收窗口探测包并返回 ACK保持有线端 TCP连接; 如果 TCP代理没有检测 到服务器下发的接收窗口探测包, 部署 TCP代理的设备通过设置的存活定时器, 周期性向 服务器端发送 Keepal ive探测包保持有线端 TCP连接。 当无线网络或信道拥塞消除时, 部 署 TCP代理的设备向服务器发送更新的接收窗口激活服务器继续数据下发。 3) Or by setting the receiving window to 0 to stop the data transmission on the server side, the TCP proxy monitors the receiving window detection packet sent by the server and returns an ACK to maintain the wired TCP connection; if the TCP proxy does not detect the receiving from the server The window probe packet is periodically sent by the device deploying the TCP proxy to the server to maintain the wired TCP connection. In this embodiment, the TCP proxy pauses the data transmission by setting the receiving window to 0. The TCP proxy monitors the receiving window detection packet sent by the server and returns an ACK to maintain the wired TCP connection; if the TCP proxy does not detect the server The receiving window detection packet is sent, and the device deploying the TCP proxy periodically sends a keepalive detection packet to the server to maintain the wired TCP connection through the set survival timer. When the wireless network or channel congestion is eliminated, the device deploying the TCP proxy sends an updated receiving window to the server to activate the server to continue data delivery.
204:当部署 TCP代理的设备判断出不存在无线网络拥塞状态或是无线信道阻塞状态时, 恢复与无线客户端和服务器端的数据传输。  204: Resume data transmission with the wireless client and the server when the device deploying the TCP proxy determines that there is no wireless network congestion state or a wireless channel congestion state.
本实施例中, 在检测到无线网络或信道拥塞消除时, 部署 TCP代理的设备恢复与无线 客户端和服务器端的 TCP连接, 继续进行数据传输。  In this embodiment, when detecting the wireless network or channel congestion cancellation, the device deploying the TCP proxy resumes the TCP connection with the wireless client and the server, and continues data transmission.
本实施例中, 在检测到无线网络或信道拥塞消除时, 对无线客户端:  In this embodiment, when detecting the wireless network or channel congestion cancellation, for the wireless client:
1 ) 在无线客户端配置统一的应用平台时, 在检测到无线网络或信道拥塞消除时, 向无 线客户端发送无线网络或信道拥塞消除指示, 这个指示是一个自定义的指示消息, 用于部 署 TCP代理的设备恢复与无线客户端的 TCP连接, 继续数据的传输;  1) When the wireless client configures a unified application platform, when detecting the wireless network or channel congestion cancellation, sending a wireless network or channel congestion cancellation indication to the wireless client, this indication is a customized indication message for deployment The TCP proxy device resumes the TCP connection with the wireless client and continues the data transmission;
2 ) 当部署的 TCP为 ETCP时, 部署 TCP代理的设备向无线客户端发送 ETCP resume , 恢 复 ETCP连接, 继续数据的传输;  2) When the deployed TCP is ETCP, the device deploying the TCP proxy sends ETCP resume to the wireless client, restores the ETCP connection, and continues data transmission;
3 ) 如果无线客户端和部署 TCP代理的设备是通过 Keepal ive探测包保持 TCP连接的, 则在检测到无线网络或信道拥塞消除后不需要具体信息指示, TCP代理可以直接向客户端发 送数据继续传输;  3) If the wireless client and the device deploying the TCP proxy maintain the TCP connection through the Keepalive probe packet, the specific information indication is not required after detecting the wireless network or channel congestion cancellation, and the TCP proxy can directly send data to the client to continue. Transmission
本实施例中, 在检测到无线网络或信道拥塞消除时, 对服务器端:  In this embodiment, when the wireless network or channel congestion is detected, the server side:
1 ) 当部署 TCP为 ETCP时, 部署 TCP代理的设备向服务器端发送 ETCP resume , 恢复 1) When deploying TCP to ETCP, the device deploying the TCP proxy sends ETCP resume to the server, recovering
ETCP连接, 继续数据的传输; ETCP connection, continue data transmission;
2 ) 当部署 TCP代理的设备通过设置较小的接收窗口保持有线侧 TCP连接同时缓存接收 数据; 或部署 TCP代理的设备通过将接收窗口设为 0使服务器端停止数据发送, TCP代理监 测服务器端下发的接收窗口探测包并返回 ACK保持有线端 TCP连接; 如果 TCP代理没有检 测到服务器下发的接收窗口探测包, TCP代理设置存活定时器, 周期性向服务器端发送探测 包保持有线端 TCP连接。 在上述情况下, 当无线网络或信道拥塞消除时, 部署 TCP代理的 设备向服务器发送更新的接收窗口激活服务器继续数据下发。  2) When the device deploying the TCP proxy keeps the wired side TCP connection and buffers the received data by setting a smaller receiving window; or the device deploying the TCP proxy stops the data transmission by setting the receiving window to 0, the TCP proxy monitors the server side. The receiving window detects the packet and returns an ACK to keep the wired TCP connection. If the TCP proxy does not detect the receiving window probe packet sent by the server, the TCP proxy sets the surviving timer, and periodically sends the probe packet to the server to maintain the wired TCP connection. . In the above case, when the wireless network or channel congestion is eliminated, the device deploying the TCP proxy sends an updated receiving window to the server to activate the server to continue data delivery.
本发明提供的方法实施例的有益效果是: 通过在无线网络部署 TCP代理, 监测无线网 络及信道信息, 使在无线网络或信道拥塞时暂停无线端 TCP数据传输, 等无线网络拥塞消 除或信道阻塞消除后再以较高的数据传输率传输, 避免长时间在线以慢速率进行数据通信 引起电池迅速耗完, 从而达到节电的有益效果。 参见图 4,本发明实施例提供了一种部署传输控制协议 TCP代理的设备,所述设备包括: 判断模块 301和处理模块 302。 The beneficial effects of the method embodiments provided by the present invention are: by deploying a TCP proxy in a wireless network, monitoring the wireless network and channel information, suspending wireless TCP data transmission when the wireless network or channel is congested, and the like, or eliminating wireless network congestion or channel blocking. After being eliminated, the data is transmitted at a higher data transmission rate, and the long-term online data communication at a slow rate is caused to cause the battery to be quickly exhausted, thereby achieving the beneficial effect of power saving. Referring to FIG. 4, an embodiment of the present invention provides a device for deploying a transmission control protocol TCP proxy, where the device includes: a determining module 301 and a processing module 302.
判断模块 301, 用于判断是否存在无线网络拥塞状态或是无线信道阻塞状态; 处理模块 302, 用于如果所述判断模块的判断结果为是, 则暂停部署所述 TCP代理的设 备与无线客户端的数据传输。  The determining module 301 is configured to determine whether there is a wireless network congestion state or a wireless channel blocking state. The processing module 302 is configured to suspend the deployment of the TCP proxy device and the wireless client if the determining result of the determining module is yes. data transmission.
参见图 5, 本实施例中, 判断模块 301, 包括:  Referring to FIG. 5, in this embodiment, the determining module 301 includes:
第一判断单元 301a, 用于如果无线基站向部署 TCP代理的设备提供逻辑接口, 则通过 所述逻辑接口获知所述基站提供的本地服务的小区的负载信息, 根据所述负载信息判断无 线网络是否处于拥塞状态; 或  The first determining unit 301a is configured to: if the wireless base station provides a logical interface to the device that deploys the TCP proxy, obtain, by using the logical interface, load information of the locally served cell provided by the base station, and determine, according to the load information, whether the wireless network is In a state of congestion; or
第二判断单元 301b, 用于如果无线基站向所述部署 TCP代理的设备提供逻辑接口, 则 通过所述接口获知所述基站提供的本地服务的用户的信道信噪比, 根据所述信道信噪比判 断无线信道是否处于阻塞状态。  a second determining unit 301b, configured to: if the wireless base station provides a logical interface to the device that deploys the TCP proxy, obtain, by using the interface, a channel signal to noise ratio of a user of the local service provided by the base station, according to the channel signal to noise It is more than judging whether the wireless channel is in a blocked state.
可选地, 本实施例中, 参见图 5, 判断模块 301, 包括:  Optionally, in this embodiment, referring to FIG. 5, the determining module 301 includes:
第三判断单元 301c, 用于如果无线基站未向所述部署 TCP代理的设备提供逻辑接口, 则获知缓存的数据量或捕获重传超时, 根据所述缓存的数据量或捕获的重传超时判断无线 网络是否处于拥塞状态; 或  The third determining unit 301c is configured to: if the wireless base station does not provide a logical interface to the device that deploys the TCP proxy, obtain the buffered data volume or the capture retransmission timeout, and determine according to the cached data volume or the captured retransmission timeout. Whether the wireless network is in a congested state; or
第四判断单元 301d, 用于如果无线基站未向所述部署 TCP代理的设备提供逻辑接口, 则获知无线传输速率或丢包率, 根据所述无线传输速率或丢包率判断无线信道是否处于阻 塞状态。  The fourth determining unit 301d is configured to: if the wireless base station does not provide a logical interface to the device that deploys the TCP proxy, obtain a wireless transmission rate or a packet loss rate, and determine, according to the wireless transmission rate or the packet loss rate, whether the wireless channel is blocked. status.
参见图 5, 本实施例中, 处理模块 302, 包括:  Referring to FIG. 5, in this embodiment, the processing module 302 includes:
第一发送单元 302a, 用于如果所述 TCP代理为增强的传输控制协议 ETCP, 则向所述无 线客户端发送 ETCP 暂停消息, 挂起与所述无线客户端的 ETCP连接, 暂停与所述无线客户 端的数据传输; 或  The first sending unit 302a is configured to: if the TCP proxy is an enhanced transmission control protocol ETCP, send an ETCP suspension message to the wireless client, suspend an ETCP connection with the wireless client, and suspend the wireless client Data transmission; or
第二发送单元 302b, 用于周期性的向所述无线客户端发送保持连接探测包, 并暂停与 所述无线客户端的数据传输, 所述探测包用于维持与所述无线客户端的 TCP连接。  The second sending unit 302b is configured to periodically send a keep-alive probe packet to the wireless client, and suspend data transmission with the wireless client, where the probe packet is used to maintain a TCP connection with the wireless client.
参见图 5, 本实施例中, 该处理模块 302还包括:  Referring to FIG. 5, in this embodiment, the processing module 302 further includes:
第三发送单元 302c, 用于如果所述判断模块的判断结果为是, 则将所述无线网络拥塞 状态或是无线信道阻塞状态通知给无线客户端, 使所述无线客户端断开与所述部署 TCP代 理的设备的 TCP连接, 暂停与所述部署 TCP代理的设备的数据传输。  The third sending unit 302c is configured to: if the determining result of the determining module is yes, notify the wireless client of the wireless network congestion state or the wireless channel blocking state, and disconnect the wireless client A TCP connection of a device deploying a TCP proxy suspends data transfer with the device deploying the TCP proxy.
参见图 5, 本实施例中, 可选地, 处理模块 302还包括: 第四发送单元 302d, 用于如果所述判断模块的判断结果为是, 且如果所述 TCP代理为 ETCP, 则向所述服务器端发送 ETCP 暂停消息, 挂起与所述服务器端的 ETCP连接, 暂停与 所述服务器端的数据的传输; 或 Referring to FIG. 5, in this embodiment, optionally, the processing module 302 further includes: The fourth sending unit 302d is configured to: if the judgment result of the determining module is yes, and if the TCP proxy is ETCP, send an ETCP pause message to the server end, suspend the ETCP connection with the server end, and suspend Transmission of data with the server side; or
第五发送单元 302e, 用于如果所述判断模块的判断结果为是, 则通过预设的接收窗口 接收所述服务器端以预设的发送速率发送的数据, 从而保持与所述服务器端的 TCP连接; 所述预设的接收窗口用于控制所述服务器端预设的发送速率; 或  The fifth sending unit 302e is configured to: if the determining result of the determining module is yes, receive data sent by the server at a preset sending rate through a preset receiving window, thereby maintaining a TCP connection with the server end. The preset receiving window is used to control a preset sending rate of the server; or
第六发送单元 302f, 用于如果所述判断模块的判断结果为是, 将接收所述服务器端发 送的数据的接收窗口设为 0, 使所述服务器端暂停与所述部署 TCP代理的设备的数据传输, 监测所述服务器端下发的接收窗口探测包,并返回正确应答 ACK保持与所述服务器端的 TCP 连接; 如果没有检测到所述服务器端下发的接收窗口探测包, 周期性向所述服务器端发送 探测包以保持与所述服务器端的 TCP连接。  a sixth sending unit 302f, configured to: if the determination result of the determining module is yes, set a receiving window for receiving data sent by the server to 0, and suspend the server end with the device that deploys the TCP proxy Data transmission, monitoring the receiving window detection packet sent by the server, and returning a correct response ACK to maintain a TCP connection with the server; if the receiving window detection packet sent by the server is not detected, periodically reporting to the The server sends a probe packet to maintain a TCP connection with the server.
参见图 5, 该设备还包括:  Referring to Figure 5, the device further includes:
发送模块 303,用于当所述部署 TCP代理的设备判断出不存在无线网络拥塞状态或是无 线信道阻塞状态时, 向无线客户端和服务器端发送所述无线网络拥塞状态或是无线信道阻 塞状态取消指示, 使所述无线客户端和所述服务器端继续进行数据的传输。  The sending module 303 is configured to: when the device that deploys the TCP proxy determines that there is no wireless network congestion state or a wireless channel congestion state, send the wireless network congestion state or the wireless channel congestion state to the wireless client and the server. The instruction is cancelled, and the wireless client and the server end continue to transmit data.
本发明提供的装置实施例的有益效果是: 通过在无线网络部署 TCP代理, 监测无线网 络及信道信息, 使在无线网络或信道拥塞时暂停无线端 TCP数据传输, 等无线网络拥塞消 除或信道阻塞消除后再以较高的数据传输率传输, 避免长时间在线以慢速率进行数据通信 引起电池迅速耗完, 从而达到节电的有益效果。 参见图 6, 本发明实施例提供了一种控制数据传输的方法, 所述方法包括:  The beneficial effects of the device embodiments provided by the present invention are: by deploying a TCP proxy in a wireless network, monitoring the wireless network and channel information, suspending wireless TCP data transmission when the wireless network or channel is congested, and the like, or eliminating wireless network congestion or channel blocking. After being eliminated, the data is transmitted at a higher data transmission rate, and the long-term online data communication at a slow rate is caused to cause the battery to be quickly exhausted, thereby achieving the beneficial effect of power saving. Referring to FIG. 6, an embodiment of the present invention provides a method for controlling data transmission, where the method includes:
401: 无线客户端获取部署传输控制协议 TCP的设备发送的无线网络拥塞状态或是无线 信道阻塞状态;  401: The wireless client acquires a wireless network congestion state or a wireless channel blocking state sent by a device that deploys a transmission control protocol TCP.
402: 在获取到所述无线网络拥塞状态或是无线信道阻塞状态后, 断开与所述部署 TCP 代理的设备的 TCP连接, 暂停与所述部署 TCP代理的设备的数据传输。  402: After obtaining the wireless network congestion state or the wireless channel blocking state, disconnect the TCP connection with the device deploying the TCP proxy, and suspend data transmission with the device deploying the TCP proxy.
其中, 无线客户端获取部署传输控制协议 TCP 的设备发送的无线网络拥塞状态或是无 线信道阻塞状态, 之后还包括: 记录应用上下文和断点信息。  The wireless client obtains a wireless network congestion state or a wireless channel congestion state sent by a device that deploys the Transmission Control Protocol (TCP), and then includes: recording an application context and a breakpoint information.
本实施例中, 所述方法还包括:  In this embodiment, the method further includes:
当接收到所述部署 TCP代理的设备发送的所述无线网络拥塞状态或是无线信道阻塞状 态消除指示后, 根据记录的所述应用的上下文和断点信息, 恢复与所述部署 TCP代理的设 备的 TCP连接。 本发明提供的方法实施例的有益效果是: 通过在无线网络部署 TCP代理, 监测无线网 络及信道信息, 使在无线网络或信道拥塞时, 无线客户端断开与部署 TCP代理的设备的 TCP 连接, 暂停数据传输, 等无线网络拥塞消除或信道阻塞消除后再以较高的数据传输率传输, 避免无线客户端长时间在线以慢速率进行数据通信引起电池迅速耗完, 从而达到节电的有 益效果。 参见图 7, 本发明实施例提供了一种无线客户端, 所述无线客户端包括: 获取模块 501 和断开模块 502。 After receiving the wireless network congestion status or the wireless channel blocking status cancellation indication sent by the device deploying the TCP proxy, restoring the device with the deployed TCP proxy according to the recorded context and breakpoint information of the application TCP connection. The beneficial effects of the method embodiments provided by the present invention are: monitoring the wireless network and channel information by deploying a TCP proxy in the wireless network, so that when the wireless network or channel is congested, the wireless client disconnects the TCP connection with the device deploying the TCP proxy. Suspension of data transmission, such as wireless network congestion elimination or channel congestion elimination, and then transmitted at a higher data transmission rate, avoiding the wireless client to communicate with the data at a slow rate for a long time, causing the battery to be quickly exhausted, thereby achieving power saving. Beneficial effect. Referring to FIG. 7, an embodiment of the present invention provides a wireless client, where the wireless client includes: an obtaining module 501 and a disconnecting module 502.
获取模块 501,用于获取部署传输控制协议 TCP的设备发送的无线网络拥塞状态或是无 线信道阻塞状态;  The obtaining module 501 is configured to obtain a wireless network congestion state or a wireless channel blocking state sent by a device that deploys the Transmission Control Protocol (TCP).
断开模块 502,用于在所述获取模块获取到所述无线网络拥塞状态或是无线信道阻塞状 态后, 断开与所述部署 TCP代理的设备的 TCP连接, 暂停无线客户端与所述部署 TCP代理 的设备的数据传输。  The disconnecting module 502 is configured to: after the acquiring module acquires the wireless network congestion state or the wireless channel blocking state, disconnect the TCP connection with the device deploying the TCP proxy, suspend the wireless client and the deployment Data transfer of TCP proxy devices.
参见图 8, 本发明实施例中, 所述无线客户端还包括:  Referring to FIG. 8, in the embodiment of the present invention, the wireless client further includes:
记录模块 503,用于在所述获取模块获取到所述无线网络拥塞状态或是无线信道阻塞状 态后, 记录应用上下文和断点信息。  The recording module 503 is configured to record the application context and the breakpoint information after the acquiring module acquires the wireless network congestion state or the wireless channel blocking state.
参见图 8, 无线客户端还包括:  Referring to Figure 8, the wireless client also includes:
恢复模块 504,用于当接收到所述部署 TCP代理的设备发送的所述无线网络拥塞状态或 是无线信道阻塞状态消除指示后, 根据所述记录模块记录的所述应用的上下文和断点信息, 恢复无线客户端与所述部署 TCP代理的设备的 TCP连接。  a recovery module 504, configured to: according to the context and breakpoint information of the application recorded by the recording module, after receiving the wireless network congestion state or the wireless channel blocking state cancellation indication sent by the device deploying the TCP proxy Recovering the TCP connection between the wireless client and the device deploying the TCP proxy.
具体的本实施例中的获取模块、 断开模块、 记录模块和恢复模块均可通过上述实施例 中配置的应用平台来实现。  The acquisition module, the disconnection module, the recording module, and the recovery module in the specific embodiment can be implemented by using the application platform configured in the foregoing embodiment.
本发明实施例提供了一种控制数据传输的系统, 所述系统包括: 如上所述的部署传输 控制协议 TCP的设备和本实施例提供的无线客户端。  The embodiment of the present invention provides a system for controlling data transmission, where the system includes: a device for deploying a transmission control protocol TCP as described above, and a wireless client provided by this embodiment.
本发明提供的装置实施例的有益效果是: 通过在无线网络部署 TCP代理, 监测无线网 络及信道信息, 使在无线网络或信道拥塞时, 无线客户端断开与部署 TCP代理的设备的 TCP 连接, 暂停数据传输, 等无线网络拥塞消除或信道阻塞消除后再以较高的数据传输率传输, 避免无线客户端长时间在线以慢速率进行数据通信引起电池迅速耗完, 从而达到节电的有 益效果。 参见图 9, 本发明实施例提供的一种控制数据传输的方法, 包括: 601: 无线客户端获取部署传输控制协议 TCP的设备发送的无线网络拥塞状态或是无线 信道阻塞状态; The beneficial effects of the device embodiments provided by the present invention are: monitoring the wireless network and channel information by deploying a TCP proxy in the wireless network, so that when the wireless network or channel is congested, the wireless client disconnects the TCP connection with the device deploying the TCP proxy. Suspension of data transmission, such as wireless network congestion elimination or channel congestion elimination, and then transmitted at a higher data transmission rate, avoiding the wireless client to communicate with the data at a slow rate for a long time, causing the battery to be quickly exhausted, thereby achieving power saving. Beneficial effect. Referring to FIG. 9, a method for controlling data transmission according to an embodiment of the present invention includes: 601: The wireless client acquires a wireless network congestion state or a wireless channel blocking state sent by a device that deploys a transmission control protocol TCP.
602: 在获取到所述无线网络拥塞状态或是无线信道阻塞状态后, 将所述无线网络拥塞 状态或是无线信道阻塞状态通知给所述无线客户端运行的应用, 使所述应用自动断开所述 无线客户端与所述部署 TCP代理的设备的 TCP连接, 暂停无线客户端与所述部署 TCP代理 的设备的数据传输。  602: After obtaining the wireless network congestion state or the wireless channel blocking state, notifying the wireless network congestion state or the wireless channel blocking state to an application running by the wireless client, so that the application is automatically disconnected. The TCP connection between the wireless client and the device deploying the TCP proxy suspends data transmission between the wireless client and the device deploying the TCP proxy.
进一步地, 本实施例中, 所述方法还包括:  Further, in this embodiment, the method further includes:
所述无线客户端获取所述部署 TCP 的设备发送的无线网络拥塞状态或是无线信道阻塞 状态消除指示;  The wireless client acquires a wireless network congestion status or a wireless channel blocking status cancellation indication sent by the device deploying the TCP;
在获取到所述无线网络拥塞状态或是无线信道阻塞状态消除指示后, 将所述无线网络 拥塞状态或是无线信道阻塞状态消除指示通知给所述应用, 使所述应用主动恢复所述无线 客户端与所述部署 TCP代理的设备的 TCP连接, 并恢复所述无线客户端与所述部署 TCP代 理的设备的数据传输。  After obtaining the wireless network congestion state or the wireless channel blocking state cancellation indication, notifying the wireless network congestion state or the wireless channel blocking state cancellation indication to the application, so that the application actively recovers the wireless client Ending a TCP connection with the device deploying the TCP proxy, and restoring data transmission between the wireless client and the device deploying the TCP proxy.
本发明提供的方法实施例的有益效果是: 通过在无线网络部署 TCP代理, 监测无线网 络及信道信息, 使在无线网络或信道拥塞时, 无线客户端断开与部署 TCP代理的设备的 TCP 连接, 暂停数据传输, 等无线网络拥塞消除或信道阻塞消除后再以较高的数据传输率传输, 避免无线客户端长时间在线以慢速率进行数据通信引起电池迅速耗完, 从而达到节电的有 益效果。 参见图 10, 本发明实施例提供了一种无线客户端, 所述无线客户端包括: 获取模块 701 和通知模块 702。  The beneficial effects of the method embodiments provided by the present invention are: monitoring the wireless network and channel information by deploying a TCP proxy in the wireless network, so that when the wireless network or channel is congested, the wireless client disconnects the TCP connection with the device deploying the TCP proxy. Suspension of data transmission, such as wireless network congestion elimination or channel congestion elimination, and then transmitted at a higher data transmission rate, avoiding the wireless client to communicate with the data at a slow rate for a long time, causing the battery to be quickly exhausted, thereby achieving power saving. Beneficial effect. Referring to FIG. 10, an embodiment of the present invention provides a wireless client, where the wireless client includes: an obtaining module 701 and a notification module 702.
第一获取模块 701,用于获取部署传输控制协议 TCP的设备发送的无线网络拥塞状态或 是无线信道阻塞状态;  The first obtaining module 701 is configured to obtain a wireless network congestion state sent by a device that deploys the Transmission Control Protocol (TCP) or a wireless channel congestion state.
第一通知模块 702,用于在所述第一获取模 701获取到所述无线网络拥塞状态或是无线 信道阻塞状态后, 将所述无线网络拥塞状态或是无线信道阻塞状态通知给无线客户端运行 的应用, 使所述应用自动暂停无线客户端与所述部署 TCP代理的设备的 TCP连接, 暂停所 述无线客户端与所述部署 TCP代理的设备的数据传输。  The first notification module 702 is configured to notify the wireless client of the wireless network congestion state or the wireless channel congestion state after the first acquisition mode 701 acquires the wireless network congestion state or the wireless channel congestion state. The running application causes the application to automatically suspend the TCP connection between the wireless client and the device deploying the TCP proxy, and suspend data transmission between the wireless client and the device deploying the TCP proxy.
参见图 11, 进一步地, 本实施例提供的无线客户端还包括:  Referring to FIG. 11, the wireless client provided in this embodiment further includes:
第二获取模 703,用于获取所述部署 TCP的设备发送的无线网络拥塞状态或是无线信道 阻塞状态消除指示;  a second acquisition mode 703, configured to acquire a wireless network congestion state or a wireless channel blocking state cancellation indication sent by the device deploying the TCP;
第二通知模块 704,用于在所述第二获取模块 703获取到所述无线网络拥塞状态或是无 线信道阻塞状态消除指示后, 将所述无线网络拥塞状态或是无线信道阻塞状态消除指示通 知给应用, 使所述应用主动恢复无线客户端与所述部署 TCP代理的设备的 TCP连接, 恢复 所述无线客户端与所述部署 TCP代理的设备的数据传输。 The second notification module 704 is configured to obtain, by the second obtaining module 703, the wireless network congestion state or none After the line channel blocking state is removed, the wireless network congestion state or the wireless channel blocking state cancellation indication is notified to the application, so that the application actively restores the TCP connection between the wireless client and the device deploying the TCP proxy, and restores the Data transmission between the wireless client and the device deploying the TCP proxy.
具体的本实施例中的获取模块和通知模块均可通过上述实施例中配置的应用平台来实 现, 且该应用平台为应用提供 API接口。  The obtaining module and the notification module in the specific embodiment can be implemented by using the application platform configured in the foregoing embodiment, and the application platform provides an API interface for the application.
本发明实施例提供了一种控制数据传输的系统, 所述系统包括: 如上所述的部署传输 控制协议 TCP的设备和本实施例提供的无线客户端。  The embodiment of the present invention provides a system for controlling data transmission, where the system includes: a device for deploying a transmission control protocol TCP as described above, and a wireless client provided by this embodiment.
本发明提供的装置实施例的有益效果是: 通过在无线网络部署 TCP代理, 监测无线网 络及信道信息, 使在无线网络或信道拥塞时, 无线客户端断开与部署 TCP代理的设备的 TCP 连接, 暂停数据传输, 等无线网络拥塞消除或信道阻塞消除后再以较高的数据传输率传输, 避免无线客户端长时间在线以慢速率进行数据通信引起电池迅速耗完, 从而达到节电的有 益效果。 本实施例提供的装置和系统, 具体可以与方法实施例属于同一构思, 其具体实现过程 详见方法实施例, 这里不再赘述。 本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完 成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储 介质中, 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。 以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  The beneficial effects of the device embodiments provided by the present invention are: monitoring the wireless network and channel information by deploying a TCP proxy in the wireless network, so that when the wireless network or channel is congested, the wireless client disconnects the TCP connection with the device deploying the TCP proxy. Suspension of data transmission, such as wireless network congestion elimination or channel congestion elimination, and then transmitted at a higher data transmission rate, avoiding the wireless client to communicate with the data at a slow rate for a long time, causing the battery to be quickly exhausted, thereby achieving power saving. Beneficial effect. The device and the system provided in this embodiment may be the same as the method embodiment, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again. A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Claims

权 利 要 求 书 Claim
1、 一种控制数据传输的方法, 其特征在于, 所述方法包括:  A method for controlling data transmission, the method comprising:
部署传输控制协议 TCP代理的设备判断是否存在无线网络拥塞状态或是无线信道阻塞状 如果存在无线网络拥塞状态或是无线信道阻塞状态, 则暂停与无线客户端的数据传输。  The device that deploys the Transmission Control Protocol TCP proxy determines whether there is a wireless network congestion state or a wireless channel congestion. If there is a wireless network congestion state or a wireless channel congestion state, the data transmission with the wireless client is suspended.
2、 根据权利要求 1所述的方法, 其特征在于, 如果无线基站向所述部署 TCP代理的设备 提供逻辑接口, 则所述部署 TCP代理的设备判断是否存在无线网络拥塞状态或是无线信道阻 塞状态, 包括: 2. The method according to claim 1, wherein if the wireless base station provides a logical interface to the device deploying the TCP proxy, the device deploying the TCP proxy determines whether there is a wireless network congestion state or a wireless channel congestion. Status, including:
通过所述逻辑接口获知所述基站提供的本地服务的小区的负载信息, 根据所述负载信息 判断无线网络是否处于拥塞状态; 或  Obtaining, by the logical interface, load information of a locally served cell provided by the base station, and determining, according to the load information, whether the wireless network is in a congestion state; or
通过所述逻辑接口获知所述基站提供的本地服务的用户的信道信噪比, 根据所述信道信 噪比判断无线信道是否处于阻塞状态。  And determining, by the logical interface, a channel signal to noise ratio of a user of the local service provided by the base station, and determining, according to the channel signal to noise ratio, whether the wireless channel is in a blocked state.
3、 根据权利要求 1所述的方法, 其特征在于, 如果无线基站未向所述部署 TCP代理的设 备提供逻辑接口, 则所述部署 TCP代理的设备判断是否存在无线网络拥塞状态或是无线信道 阻塞状态, 包括: 3. The method according to claim 1, wherein if the wireless base station does not provide a logical interface to the device deploying the TCP proxy, the device deploying the TCP proxy determines whether there is a wireless network congestion state or a wireless channel. Blocking status, including:
获知缓存的数据量或捕获重传超时, 根据所述缓存的数据量或捕获的重传超时判断无线 网络是否处于拥塞状态; 或  Obtaining the amount of cached data or capturing a retransmission timeout, and determining whether the wireless network is in a congested state according to the buffered data amount or the captured retransmission timeout; or
获知无线传输速率或丢包率, 根据所述无线传输速率或丢包率判断无线信道是否处于阻 塞状态。  The wireless transmission rate or the packet loss rate is known, and whether the wireless channel is in a blocked state is determined according to the wireless transmission rate or the packet loss rate.
4、 根据权利要求 1-3任一项所述的方法, 其特征在于, 所述暂停与无线客户端的数据传 输, 包括: The method according to any one of claims 1-3, wherein the suspending data transmission with the wireless client comprises:
如果所述 TCP代理为增强的传输控制协议 ETCP, 则向无线客户端发送 ETCP 暂停消息, 挂起与所述无线客户端的 ETCP连接, 暂停与所述无线客户端的数据传输; 或  If the TCP proxy is an enhanced transport control protocol ETCP, sending an ETCP pause message to the wireless client, suspending an ETCP connection with the wireless client, and suspending data transmission with the wireless client; or
周期性的向所述无线客户端发送保持连接探测包,并暂停与所述无线客户端的数据传输, 所述探测包用于维持与所述无线客户端的 TCP连接。 Periodically transmitting a keep-alive probe packet to the wireless client and suspending data transmission with the wireless client, the probe packet being used to maintain a TCP connection with the wireless client.
5、 根据权利要求 1-3任一项所述的方法, 其特征在于, 所述暂停与无线客户端的数据传 输, 包括- 将所述无线网络拥塞状态或是无线信道阻塞状态通知给无线客户端, 使所述无线客户端 断开与所述部署 TCP代理的设备的 TCP连接, 暂停与所述部署 TCP代理的设备的数据传输。 The method according to any one of claims 1-3, wherein the suspending data transmission with the wireless client comprises: notifying the wireless network congestion status or the wireless channel blocking status to the wireless client And causing the wireless client to disconnect the TCP connection with the device deploying the TCP proxy, and suspending data transmission with the device deploying the TCP proxy.
6、 根据权利要求 5所述的方法, 其特征在于, 所述将所述无线网络拥塞状态或是无线信 道阻塞状态通知给无线客户端之前, 还包括: 在所述无线客户端上设置应用平台; The method according to claim 5, wherein before the notifying the wireless network congestion state or the wireless channel blocking state to the wireless client, the method further includes: setting an application platform on the wireless client ;
则所述将所述无线网络拥塞状态或是无线信道阻塞状态通知给所述无线客户端, 使所述 无线客户端断开与所述部署 TCP代理的设备的 TCP连接, 暂停与所述部署 TCP代理的设备的 数据传输, 包括:  Transmitting the wireless network congestion state or the wireless channel blocking state to the wireless client, causing the wireless client to disconnect the TCP connection with the device deploying the TCP proxy, suspending the deployment of the TCP Data transfer of the agent's device, including:
将所述无线网络拥塞状态或是无线信道阻塞状态通知给所述无线客户端, 使所述应用平 台获取所述无线网络拥塞状态或是无线信道阻塞状态, 并断开与所述部署 TCP代理的设备的 TCP连接, 暂停与所述部署 TCP代理的设备的数据传输; 或  Notifying the wireless client of the wireless network congestion state or the wireless channel blocking state, causing the application platform to acquire the wireless network congestion state or the wireless channel blocking state, and disconnecting from the deployed TCP proxy a TCP connection of the device, suspending data transmission with the device deploying the TCP proxy; or
将所述无线网络拥塞状态或是无线信道阻塞状态通知给所述无线客户端, 由所述应用平 台提供应用编程接口 API, 使所述应用平台通过所述 API通知所述无线客户端运行的应用所 述无线网络拥塞状态或是无线信道阻塞状态, 使所述应用自动暂停与所述部署 TCP代理的设 备的数据传输。  Notifying the wireless client of the wireless network congestion state or the wireless channel blocking state, where the application platform provides an application programming interface API, so that the application platform notifies the wireless client to run the application through the API The wireless network congestion state or the wireless channel blocking state causes the application to automatically suspend data transmission with the device deploying the TCP proxy.
7、 根据权利要求 1-6任一项所述的方法, 其特征在于, 如果存在无线网络拥塞状态或是 无线信道阻塞状态, 则所述方法还包括: The method according to any one of claims 1-6, wherein, if there is a wireless network congestion state or a wireless channel congestion state, the method further includes:
如果所述 TCP代理为 ETCP, 则向所述服务器端发送 ETCP 暂停消息, 挂起与所述服务器 端的 ETCP连接, 暂停与所述服务器端的数据传输; 或  If the TCP proxy is ETCP, sending an ETCP pause message to the server, suspending an ETCP connection with the server, and suspending data transmission with the server; or
通过预设的接收窗口接收所述服务器端以预设的发送速率发送的数据, 以保持与所述服 务器端的 TCP连接; 所述预设的接收窗口用于控制所述服务器端预设的发送速率; 或  Receiving, by the preset receiving window, data sent by the server at a preset sending rate to maintain a TCP connection with the server; the preset receiving window is configured to control a preset sending rate of the server ; or
将接收所述服务器端发送的数据的接收窗口设为 0,使所述服务器端暂停与所述部署 TCP 代理的设备的数据传输, 监测所述服务器端下发的接收窗口探测包, 并返回正确应答 ACK保 持与所述服务器端的 TCP连接; 如果没有检测到所述服务器端下发的接收窗口探测包, 周期 性向所述服务器端发送探测包以保持与所述服务器端的 TCP连接。  Setting the receiving window of the data sent by the server to 0, causing the server to suspend data transmission with the device deploying the TCP proxy, and monitoring the receiving window detection packet sent by the server, and returning correctly The response ACK maintains a TCP connection with the server; if the receiving window probe packet sent by the server is not detected, the probe packet is periodically sent to the server to maintain a TCP connection with the server.
8、 根据权利要求 1-7任一项所述的方法, 其特征在于, 所述方法还包括: 当所述部署 TCP代理的设备判断出不存在无线网络拥塞状态或是无线信道阻塞状态时, 向所述无线客户端和服务器端发送所述无线网络拥塞状态或是无线信道阻塞状态取消指示, 使所述无线客户端和所述服务器端继续进行数据的传输。 The method according to any one of claims 1 to 7, wherein the method further comprises: When the device deploying the TCP proxy determines that there is no wireless network congestion state or a wireless channel congestion state, sending the wireless network congestion state or the wireless channel blocking state cancellation indication to the wireless client and the server end, so that The wireless client and the server end continue to transmit data.
9、 一种部署传输控制协议 TCP代理的设备, 其特征在于, 所述设备包括- 判断模块, 用于判断是否存在无线网络拥塞状态或是无线信道阻塞状态; A device for deploying a transmission control protocol TCP proxy, wherein the device includes: a determining module, configured to determine whether a wireless network congestion state or a wireless channel congestion state exists;
处理模块, 用于如果所述判断模块的判断结果为是, 则暂停部署 TCP代理的设备与无线 客户端的数据传输。  And a processing module, configured to suspend data transmission between the device deploying the TCP proxy and the wireless client if the determination result of the determining module is yes.
10、 根据权利要求 9所述的设备, 其特征在于, 所述判断模块, 包括: The device according to claim 9, wherein the determining module comprises:
第一判断单元, 用于如果无线基站向所述部署 TCP代理的设备提供逻辑接口, 则通过所 述逻辑接口获知所述基站提供的本地服务的小区的负载信息, 根据所述负载信息判断无线网 络是否处于拥塞状态; 或  a first determining unit, configured to: if a wireless base station provides a logical interface to the device that deploys the TCP proxy, obtain, by using the logical interface, load information of a locally served cell provided by the base station, and determine a wireless network according to the load information. Whether it is in a state of congestion; or
第二判断单元, 用于如果无线基站向所述部署 TCP代理的设备提供逻辑接口, 则通过所 述接口获知所述基站提供的本地服务的用户的信道信噪比, 根据所述信道信噪比判断无线信 道是否处于阻塞状态。  a second determining unit, configured to: if the wireless base station provides a logical interface to the device that deploys the TCP proxy, obtain, by using the interface, a channel signal to noise ratio of a user that is locally served by the base station, according to the channel signal to noise ratio Determine if the wireless channel is in a blocked state.
11、 根据权利要求 9所述的设备, 其特征在于, 所述判断模块, 包括: The device according to claim 9, wherein the determining module comprises:
第三判断单元, 用于如果无线基站未向所述部署 TCP代理的设备提供逻辑接口, 则获知 缓存的数据量或捕获重传超时, 根据所述缓存的数据量或捕获的重传超时判断无线网络是否 处于拥塞状态; 或  a third determining unit, configured to: if the wireless base station does not provide a logical interface to the device that deploys the TCP proxy, obtain a buffered data volume or a capture retransmission timeout, and determine the wireless according to the cached data volume or the captured retransmission timeout. Whether the network is in a congested state; or
第四判断单元, 用于如果无线基站未向所述部署 TCP代理的设备提供逻辑接口, 则获知 无线传输速率或丢包率, 根据所述无线传输速率或丢包率判断无线信道是否处于阻塞状态。  a fourth determining unit, configured to: if the wireless base station does not provide a logical interface to the device that deploys the TCP proxy, obtain a wireless transmission rate or a packet loss rate, and determine, according to the wireless transmission rate or the packet loss rate, whether the wireless channel is in a blocked state. .
12、 根据权利要求 9-11任一项所述的设备, 其特征在于, 所述处理模块, 包括: 第一发送单元, 用于如果所述 TCP代理为增强的传输控制协议 ETCP, 则向所述无线客户 端发送 ETCP暂停消息, 挂起与所述无线客户端的 ETCP连接, 暂停与所述无线客户端的数据 传输; 或 The device according to any one of claims 9 to 11, wherein the processing module comprises: a first sending unit, configured to: if the TCP proxy is an enhanced transmission control protocol ETCP, The wireless client sends an ETCP pause message, suspends an ETCP connection with the wireless client, and suspends data transmission with the wireless client; or
第二发送单元, 用于周期性的向所述无线客户端发送保持连接探测包, 并暂停与所述无 线客户端的数据传输, 所述探测包用于维持与所述无线客户端的 TCP连接。 And a second sending unit, configured to periodically send a keep-alive probe packet to the wireless client, and suspend data transmission with the wireless client, where the probe packet is used to maintain a TCP connection with the wireless client.
13、 根据权利要求 9-11任一项所述的设备, 其特征在于, 所述处理模块还包括: 第三发送单元, 用于如果所述判断模块的判断结果为是, 则将所述无线网络拥塞状态或 是无线信道阻塞状态通知给无线客户端, 使所述无线客户端断开与所述部署 TCP代理的设备 的 TCP连接, 暂停与所述部署 TCP代理的设备的数据传输。 The device according to any one of claims 9 to 11, wherein the processing module further includes: a third sending unit, configured to: if the determining result of the determining module is yes, the wireless The network congestion state or the wireless channel blocking state is notified to the wireless client, causing the wireless client to disconnect the TCP connection with the device deploying the TCP proxy, and suspending data transmission with the device deploying the TCP proxy.
14、 根据权利要求 9-13任一项所述的设备, 其特征在于, 所述处理模块还包括: 第四发送单元, 用于如果所述判断模块的判断结果为是, 且如果所述 TCP代理为 ETCP, 则向所述服务器端发送 ETCP暂停消息, 挂起与所述服务器端的 ETCP连接, 暂停与所述服务 器端的数据传输; 或 The device according to any one of claims 9 to 13, wherein the processing module further comprises: a fourth sending unit, configured to: if the judgment result of the determining module is yes, and if the TCP If the proxy is ETCP, send an ETCP pause message to the server, suspend the ETCP connection with the server, and suspend data transmission with the server; or
第五发送单元, 用于如果所述判断模块的判断结果为是, 则通过预设的接收窗口接收所 述服务器端以预设的发送速率发送的数据, 从而保持与所述服务器端的 TCP连接; 所述预设 的接收窗口用于控制所述服务器端预设的发送速率; 或  a fifth sending unit, configured to: if the determining result of the determining module is yes, receive data sent by the server at a preset sending rate through a preset receiving window, thereby maintaining a TCP connection with the server end; The preset receiving window is used to control a preset sending rate of the server; or
第六发送单元, 用于如果所述判断模块的判断结果为是, 将接收所述服务器端发送的数 据的接收窗口设为 0, 使所述服务器端暂停与所述部署 TCP代理的设备的数据传输, 监测所 述服务器端下发的接收窗口探测包, 并返回正确应答 ACK保持与所述服务器端的 TCP连接; 如果没有检测到所述服务器端下发的接收窗口探测包, 周期性向所述服务器端发送探测包以 保持与所述服务器端的 TCP连接。  a sixth sending unit, configured to: if the determination result of the determining module is yes, set a receiving window of the data sent by the server to 0, and cause the server to pause data of the device that deploys the TCP proxy Transmitting, monitoring the receiving window detection packet sent by the server, and returning a correct response ACK to maintain a TCP connection with the server; if the receiving window detection packet sent by the server is not detected, periodically reporting to the server The probe sends a probe packet to maintain a TCP connection with the server.
15、 根据权利要求 9-14任一项所述的设备, 其特征在于, 所述设备还包括: 发送模块, 用于当所述部署 TCP代理的设备判断出不存在无线网络拥塞状态或是无线信 道阻塞状态时, 向所述无线客户端和服务器端发送所述无线网络拥塞状态或是无线信道阻塞 状态取消指示, 使所述无线客户端和所述服务器端继续进行数据的传输。 The device according to any one of claims 9 to 14, wherein the device further comprises: a sending module, configured to: when the device deploying the TCP proxy determines that there is no wireless network congestion state or wireless When the channel is blocked, the wireless network congestion state or the wireless channel blocking state cancellation indication is sent to the wireless client and the server, so that the wireless client and the server end continue to transmit data.
16、 一种控制数据传输的方法, 其特征在于, 所述方法包括: 16. A method of controlling data transmission, the method comprising:
无线客户端获取部署传输控制协议 TCP的设备发送的无线网络拥塞状态或是无线信道阻 塞状态;  The wireless client acquires a wireless network congestion state or a wireless channel blocking state sent by a device deploying a Transmission Control Protocol (TCP);
在获取到所述无线网络拥塞状态或是无线信道阻塞状态后, 断开与所述部署 TCP代理的 设备的 TCP连接, 暂停与所述部署 TCP代理的设备的数据传输。 After obtaining the wireless network congestion state or the wireless channel congestion state, disconnecting the TCP connection with the device deploying the TCP proxy, and suspending data transmission with the device deploying the TCP proxy.
17、 根据权利要求 16所述的方法, 其特征在于, 所述无线客户端获取部署传输控制协议 TCP的设备发送的无线网络拥塞状态或是无线信道阻塞状态, 之后还包括: The method according to claim 16, wherein the wireless client acquires a wireless network congestion state or a wireless channel congestion state sent by a device that deploys the Transmission Control Protocol (TCP), and then includes:
记录应用上下文和断点信息。  Record application context and breakpoint information.
18、 根据权利要求 17所述的方法, 其特征在于, 所述方法还包括: The method according to claim 17, wherein the method further comprises:
当接收到所述部署 TCP代理的设备发送的所述无线网络拥塞状态或是无线信道阻塞状态 消除指示后, 根据记录的所述应用的上下文和断点信息, 恢复与所述部署 TCP代理的设备的 TCP连接。  After receiving the wireless network congestion status or the wireless channel blocking status cancellation indication sent by the device deploying the TCP proxy, restoring the device with the deployed TCP proxy according to the recorded context and breakpoint information of the application TCP connection.
19、 一种无线客户端, 其特征在于, 所述无线客户端包括: A wireless client, wherein the wireless client comprises:
获取模块, 用于获取部署传输控制协议 TCP的设备发送的无线网络拥塞状态或是无线信 道阻塞状态;  An obtaining module, configured to obtain a wireless network congestion state or a wireless channel blocking state sent by a device that deploys a transmission control protocol TCP;
断开模块,用于在所述获取模块获取到所述无线网络拥塞状态或是无线信道阻塞状态后, 断开与所述部署 TCP代理的设备的 TCP连接, 暂停无线客户端与所述部署 TCP代理的设备的 数据传输。  a disconnecting module, configured to: after the obtaining module acquires the wireless network congestion state or the wireless channel blocking state, disconnect the TCP connection with the device deploying the TCP proxy, suspend the wireless client, and deploy the TCP Data transfer of the agent's device.
20、 根据权利要求 19所述的无线客户端, 其特征在于, 所述无线客户端还包括: 记录模块,用于在所述获取模块获取到所述无线网络拥塞状态或是无线信道阻塞状态后, 记录应用上下文和断点信息。 The wireless client according to claim 19, wherein the wireless client further comprises: a recording module, configured to: after the acquiring module acquires the wireless network congestion state or the wireless channel blocking state, , record application context and breakpoint information.
21、 根据权利要求 20所述的无线客户端, 其特征在于, 所述无线客户端还包括: 恢复模块, 用于当接收到所述部署 TCP代理的设备发送的所述无线网络拥塞状态或是无 线信道阻塞状态消除指示后, 根据所述记录模块记录的所述应用的上下文和断点信息, 恢复 所述无线客户端与所述部署 TCP代理的设备的 TCP连接。 The wireless client according to claim 20, wherein the wireless client further comprises: a recovery module, configured to receive the wireless network congestion status sent by the device deploying the TCP proxy, or After the wireless channel blocking state is removed, the TCP connection of the wireless client and the device deploying the TCP proxy is restored according to the context and breakpoint information of the application recorded by the recording module.
22、 一种控制数据传输的方法, 其特征在于, 所述方法包括: 22. A method of controlling data transmission, the method comprising:
无线客户端获取部署传输控制协议 TCP的设备发送的无线网络拥塞状态或是无线信道阻 塞状态;  The wireless client acquires a wireless network congestion state or a wireless channel blocking state sent by a device deploying a Transmission Control Protocol (TCP);
在获取到所述无线网络拥塞状态或是无线信道阻塞状态后, 将所述无线网络拥塞状态或 是无线信道阻塞状态通知给所述无线客户端运行的应用, 使所述应用自动断开所述无线客户 端与所述部署 TCP代理的设备的 TCP连接, 暂停无线客户端与所述部署 TCP代理的设备的数 据传输。 After obtaining the wireless network congestion state or the wireless channel congestion state, notifying the wireless network congestion state or the wireless channel blocking state to an application running by the wireless client, so that the application automatically disconnects the Wireless customer Ending a TCP connection with the device deploying the TCP proxy, suspending data transmission between the wireless client and the device deploying the TCP proxy.
23、 根据权利要求 22所述的方法, 其特征在于, 所述方法还包括: The method according to claim 22, wherein the method further comprises:
所述无线客户端获取所述部署 TCP的设备发送的无线网络拥塞状态或是无线信道阻塞状 态消除指示;  Obtaining, by the wireless client, a wireless network congestion status or a wireless channel blocking status cancellation indication sent by the device deploying TCP;
在获取到所述无线网络拥塞状态或是无线信道阻塞状态消除指示后, 将所述无线网络拥 塞状态或是无线信道阻塞状态消除指示通知给所述应用, 使所述应用主动恢复所述无线客户 端与所述部署 TCP代理的设备的 TCP连接, 并恢复所述无线客户端与所述部署 TCP代理的设 备的数据传输。  After obtaining the wireless network congestion state or the wireless channel blocking state cancellation indication, notifying the wireless network congestion state or the wireless channel blocking state cancellation indication to the application, so that the application actively recovers the wireless client Ending a TCP connection with the device deploying the TCP proxy, and restoring data transmission between the wireless client and the device deploying the TCP proxy.
24、 一种无线客户端, 其特征在于, 所述无线客户端包括: 24. A wireless client, wherein the wireless client comprises:
第一获取模块, 用于获取部署传输控制协议 TCP的设备发送的无线网络拥塞状态或是无 线信道阻塞状态;  a first acquiring module, configured to acquire a wireless network congestion state or a wireless channel blocking state sent by a device that deploys a transmission control protocol TCP;
第一通知模块, 用于在所述第一获取模块获取到所述无线网络拥塞状态或是无线信道阻 塞状态后, 将所述无线网络拥塞状态或是无线信道阻塞状态通知给无线客户端运行的应用, 使所述应用自动暂停所述无线客户端与所述部署 TCP代理的设备的 TCP连接, 暂停所述无线 客户端与所述部署 TCP代理的设备的数据传输。  a first notification module, configured to notify the wireless client of the wireless network congestion state or the wireless channel congestion state after the first acquisition module acquires the wireless network congestion state or the wireless channel congestion state And causing the application to automatically suspend the wireless connection between the wireless client and the device deploying the TCP proxy, and suspending data transmission between the wireless client and the device deploying the TCP proxy.
25、 根据权利要求 24所述的无线客户端, 其特征在于, 所述无线客户端还包括: 第二获取模块, 用于获取所述部署 TCP的设备发送的无线网络拥塞状态或是无线信道阻 塞状态消除指示; The wireless client according to claim 24, wherein the wireless client further comprises: a second obtaining module, configured to acquire a wireless network congestion state or a wireless channel blocking sent by the device deploying the TCP State cancellation indication;
第二通知模块, 用于在所述第二获取模块获取到所述无线网络拥塞状态或是无线信道阻 塞状态消除指示后, 将所述无线网络拥塞状态或是无线信道阻塞状态消除指示通知给所述应 用, 使所述应用主动恢复所述无线客户端与所述部署 TCP代理的设备的 TCP连接, 恢复所述 无线客户端与所述部署 TCP代理的设备的数据传输。  a second notification module, configured to notify the wireless network congestion state or the wireless channel blocking state cancellation indication to the second acquisition module after acquiring the wireless network congestion state or the wireless channel blocking state cancellation indication The application enables the application to actively restore the TCP connection between the wireless client and the device deploying the TCP proxy, and restore data transmission between the wireless client and the device deploying the TCP proxy.
26、 一种控制数据传输的系统, 其特征在于, 所述系统包括: 如权利要求 9-15任一项所 述的部署传输控制协议 TCP的设备和如权利要求 19-21任一项所述的无线客户端。 A system for controlling data transmission, the system comprising: the apparatus for deploying a transmission control protocol TCP according to any one of claims 9-15, and the apparatus of any one of claims 19-21 Wireless client.
27、 一种控制数据传输的系统, 其特征在于, 所述系统包括: 如权利要求 9-15任一项所 述的部署传输控制协议 TCP的设备和如权利要求 24-25任一项所述的无线客户端。 A system for controlling data transmission, the system comprising: the apparatus for deploying a transmission control protocol TCP according to any one of claims 9-15, and the apparatus of any one of claims 24-25 Wireless client.
PCT/CN2011/079108 2011-08-30 2011-08-30 Method, apparatus and system for controlling data transmission WO2012162968A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201180001768.5A CN103098510B (en) 2011-08-30 2011-08-30 The methods, devices and systems of control data transmission
PCT/CN2011/079108 WO2012162968A1 (en) 2011-08-30 2011-08-30 Method, apparatus and system for controlling data transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/079108 WO2012162968A1 (en) 2011-08-30 2011-08-30 Method, apparatus and system for controlling data transmission

Publications (1)

Publication Number Publication Date
WO2012162968A1 true WO2012162968A1 (en) 2012-12-06

Family

ID=47258304

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/079108 WO2012162968A1 (en) 2011-08-30 2011-08-30 Method, apparatus and system for controlling data transmission

Country Status (2)

Country Link
CN (1) CN103098510B (en)
WO (1) WO2012162968A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112910658A (en) * 2021-02-02 2021-06-04 刘玉 Data packet transmission method and device for providing TCP proxy service

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106612282B (en) * 2016-12-26 2020-06-26 努比亚技术有限公司 Network access limiting device and method
CN112752295A (en) * 2019-10-30 2021-05-04 中国电信股份有限公司 Method for supporting dynamic HARQ feedback, receiving device and communication system
CN116566914B (en) * 2023-07-07 2023-09-19 灵长智能科技(杭州)有限公司 Bypass TCP acceleration method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1759542A (en) * 2003-03-14 2006-04-12 摩托罗拉公司 Method and apparatus for providing deferrable data services in a cellular communication system
CN1780465A (en) * 2004-11-18 2006-05-31 华为技术有限公司 Overload congestion controlling method
CN1842080A (en) * 2005-03-29 2006-10-04 华为技术有限公司 Method for adjusting transmission control protocol receive window
CN102025617A (en) * 2010-11-26 2011-04-20 中兴通讯股份有限公司 Method and device for controlling congestion of Ethernet
CN102104908A (en) * 2011-01-18 2011-06-22 华为技术有限公司 Data transmission control method and equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6208620B1 (en) * 1999-08-02 2001-03-27 Nortel Networks Corporation TCP-aware agent sublayer (TAS) for robust TCP over wireless
CN101001240B (en) * 2006-01-13 2013-05-08 清华大学 Transmission control method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1759542A (en) * 2003-03-14 2006-04-12 摩托罗拉公司 Method and apparatus for providing deferrable data services in a cellular communication system
CN1780465A (en) * 2004-11-18 2006-05-31 华为技术有限公司 Overload congestion controlling method
CN1842080A (en) * 2005-03-29 2006-10-04 华为技术有限公司 Method for adjusting transmission control protocol receive window
CN102025617A (en) * 2010-11-26 2011-04-20 中兴通讯股份有限公司 Method and device for controlling congestion of Ethernet
CN102104908A (en) * 2011-01-18 2011-06-22 华为技术有限公司 Data transmission control method and equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112910658A (en) * 2021-02-02 2021-06-04 刘玉 Data packet transmission method and device for providing TCP proxy service
CN112910658B (en) * 2021-02-02 2022-07-12 刘玉 Data packet transmission method and device for providing TCP proxy service

Also Published As

Publication number Publication date
CN103098510A (en) 2013-05-08
CN103098510B (en) 2017-06-27

Similar Documents

Publication Publication Date Title
JP5703410B2 (en) User device hibernation
EP2524478B1 (en) Explicit congestion notification based rate adaptation using binary marking in communication systems
JP5856300B2 (en) Method and apparatus for coordinating TCP RTO when passing through a zone with high wireless connectivity
JP5185391B2 (en) Efficient flow control in radio network controller (RNC)
EP2875664B1 (en) Higher layer compression with lower layer signaling
JP2020502873A (en) Packet transmitting method and apparatus, chip, and terminal
Tsao et al. On effectively exploiting multiple wireless interfaces in mobile hosts
WO2008032750A1 (en) Communication device
US10205559B2 (en) System and method for increasing network efficiency using dynamic repeat requests adjustment
US9510285B2 (en) User device dormancy
WO2011113378A2 (en) Method and apparatus for recovering memory of user-plane buffer
WO2017118012A1 (en) Data transmission method, apparatus and system
WO2012162968A1 (en) Method, apparatus and system for controlling data transmission
US11528345B2 (en) Data transmission method and system, and apparatus
WO2016106561A1 (en) Message reporting apparatus and method as well as data sending apparatus and method
WO2022257416A9 (en) Communication method and communication apparatus
CN113810476A (en) Signaling safety transmission method and device for industrial internet
WO2023098993A1 (en) Early acknowledgement for data transmitted from wireless device
Oulmahdi et al. Energy saving mechanisms on high communication layers

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180001768.5

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11867047

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11867047

Country of ref document: EP

Kind code of ref document: A1