MODIFYING SYSTEM TIMERS FOR OPTIMIZING MOBILE TRAFFIC MANAGEMENT
Systems and methods for optimizing mobile traffic management are disclosed. In a mobile device, network stack timers or protocol stack timers are modified to extend delay tolerance of applications for radio alignment. In an embodiment, using a variable gating delay, that takes into consideration the delay tolerance of applications that is extended and other information such as radio state information, are used to align and transfer outgoing traffic from multiple applications to one or more application servers, receive requests and/or responses from one or more application servers or a carrier-side proxy server to minimize the number of times the mobile device connects to the network, reducing the power consumption on the mobile device and unnecessary signaling in the network.
1 . A method for optimizing mobile traffic at a mobile device, comprising:
identifying or detecting data streams to increase delay tolerance;
applying a variable gating delay to the data streams;
sending the data streams at the end of the variable gating delay; and
wherein, the data streams include non-user interactive traffic.
2 . The method of claim 1 , wherein the delay tolerance is increased by modifying one or more timers associated with establishing a socket connection.
3 . The method of claim 1 , wherein the delay tolerance is increased by modifying one or more timers associated with reading from an already established socket connection.
4 . The method of claim 1 , wherein the delay tolerance is increased by modifying timers specific to protocols associated with the data streams.
5 . The method of claim 1 , wherein the delay tolerance that is increased prevents timeout exceptions from being triggered when the variable gating delay is applied to the data streams.
6 . The method of claim 1 , wherein the variable gating delay is determined based on the delay tolerance that is increased and occurrence of a radio state promotion event.
7 . The method of claim 1 , wherein the variable gating delay is determined by the delay tolerance that is increased and detection of user-interactive traffic.
8 . The method of claim 1 , wherein the variable gating delay is determined by the delay tolerance that is increased and a screen of the mobile device turning on.
9 . The method of claim 1 , wherein the variable gating delay is set by a local proxy on the mobile device.
10 . The method of claim 1 , wherein the variable gating delay is determined by a local proxy on the mobile device based on a policy at run time.
11 . The method of claim 1 , wherein one or more applications from where the non-user interactive traffic originates from are transparent to the delay tolerance that is increased and applying of the variable gating delay.
12 . A mobile device for optimizing mobile traffic, comprising:
a radio;
wherein the mobile device is configured to:
modify system timers to increase tolerance to delay in establishing a connection to the wireless network;
intercept requests to establish a connection to a wireless network, wherein the requests correspond to non-user interactive traffic;
accumulate the requests that are intercepted over a period of time; and
transfer the requests that are accumulated over the wireless network at the end of the period of time.
13 . The mobile device of claim 12 , wherein the tolerance to delay is increased by modifying one or more timeouts associated with establishing a socket connection.
14 . The mobile device of claim 12 , wherein the delay tolerance is increased by modifying one or more timeouts associated with reading from an already established socket connection.
15 . The mobile device of claim 12 , wherein the delay tolerance is increased by modifying timeouts specific to one or more protocols associated with the requests.
16 . The mobile device of claim 12 , wherein the tolerance to delay that is increased prevents one or more applications that initiated the requests from timing out during the period of time the requests are accumulated.
17 . The mobile device of claim 13 , wherein the period of time is a predefined duration determined based on the tolerance to delay that is increased.
18 . The mobile device of claim 17 , wherein the transfer of the requests that are accumulated is triggered when a screen of the mobile device is turned on or when a user-interactive traffic is detected.
19 . The mobile device of claim 12 , wherein the period of time is determined by a local proxy on the mobile device.
20 . The mobile device of claim 12 , wherein the period of time is determined at run time based on a screen on/off policy, wherein the period of time is of shorter duration when a screen of the mobile device is on than when the screen of the mobile device is off.
21 . The mobile device of claim 12 , wherein applications from where the non-user interactive traffic originates from are transparent to the tolerance to delay that is increased and accumulation of the requests over the period of time.
22 . A computer-readable storage medium storing instructions that when executed by a processor, causes the processor to:
intercept requests from mobile applications on a mobile device;
modify system timers to extend delay tolerance impacting the mobile applications; and
bundle the requests that are intercepted for radio alignment.
23 . The medium of claim 22 , further comprising instructions to:
transfer the bundled requests at the next radio event.
24 . The medium of claim 22 , wherein the delay tolerance impacting the mobile applications is extended in an application-unaware manner.
25 . The medium of claim 22 , wherein the system timers include at least one of protocol-specific timers or network stack timers.
26 . The medium of claim 25 , wherein the protocol-specific timers are specific to protocols associated with the mobile applications.
27 . The medium of claim 26 , wherein the protocols include HTTP, HTTPS or XMPP protocols.
28 . The medium of claim 25 , wherein the network stack timers are associated with Transport Control Protocol (TCP) or User Datagram Protocol (UDP) stacks.
29 . The medium of claim 23 , wherein the next radio event occurs when a screen of the mobile device is turned on or when a predefined period of time ends.
30 . A system for optimizing mobile traffic at a mobile device, comprising:
means for identifying or detecting data streams to increase delay tolerance;
means for applying a variable gating delay to the data streams; and
means for sending the data streams at the end of the variable gating delay;
wherein, the data streams include non-user interactive traffic.