U.S. patent application number 14/748218 was filed with the patent office on 2015-10-15 for mobile traffic optimization and coordination and user experience enhancement.
The applicant listed for this patent is Seven Networks, Inc.. Invention is credited to Ari Backholm, Michael Luna.
Application Number | 20150296505 14/748218 |
Document ID | / |
Family ID | 45494461 |
Filed Date | 2015-10-15 |
United States Patent
Application |
20150296505 |
Kind Code |
A1 |
Luna; Michael ; et
al. |
October 15, 2015 |
Mobile traffic optimization and coordination and user experience
enhancement
Abstract
A method of optimizing traffic on a mobile device includes
determining an activity state of a mobile device based on sensed
motion of the mobile device and optimizing traffic at the mobile
device based on the sensed motion of the mobile device.
Inventors: |
Luna; Michael; (San Carlos,
CA) ; Backholm; Ari; (San Carlos, CA) |
|
Applicant: |
Name |
City |
State |
Country |
Type |
Seven Networks, Inc. |
San Carlos |
CA |
US |
|
|
Family ID: |
45494461 |
Appl. No.: |
14/748218 |
Filed: |
June 23, 2015 |
Related U.S. Patent Documents
|
|
|
|
|
|
Application
Number |
Filing Date |
Patent Number |
|
|
13115740 |
May 25, 2011 |
|
|
|
14748218 |
|
|
|
|
61416033 |
Nov 22, 2010 |
|
|
|
61416020 |
Nov 22, 2010 |
|
|
|
61408846 |
Nov 1, 2010 |
|
|
|
61408854 |
Nov 1, 2010 |
|
|
|
61408858 |
Nov 1, 2010 |
|
|
|
61408829 |
Nov 1, 2010 |
|
|
|
61408826 |
Nov 1, 2010 |
|
|
|
61408820 |
Nov 1, 2010 |
|
|
|
61408839 |
Nov 1, 2010 |
|
|
|
61367870 |
Jul 26, 2010 |
|
|
|
61367871 |
Jul 26, 2010 |
|
|
|
61430828 |
Jan 7, 2011 |
|
|
|
Current U.S.
Class: |
370/329 |
Current CPC
Class: |
H04L 67/1095 20130101;
H04W 72/048 20130101; H04L 67/289 20130101; H04W 24/02 20130101;
H04L 67/2847 20130101; H04L 67/2842 20130101; H04W 52/0254
20130101; H04M 3/42178 20130101; H04L 67/2833 20130101; H04L 67/28
20130101; H04L 67/325 20130101; H04W 4/18 20130101; H04L 67/06
20130101; H04L 67/2819 20130101; H04L 67/32 20130101; Y02D 30/70
20200801 |
International
Class: |
H04W 72/04 20060101
H04W072/04; H04W 24/02 20060101 H04W024/02 |
Claims
1. A method of optimizing traffic on a mobile device, comprising:
determining an activity state of a mobile device based on sensed
motion of the mobile device; and optimizing traffic at the mobile
device based on the sensed motion of the mobile device.
Description
CLAIM OF PRIORITY
[0001] This application claims priority to U.S. patent application
Ser. No. 13/115,740 filed on May 25, 2011, which claims priority to
U.S. Provisional Patent Application No. 61/367,871 entitled
"CONSERVING POWER CONSUMPTION IN APPLICATIONS WITH NETWORK
INITIATED DATA TRANSFER FUNCTIONALITY", which was filed on Jul. 26,
2010, U.S. Provisional Patent Application No. 61/367,870 entitled
"MANAGING AND IMPROVING NETWORK RESOURCE UTILIZATION, PERFORMANCE
AND OPTIMIZING TRAFFIC IN WIRE LINE AND WIRELESS NETWORKS WITH
MOBILE CLIENTS", which was filed on Jul. 26, 2010, U.S. Provisional
Patent Application No. 61/408,858 entitled "CROSS APPLICATION
TRAFFIC COORDINATION", which was filed on Nov. 1, 2010, U.S.
Provisional Patent Application No. 61/408,839 entitled "ACTIVITY
SESSION AS METHOD OF OPTIMIZING NETWORK RESOURCE USE", which was
filed on Nov. 1, 2010, U.S. Provisional Patent Application No.
61/408,829 entitled "DISTRIBUTED POLICY MANAGEMENT", which was
filed on Nov. 1, 2010, U.S. Provisional Patent Application No.
61/408,846 entitled "INTELLIGENT CACHE MANAGEMENT IN CONGESTED
WIRELESS NETWORKS", which was filed on Nov. 1, 2010, U.S.
Provisional Patent Application No. 61/408,854 entitled "INTELLIGENT
MANAGEMENT OF NON-CACHEABLE CONTENT IN WIRELESS NETWORKS", which
was filed on Nov. 1, 2010, U.S. Provisional Patent Application No.
61/408,826 entitled "ONE WAY INTELLIGENT HEARTBEAT", which was
filed on Nov. 1, 2010, U.S. Provisional Patent Application No.
61/408,820 entitled "TRAFFIC CATEGORIZATION AND POLICY DRIVING
RADIO STATE", which was filed on Nov. 1, 2010, U.S. Provisional
Patent Application No. 61/416,020 entitled "ALIGNING BURSTS FROM
SERVER TO CLIENT", which was filed on Nov. 22, 2010, U.S.
Provisional Patent Application No. 61/416,033 entitled "POLLING
INTERVAL FUNCTIONS", which was filed on Nov. 22, 2010, U.S.
Provisional Patent Application No. 61/430,828 entitled "DOMAIN NAME
SYSTEM WITH NETWORK TRAFFIC HARMONIZATION", which was filed on Jan.
7, 2011, the contents of which are all incorporated by reference
herein.
BACKGROUND
[0002] When WCDMA was specified, there was little attention to
requirements posed by applications whose functions are based on
actions initiated by the network, in contrast to functions
initiated by the user or by the device. Such applications include,
for example, push email, instant messaging, visual voicemail and
voice and video telephony, and others. Such applications typically
require an always-on IP connection and frequent transmit of small
bits of data. WCDMA networks are designed and optimized for
high-throughput of large amounts of data, not for applications that
require frequent, but low-throughput and/or small amounts of data.
Each transaction puts the mobile device radio in a high power mode
for considerable length of time--typically between 15-30 seconds.
As the high power mode can consume as much as 100.times. the power
as an idle mode, these network-initiated applications quickly drain
battery in WCDMA networks. The issue has been exacerbated by the
rapid increase of popularity of applications with network-initiated
functionalities, such as push email.
[0003] Lack of proper support has prompted a number of vendors to
provide documents to guide their operator partners and independent
software vendors to configure their networks and applications to
perform better in WCDMA networks. This guidance focuses on:
configuring networks to go to stay on high-power radio mode as
short as possible and making periodic keep alive messages that are
used to maintain an always-on TCP/IP connection as infrequent as
possible. Such solutions typically assume lack of coordination
between the user, the application and the network.
[0004] Furthermore, in general, mobile application usage is
sporadic in nature. For example, there can be periods of user
inactivity (e.g., during working hours or when the user is
sleeping) followed by periods of multiple application usage, such
as where a user is updating their Facebook status, sending a Tweet,
checking their email, and using other applications to get an update
of their online information. This doesn't mean, however, that the
mobile device is inactive during user inactivity: the device may be
actively downloading new content such as advertisements, polling
for email, and receiving push notifications for activities on the
Internet, thus utilizing occupying network bandwidth and consuming
device power even when the user is not interacting with the mobile
device or otherwise expecting data.
BRIEF DESCRIPTION OF THE DRAWINGS
[0005] FIG. 1A illustrates an example diagram of a system where a
host server facilitates management of traffic between client
devices and an application server or content provider in a wireless
network for resource conservation.
[0006] FIG. 1B illustrates an example diagram of a proxy and cache
system distributed between the host server and device which
facilitates network traffic management between a device and an
application server/content provider for resource conservation.
[0007] FIG. 2A depicts a block diagram illustrating an example of
client-side components in a distributed proxy and cache system
residing on a mobile device that manages traffic in a wireless
network for resource conservation.
[0008] FIG. 2B depicts a block diagram illustrating another example
of the user activity module having a prediction engine in the local
proxy on the client-side of the distributed proxy system shown in
the example of FIG. 2A.
[0009] FIG. 3A depicts a block diagram illustrating an example of
server-side components in a distributed proxy and cache system that
manages traffic in a wireless network for resource
conservation.
[0010] FIG. 3B depicts a block diagram illustrating another example
of the server-side components of the distributed proxy system shown
in the example of FIG. 3A as further including a user experience
enhancement engine and with the traffic shaping engine further
including a delay module.
[0011] FIG. 4 depicts a diagram showing how data requests from a
mobile device to an application server/content provider in a
wireless network can be coordinated by a distributed proxy system
in a manner such that network and battery resources are conserved
through using content caching and monitoring performed by the
distributed proxy system.
[0012] FIG. 5 depicts a diagram showing one example process for
implementing a hybrid IP and SMS power saving mode on a mobile
device using a distributed proxy and cache system (e.g., such as
the distributed system shown in the example of FIG. 1B).
[0013] FIG. 6 depicts a flow chart illustrating an example process
for using user activity and/or application server/provider activity
to time the transfer of data from the host to the mobile device to
optimize use of network resources.
[0014] FIG. 7 depicts an example of processes which can be used to
for user behavior prediction.
[0015] FIG. 8 depicts an example of processes which can be used to
detect application server/content provider characteristics.
[0016] FIG. 9 depicts a flow chart illustrating an example process
to anticipate a future activity session at a mobile device to
enhance user experience with a mobile application.
[0017] FIG. 10 depicts an example of processes through which
contextual data for use in anticipation of future activity sessions
can be determined.
[0018] FIG. 11 shows a diagrammatic representation of a machine in
the example form of a computer system within which a set of
instructions, for causing the machine to perform any one or more of
the methodologies discussed herein, may be executed.
DETAILED DESCRIPTION
[0019] The following description and drawings are illustrative and
are not to be construed as limiting. Numerous specific details are
described to provide a thorough understanding of the disclosure.
However, in certain instances, well-known or conventional details
are not described in order to avoid obscuring the description.
References to one or an embodiment in the present disclosure can
be, but not necessarily are, references to the same embodiment;
and, such references mean at least one of the embodiments.
[0020] Reference in this specification to "one embodiment" or "an
embodiment" means that a particular feature, structure, or
characteristic described in connection with the embodiment is
included in at least one embodiment of the disclosure. The
appearances of the phrase "in one embodiment" in various places in
the specification are not necessarily all referring to the same
embodiment, nor are separate or alternative embodiments mutually
exclusive of other embodiments. Moreover, various features are
described which may be exhibited by some embodiments and not by
others. Similarly, various requirements are described which may be
requirements for some embodiments but not other embodiments.
[0021] The terms used in this specification generally have their
ordinary meanings in the art, within the context of the disclosure,
and in the specific context where each term is used. Certain terms
that are used to describe the disclosure are discussed below, or
elsewhere in the specification, to provide additional guidance to
the practitioner regarding the description of the disclosure. For
convenience, certain terms may be highlighted, for example using
italics and/or quotation marks. The use of highlighting has no
influence on the scope and meaning of a term; the scope and meaning
of a term is the same, in the same context, whether or not it is
highlighted. It will be appreciated that same thing can be said in
more than one way.
[0022] Consequently, alternative language and synonyms may be used
for any one or more of the terms discussed herein, nor is any
special significance to be placed upon whether or not a term is
elaborated or discussed herein. Synonyms for certain terms are
provided. A recital of one or more synonyms does not exclude the
use of other synonyms. The use of examples anywhere in this
specification including examples of any terms discussed herein is
illustrative only, and is not intended to further limit the scope
and meaning of the disclosure or of any exemplified term. Likewise,
the disclosure is not limited to various embodiments given in this
specification.
[0023] Without intent to limit the scope of the disclosure,
examples of instruments, apparatus, methods and their related
results according to the embodiments of the present disclosure are
given below. Note that titles or subtitles may be used in the
examples for convenience of a reader, which in no way should limit
the scope of the disclosure. Unless otherwise defined, all
technical and scientific terms used herein have the same meaning as
commonly understood by one of ordinary skill in the art to which
this disclosure pertains. In the case of conflict, the present
document, including definitions will control.
[0024] Embodiments of the present disclosure include systems and
methods for prediction of activity session for mobile network use
optimization and/or user experience enhancement.
[0025] One embodiment of the disclosed technology includes, a
system that optimizes multiple aspects of the connection with wired
and wireless networks and devices through a comprehensive view of
device and application activity including: loading, current
application needs on a device, controlling the type of access (push
vs. pull or hybrid), location, concentration of users in a single
area, time of day, how often the user interacts with the
application, content or device, and using this information to shape
traffic to a cooperative client/server or simultaneously mobile
devices without a cooperative client. Because the disclosed server
is not tied to any specific network provider it has visibility into
the network performance across all service providers. This enables
optimizations to be applied to devices regardless of the operator
or service provider, thereby enhancing the user experience and
managing network utilization while roaming. Bandwidth has been
considered a major issue in wireless networks today. More and more
research has been done related to the need for additional bandwidth
to solve access problems--many of the performance enhancing
solutions and next generation standards, such as LTE, 4G, and WiMAX
are focused on providing increased bandwidth. A key problem is lack
of bandwidth on the signaling channel more so than the data
channel.
[0026] Embodiments of the disclosed technology includes, for
example, alignment of requests from multiple applications to
minimize the need for several polling requests; leverage specific
content types to determine how to proxy/manage a
connection/content; and apply specific heuristics associated with
device, user behavioral patterns (how often they interact with the
device/application) and/or network parameters.
[0027] Embodiments of the present technology can further include,
moving recurring HTTP polls performed by various widgets, RSS
readers, etc., to remote network node (e.g., Network operation
center (NOC)), thus considerably lowering device battery/power
consumption, radio channel signaling, and bandwidth usage.
Additionally, the offloading can be performed transparently so that
existing applications do not need to be changed.
[0028] In some embodiments, this can be implemented using a local
proxy on the mobile device which automatically detects recurring
requests for the same content (RSS feed, Widget data set) that
matches a specific rule (e.g. happens every 15 minutes). The local
proxy can automatically cache the content on the mobile device
while delegating the polling to the server (e.g., a proxy server
operated as an element of a communications network). The server can
then notify the mobile/client proxy if the content changes, and if
content has not changed (or not changed sufficiently, or in an
identified manner or amount) the mobile proxy provides the latest
version in its cache to the user (without need to utilize the radio
at all). This way the mobile device (e.g., a mobile phone, smart
phone, etc.) does not need to open up (e.g., thus powering on the
radio) or use a data connection if the request is for content that
is monitored and that has been not flagged as new/changed.
[0029] The logic for automatically adding content
sources/application servers (e.g., including URLs/content) to be
monitored can also check for various factors like how often the
content is the same, how often the same request is made (is there a
fixed interval/pattern?), which application is requesting the data,
etc. Similar rules to decide between using the cache and request
the data from the original source may also be implemented and
executed by the local proxy and/or server.
[0030] For example, when the request comes at an
unscheduled/unexpected time (user initiated check), or after every
(n) consecutive times the response has been provided from the
cache, etc., or if the application is running in the background vs.
in a more interactive mode of the foreground. As more and more
mobile applications base their features on resources available in
the network, this becomes increasingly important. In addition, the
disclosed technology allows elimination of unnecessary chatter from
the network, benefiting the operators trying to optimize the
wireless spectrum usage.
Activity Session Method
[0031] As will be described, in some embodiments the present
disclosure is directed to a method for augmenting a distributed
proxy-based solution by introducing the concept of an "activity
session". An activity session is a pattern of multiple mobile
application use by a user that can be "predicted" by using
contextual clues available to a local proxy on a mobile device.
Based on the prediction, a multiplex connection can be created and
pre-caching of content can be performed to support the data
activity during the session, thus minimizing the signaling overhead
as well as the multiplexed transaction duration. In some
embodiments this approach will also provide the additional benefit
of an improved user experience (e.g., by reducing a perceived
latency).
[0032] In one embodiment, an activity session is a pattern of
multiple mobile application use by a mobile user that can be
"predicted" (or otherwise anticipated or expected) based on
contextual clues detected and analyzed by a local proxy on a device
(e.g., the user's mobile or portable phone, smartphone) and/or by a
proxy server in a distributed proxy system.
[0033] Based on the prediction, a multiplex connection can be
created and pre-caching of content can be performed to support the
data activity during the session, thus minimizing the signaling
overhead as well as the multiplexed transaction duration. Further,
in some embodiments this approach can provide enhanced user
experience by reducing or eliminating user wait times or other
sources of latency in the user experience.
Connection Optimization
[0034] TCP connections, such as persistent TCP sessions and TCP
connection pooling can be utilized for reusing connections. Both
techniques on a mobile device allow previously-established TCP
connections to the same server (e.g., a host server, an application
server, or content provider) to be reused for multiple HTTP
transactions, which saves connection establishment and tear-down
times between transactions. However, with multiple applications
running, and each establishing its own TCP connections to multiple
host servers (application servers/content providers), there are
potentially many TCP connections being established on a mobile
device during a given time of network activity.
[0035] A benefit of a distributed proxy system (such as that shown
in the examples of FIG. 1A-1B), where each component (i.e., the
local proxy in the mobile device and the proxy server in the host
server) is acknowledged by the system and each other, is that a
single TCP connection can be used to transport all of the
application traffic during an established activity session.
[0036] For example, the WebMUX and SCP protocols allow multiplexing
of multiple sessions of application-level protocols (such as HTTP)
over a single TCP connection. In one embodiment, an activity
session can be supported by a multiplexed TCP connection using
these or additional mechanisms. In another embodiment, the activity
session is supported by a TCP connection pool, with the connection
reuse enhanced by nature of connecting to a single and known proxy
server such as the disclosed proxy system.
Prediction Basis
[0037] The disclosed distributed proxy and cache system can
eliminate or decrease resource consumption of "background" data
access of mobile applications and processes in order to improve
signaling efficiency, power consumption (battery life), and use of
network resources. The prioritization or prediction of the
occurring of data access or the background data access may be based
on one or more data types or characteristics, heuristics,
algorithms, collaborative filtering techniques, etc. that process
data to determine a most likely behavior by a user.
[0038] For example, the data processing may determine that there is
a relatively high correlation between a user accessing one type of
application, followed by them accessing a second application. Or,
that when a user becomes active on their device after a certain
amount of time, they are likely to engage in a series of actions,
data requests, etc. Or, that when sufficient new data
(notifications, messages, etc.) has become available to the user,
they are likely to access it in a certain order (such as by
activating a series of applications or generating a series of
requests in a certain order).
[0039] In some embodiments, or in addition to the server prediction
approach described above, the mobile device may use contextual cues
available via hardware sensors or application activity indications
to predict the likelihood of the start of an activity session. For
example, the local proxy may monitor location changes in the device
to predict that a location update may be sent to a location-based
service, or may monitor user activity at certain geographical
locations and anticipate an activity session, for example, based on
historical application usage at a particular location. The
anticipated activity session, which can be derived by means of
hardware context on the mobile device (e.g., the state or operating
status of the device), can be the same or different in structure as
that created by the proxy server (e.g., server 100 of FIGS. 1A and
1B).
Establishing the Activity Session
[0040] An activity session may be recognized and activated based on
a predicted activity session by either the proxy server or the
local proxy in the following manner. On the device side,
application activity after a period of inactivity, during which a
potential activity session has been identified, can cause the local
proxy to compare the data request to a list of host URLs associated
with a predicted/anticipated activity session.
[0041] If the data activity matches a higher-priority entry in the
URL list, for example, based on a priority threshold, the data
activity may trigger the start of an activity session based on the
predicted activity session. If there is no match or a
lower-priority match, then the activity session may not be
initiated. Other embodiments may include other prioritization
schemes or priority criteria to determine when or if an activity
session will be established. A predicted activity session can be
recognized and converted to an Activity Session in the host server
(proxy server) in a similar manner.
[0042] In some embodiments, if an activity session is detected or
created by the local proxy, the local proxy can request a
multiplexed connection be established to optimize the signaling
during the session. If an activity session is identified by the
server, the existing TCP connection opened from the mobile device
can be converted into a multiplexed session and used for the
optimized connection. Alternatively, the first data request from
the mobile device can be accomplished outside of the multiplexed
connection, and the multiplexed connection can be established for
subsequent data transfers.
[0043] Once an activity session is established and has been
acknowledged by the local proxy and/or proxy server, the proxy
server can now proactively cache data (e.g., access the URLs or
application servers/providers anticipated in the predicted activity
sessions) for more rapid access to content anticipated to be needed
in the predicted activity session. The system can "piggy-back"
transfer of the anticipated data with other data requested by the
mobile device for caching in the local cache on the mobile device.
These mechanisms effectively increase the availability of desired
data on the mobile, and shorten the duration of an established
connection needed for the present activity session.
[0044] One example of a use case for the present technology is
described as follows:
[0045] i. Predicting an activity session based on push activity in
the idle state: [0046] 1. While user is sleeping, his phone has
received three push notifications from Facebook, and five emails;
[0047] 2. When user wakes up and checks his phone, he sees these
notifications and emails. His natural tendency is to open these two
applications and check his emails and Facebook status; [0048] 3.
Upon the transition from screen-lock to unlock, the server
recognizes that based on the push activity, the user is likely to
get access to these two applications. The device sends a state
change notification to the server, and in response, the server
sends an activity session indicator to the device. The server
pre-caches information relevant to the session, and creates a
persistent connection with the device to support the activity
session; [0049] 4. User accesses the services, and is pleased that
the relevant data seems to be already on his device; [0050] 5. The
persistent connection is managed by the device and server to time
out based on certain criteria, to maximize device battery life.
[0051] ii. Predicting an activity session based on a change in
geographical location during idle state--as a user moves between
locations, the system can recognize that they are more likely to
engage in certain requests or activities based on the transit route
or the new location.
[0052] iii. Predicting an activity session based on receiving a
phone call in idle state based on previous user behavior, the
system now recognizes that the user is likely to engage in certain
behaviors upon accessing the call (such as checking a specific
applications, making certain updates, accessing certain contacts in
the contact book, etc.).
[0053] FIG. 1A illustrates an example diagram of a system where a
host server 100 facilitates management of traffic between client
devices 102 and an application server or content provider 110 in a
wireless network for resource conservation.
[0054] The client devices 102A-D can be any system and/or device,
and/or any combination of devices/systems that is able to establish
a connection, including wired, wireless, cellular connections with
another device, a server and/or other systems such as host server
100 and/or application server/content provider 110. Client devices
102 will typically include a display and/or other output
functionalities to present information and data exchanged between
among the devices 102 and/or the host server 100 and/or application
server/content provider 110.
[0055] For example, the client devices 102 can include mobile, hand
held or portable devices or non-portable devices and can be any of,
but not limited to, a server desktop, a desktop computer, a
computer cluster, or portable devices including, a notebook, a
laptop computer, a handheld computer, a palmtop computer, a mobile
phone, a cell phone, a smart phone, a PDA, a Blackberry device, a
Treo, a handheld tablet (e.g. an iPad), a hand held console, a hand
held gaming device or console, an iPhone, and/or any other
portable, mobile, hand held devices, etc. In one embodiment, the
client devices 102, host server 100, and app server 110 are coupled
via a network 106 and/or a network 108. In some embodiments, the
devices 102 and host server 100 may be directly connected to one
another.
[0056] The input mechanism on client devices 102 can include touch
screen keypad (including single touch, multi-touch, gesture sensing
in 2D or 3D, etc.), a physical keypad, a mouse, a pointer, a track
pad, motion detector (e.g., including 1-axis, 2-axis, 3-axis
accelerometer, etc.), a light sensor, capacitance sensor,
resistance sensor, temperature sensor, proximity sensor, a
piezoelectric device, device orientation detector (e.g., electronic
compass, tilt sensor, rotation sensor, gyroscope, accelerometer),
or a combination of the above.
[0057] Signals received or detected indicating user activity at
client devices 102 through one or more of the above input
mechanism, or others, can be used in the disclosed technology in
acquiring context awareness at the client device 102. Context
awareness at client devices 102 generally includes, by way of
example but not limitation, client device 102 operation or state
acknowledgement, management, user activity/behavior/interaction
awareness, detection, sensing, tracking, trending, and/or
application (e.g., mobile applications) type, behavior, activity,
operating state, etc.
[0058] Context awareness in the present disclosure also includes
knowledge and detection of network side contextual data and can
include network information such as network capacity, bandwidth,
traffic, type of network/connectivity, and/or any other operational
state data. Network side contextual data can be received from
and/or queried from network service providers (e.g., cell provider
112 and/or Internet service providers) of the network 106 and/or
network 108 (e.g., by the host server and/or devices 102). In
addition to application context awareness as determined from the
client 102 side, the application context awareness may also be
received from or obtained/queried from the respective
application/service providers 110 (by the host 100 and/or client
devices 102).
[0059] The host server 100 can use, for example, contextual
information obtained for client devices 102, networks 106/108,
applications (e.g., mobile applications), application
server/provider 110, or any combination of the above, to manage the
traffic in the system to satisfy data needs of the client devices
102 (e.g., to satisfy application or any other request including
HTTP request). In one embodiment, the traffic is managed by the
host server 100 to satisfy data requests made in response to
explicit or non-explicit user 103 requests and/or
device/application maintenance tasks. The traffic can be managed
such that network consumption, for example, use of the cellular
network is conserved for effective and efficient bandwidth
utilization. In addition, the host server 100 can manage and
coordinate such traffic in the system such that use of device 102
side resources (e.g., including but not limited to battery power
consumption, radio use, processor/memory use) are optimized with a
general philosophy for resource conservation while still optimizing
performance and user experience.
[0060] For example, in context of battery conservation, the device
150 can observe user activity (for example, by observing user
keystrokes, backlight status, or other signals via one or more
input mechanisms, etc.) and alters device 102 behaviors. The device
150 can also request the host server 100 to alter the behavior for
network resource consumption based on user activity or
behavior.
[0061] In one embodiment, the traffic management for resource
conservation is performed using a distributed system between the
host server 100 and client device 102. The distributed system can
include proxy server and cache components on the server 100 side
and on the client 102 side, for example, as shown by the server
cache 135 on the server 100 side and the local cache 150 on the
client 102 side.
[0062] Functions and techniques disclosed for context aware traffic
management for resource conservation in networks (e.g., network 106
and/or 108) and devices 102, reside in a distributed proxy and
cache system. The proxy and cache system can be distributed
between, and reside on, a given client device 102 in part or in
whole and/or host server 100 in part or in whole. The distributed
proxy and cache system are illustrated with further reference to
the example diagram shown in FIG. 1B. Functions and techniques
performed by the proxy and cache components in the client device
102, the host server 100, and the related components therein are
described, respectively, in detail with further reference to the
examples of FIG. 2-3.
[0063] In one embodiment, client devices 102 communicate with the
host server 100 and/or the application server 110 over network 106,
which can be a cellular network. To facilitate overall traffic
management between devices 102 and various application
servers/content providers 110 to implement network (bandwidth
utilization) and device resource (e.g., battery consumption), the
host server 100 can communicate with the application
server/providers 110 over the network 108, which can include the
Internet.
[0064] In general, the networks 106 and/or 108, over which the
client devices 102, the host server 100, and/or application server
110 communicate, may be a cellular network, a telephonic network,
an open network, such as the Internet, or a private network, such
as an intranet and/or the extranet, or any combination thereof. For
example, the Internet can provide file transfer, remote log in,
email, news, RSS, cloud-based services, instant messaging, visual
voicemail, push mail, VoIP, and other services through any known or
convenient protocol, such as, but is not limited to the TCP/IP
protocol, Open System Interconnections (OSI), FTP, UPnP, iSCSI,
NSF, ISDN, PDH, RS-232, SDH, SONET, etc.
[0065] The networks 106 and/or 108 can be any collection of
distinct networks operating wholly or partially in conjunction to
provide connectivity to the client devices 102 and the host server
100 and may appear as one or more networks to the serviced systems
and devices. In one embodiment, communications to and from the
client devices 102 can be achieved by, an open network, such as the
Internet, or a private network, such as an intranet and/or the
extranet. In one embodiment, communications can be achieved by a
secure communications protocol, such as secure sockets layer (SSL),
or transport layer security (TLS).
[0066] In addition, communications can be achieved via one or more
networks, such as, but are not limited to, one or more of WiMax, a
Local Area Network (LAN), Wireless Local Area Network (WLAN), a
Personal area network (PAN), a Campus area network (CAN), a
Metropolitan area network (MAN), a Wide area network (WAN), a
Wireless wide area network (WWAN), enabled with technologies such
as, by way of example, Global System for Mobile Communications
(GSM), Personal Communications Service (PCS), Digital Advanced
Mobile Phone Service (D-Amps), Bluetooth, Wi-Fi, Fixed Wireless
Data, 2G, 2.5G, 3G, 4G, IMT-Advanced, pre-4G, 3G LTE, 3GPP LTE, LTE
Advanced, mobile WiMax, WiMax 2, WirelessMAN-Advanced networks,
enhanced data rates for GSM evolution (EDGE), General packet radio
service (GPRS), enhanced GPRS, iBurst, UMTS, HSPDA, HSUPA, HSPA,
UMTS-TDD, 1 xRTT, EV-DO, messaging protocols such as, TCP/IP, SMS,
MMS, extensible messaging and presence protocol (XMPP), real time
messaging protocol (RTMP), instant messaging and presence protocol
(IMPP), instant messaging, USSD, IRC, or any other wireless data
networks or messaging protocols.
[0067] FIG. 1B illustrates an example diagram of a proxy and cache
system distributed between the host server 100 and device 150 which
facilitates network traffic management between the device 150 and
an application server/content provider 100 (e.g., a source server)
for resource conservation.
[0068] The distributed proxy and cache system can include, for
example, the proxy server 125 (e.g., remote proxy) and the server
cache, 135 components on the server side. The server-side proxy 125
and cache 135 can, as illustrated, reside internal to the host
server 100. In addition, the proxy server 125 and cache 135 on the
server-side can be partially or wholly external to the host server
100 and in communication via one or more of the networks 106 and
108. For example, the proxy server 125 may be external to the host
server and the server cache 135 may be maintained at the host
server 100. Alternatively, the proxy server 125 may be within the
host server 100 while the server cache is external to the host
server 100. In addition, each of the proxy server 125 and the cache
135 may be partially internal to the host server 100 and partially
external to the host server 100.
[0069] The distributed system can also, include, in one embodiment,
client-side components, including by way of example but not
limitation, a local proxy 175 (e.g., a mobile client on a mobile
device) and/or a local cache 185, which can, as illustrated, reside
internal to the device 150 (e.g., a mobile device).
[0070] In addition, the client-side proxy 175 and local cache 185
can be partially or wholly external to the device 150 and in
communication via one or more of the networks 106 and 108. For
example, the local proxy 175 may be external to the device 150 and
the local cache 185 may be maintained at the device 150.
Alternatively, the local proxy 175 may be within the device 150
while the local cache 185 is external to the device 150. In
addition, each of the proxy 175 and the cache 185 may be partially
internal to the host server 100 and partially external to the host
server 100.
[0071] In one embodiment, the distributed system can include an
optional caching proxy server 199. The caching proxy server 199 can
be a component which is operated by the application server/content
provider 110, the host server 100, or a network service provider
112, and or any combination of the above to facilitate network
traffic management for network and device resource conservation.
Proxy server 199 can be used, for example, for caching content to
be provided to the device 150, for example, from one or more of,
the application server/provider 110, host server 100, and/or a
network service provider 112. Content caching can also be entirely
or partially performed by the remote proxy 125 to satisfy
application requests or other data requests at the device 150.
[0072] In context aware traffic management and optimization for
resource conservation in a network (e.g., cellular or other
wireless networks), characteristics of user activity/behavior
and/or application behavior at a mobile device 150 can be tracked
by the local proxy 175 and communicated, over the network 106 to
the proxy server 125 component in the host server 100, for example,
as connection metadata. The proxy server 125 which in turn is
coupled to the application server/provider 110 provides content and
data to satisfy requests made at the device 150.
[0073] In addition, the local proxy 175 can identify and retrieve
mobile device properties including, one or more of, battery level,
network that the device is registered on, radio state, whether the
mobile device is being used (e.g., interacted with by a user). In
some instances, the local proxy 175 can delay and/or modify data
prior to transmission to the proxy server 125, when appropriate, as
will be further detailed with references to the description
associated with the examples of FIG. 2-3.
[0074] The local database 185 can be included in the local proxy
175 or coupled to the proxy 175 and can be queried for a locally
stored response to the data request prior to the data request being
forwarded on to the proxy server 125. Locally cached responses can
be used by the local proxy 175 to satisfy certain application
requests of the mobile device 150, by retrieving cached content
stored in the cache storage 185, when the cached content is still
valid.
[0075] Similarly, the proxy server 125 of the host server 100 can
also delay or modify data from the local proxy prior to
transmission to the content sources (e.g., the app server/content
provider 110). In addition, the proxy server 125 uses device
properties and connection metadata to generate rules for satisfying
request of applications on the mobile device 150. The proxy server
125 can gather real time traffic information about requests of
applications for later use in optimizing similar connections with
the mobile device 150 or other mobile devices.
[0076] In general, the local proxy 175 and the proxy server 125 are
transparent to the multiple applications executing on the mobile
device. The local proxy 175 is generally transparent to the
operating system or platform of the mobile device and may or may
not be specific to device manufacturers. In some instances, the
local proxy 175 is optionally customizable in part or in whole to
be device specific. In some embodiments, the local proxy 175 may be
bundled into a wireless model, into a firewall, and/or a
router.
[0077] In one embodiment, the host server 100 can in some
instances, utilize the store and forward functions of a short
message service center (SMSC) 112, such as that provided by the
network service provider 112, in communicating with the device 150
in achieving network traffic management. As will be further
described with reference to the example of FIG. 3, the host server
100 can forward content or HTTP responses to the SMSC 112 such that
it is automatically forwarded to the device 150 if available, and
for subsequent forwarding if the device 150 is not currently
available.
[0078] In general, the disclosed distributed proxy and cache system
allows optimization of network usage, for example, by serving
requests from the local cache 185, the local proxy 175 reduces the
number of requests that need to be satisfied over the network 106.
Further, the local proxy 175 and the proxy server 125 may filter
irrelevant data from the communicated data. In addition, the local
proxy 175 and the proxy server 125 can also accumulate low priority
data and send it in batches to avoid the protocol overhead of
sending individual data fragments. The local proxy 175 and the
proxy server 125 can also compress or transcode the traffic,
reducing the amount of data sent over the network 106 and/or 108.
The signaling traffic in the network 106 and/or 108 can be reduced,
as the networks are now used less often and the network traffic can
be synchronized among individual applications.
[0079] With respect to the battery life of the mobile device 150,
by serving application or content requests from the local cache
185, the local proxy 175 can reduce the number of times the radio
module is powered up. The local proxy 175 and the proxy server 125
can work in conjunction to accumulate low priority data and send it
in batches to reduce the number of times and/or amount of time when
the radio is powered up. The local proxy 175 can synchronize the
network use by performing the batched data transfer for all
connections simultaneously.
[0080] FIG. 2 depicts a block diagram illustrating an example of
client-side components in a distributed proxy and cache system
residing on a device 250 that manages traffic in a wireless network
for resource conservation.
[0081] The device 250, which can be a portable or mobile device,
such as a portable phone, generally includes, for example, a
network interface 208, an operating system 204, a context API 206,
and mobile applications which may be proxy unaware 210 or proxy
aware 220. Note that the device 250 is specifically illustrated in
the example of FIG. 2 as a mobile device, such is not a limitation
and that device 250 may be any portable/mobile or non-portable
device able to receive, transmit signals to satisfy data requests
over a network including wired or wireless networks (e.g., WiFi,
cellular, Bluetooth, etc.).
[0082] The network interface 208 can be a networking module that
enables the device 250 to mediate data in a network with an entity
that is external to the host server 250, through any known and/or
convenient communications protocol supported by the host and the
external entity. The network interface 208 can include one or more
of a network adaptor card, a wireless network interface card (e.g.,
SMS interface, WiFi interface, interfaces for various generations
of mobile communication standards including but not limited to 1G,
2G, 3G, 3.5G, 4G, LTE, etc.,), Bluetooth, a router, an access
point, a wireless router, a switch, a multilayer switch, a protocol
converter, a gateway, a bridge, bridge router, a hub, a digital
media receiver, and/or a repeater.
[0083] Device 250 can further include, client-side components of
the distributed proxy and cache system which can include, a local
proxy 275 (e.g., a mobile client of a mobile device) and a cache
285. In one embodiment, the local proxy 275 includes a user
activity module 215, a proxy API 225, a request/transaction manager
235, a caching policy manager 245, a traffic shaping engine 255,
and/or a connection manager 265. The traffic shaping engine 255 may
further include an alignment module 256 and/or a batching module
257, the connection manager 265 may further include a radio
controller 266. The request/transaction manager 235 can further
include an application behavior detector 236 and/or a
prioritization engine 238, the application behavior detector 236
may further include a pattern detector 237 and/or and application
profile generator 238. Additional or less
components/modules/engines can be included in the local proxy 275
and each illustrated component.
[0084] As used herein, a "module," "a manager," a "handler," a
"detector," an "interface," or an "engine" includes a general
purpose, dedicated or shared processor and, typically, firmware or
software modules that are executed by the processor. Depending upon
implementation-specific or other considerations, the module,
manager, hander, or engine can be centralized or its functionality
distributed. The module, manager, hander, or engine can include
general or special purpose hardware, firmware, or software embodied
in a computer-readable (storage) medium for execution by the
processor. As used herein, a computer-readable medium or
computer-readable storage medium is intended to include all mediums
that are statutory (e.g., in the United States, under 35 U.S.C.
.sctn.101), and to specifically exclude all mediums that are
non-statutory in nature to the extent that the exclusion is
necessary for a claim that includes the computer-readable (storage)
medium to be valid. Known statutory computer-readable mediums
include hardware (e.g., registers, random access memory (RAM),
non-volatile (NV) storage, to name a few), but may or may not be
limited to hardware.
[0085] In one embodiment, a portion of the distributed proxy and
cache system for network traffic management resides in or is in
communication with device 250, including local proxy 275 (mobile
client) and/or cache 285. The local proxy 275 can provide an
interface on the device 150 for users to access device applications
and services including email, IM, voice mail, visual voicemail,
feeds, Internet, other applications, etc.
[0086] The proxy 275 is generally application independent and can
be used by applications (e.g., both proxy aware and proxy-unaware
mobile applications 210 and 220) to open TCP connections to a
remote server (e.g., the server 100 in the examples of FIG. 1A-1B
and/or server proxy 125/325 shown in the examples of FIG. 1B and
FIG. 3). In some instances, the local proxy 275 includes a proxy
API 225 which can be optionally used to interface with proxy-aware
applications 220 (or mobile applications on a mobile device).
[0087] The applications 210 and 220 can generally include any user
application, widgets, software, HTTP-based application, web
browsers, video or other multimedia streaming or downloading
application, video games, social network applications, email
clients, RSS management applications, application stores, document
management applications, productivity enhancement applications,
etc. The applications can be provided with the device OS, by the
device manufacturer, by the network service provider, downloaded by
the user, or provided by others.
[0088] One embodiment of the local proxy 275 includes or is coupled
to a context API 206, as shown. The context API 206 may be a part
of the operating system 204 or device platform or independent of
the operating system 204, as illustrated. The operating system 204
can include any operating system including but not limited to, any
previous, current, and/or future versions/releases of, Windows
Mobile, iOS, Android, Symbian, Palm OS, Brew MP, Java 2 Micro
Edition (J2ME), Blackberry, etc.
[0089] The context API 206 may be a plug-in to the operating system
204 or a particular client application on the device 250. The
context API 206 can detect signals indicative of user or device
activity, for example, sensing motion, gesture, device location,
changes in device location, device backlight, keystrokes, clicks,
activated touch screen, mouse click or detection of other pointer
devices. The context API 206 can be coupled to input devices or
sensors on the device 250 to identify these signals. Such signals
can generally include input received in response to explicit user
input at an input device/mechanism at the device 250 and/or
collected from ambient signals/contextual cues detected at or in
the vicinity of the device 250 (e.g., light, motion, piezoelectric,
etc.).
[0090] In one embodiment, the user activity module 215 interacts
with the context API 206 to identify, determine, infer, detect,
compute, predict, and/or anticipate, characteristics of user
activity on the device 250. Various inputs collected by the context
API 206 can be aggregated by the user activity module 215 to
generate a profile for characteristics of user activity. Such a
profile can be generated by the module 215 with various temporal
characteristics. For instance, user activity profile can be
generated in real-time for a given instant to provide a view of
what the user is doing or not doing at a given time (e.g., defined
by a time window, in the last minute, in the last 30 seconds,
etc.), a user activity profile can also be generated for a
`session` defined by an application or web page that describes the
characteristics of user behavior with respect to a specific task
they are engaged in on the device 250, or for a specific time
period (e.g., for the last 2 hours, for the last 5 hours).
[0091] Additionally, characteristic profiles can be generated by
the user activity module 215 to depict a historical trend for user
activity and behavior (e.g. 1 week, 1 mo, 2 mo, etc.). Such
historical profiles can also be used to deduce trends of user
behavior, for example, access frequency at different times of day,
trends for certain days of the week (weekends or week days), user
activity trends based on location data (e.g., IP address, GPS, or
cell tower coordinate data) or changes in location data (e.g., user
activity based on user location, or user activity based on whether
the user is on the go, or traveling outside a home region, etc.) to
obtain user activity characteristics.
[0092] In one embodiment, user activity module 215 can detect and
track user activity with respect to applications, documents, files,
windows, icons, and folders on the device 250. For example, the
user activity module 215 can detect when an application or window
(e.g., a web browser) has been exited, closed, minimized,
maximized, opened, moved into the foreground, or into the
background, multimedia content playback, etc.
[0093] In one embodiment, characteristics of the user activity on
the device 250 can be used to locally adjust behavior of the device
(e.g., mobile device) to optimize its resource consumption such as
battery/power consumption and more generally, consumption of other
device resources including memory, storage, and processing power.
In one embodiment, the use of a radio on a device can be adjusted
based on characteristics of user behavior (e.g., by the radio
controller 266 of the connection manager 265) coupled to the user
activity module 215. For example, the radio controller 266 can turn
the radio on or off, based on characteristics of the user activity
on the device 250. In addition, the radio controller 266 can adjust
the power mode of the radio (e.g., to be in a higher power mode or
lower power mode) depending on characteristics of user
activity.
[0094] In one embodiment, characteristics of the user activity on
device 250 can also be used to cause another device (e.g., other
computers, a mobile device, or a non-portable device) or server
(e.g., host server 100 and 300 in the examples of FIG. 1A-B and
FIG. 3) which can communicate (e.g., via a cellular or other
network) with the device 250 to modify its communication frequency
with the device 250. The local proxy 275 can use the
characteristics information of user behavior determined by the user
activity module 215 to instruct the remote device as to how to
modulate its communication frequency (e.g., decreasing
communication frequency, such as data push frequency if the user is
idle, requesting that the remote device notify the device 250 if
new data, changed, data, or data of a certain level of importance
becomes available, etc.).
[0095] In one embodiment, the user activity module 215 can, in
response to determining that user activity characteristics indicate
that a user is active after a period of inactivity, request that a
remote device (e.g., server host server 100 and 300 in the examples
of FIG. 1A-B and FIG. 3) send the data that was buffered as a
result of the previously decreased communication frequency.
[0096] In addition, or in alternative, the local proxy 275 can
communicate the characteristics of user activity at the device 250
to the remove device (e.g., e.g., host server 100 and 300 in the
examples of FIG. 1A-B and FIG. 3) and the remote device determines
how to alter its own communication frequency with the device 250
for network resource conservation and conservation of device 250
resources.
[0097] One embodiment of the local proxy 275 further includes a
request/transaction manager 235, which can detect, identify,
intercept, process, manage, data requests initiated on the device
250, for example, by applications 210 and/or 220, and/or
directly/indirectly by a user request. The request/transaction
manager 235 can determine how and when to process a given request
or transaction, or a set of requests/transactions, based on
transaction characteristics.
[0098] The request/transaction manager 235 can prioritize requests
or transactions made by applications and/or users at the device
250, for example by the prioritization engine 238. Importance or
priority of requests/transactions can be determined by the manager
235 by applying a rule set, for example, according to time
sensitivity of the transaction, time sensitivity of the content in
the transaction, time criticality of the transaction, time
criticality of the data transmitted in the transaction, and/or time
criticality or importance of an application making the request.
[0099] In addition, transaction characteristics can also depend on
whether the transaction was a result of user-interaction or other
user initiated action on the device (e.g., user interaction with a
mobile application). In general, a time critical transaction can
include a transaction resulting from a user-initiated data
transfer, and can be prioritized as such. Transaction
characteristics can also depend on the amount of data that will be
transferred or is anticipated to be transferred as a result of the
request/requested transaction. For example, the connection manager
265, can adjust the radio mode (e.g., high power or low power mode
via the radio controller 266) based on the amount of data that will
need to be transferred.
[0100] In addition, the radio controller 266/connection manager 265
can adjust the radio power mode (high or low) based on time
criticality/sensitivity of the transaction. The radio controller
266 can trigger the use of high power radio mode when a
time-critical transaction (e.g., a transaction resulting from a
user-initiated data transfer, an application running in the
foreground, any other event meeting a certain criteria) is
initiated or detected.
[0101] In general, the priorities can be determined set by in
default, for example, based on device platform, device
manufacturer, operating system, etc. Priorities can alternatively
or in additionally be set by the particular application; for
example, the Facebook mobile application can set its own priorities
for various transactions (e.g., a status update can be of higher
priority than an add friend request or a poke request, a message
send request can be of higher priority than a message delete
request, for example), an email client or IM chat client may have
its own configurations for priority. The prioritization engine 238
may include set of rules for assigning priority.
[0102] The priority engine 238 can also track network provider
limitations or specifications on application or transaction
priority in determining an overall priority status for a
request/transaction. Furthermore, priority can in part or in whole
be determined by user preferences, either explicit or implicit. A
user, can in general, set priorities at different tiers, such as,
specific priorities for sessions, or types, or applications (e.g.,
a browsing session, a gaming session, versus an IM chat session,
the user may set a gaming session to always have higher priority
than an IM chat session, which may have higher priority than
web-browsing session). A user can set application-specific
priorities, (e.g., a user may set Facebook related transactions to
have a higher priority than LinkedIn related transactions), for
specific transaction types (e.g., for all send message requests
across all applications to have higher priority than message delete
requests, for all calendar-related events to have a high priority,
etc.), and/or for specific folders.
[0103] The priority engine 238 can track and resolve conflicts in
priorities set by different entities. For example, manual settings
specified by the user may take precedence over device OS settings,
network provider parameters/limitations (e.g., set in default for a
network service area, geographic locale, set for a specific time of
day, or set based on service/fee type) may limit any user-specified
settings and/or application-set priorities. In some instances, a
manual sync request received from a user can override some, most,
or all priority settings in that the requested synchronization is
performed when requested, regardless of the individually assigned
priority or an overall priority ranking for the requested
action.
[0104] Priority can be specified and tracked internally in any
known and/or convenient manner, including but not limited to, a
binary representation, a multi-valued representation, a graded
representation and all are considered to be within the scope of the
disclosed technology.
TABLE-US-00001 TABLE I Change Change (initiated on device) Priority
(initiated on server) Priority Send email High Receive email High
Delete email Low Edit email Often not (Un)read email Low possible
to sync Move message Low (Low if possible) Read more High New email
in Low deleted items Download High Delete an email Low attachment
New Calendar event High (Un)Read an email Low Edit/change Calendar
High Move messages Low event Any calendar change High Add a contact
High Any contact change High Edit a contact High Wipe/lock device
High Search contacts Settings change High Change a setting High Any
folder change High Manual send/ Connector restart High receive (if
no changes nothing is sent)
[0105] Table I below shows, for illustration purposes, some
examples of transactions with examples of assigned priorities in a
binary representation scheme. Additional assignments are possible
for additional types of events, requests, transactions, and as
previously described, priority assignments can be made at more or
less granular levels, e.g., at the session level or at the
application level, etc.
[0106] As shown by way of example in the above table, in general,
lower priority requests/transactions can include, updating message
status as being read, unread, deleting of messages, deletion of
contacts; higher priority requests/transactions, can in some
instances include, status updates, new IM chat message, new email,
calendar event update/cancellation/deletion, an event in a mobile
gaming session, or other entertainment related events, a purchase
confirmation through a web purchase or online, request to load
additional or download content, contact book related events, a
transaction to change a device setting, location-aware or
location-based events/transactions, or any other
events/request/transactions initiated by a user or where the user
is known to be, expected to be, or suspected to be waiting for a
response, etc.
[0107] Inbox pruning events (e.g., email, or any other types of
messages), are generally considered low priority and absent other
impending events, generally will not trigger use of the radio on
the device 250. Specifically, pruning events to remove old email or
other content can be `piggy backed` with other communications if
the radio is not otherwise on, at the time of a scheduled pruning
event. For example, if the user has preferences set to `keep
messages for 7 days old,` then instead of powering on the device
radio to initiate a message delete from the device 250 the moment
that the message has exceeded 7 days old, the message is deleted
when the radio is powered on next. If the radio is already on, then
pruning may occur as regularly scheduled.
[0108] The request/transaction manager 235, can use the priorities
for requests (e.g., by the prioritization engine 238) to manage
outgoing traffic from the device 250 for resource optimization
(e.g., to utilize the device radio more efficiently for battery
conservation). For example, transactions/requests below a certain
priority ranking may not trigger use of the radio on the device 250
if the radio is not already switched on, as controlled by the
connection manager 265. In contrast, the radio controller 266 can
turn on the radio such a request can be sent when a request for a
transaction is detected to be over a certain priority level.
[0109] In one embodiment, priority assignments (such as that
determined by the local proxy 275 or another device/entity) can be
used cause a remote device to modify its communication with the
frequency with the mobile device. For example, the remote device
can be configured to send notifications to the device 250 when data
of higher importance is available to be sent to the mobile
device.
[0110] In one embodiment, transaction priority can be used in
conjunction with characteristics of user activity in shaping or
managing traffic, for example, by the traffic shaping engine 255.
For example, the traffic shaping engine 255 can, in response to
detecting that a user is dormant or inactive, wait to send low
priority transactions from the device 250, for a period of time. In
addition, the traffic shaping engine 255 can allow multiple low
priority transactions to accumulate for batch transferring from the
device 250 (e.g., via the batching module 257). In one embodiment,
the priorities can be set, configured, or readjusted by a user. For
example, content depicted in Table I in the same or similar form
can be accessible in a user interface on the device 250 and for
example, used by the user to adjust or view the priorities.
[0111] The batching module 257 can initiate batch transfer based on
certain criteria. For example, batch transfer (e.g., of multiple
occurrences of events, some of which occurred at different
instances in time) may occur after a certain number of low priority
events have been detected, or after an amount of time elapsed after
the first of the low priority event was initiated. In addition, the
batching module 257 can initiate batch transfer of the cumulated
low priority events when a higher priority event is initiated or
detected at the device 250. Batch transfer can otherwise be
initiated when radio use is triggered for another reason (e.g., to
receive data from a remote device such as host server 100 or 300).
In one embodiment, an impending pruning event (pruning of an
inbox), or any other low priority events, can be executed when a
batch transfer occurs.
[0112] In general, the batching capability can be disabled or
enabled at the event/transaction level, application level, or
session level, based on any one or combination of the following:
user configuration, device limitations/settings, manufacturer
specification, network provider parameters/limitations, platform
specific limitations/settings, device OS settings, etc. In one
embodiment, batch transfer can be initiated when an
application/window/file is closed out, exited, or moved into the
background; users can optionally be prompted before initiating a
batch transfer; users can also manually trigger batch
transfers.
[0113] In one embodiment, the local proxy 275 locally adjusts radio
use on the device 250 by caching data in the cache 285. When
requests or transactions from the device 250 can be satisfied by
content stored in the cache 285, the radio controller 266 need not
activate the radio to send the request to a remote entity (e.g.,
the host server 100, 300, as shown in FIG. 1 and FIG. 3 or a
content provider/application server such as the server/provider 110
shown in the examples of FIG. 1A and FIG. 1B). As such, the local
proxy 275 can use the local cache 285 and the cache policy manager
245 to locally store data for satisfying data requests to eliminate
or reduce the use of the device radio for conservation of network
resources and device battery consumption.
[0114] In leveraging the local cache, once the request/transaction
manager 225 intercepts a data request by an application on the
device 250, the local repository 285 can be queried to determine if
there is any locally stored response, and also determine whether
the response is valid. When a valid response is available in the
local cache 285, the response can be provided to the application on
the device 250 without the device 250 needing to access the
cellular network.
[0115] If a valid response is not available, the local proxy 275
can query a remote proxy (e.g., the server proxy 325 of FIG. 3) to
determine whether a remotely stored response is valid. If so, the
remotely stored response (e.g., which may be stored on the server
cache 135 or optional caching server 199 shown in the example of
FIG. 1B) can be provided to the mobile device, possibly without the
mobile device 250 needing to access the cellular network, thus
relieving consumption of network resources.
[0116] If a valid cache response is not available, or if cache
responses are unavailable for the intercepted data request, the
local proxy 275, for example, the caching policy manager 245, can
send the data request to a remote proxy (e.g., server proxy 325 of
FIG. 3) which forwards the data request to a content source (e.g.,
application server/content provider 110 of FIG. 1) and a response
from the content source can be provided through the remote proxy,
as will be further described in the description associated with the
example host server 300 of FIG. 3. The cache policy manager 245 can
manage or process requests that use a variety of protocols,
including but not limited to HTTP, HTTPS, IMAP, POP, SMTP and/or
ActiveSync. The caching policy manager 245 can locally store
responses for data requests in the local database 285 as cache
entries, for subsequent use in satisfying same or similar data
requests. The manager 245 can request that the remote proxy monitor
responses for the data request, and the remote proxy can notify the
device 250 when an unexpected response to the data request is
detected. In such an event, the cache policy manager 245 can erase
or replace the locally stored response(s) on the device 250 when
notified of the unexpected response (e.g., new data, changed data,
additional data, etc.) to the data request. In one embodiment, the
caching policy manager 245 is able to detect or identify the
protocol used for a specific request, including but not limited to
HTTP, HTTPS, IMAP, POP, SMTP and/or ActiveSync. In one embodiment,
application specific handlers (e.g., via the application protocol
module 246 of the manager 245) on the local proxy 275 allows for
optimization of any protocol that can be port mapped to a handler
in the distributed proxy (e.g., port mapped on the proxy server 325
in the example of FIG. 3).
[0117] In one embodiment, the local proxy 275 notifies the remote
proxy such that the remote proxy can monitor responses received for
the data request from the content source for changed results prior
to returning the result to the device 250, for example, when the
data request to the content source has yielded same results to be
returned to the mobile device. In general, the local proxy 275 can
simulate application server responses for applications on the
device 250, using locally cached content. This can prevent
utilization of the cellular network for transactions where
new/changed data is not available, thus freeing up network
resources and preventing network congestion.
[0118] In one embodiment, the local proxy 275 includes an
application behavior detector 236 to track, detect, observe,
monitor, applications (e.g., proxy aware and/or unaware
applications 210 and 220) accessed or installed on the device 250.
Application behaviors, or patterns in detected behaviors (e.g., via
the pattern detector 237) of one or more applications accessed on
the device 250 can be used by the local proxy 275 to optimize
traffic in a wireless network needed to satisfy the data needs of
these applications.
[0119] For example, based on detected behavior of multiple
applications, the traffic shaping engine 255 can align content
requests made by at least some of the applications over the network
(wireless network) (e.g., via the alignment module 256). The
alignment module can delay some earlier received requests to
achieve alignment. When requests are aligned, the traffic shaping
engine 255 can utilize the connection manager to poll over the
network to satisfy application data requests. Content requests for
multiple applications can be aligned based on behavior patterns or
rules/settings including, for example, content types requested by
the multiple applications (audio, video, text, etc.), mobile device
parameters, and/or network parameters/traffic conditions, network
service provider constraints/specifications, etc.
[0120] In one embodiment, the pattern detector 237 can detect
recurrences in application requests made by the multiple
applications, for example, by tracking patterns in application
behavior. A tracked pattern can include, detecting that certain
applications, as a background process, poll an application server
regularly, at certain times of day, on certain days of the week,
periodically in a predictable fashion, with a certain frequency,
with a certain frequency in response to a certain type of event, in
response to a certain type user query, frequency that requested
content is the same, frequency with which a same request is made,
interval between requests, applications making a request, or any
combination of the above, for example.
[0121] Such recurrences can be used by traffic shaping engine 255
to offload polling of content from a content source (e.g., from an
application server/content provider 110 of FIG. 1) that would
result from the application requests that would be performed at the
mobile device 250 to be performed instead, by a proxy server (e.g.,
proxy server 125 of FIG. 1B or proxy server 325 of FIG. 3) remote
from the device 250. Traffic engine 255 can decide to offload the
polling when the recurrences match a rule. The offloading of the
polling can decrease the amount of bandwidth consumption needed by
the mobile device 250 to establish a wireless (cellular) connection
with the content source for repetitive content polls.
[0122] As a result of the offloading of the polling, locally cached
content stored in the local cache 285 can be provided to satisfy
data requests at the device 250, when content change is not
detected in the polling of the content sources. As such, when data
has not changed, application data needs can be satisfied without
needing to enable radio use or occupying cellular bandwidth in a
wireless network. When data has changed and/or new data has been
received, the remote entity to which polling is offloaded, can
notify the device 250. The remote entity may be the host server 300
as shown in the example of FIG. 3.
[0123] In one embodiment, the local proxy 275 can mitigate the
need/use of periodic keep alive messages (heartbeat messages) to
maintain TCP/IP connections, which can consume significant amounts
of power thus having detrimental impacts on mobile device battery
life. The connection manager 265 in the local proxy (e.g., the
heartbeat manager 267) can detect, identify, and intercept any or
all heartbeat (keep-alive) messages being sent from
applications.
[0124] The heartbeat manager 267 can prevent any or all of these
heartbeat messages from being sent over the cellular, or other
network, and instead rely on the server component of the
distributed proxy system (e.g., shown in FIG. 1B) to generate the
and send the heartbeat messages to maintain a connection with the
backend (e.g., app server/provider 110 in the example of FIG.
1).
[0125] The local proxy 275 generally represents any one or a
portion of the functions described for the individual managers,
modules, and/or engines. The local proxy 275 and device 250 can
include additional or less components; more or less functions can
be included, in whole or in part, without deviating from the novel
art of the disclosure.
[0126] FIG. 2B depicts a block diagram illustrating another example
of the user activity module 215 having a prediction engine 216 in
the local proxy 275 on the client-side of the distributed proxy
system shown in the example of FIG. 2A.
[0127] As described in FIG. 2A, the user activity module 215 is
able to detect, track, monitor, process, analyze, user activities
at the mobile device 250. The user activities can be used to
determine user activity characteristics such as tracking user
activity given the time of day or day of the week, tracking
frequency of application use, tracking an order with which new data
is accessed or an order with which applications are accessed on the
mobile device, etc. The activity module 215 can generally detect,
determine, track, analyze user actions to determine characteristics
for user actions, which can include habits, tendencies, or
patterns.
[0128] The activity module 215 can identify a user's general
behavior with respect to using the device 250. For example, the
activity module 215 can determine that a user uses the device 250
more frequently during certain hours of the day, or days of the
week; the module can determine that the user 250 has a preference
for calling vs. SMS based on time, day of week, etc;
time/day-dependent preference for using certain applications, types
of applications, checking certain email accounts (e.g., if a user
tends to check one email account more frequently during the week
and another email account during the weekend), time/day-dependent
frequency of checking certain applications (e.g., if a user checks
Facebook more often on weekends, or in the afternoons during
weekdays compared to in the morning; if a user Tweets more at night
or in the day time; if a user uses Yelp mobile more on the weekends
or on the weekdays, or during the daytime or night time); if a user
tends to access, launch, check applications, accounts, services in
a certain order (whether the ordering has time/day
dependencies).
[0129] The user's behavior with respect to a particular application
can be determined by the module 215. For example, the activity
module 215 can detect, identify, analyze, or process a user's
activities on a certain application, account, or service. The
module 215 can, for instance, determine that the user tends to use
certain features but not others on a certain application (e.g., a
user tends to use Facebook Walls for messaging rather than private
messaging), a user tends to communicate with one individual via one
service and another individual via another service, etc.
[0130] In addition to time/day dependent preferences or time/day
dependent frequencies of use/access, the above actions may also
include location-based dependencies, or location-based dependencies
in conjunction with time/day based dependencies. For example, the
activity module 215 can determine that a user uses Google maps when
the device 250 is detected to be on-the-go, or when the user is
away from a specific geo-location (e.g., home location or office
location), etc. The activity module 215 can determine that the
frequency with which a user uses certain applications or accounts
changes with geo-location, and/or when the user is determined to be
on-the-go, or traveling, etc.
[0131] In one embodiment, the user activity module 215 can detect,
identify, and/or determining a user's quiet time (e.g., the user is
sleeping or otherwise does not use the device 250 (e.g., or if the
user is driving/commuting), a time when the user turns off certain
connections, closes out of certain applications, or does not check
certain applications, accounts, and/or services, etc.
[0132] Based on the tracked user behaviors, activities, habits,
tendencies, the prediction engine 216 can use any of the
information related to user activity characteristics to predict
user behavior, and use the predicted user behavior to anticipate or
predict future activity sessions at the device 250. Predicted
activity sessions can be used to facilitate data transfer to
optimize network use and can have the advantage of also enhancing
user experience with mobile applications/accounts.
[0133] For example, the prediction engine 216 can communicate any
predicted activity sessions or predicted user behavior to the proxy
server 325 for use in determining a timing with which to transfer
impending data from the host server (e.g., server 300 of FIG. 3A)
to the device 250. For example, the prediction engine 216 may,
based on determined user activities and past behavior, determine
that the user typically accesses his/her Outlook Enterprise email
account at around 7:30 am most week day mornings. The prediction
engine 216 can then generate a predicted activity session for this
email access event for use by the host server to time when emails
for the email account are transmitted to the device 250.
[0134] For example, the server may not need to initiate a
transaction to push emails received between 3 am-7 am to the device
250 until around 7:15 or some time before the predicted activity
session since the user is not expected to access it until around
7:30 am. This way, network resources can be conserved, as can power
consumption of the device 250.
[0135] In some instances, the server can in addition to, or instead
use the behavior of a content provider/application server (e.g.,
the server/provider 110 in the examples of FIG. 1A and FIG. 1B with
which the mobile device 250 interacts to satisfy content requests
or needs of the device 250) to determine an optimal timing with
which to transfer data to the mobile device, as will be further
described in conjunction with the example of FIG. 3B. The activity
of the provider/server can be detected and/or tracked through the
server-side of the proxy system, as shown in the example of FIG.
3B.
[0136] FIG. 3A depicts a block diagram illustrating an example of
server-side components in a distributed proxy and cache system
residing on a host server 300 that manages traffic in a wireless
network for resource conservation.
[0137] The host server 300 generally includes, for example, a
network interface 308 and/or one or more repositories 312, 314,
316. Note that server 300 may be any portable/mobile or
non-portable device, server, cluster of computers and/or other
types of processing units (e.g., any number of a machine shown in
the example of FIG. 11) able to receive, transmit signals to
satisfy data requests over a network including any wired or
wireless networks (e.g., WiFi, cellular, Bluetooth, etc.).
[0138] The network interface 308 can include networking module(s)
or devices(s) that enable the server 300 to mediate data in a
network with an entity that is external to the host server 300,
through any known and/or convenient communications protocol
supported by the host and the external entity. Specifically, the
network interface 308 allows the server 308 to communicate with
multiple devices including mobile phone devices 350, and/or one or
more application servers/content providers 310.
[0139] The host server 300 can store information about connections
(e.g., network characteristics, conditions, types of connections,
etc.) with devices in the connection metadata repository 312.
Additionally, any information about third party application or
content providers can also be stored in 312. The host server 300
can store information about devices (e.g., hardware capability,
properties, device settings, device language, network capability,
manufacturer, device model, OS, OS version, etc.) in the device
information repository 314. Additionally, the host server 300 can
store information about network providers and the various network
service areas in the network service provider repository 316.
[0140] The communication enabled by 308 allows for simultaneous
connections (e.g., including cellular connections) with devices 350
and/or connections (e.g., including wired/wireless, HTTP, Internet
connections, LAN, Wifi, etc.) with content servers/providers 310,
to manage the traffic between devices 350 and content providers
310, for optimizing network resource utilization and/or to
conserver power (battery) consumption on the serviced devices 350.
The host server 300 can communicate with mobile devices 350
serviced by different network service providers and/or in the
same/different network service areas. The host server 300 can
operate and is compatible with devices 350 with varying types or
levels of mobile capabilities, including by way of example but not
limitation, 1 G, 2G, 2G transitional (2.5G, 2.75G), 3G (IMT-2000),
3G transitional (3.5G, 3.75G, 3.9G), 4G (IMT-advanced), etc.
[0141] In general, the network interface 308 can include one or
more of a network adaptor card, a wireless network interface card
(e.g., SMS interface, WiFi interface, interfaces for various
generations of mobile communication standards including but not
limited to 1 G, 2G, 3G, 3.5G, 4G, LTE, etc.), Bluetooth, a router,
an access point, a wireless router, a switch, a multilayer switch,
a protocol converter, a gateway, a bridge, bridge router, a hub, a
digital media receiver, and/or a repeater.
[0142] The host server 300 can further include, server-side
components of the distributed proxy and cache system which can
include, a proxy server 325 and a server cache 335. In one
embodiment, the server proxy 325 can include an HTTP access engine
345, a caching policy manager 355, a proxy controller 365, a
traffic shaping engine 375, a new data detector 386, and/or a
connection manager 395.
[0143] The HTTP access engine 345 may further include a heartbeat
manager 346, the proxy controller 365 may further include a data
invalidator module 366, the traffic shaping engine 375 may further
include a control protocol 276 and a batching module 377.
Additional or less components/modules/engines can be included in
the proxy server 325 and each illustrated component.
[0144] As used herein, a "module," "a manager," a "handler," a
"detector," an "interface," a "controller," or an "engine" includes
a general purpose, dedicated or shared processor and, typically,
firmware or software modules that are executed by the processor.
Depending upon implementation-specific or other considerations, the
module, manager, handler, or engine can be centralized or its
functionality distributed. The module, manager, handler, or engine
can include general or special purpose hardware, firmware, or
software embodied in a computer-readable (storage) medium for
execution by the processor. As used herein, a computer-readable
medium or computer-readable storage medium is intended to include
all mediums that are statutory (e.g., in the United States, under
35 U.S.C. .sctn.101), and to specifically exclude all mediums that
are non-statutory in nature to the extent that the exclusion is
necessary for a claim that includes the computer-readable (storage)
medium to be valid. Known statutory computer-readable mediums
include hardware (e.g., registers, random access memory (RAM),
non-volatile (NV) storage, to name a few), but may or may not be
limited to hardware.
[0145] In the example of a device (e.g., mobile device 350) making
an application or content request to an app server or content
provider 310, the request may be intercepted and routed to the
proxy server 325, which is coupled to the device 350 and the
provider 310. Specifically, the proxy server is able to communicate
with the local proxy (e.g., proxy 175 and 275 of the examples of
FIG. 1 and FIG. 2 respectively) of the device 350, the local proxy
forwards the data request to the proxy server 325 for, in some
instances, further processing, and if needed, for transmission to
the content server 310 for a response to the data request.
[0146] In such a configuration, the host 300, or the proxy server
325 in the host server 300 can utilize intelligent information
provided by the local proxy in adjusting its communication with the
device in such a manner that optimizes use of network and device
resources. For example, the proxy server 325 can identify
characteristics of user activity on the device 350 to modify its
communication frequency. The characteristics of user activity can
be determined by, for example, the activity/behavior awareness
module 366 in the proxy controller 365, via information collected
by the local proxy on the device 350.
[0147] In one embodiment, communication frequency can be controlled
by the connection manager 396 of the proxy server 325, for example,
to adjust push frequency of content or updates to the device 350.
For instance, push frequency can be decreased by the connection
manager 396 when characteristics of the user activity indicate that
the user is inactive. In one embodiment, when the characteristics
of the user activity indicate that the user is subsequently active
after a period of inactivity, the connection manager 396 can adjust
the communication frequency with the device 350 to send data that
was buffered as a result of decreased communication frequency, to
the device 350.
[0148] In addition, the proxy server 325 includes priority
awareness of various requests, transactions, sessions,
applications, and/or specific events. Such awareness can be
determined by the local proxy on the device 350 and provided to the
proxy server 325. The priority awareness module 367 of the proxy
server 325 can generally assess the priority (e.g., including
time-criticality, time-sensitivity, etc.) of various events or
applications; additionally, the priority awareness module 367 can
track priorities determined by local proxies of devices 350.
[0149] In one embodiment, through priority awareness, the
connection manager 395 can further modify communication frequency
(e.g., use or radio as controlled by the radio controller 396) of
the server 300 with the devices 350. For example, the server 300
can notify the device 350, thus requesting use of the radio if it
is not already in use, when data or updates of an
importance/priority level which meets a criteria becomes available
to be sent.
[0150] In one embodiment, the proxy server 325 can detect multiple
occurrences of events (e.g., transactions, content, data received
from server/provider 310) and allow the events to accumulate for
batch transfer to device 350. Batch transfer can be cumulated and
transfer of events can be delayed based on priority awareness
and/or user activity/application behavior awareness, as tracked by
modules 366 and/or 367. For example, batch transfer of multiple
events (of a lower priority) to the device 350 can be initiated by
the batching module 377 when an event of a higher priority (meeting
a threshold or criteria) is detected at the server 300. In
addition, batch transfer from the server 300 can be triggered when
the server receives data from the device 350, indicating that the
device radio is already in use and is thus on. In one embodiment,
the proxy server 324 can order the each messages/packets in a batch
for transmission based on event/transaction priority, such that
higher priority content can be sent first, in case connection is
lost or the battery dies, etc.
[0151] In one embodiment, the server 300 caches data (e.g., as
managed by the caching policy manager 355) such that communication
frequency over a network (e.g., cellular network) with the device
350 can be modified (e.g., decreased). The data can be cached, for
example in the server cache 335, for subsequent retrieval or batch
sending to the device 350 to potentially decrease the need to turn
on the device 350 radio. The server cache 335 can be partially or
wholly internal to the host server 300, although in the example of
FIG. 3, it is shown as being external to the host 300. In some
instances, the server cache 335 may be the same as and/or
integrated in part or in whole with another cache managed by
another entity (e.g., the optional caching proxy server 199 shown
in the example of FIG. 1B), such as being managed by an application
server/content provider 110, a network service provider, or another
third party.
[0152] In one embodiment, content caching is performed locally on
the device 350 with the assistance of host server 300. For example,
proxy server 325 in the host server 300 can query the application
server/provider 310 with requests and monitor changes in responses.
When changed or new responses are detected (e.g., by the new data
detector 347), the proxy server 325 can notify the mobile device
350, such that the local proxy on the device 350 can make the
decision to invalidate (e.g., indicated as out-dated) the relevant
cache entries stored as any responses in its local cache.
Alternatively, the data invalidator module 368 can automatically
instruct the local proxy of the device 350 to invalidate certain
cached data, based on received responses from the app
server/provider 310.
[0153] Note that data change can be detected by the detector 347 in
one or more ways. For example, the server/provider 310 can notify
the host server 300 upon a change. The change can also be detected
at the host server 300 in response to a direct poll of the source
server/provider 310. In some instances, the proxy server 325 can in
addition, pre-load the local cache on the device 350 with the
new/updated data. This can be performed when the host server 300
detects that the radio on the mobile device is already in use, or
when the server 300 has additional content/data to be sent to the
device 350.
[0154] One or more the above mechanisms can be implemented
simultaneously or adjusted/configured based on application (e.g.,
different policies for different servers/providers 310). In some
instances, the source provider/server 310 may notify the host 300
for certain types of events (e.g., events meeting a priority
threshold level). In addition, the provider/server 310 may be
configured to notify the host 300 at specific time intervals,
regardless of event priority.
[0155] In one embodiment, the proxy server 325 of the host 300 can
monitor/track responses received for the data request from the
content source for changed results prior to returning the result to
the mobile device, such monitoring may be suitable when data
request to the content source has yielded same results to be
returned to the mobile device, thus preventing network/power
consumption from being used when no new/changes are made to a
particular requested. The local proxy of the device 350 can
instruct the proxy server 325 to perform such monitoring or the
proxy server 325 can automatically initiate such a process upon
receiving a certain number of the same responses (e.g., or a number
of the same responses in a period of time) for a particular
request.
[0156] In one embodiment, the server 300, for example, through the
activity/behavior awareness module 366, is able to identify or
detect user activity, at a device that is separate from the mobile
device 350. For example, the module 366 may detect that a user's
message inbox (e.g., email or types of inbox) is being accessed.
This can indicate that the user is interacting with his/her
application using a device other than the mobile device 350 and may
not need frequent updates, if at all.
[0157] The server 300, in this instance, can thus decrease the
frequency with which new or updated content is sent to the mobile
device 350, or eliminate all communication for as long as the user
is detected to be using another device for access. Such frequency
decrease may be application specific (e.g., for the application
with which the user is interacting with on another device), or it
may be a general frequency decrease (e.g., since the user is
detected to be interacting with one server or one application via
another device, he/she could also use it to access other services)
to the mobile device 350.
[0158] In one embodiment, the host server 300 is able to poll
content sources 310 on behalf of devices 350 to conserve power or
battery consumption on devices 350. For example, certain
applications on the mobile device 350 can poll its respective
server 310 in a predictable recurring fashion. Such recurrence or
other types of application behaviors can be tracked by the
activity/behavior module 366 in the proxy controller 365. The host
server 300 can thus poll content sources 310 for applications on
the mobile device 350, that would otherwise be performed by the
device 350 through a wireless (e.g., including cellular
connectivity). The host server can poll the sources 310 for new or
changed data by way of the HTTP access engine 345 to establish HTTP
connection or by way of radio controller 396 to connect to the
source 310 over the cellular network. When new or changed data is
detected, the new data detector can notify the device 350 that such
data is available and/or provide the new/changed data to the device
350.
[0159] In one embodiment, the connection manager 395 determines
that the mobile device 350 is unavailable (e.g., the radio is
turned off) and utilizes SMS to transmit content to the device 350,
for instance via the SMSC shown in the example of FIG. 1B. The host
server 300 can use SMS for certain transactions or responses having
a priority level above a threshold or otherwise meeting a criteria.
The server 300 can also utilize SMS as an out-of-band trigger to
maintain or wake-up an IP connection as an alternative to
maintaining an always-on IP connection.
[0160] In one embodiment, the connection manager 395 in the proxy
server 325 (e.g., the heartbeat manager 398) can generate and/or
transmit heartbeat messages on behalf of connected devices 350, to
maintain a backend connection with a provider 310 for applications
running on devices 350.
[0161] For example, in the distributed proxy system, local cache on
the device 350 can prevent any or all heartbeat messages needed to
maintain TCP/IP connections required for applications, from being
sent over the cellular, or other network, and instead rely on the
proxy server 325 on the host server 300 to generate and/or send the
heartbeat messages to maintain a connection with the backend (e.g.,
app server/provider 110 in the example of FIG. 1). The proxy server
can generate the keep-alive (heartbeat) messages independent of the
operations of the local proxy on the mobile device.
[0162] The repositories 312, 314, and/or 316 can additionally store
software, descriptive data, images, system information, drivers,
and/or any other data item utilized by other components of the host
server 300 and/or any other servers for operation. The repositories
may be managed by a database management system (DBMS), for example
but not limited to, Oracle, DB2, Microsoft Access, Microsoft SQL
Server, PostgreSQL, MySQL, FileMaker, etc.
[0163] The repositories can be implemented via object-oriented
technology and/or via text files, and can be managed by a
distributed database management system, an object-oriented database
management system (OODBMS) (e.g., ConceptBase, FastDB Main Memory
Database Management System, JDOlnstruments, ObjectDB, etc.), an
object-relational database management system (ORDBMS) (e.g.,
Informix, OpenLink Virtuoso, VMDS, etc.), a file system, and/or any
other convenient or known database management package.
[0164] FIG. 3B depicts a block diagram illustrating another example
of the server-side components of the distributed proxy system shown
in the example of FIG. 3A as further including a user experience
(UE) enhancement engine 385 and with the traffic shaping engine 375
further including a delay module 378.
[0165] The UE enhancement engine 385 may further include an
activity prediction engine 386 having a server activity tracker
387, a contextual data tracker 389 and/or a pre-caching engine
390.
[0166] The server activity tracker 387 can track the activity or
behavior of a server (application server/content provider 110 in
the examples of FIG. 1A and FIG. 1B) for use in predicting data
activity at the app server/content provider. The activity/behavior
determined by the activity tracker can be used, for example, by the
traffic shaping engine 375 in determining a timing with which data
received from the server is to be transmitted to a mobile device.
In general, the server is a host (e.g., Facebook server, email
server, RSS service, any other web services, etc.) with which the
mobile device interacts to satisfy content requests/needs.
[0167] In general, server activity/behavior can include any action
or activity detected on the server for servicing content requests
made by an associated application, service, or account on a device
(e.g., device 250 in the example of FIG. 2A). Server activity can
include, for example, amount of impending data to be transferred to
the mobile device, last-accessed time or a frequency of access,
etc.
[0168] Determined or detected server activity can be used in
determining a timing with which to transfer impending data from the
host server. For example, if the activity tracker 387 detects that
a recent data transfer was made from the Facebook server to the
device, the traffic shaping engine 375, may delay the time (e.g.,
via the delay module 378) with which the next data transfer is to
be made, for example, based on predicted future activity session.
Alternatively, in response to determining that a large amount of
data is impending at the host to be sent to the mobile device, the
traffic shaping engine 375 may decide to initiate a transfer
without delay or with minimal delay.
[0169] One embodiment of the activity prediction engine 386 further
includes a contextual data tracker 389 to detect contextual data
for use in the anticipation of future activity session(s).
Contextual data can be used alone or in conjunction with server
activity by the prediction engine 386 in anticipating future
activity sessions (e.g., future activity, future data
events/transactions at a content host/app server/provider).
[0170] Contextual data can include, for example, location changes
or motion of a mobile device, states or statuses of applications on
the mobile device (e.g., if the application is active or inactive,
running in the foreground or background, if a user is actively
interacting with the application or if background maintenance
processes are running, etc.). Contextual data can be determined
from one or more hardware sensors on a device, for example, device
backlight, a device electronic compass, motion sensor, tilt sensor,
light sensor, gesture sensor, input detector (keyboard, mouse,
touch screen), proximity sensor, capacitive sensor, resistive
sensor, image detector, a camera, GPS receiver, etc.
[0171] In one embodiment, the traffic shaping engine 375 can
categorize the activity that is being processed by the host server
300 since the last user activity session. Predicted or anticipated
activity sessions which can be generated by the activity prediction
engine 386 can include:
[0172] 1) A list of URLs representing application servers/content
providers (e.g., the provider/server 110 of FIG. 1A-1B);
[0173] 2) For each URL, a count of impending data that is available
to the user for that URL to be transmitted to the device;
[0174] 3) For each URL, a last-accessed time and/or a frequency of
access.
[0175] Once created, the traffic shaping engine 375 can prioritize
the app servers/content providers (or the representing URLs) based
on last accessed time, frequency, impending data count, or other
criteria to form a prioritized list of host URL targets. This
predicted or anticipated activity session may form the basis for
predicting whether a subsequent mobile device data request will
activate the session (i.e., turn the predicted activity session
into an activity session).
[0176] The predicted activity session can be used by the traffic
shaping engine 375 to determining a timing with which to transfer
impending data from the host server to the mobile device to support
predicted data activity for the future activity session. In one
embodiment, transfer of the impending content is performed over a
multiplexed TCP connection supporting multiple HTTP sessions. In
some instances, the impending content is transferred from the host
server the mobile device to pre-cache content (e.g., by the
pre-caching module 390) on the mobile device to support predicted
data activity for the future activity session. The pre-caching can
enhance a user's experience since the data is provided to the user
before it is actually requested (e.g., in the predicted activity
session).
[0177] FIG. 4 depicts a diagram showing how data requests from a
mobile device 450 to an application server/content provider 496 in
a wireless network can be coordinated by a distributed proxy system
460 in a manner such that network and battery resources are
conserved through using content caching and monitoring performed by
the distributed proxy system 460.
[0178] In satisfying application or client requests on a mobile
device 450 without the distributed proxy system 460, the mobile
device 450, or the software widget executing on the device 450
performs a data request 402 (e.g., an HTTP get request) directly to
the application server 495 and receives a response 404 directly
from the server/provider 495. If the data has been updated, the
widget on the mobile device 450 can refreshes itself to reflect the
update and waits for small period of time and initiates another
data request to the server/provider 495.
[0179] In one embodiment, the requesting client or software widget
455 on the device 450 can utilize the distributed proxy system 460
in handling the data request made to server/provider 495. In
general, the distributed proxy system 460 can include a local proxy
465 (which is typically considered a client-side component of the
system 460 and can reside on the mobile device 450), a caching
proxy (475, considered a server-side component 470 of the system
460 and can reside on the host server 485 or be wholly or partially
external to the host server 485), a host server 485. The local
proxy 465 can be connected to the proxy 475 and host server 485 via
any network or combination of networks.
[0180] When the distributed proxy system 460 is used for
data/application requests, the widget 455 can perform the data
request 406 via the local proxy 465. The local proxy 465, can
intercept the requests made by device applications, and can
identify the connection type of the request (e.g., an HTTP get
request or other types of requests). The local proxy 465 can then
query the local cache for any previous information about the
request (e.g., to determine whether a locally stored response is
available and/or still valid). If a locally stored response is not
available or if there is an invalid response stored, the local
proxy 465 can update or store information about the request, the
time it was made, and any additional data, in the local cache. The
information can be updated for use in potentially satisfying
subsequent requests.
[0181] The local proxy 465 can then send the request to the host
server 485 and the server 485 can perform the request 406 and
returns the results in response 408. The local proxy 465 can store
the result and in addition, information about the result and
returns the result to the requesting widget 455.
[0182] In one embodiment, if the same request has occurred multiple
times (within a certain time period) and it has often yielded same
results, the local proxy 465 can notify 410 the server 485 that the
request should be monitored (e.g., steps 412 and 414) for result
changes prior to returning a result to the local proxy 465 or
requesting widget 455.
[0183] In one embodiment, if a request is marked for monitoring,
the local proxy 465 can now store the results into the local cache.
Now, when the data request 416, for which a locally response is
available, is made by the widget 455 and intercepted at the local
proxy 465, the proxy 465 can return the response 418 from the local
cache without needing to establish a connection communication over
the wireless network.
[0184] In addition, the server proxy performs the requests marked
for monitoring 420 to determine whether the response 422 for the
given request has changed. In general, the host server 485 can
perform this monitoring independently of the widget 455 or local
proxy 465 operations. Whenever an unexpected response 422 is
received for a request, the server 485 can notify the local proxy
465 that the response has changed (e.g., the invalidate
notification in step 424) and that the locally stored response on
the client should be erased or replaced with a new response.
[0185] In this case, a subsequent data request 426 by the widget
455 from the device 450 results in the data being returned from
host server 485 (e.g., via the caching proxy 475). Thus, through
utilizing the distributed proxy system 460 the wireless (cellular)
network is intelligently used when the content/data for the widget
or software application 455 on the mobile device 450 has actually
changed. As such, the traffic needed to check for the changes to
application data is not performed over the wireless (cellular)
network. This reduces the amount of generated network traffic and
shortens the total time and the number of times the radio module is
powered up on the mobile device 450, thus reducing battery
consumption, and in addition, frees up network bandwidth.
[0186] FIG. 5 depicts a diagram showing one example process for
implementing a hybrid IP and SMS power saving mode on a mobile
device 550 using a distributed proxy and cache system (e.g., such
as the distributed system shown in the example of FIG. 1B).
[0187] In step 502, the local proxy (e.g., proxy 175 in the example
of FIG. 1B) monitors the device for user activity. When the user is
determined to be active, server push is active. For example,
always-on-push IP connection can be maintained and if available,
SMS triggers can be immediately sent to the mobile device 550 as it
becomes available.
[0188] In process 504, after the user has been detected to be
inactive or idle over a period of time (e.g., the example is shown
for a period of inactivity of 20 min.), the local proxy can adjust
the device to go into the power saving mode. In the power saving
mode, when the local proxy receives a message or a correspondence
from a remote proxy (e.g., the server proxy 135 in the example of
FIG. 1B) on the server-side of the distributed proxy and cache
system, the local proxy can respond with a call indicating that the
device 550 is currently in power save mode (e.g., via a power save
remote procedure call). In some instances, the local proxy take the
opportunity to notify multiple accounts or providers (e.g., 510A,
and 510B) of the current power save status (e.g., timed to use the
same radio power-on event).
[0189] In one embodiment, the response from the local proxy can
include a time (e.g., the power save period) indicating to the
remote proxy (e.g., server proxy 135) and/or the app
server/providers 510A/B when the device 550 is next able to receive
changes or additional data. A default power savings period can be
set by the local proxy. Consecutive power saving periods can
increase in duration. For example, if a first power saving period
has elapsed without an activity occurring, the device 550 can
continue into a second power saving mode with a longer time period
(e.g., see periods one 503 and period two 505). In general, any
activity on the device takes the client out of power saving mode
and ends that particular power save event.
[0190] In addition, if new data or event is received before the end
of any one power saving period, then the wait period communicated
to the servers 510A/B can be the existing period, rather than an
incremented time period. For example, in step 506, since new
content was received during the power saving mode, the next wait
period communicated in step 508 to servers 510A/B is again the same
time saving period. In response, the remote proxy server, upon
receipt of power save notification from the device 550, can stop
sending changes (data or SMS's) for the period of time requested
(the wait period). At the end of the wait period, any notifications
received can be acted upon and changes sent to the device 550 as a
single batched event. If no notifications come in, then true push
can be resumed with the data or an SMS being sent immediately to
the device 550. To optimize batch sending content to the mobile
device 550, the proxy server can start the poll or data collect
event earlier (before the end of a power save period) in order to
increase the chance that the client will receive data at the next
radio power on event.
[0191] In one embodiment, whenever new data or content comes into
the device 550 while it is in a power saving mode, it can respond
with the power saving remote procedure call to all end points
currently registered (e.g., server/providers 510A/B). Note that the
wait period can be updated in operation in real time to accommodate
operating conditions. For example, as the mobile device 550 sends
additional power saving calls (e.g., with updated wait times) if
multiple servers 510A/B or others, respond to the end of a wait
period with different delays, the local proxy can adjust the wait
period on the fly to accommodate the different delays.
[0192] Detection of user activity 512 at the device 550 causes the
power save mode to be exited. When the device 550 exits power save
mode, it can send power save cancel call to the proxy server and
immediately receives any changes associated with any pending
notifications. This may require a poll to be run by the proxy
server after receiving the power saving cancel call. If the latest
power saving period has expired, then no power save cancel call may
be needed as the proxy server will already be in traditional push
operation mode.
[0193] In one embodiment, power save mode is not applied when the
device 550 is plugged into a charger. This setting can be
reconfigured or adjusted by the user or another party. In general,
the power save mode can be turned on and off, for example, by the
user via a user interface on device 550. In general, timing of
power events to receive data can be synced with any power save
calls to optimize radio use.
[0194] FIG. 6 depicts a flow chart illustrating an example process
for using user activity and/or application server/provider activity
to time the transfer of data from the host to the mobile device to
optimize use of network resources.
[0195] In process 602, user activity at a mobile device is detected
and tracked in process 606. In process 604, server activity is
detected for a host server (e.g., an application server or content
provider such as app server/provider 110 in the examples of FIG.
1A-1B) with which the mobile device interacts to satisfy content
requests at the mobile device. In process 608, the server activity
can be tracked. In one embodiment, the user behavior and activity
are detected and tracked by a local proxy on the mobile device and
the server activity of the host server (app server/content
provider) is tracked and detected by a remote proxy which is able
to wirelessly communicate with the local proxy in a distributed
proxy system. Some examples of the types of user activities and
server activities that can be tracked or characterized are shown in
the examples of FIG. 7-8.
[0196] Using the user activity and/or the server activity, the
timing with which to transfer impending data from the host server
to the mobile device is determined. In one embodiment, the timing
is determined based on prediction of a future activity session at
the mobile device.
[0197] in process 610 and in process 612, the impending data is
transferred from the host server to the mobile device according to
the timing. The timing is generally determined such that network
resource use is optimized and/or such that user experience is
enhanced or preserved. For example, the transferring of impending
data comprises pre-caching of content on the mobile device to
support data activity for a future activity session predicted based
on the user behavior and the server activity.
[0198] In addition, server activities of multiple host servers
(e.g., multiple application servers or content providers including
by way of example but not limitation, push notification servers,
email hosts, RSS, web services, web sites, gaming sites, etc.) with
which the mobile device interacts to satisfy content requests at
the mobile device are detected and/or tracked in process 616. In
process 618, based on the server activities of multiple hosts and
providers, the likelihood that an activity session initiated at the
mobile device will interact with a given host server (application
server or provider) can be predicted. Based on the prediction, each
of the multiple host servers are prioritized based on the
prediction of likelihood an activity session initiated at the
mobile device will interact with a given host server, in process
620.
[0199] FIG. 7 depicts an example of processes which can be used to
for user behavior prediction.
[0200] For example, the system (either the local proxy on the
device side or the server proxy on the server side, or a
combination thereof) can detect a pattern of user-initiated events
at the mobile device, in process 702. For example, a pattern can
include, a correlation in time between initiations of one
application and another application, or correlation between
initiation of one event/transaction and another event/transaction.
The system can also track the user activity given the time of day
or day of the week in process 704, and identify any patterns in
user behavior such as preferences or habits with regards to
application use frequency, which applications are used, and/or
which activities the user is engaged in with each application,
[0201] The system can further track an order with which new data is
accessed or an order with which applications are accessed on the
mobile device, in process 708, and/or through collaborative
filtering, in process 710. Any number of and combination of the
above events can be used to predict user behavior, in step 712.
[0202] Note that user behavior can be determined for different
contexts. For example, the system can determine user behavior with
respect to accessing work email and behavior with respect to
accessing personal email accounts (e.g., time of day or day of week
a user accesses certain accounts, frequency, actions taken,
features used, etc.). In addition, user behavior may also be
determined with respect to different applications or services
(e.g., when and how frequently a user uses Facebook, tweets,
accesses Yelp, uses Maps/Location/Direction applications, etc.)
[0203] FIG. 8 depicts an example of processes which can be used to
detect app server/provider characteristics.
[0204] For example, the last last-accessed time or a frequency of
access of the host server (application server/service provider) can
be determined in process 802, or an amount of impending data to be
transferred to the mobile device can be determined in process 804.
In general, server activities can be detected and monitored by the
server-side components (e.g., the proxy server) of the distributed
proxy and cache system. Such information can be used alone or in
conjunction to detect server activity characteristics, in process
806.
[0205] FIG. 9 depicts a flow chart illustrating an example process
to anticipate a future activity session at a mobile device to
enhance user experience with a mobile application.
[0206] In process 902, user activity characteristics at a mobile
device and server activity characteristics of a host server are
detected. The host server is a server with which the mobile device
interacts with to satisfy application requests (e.g., mobile
applications) at the mobile device and can include, for example,
application servers or content providers.
[0207] In process 904, a future activity session can be anticipated
at the mobile device. In addition, contextual cues can be used in
the anticipation of the activity session as illustrated at flow `A`
in the example of FIG. 10.
[0208] In process 906, decision is made to pre-cache content on the
mobile device to support predicted data activity for the future
activity session that has been predicted. In process 908, impending
content is transferred from the host server the mobile device to
pre-cache content, such that user experience with the mobile
application can be enhanced.
[0209] FIG. 10 depicts an example of processes through which
contextual data for use in anticipation of future activity sessions
can be determined.
[0210] For example, location change of the mobile device can be
detected, in step 1004; changes in readings of hardware sensors
(e.g., motion, GPS, temperature, tilt, vibration, capacitive,
resistive, ambient light, device backlight, etc.) on the mobile
device can be detected in 1006, and/or states or statuses of
applications (e.g., activity state, foreground/background status,
etc.) on the mobile device can be detected in 1008.
[0211] FIG. 11 shows a diagrammatic representation of a machine in
the example form of a computer system within which a set of
instructions, for causing the machine to perform any one or more of
the methodologies discussed herein, may be executed.
[0212] In alternative embodiments, the machine operates as a
standalone device or may be connected (e.g., networked) to other
machines. In a networked deployment, the machine may operate in the
capacity of a server or a client machine in a client-server network
environment, or as a peer machine in a peer-to-peer (or
distributed) network environment.
[0213] The machine may be a server computer, a client computer, a
personal computer (PC), a user device, a tablet PC, a laptop
computer, a set-top box (STB), a personal digital assistant (PDA),
a cellular telephone, an iPhone, an iPad, a Blackberry, a
processor, a telephone, a web appliance, a network router, switch
or bridge, a console, a hand-held console, a (hand-held) gaming
device, a music player, any portable, mobile, hand-held device, or
any machine capable of executing a set of instructions (sequential
or otherwise) that specify actions to be taken by that machine.
[0214] While the machine-readable medium or machine-readable
storage medium is shown in an exemplary embodiment to be a single
medium, the term "machine-readable medium" and "machine-readable
storage medium" should be taken to include a single medium or
multiple media (e.g., a centralized or distributed database, and/or
associated caches and servers) that store the one or more sets of
instructions. The term "machine-readable medium" and
"machine-readable storage medium" shall also be taken to include
any medium that is capable of storing, encoding or carrying a set
of instructions for execution by the machine and that cause the
machine to perform any one or more of the methodologies of the
presently disclosed technique and innovation.
[0215] In general, the routines executed to implement the
embodiments of the disclosure, may be implemented as part of an
operating system or a specific application, component, program,
object, module or sequence of instructions referred to as "computer
programs." The computer programs typically comprise one or more
instructions set at various times in various memory and storage
devices in a computer, and that, when read and executed by one or
more processing units or processors in a computer, cause the
computer to perform operations to execute elements involving the
various aspects of the disclosure.
[0216] Moreover, while embodiments have been described in the
context of fully functioning computers and computer systems, those
skilled in the art will appreciate that the various embodiments are
capable of being distributed as a program product in a variety of
forms, and that the disclosure applies equally regardless of the
particular type of machine or computer-readable media used to
actually effect the distribution.
[0217] Further examples of machine-readable storage media,
machine-readable media, or computer-readable (storage) media
include but are not limited to recordable type media such as
volatile and non-volatile memory devices, floppy and other
removable disks, hard disk drives, optical disks (e.g., Compact
Disk Read-Only Memory (CD ROMS), Digital Versatile Disks, (DVDs),
etc.), among others, and transmission type media such as digital
and analog communication links
[0218] Unless the context clearly requires otherwise, throughout
the description and the claims, the words "comprise," "comprising,"
and the like are to be construed in an inclusive sense, as opposed
to an exclusive or exhaustive sense; that is to say, in the sense
of "including, but not limited to." As used herein, the terms
"connected," "coupled," or any variant thereof, means any
connection or coupling, either direct or indirect, between two or
more elements; the coupling of connection between the elements can
be physical, logical, or a combination thereof. Additionally, the
words "herein," "above," "below," and words of similar import, when
used in this application, shall refer to this application as a
whole and not to any particular portions of this application. Where
the context permits, words in the above Detailed Description using
the singular or plural number may also include the plural or
singular number respectively. The word "or," in reference to a list
of two or more items, covers all of the following interpretations
of the word: any of the items in the list, all of the items in the
list, and any combination of the items in the list.
[0219] The above detailed description of embodiments of the
disclosure is not intended to be exhaustive or to limit the
teachings to the precise form disclosed above. While specific
embodiments of, and examples for, the disclosure are described
above for illustrative purposes, various equivalent modifications
are possible within the scope of the disclosure, as those skilled
in the relevant art will recognize. For example, while processes or
blocks are presented in a given order, alternative embodiments may
perform routines having steps, or employ systems having blocks, in
a different order, and some processes or blocks may be deleted,
moved, added, subdivided, combined, and/or modified to provide
alternative or subcombinations. Each of these processes or blocks
may be implemented in a variety of different ways. Also, while
processes or blocks are at times shown as being performed in
series, these processes or blocks may instead be performed in
parallel, or may be performed at different times. Further any
specific numbers noted herein are only examples: alternative
implementations may employ differing values or ranges.
[0220] The teachings of the disclosure provided herein can be
applied to other systems, not necessarily the system described
above. The elements and acts of the various embodiments described
above can be combined to provide further embodiments.
[0221] Any patents and applications and other references noted
above, including any that may be listed in accompanying filing
papers, are incorporated herein by reference. Aspects of the
disclosure can be modified, if necessary, to employ the systems,
functions, and concepts of the various references described above
to provide yet further embodiments of the disclosure.
[0222] These and other changes can be made to the disclosure in
light of the above Detailed Description. While the above
description describes certain embodiments of the disclosure, and
describes the best mode contemplated, no matter how detailed the
above appears in text, the teachings can be practiced in many ways.
Details of the system may vary considerably in its implementation
details, while still being encompassed by the subject matter
disclosed herein. As noted above, particular terminology used when
describing certain features or aspects of the disclosure should not
be taken to imply that the terminology is being redefined herein to
be restricted to any specific characteristics, features, or aspects
of the disclosure with which that terminology is associated. In
general, the terms used in the following claims should not be
construed to limit the disclosure to the specific embodiments
disclosed in the specification, unless the above Detailed
Description section explicitly defines such terms. Accordingly, the
actual scope of the disclosure encompasses not only the disclosed
embodiments, but also all equivalent ways of practicing or
implementing the disclosure under the claims.
[0223] While certain aspects of the disclosure are presented below
in certain claim forms, the inventors contemplate the various
aspects of the disclosure in any number of claim forms. For
example, while only one aspect of the disclosure is recited as a
means-plus-function claim under 35 U.S.C. .sctn.112, 6, other
aspects may likewise be embodied as a means-plus-function claim, or
in other forms, such as being embodied in a computer-readable
medium. (Any claims intended to be treated under 35 U.S.C.
.sctn.112, 6 will begin with the words "means for".) Accordingly,
the applicant reserves the right to add additional claims after
filing the application to pursue such additional claim forms for
other aspects of the disclosure.
* * * * *