[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

US20110252430A1 - Opportunistic Multitasking - Google Patents

Opportunistic Multitasking Download PDF

Info

Publication number
US20110252430A1
US20110252430A1 US12/869,553 US86955310A US2011252430A1 US 20110252430 A1 US20110252430 A1 US 20110252430A1 US 86955310 A US86955310 A US 86955310A US 2011252430 A1 US2011252430 A1 US 2011252430A1
Authority
US
United States
Prior art keywords
application
user application
user
state
background
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US12/869,553
Inventor
Gregory R. Chapman
Richard Schreyer
Thomas B. Duffy, JR.
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Apple Inc
Original Assignee
Apple Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Apple Inc filed Critical Apple Inc
Priority to US12/869,553 priority Critical patent/US20110252430A1/en
Assigned to APPLE INC. reassignment APPLE INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: SCHREYER, RICHARD, CHAPMAN, GREGORY R., DUFFY, THOMAS B., JR.
Publication of US20110252430A1 publication Critical patent/US20110252430A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications

Definitions

  • This disclosure relates generally to the field of computer science. More particularly, this disclosure relates to a technique for improving the user experience and power management in a personal electronic device.
  • Power constrained, hand-held devices are resource limited compared to larger, fixed, systems such as desk-top, workstation and notebook computers.
  • the computational power available simply cannot support the execution of a large number of concurrent processes/threads without significantly degrading the user experience and consuming the device's limited power resources.
  • system designers for these types of devices have traditionally permitted a limited multitasking capability at the operating system level (e.g., for core system functions), but have not supported multitasking at the user application level. While this approach has the benefit of minimizing the drain on the device's limited power resources, it also limits the ability to provide the user (via a user application) with an interactive environment.
  • Services for a personal electronic device are provided through which a form of background processing or multitasking is supported.
  • the disclosed services permit user applications to take advantage of background processing without significant negative consequences to a user's experience of the foreground process or the personal electronic device's power resources.
  • Implementation of the disclosed services may be substantially transparent to the executing user applications and, in some cases, may be performed without the user application's explicit cooperation.
  • a number of operational restrictions may be enforced. A consequence of such restrictions may be that a process will not be able to do in background, what it may be able to do if it were in the foreground.
  • a foreground user application is transitioned to a non-executing state as it is moved out of the foreground state.
  • a background process is given a maximum amount of time to complete a task before it is transitioned to a non-executing state.
  • audio applications e.g., user applications generating or recording audio signals
  • communication sockets instantiated for a user application may be maintained even if the user application instantiating same, is placed in a non-executing state (e.g., a voice over Internet Protocol user application).
  • VOIP voice over Internet protocol
  • user applications are permitted to receive notifications (e.g., location events) when in the non-executing state.
  • notifications e.g., location events
  • Each of the disclosed services relies on or uses one or more restrictions that, in operation, can interfere with or prevent full-time multitasking operations. That is, the disclosed services permit multitasking only when it will not significantly interfere with the foreground process or unduly utilize the personal electronic device's power.
  • FIG. 1 shows an illustrative thread scheduling scheme in accordance with one embodiment.
  • FIG. 2 shows, in flow chart form, a Task Completion service operation in accordance with one embodiment.
  • FIG. 3 shows, in flow chart form, an Audio service operation in accordance with one embodiment.
  • FIG. 4 shows, in flow chart form, a VOIP service operation in accordance with one embodiment.
  • FIG. 5 shows, in block diagram form, a personal electronic device in accordance with one embodiment.
  • FIG. 6 shows, in block diagram form, a personal electronic device in accordance with another embodiment.
  • FIG. 7 shows, in block diagram form, radio and location processing elements in accordance with one embodiment.
  • FIG. 8 shows, in block diagram form, a personal electronic device in accordance with one embodiment.
  • Services for a personal electronic device are provided through which a limited form of background processing or multitasking is supported.
  • Use of one or more of the disclosed services, in combination with disclosed operating restrictions, permit user applications to execute in the background to give the user a robust interactive environment with little impact on the device's power resources.
  • background processing may be limited to the completion of a specific task, a specified amount of time (e.g., 5-30 minutes) or a particular type of task (e.g., audio operations).
  • a user application may cease operation after notifying the operating system that it may be reanimated on the occurrence of one or more specified events. On reanimation, the application may perform additional operations in background.
  • Implementation of the disclosed services may be substantially transparent to the executing user applications and, in some cases, may be performed without the user application's explicit cooperation.
  • the phrase “personal electronic device” is a portable hand-held digital device such as a mobile phone, a personal digital assistant, a hand-held entertainment device, a pad or tablet computer system or a set top box (e.g., an Apple TV® or cable converter box).
  • APPLE TV is a registered trademark of Apple Inc.
  • the term “service” refers to a utility, function or program code module that performs some task for a calling process, which has no user interface and which is accessed programmatically through a call interface such as an Application Programming Interface (API).
  • API Application Programming Interface
  • the phrase “foreground process” means that process that currently has access to system resources (e.g., the platform's central processing unit and graphical processing unit) and presents a user interface (UI) or graphical user interface (GUI) to a user.
  • UI user interface
  • GUI graphical user interface
  • the “foreground” is a state in which a foreground process executes.
  • a “background process” is a process that may be scheduled to access system resources but which does not currently present a UI/GUI to a user.
  • the “background” is a state in which a background process executes.
  • the term “process” means a user application.
  • a user application is an executable code module(s) that is capable of presenting a UI/GUI.
  • Operational Restrictions The following illustrative list of operational restrictions may be enforced to limit the deleterious effect a background process may have on a foreground process.
  • Foreground and background processes may be assigned different processor scheduling “priorities” in such a way that background processes do not interfere with foreground processes.
  • processor scheduling “priorities” in such a way that background processes do not interfere with foreground processes.
  • processor scheduling “priorities” in such a way that background processes do not interfere with foreground processes.
  • processor scheduling “priorities” in such a way that background processes do not interfere with foreground processes.
  • background threads may be assigned a priority from a band of priorities that overlaps in part with those priority levels assigned to foreground threads.
  • the overlapping priority bands increase the likelihood that a background process/thread will make progress (i.e., execute) even when there is a foreground process/thread running.
  • demote those threads i.e., reduce their scheduling priority
  • a thread's priority is reduced by a single count every time it uses its full allotted quantum without blocking.
  • a thread's priority may be reduced by more than one count when this occurs.
  • the amount of “overlap” in priority levels between the background band and the foreground band may be one (1) or more.
  • foreground threads are given priority over background threads when accessing system storage units (e.g., magnetic hard drives and solid state hard disk units).
  • background processes i.e., threads associated with processes in the background state
  • incoming network traffic may be moderated by dropping all packets destined for an application in the background or a non-executing state (e.g., suspended).
  • artificially small buffer sizes may be reported to distal network sites so as to throttle incoming TCP (Transmission control protocol) traffic.
  • TCP Transmission control protocol
  • TCP Transmission control protocol
  • One of ordinary skill in the art will recognize that TCP has an existing set of traffic flow control mechanisms relating to buffer sizes, so that traffic isn't sent over a network faster than the recipient can handle it.
  • artificially small buffer sizes may be reported so that the sender slows or stops the flow of incoming traffic.
  • network access is mediated through the use of two (2) queues; one for jobs associated with foreground processes and one for jobs associated with background processes. It has been found beneficial to give the foreground queue priority over the background queue.
  • the foreground queue may be given 100% priority over the background queue. At this setting, the only time a job in the background queue will be serviced is if the foreground queue is empty.
  • jobs in the foreground queue may be serviced in any desired ratio with those from the background queue, e.g., 90/10, 80/20, 75/27 or 50/50.
  • a job's queue location is updated to reflect the operational status of its associated process.
  • Graphics Operations In one embodiment such as, for example, the iPhone® Operating System, there are at least two mechanisms through which an application may write or paint to the display screen.
  • IPHONE is a registered trademark of Apple Inc.
  • a first mechanism is through the use of specialized hardware such as a graphics processing unit (GPU).
  • a second mechanism is through use of one or more of the platform's central processing units (CPUs).
  • CPUs central processing units
  • background processes are not permitted access to specialized graphics hardware; for example, any background process attempting to access the GPU may be terminated.
  • background processes attempting to generate viewable graphics via the CPU are ignored—that is, any attempt to execute commands directed to using the CPU to write to a drawing buffer/memory are ignored.
  • drawing memory associated with a process/application placed into the background state may be marked as “purgeable.”
  • a foreground process needs more memory it may use (through standard memory allocation techniques) display memory originally granted to a process that is now in the background state.
  • Notifications When a process transitions from the background state to the foreground state, it may be permitted to receive one (1) notification for each type of notification. More particularly, in one embodiment multiple notification events may be consolidated. For example, if a user rotates their personal electronic device (e.g., the iPhone) from portrait presentation to landscape presentation to portrait presentation and then back to landscape presentation, the resulting three (3) orientation notification events may be coalesced into a single notification—the last state, landscape. This can improve an application's response as it does not have to respond to multiple events.
  • Illustrative notification types include orientation change notifications (for example, from accelerometer or gyroscope sensor input), address book database notifications (occurs when an address book entry is modified) and camera roll notifications (occurs when an image in a shared resource image library has been changed).
  • any process that has a lock on a shared resource that is going into the suspended state may be terminated (rather than suspended).
  • Illustrative shared resources include specialized graphics hardware and file descriptors.
  • a shared resource is “taken away” from a user application when it goes into the background state. For example, if an application (process) has a lock on camera hardware, this lock is removed when the user application is placed into the background state.
  • the “suspended state” is a condition in which a process is not permitted to schedule threads for execution, but whose state is retained in main memory.
  • background processes are prevented from gaining access to certain system hardware resources.
  • Illustrative hardware not available to background processes include, but are not limited to: camera, GPU, accelerometer, gyroscope, proximity sensor and microphone.
  • processes may be removed from memory.
  • a process so removed may be hibernated.
  • a process so removed may be terminated.
  • core memory or “main memory” means a personal electronic device's main random access memory from which user applications execute;
  • a “hibernated process” is a process whose operational state has been written to non-volatile memory so that (1) it cannot schedule threads for execution and (2) its main memory “footprint” is substantially zero;
  • a “terminated process” is a process whose operational state has been deleted and which, therefore, cannot be executed until restarted.
  • hibernation memory which can be recreated (purgeable) or reloaded (clean) on demand is disposed of; only memory that has been modified or otherwise un-reconstitutable is written to non-volatile memory.
  • a specified region of non-volatile memory is set aside at boot time for use as a “hibernation” memory.
  • a hibernated process is reanimated, its data in non-volatile memory is brought back into main memory, thereby freeing up space in non-volatile storage.
  • applications not accessed for more than a specified time may be “hibernated.”
  • any desired approach for selection of which applications to remove from main memory may be made. For example, the least recently used application may be removed first. Alternatively, the largest currently non-executing application may be removed. In one embodiment, applications selected for removal that are greater than a specified size (e.g., 8 MB, 16 MB or 32 MB) may be terminated while applications less than the specified size may be hibernated. In still another embodiment, background audio user applications may be terminated only after suspended user applications have been terminated, but before foreground user applications.
  • a specified size e.g. 8 MB, 16 MB or 32 MB
  • critical point may be any value the designer wishes.
  • Illustrative critical points include 50%, 75% and 90%. Using 75% as an exemplar critical point, applications would be selected for removal from main memory once the main memory reaches 50% of its capacity—for example, when a 256 megabyte (MB) main memory reaches 192 MB full.
  • MB 256 megabyte
  • Table 1 identifies and describes five (5) operational states for a user process executing on a personal electronic device.
  • Terminated A process whose Not eligible for operational state is no execution. longer accessible in main memory.
  • non-executing state means one of the suspended, hibernated or terminated states.
  • Illustrative Services In the following, the “environment” within which the described services operate is the iPhone operating system. This is illustrative only, the disclosed services may be equally applicable to any personal electronic device.
  • the Fast-Task Switching service permits an application to receive notification that it is leaving the foreground state and, at that time, is given an opportunity to do some processing (e.g., a few seconds). After this time, the application is suspended (i.e., placed into the suspended state).
  • an operating environment in accordance with this disclosure can apply Fast Task-Switching to all executing processes (unless making use of another service as described below).
  • each application must specify programmatically that it may be suspended.
  • kernel efforts initiated on behalf of a process may continue to execute even after the process itself has been suspended (or hibernated or terminated).
  • Illustrative “kernel efforts” include in-progress I/O operations and virtual memory and network buffer operations. Completion of such operations may or may not trigger the reanimation of the suspended process.
  • process suspension of the type discussed here is different from system-level operations such as prior art “sleep” or “hibernate” actions—both of which are “system-wide” operations.
  • no process may execute while in the sleep or hibernate mode.
  • the suspend mode described herein applies to individual processes; suspension of a first process does not interfere with the execution of a second process.
  • the Task Completion service provides a process with the limited ability to complete a task begun in the foreground state while in the background state.
  • background processes i.e., processes executing in the background state
  • Illustrative tasks that are well suited to use this service are network upload and download operations, disk storage and retrieval operations and image processing operations (e.g., those operations that do not require specialized graphics hardware such as GPU).
  • a background process is permitted to continue processing (i.e., receiving CPU time in accordance with its scheduling priority as discussed above) until a specified event occurs.
  • Illustrative events include a system timer (giving the process a specified amount of time to complete processing, e.g., 5 to 30 minutes of “clock time” or 5 millisecond of CPU time), loss of external power to the device, or activation of a primary or secondary display.
  • illustrative Task Completion operation 200 begins when notice that a non-foreground user application (SECOND APP) is to be brought into the foreground (block 205 ). This may result from, for example, a user's request to start a second user application or an incoming call to a VOIP user application. If the currently foreground user application (FIRST APP) has not designated itself as an application capable of executing in background (the “NO” prong of block 210 ), FIRST APP is placed into a non-executing state (block 215 ) and SECOND APP is brought to the foreground (block 220 ). By way of example, FIRST APP may be suspended (i.e., placed into the suspended state).
  • FIRST APP has designated itself as an application capable of executing in background, such as though a p-list entry (the “YES” prong of block 210 ). FIRST APP is placed into the background state and given a specified amount of time to complete its current operation (block 225 ). SECOND APP may then be brought into foreground and permitted to execute (block 230 ). Once in background, FIRST APP may be scheduled to execute in due course (see discussion above regarding processor scheduling) (block 235 ). FIRST APP is permitted to execute in background until a specified event occurs (the “NO” prong of block 240 ) and it has not completed its task (the “NO” prong of block 245 ). Once either of the event occurs or the process completes its task (the “YES” prongs of blocks 240 and 245 ), FIRST APP may be placed into a non-executing state; for example, the suspended or terminated state.
  • non-active foreground processes may be similarly limited in their ability to access full system resources.
  • one or more non-active foreground processes i.e., a foreground process not currently receiving user input
  • all foreground processes except the active foreground process may be “pushed” into the background, where their behavior is thereafter controlled in accordance with the background processing regime described here.
  • a process must declare programmatically that it wants to avail itself of the Task Completion service (e.g., during acts in accordance with block 210 ). This may be done, for example, by statically declaring the user application can avail itself of the Task Completion service though an API call, a p-list entry or a changeable setting specified by the user at install time or first run rime.
  • task completion is granted based on an application declaring, at run time and in code, that it is beginning an operation (then subsequently declaring that it has ended that operation). If such tasks are still outstanding when the application leaves the foreground state, the application may be granted some time to complete them.
  • any process or user application executing one of a specified number of eligible tasks may avail itself of the Task Completion service (e.g., one of the aforementioned operations).
  • any process executing a file upload or download operation could be placed into background in accordance with Task Completion service restrictions.
  • Audio Service permits a process or application to play or record audio while in the background state.
  • audio processes utilize real-time threads and are scheduled accordingly (See FIG. 1 ). While real-time processes are, in general, demoted to a non-real-time priority when placed into background, this is not true for an application using the Audio service (see discussion above). Because the described embodiments utilize real-time threads for audio applications, to minimize interference with foreground processes only one real-time audio process at a time may be allowed in background state. (It will be recognized that this number is merely illustrative. If the processing power of the personal electronic device is sufficient, multiple audio processes may be active in the background at the same time.)
  • illustrative Audio service operation 300 begins when a foreground user application executing an audio operation (e.g., music playback or voice recording operations) receives notice that another user application not currently in the foreground (SECOND APP) is to be brought into the foreground (block 305 ).
  • the user's audio application is then placed into background (block 310 ) and the SECOND APP is brought into foreground (block 315 ).
  • real-time background threads may be limited to execute from a specified set of libraries.
  • real-time background threads may be prevented from using third party libraries (e.g., libraries supplied by an application developer.
  • the user may issue a “pause” command to their background audio application (block 320 ).
  • the user's background audio application is moved from the background state to the suspended state (block 325 ).
  • the audio application is kept in the suspended state until the user issues a “resume” command (the “YES” prong of block 330 ), after which the audio application is moved back into the background state where it may continue to execute it's audio operation (block 335 ).
  • the audio application may be placed into the hibernate mode rather than the suspended mode.
  • a process may statically declare it can avail itself of the Audio service though an API call, a p-list entry or a changeable setting specified by the user at install time or first run rime.
  • any process either playing or recording audio may have the Audio service applied to it.
  • the associated process could not be suspended during audio operations in accordance with the Fast Task-Switching or Task Completion services.
  • the Notification service permits a process, in whatever state (foreground, background, suspended or hibernated), to receive and respond to messages. These messages may originate from an external source (a “push” notification) or the receiving process/application itself (“local” notification).
  • an operating system module e.g., the “Springboard” application in the iPhone operating system
  • the target application i.e., that application the notification message is directed towards
  • the operating system e.g., Springboard
  • the operating system generates a dialog box through which the user can elect to switch to the target application (i.e., the application to which the notification message is directed). If so elected, the target application is brought into foreground.
  • the application is thereafter given an opportunity to respond to the message, including presenting a dialog to a user through, for example, an operating system request.
  • Control of the receiving process is then provided in accordance with the relevant service (e.g., Fast Task Switching, Task Completion, Audio, VOIP or Location and Geo-Fencing).
  • the relevant service e.g., Fast Task Switching, Task Completion, Audio, VOIP or Location and Geo-Fencing.
  • notifications destined for a background process may be queued up and delivered at a later time (e.g., every 5 minutes) rather than being delivered substantially immediately after notification receipt.
  • the Network service permits a suspended network application to maintain (i.e., keep alive) its communication socket(s).
  • a network application is a user application that uses network communication sockets.
  • An illustrative network application is a user VOIP application.
  • a user's network application/process When suspended, it loses its ability to maintain its communication socket(s) and, as a result, cannot continue to receive communication data (e.g., an incoming VOIP phone call).
  • VOIP service operation 400 begins with a user's VOIP application being transitioned into the suspended state (block 405 ).
  • a VOIP process specifies to the operating system (e.g., to a network daemon) what time interval it requires for the sending of “heartbeat” messages ( 410 ).
  • This daemon is responsible for reanimating the process when data is received at the processes associated socket(s) or on expiration of the specified time—the latter for heartbeat maintenance.
  • U.S. Patent Publication 20090305732 entitled Managing Notification Service Connections and Displaying Icon Badges Such application being incorporated in its entirety herein.
  • the network daemon receives a message (block 415 ).
  • the target application is then identified (block 420 ), reanimated into the background state (block 425 ) and passed the message (block 430 ).
  • the background VOIP application may then respond to the message (e.g., an incoming VOIP call or a “heartbeat needed” message) (block 435 ). If the needed task was to issue a heartbeat, the VOIP application may be returned to the suspended state. If the needed task was to respond to an incoming VOIP call, the VOIP application may request the operating system issue a UI so that a user may select whether to accept or ignore the call. If the call is ignored, the VOIP application may be returned to the suspended state.
  • the VOIP application may be brought to the foreground (e.g., by means of the user selecting the appropriate element in a UI presented by the operating system). While it will be recognized that operating system daemons are well-known in the art, the maintenance of network communication (e.g., VOIP and wireless fidelity or WiFi) sockets for a suspended process in a personal electronic device of the type described herein is novel.
  • network communication e.g., VOIP and wireless fidelity or WiFi
  • the Location and Geo-Fencing service permits a background or suspended process to receive notice (e.g., a message from on operating system daemon) when a specified location event occurs.
  • Illustrative location events include, but are not limited to, arriving at a specified location, leaving a specified location, entering a specified region, leaving a specified region or moving a “significant” distance (where what constitutes “significant” can be specified by the user or the user application).
  • a process/application must declare programmatically that it wants to avail itself of the Location and Geo-Fencing Operation service (e.g., via a p-list parameter).
  • Geo-Fencing operations do not require the use of a p-list entry—all Geo-Fencing applications may avail themselves of the Geo-Fencing service.
  • the application may be kept in background—receiving processing time in accordance with system scheduling mechanisms (see discussion above).
  • the process may be suspended (i.e., placed into the suspended state; the process could also be terminated or hibernated). Once the process responds to the message, it may quiesce (returning to the suspended state) or block in the background state awaiting the next message.
  • the number of user applications using Location services in the background state relates to the usage of other system resources; for example, if system memory runs low, user applications currently performing location tracking may be terminated.
  • a centralized daemon aggregates all of the location requests (particularly with respect to the desired accuracy requested), and starts appropriate hardware for the most aggressive mode requested. For example, if one user application requests the user's location to within 3 kilometers (in which case mobile phone cell-based positioning may be used), a second user application requests the user's location to within 500 meters (in which case WiFi scanning may be used), and a third application requests the user's location to within 100 meters (for which GPS is necessary), GPS positioning may be used and all applications that are tracking location in the background will get the benefit of the finer positioning.
  • the process receives a message from the operating system (e.g., via a daemon). If the process is executing (e.g., during its allocated time while in background), it would be given the opportunity to process the message. If the application were not processing (e.g., it was in background and not processing or it was suspended or hibernated), the process/application would be reanimated after which it would be allowed to process the event (in background). In addition, if the process had been terminated, it may be reanimated into the background state in a manner similar to the Notification service described earlier. See the related disclosure entitled “Location-Based Application Program Management,” Ser. No. 12/123,456.
  • location processing uses a separate processor than that which executes the operating system for user application execution (hereinafter referred to as the “application processor”)
  • location and geo-fencing operations of the type described here may occur even when the application processor is asleep.
  • the number of user applications that may avail themselves of Geo-Fencing services in the background state relates to the usage of other system resources; for example, if system memory runs low, user applications currently performing location tracking may be terminated.
  • personal electronic device 500 could implement one or more of the above services using one or more of the above-described restrictions to permit multitasking operations when it is beneficial to do so (e.g., opportunistic multitasking).
  • user applications 505 A to 505 N interact with application launcher 510 (e.g., “Springboard” in the iPhone operating system) for standard operating system calls and multitasking services library 515 to access and make use of the above-described services.
  • application launcher 510 e.g., “Springboard” in the iPhone operating system
  • radio means 605 may include receiver circuit 700 , transmitter circuit 705 and memory 710 .
  • Receiver and transmitter circuits 700 and 705 may be used to connect to, for example, a mobile telephone network, a satellite communications network or a digital computer network (e.g., the Internet via a local area network WiFi connection).
  • Memory 710 may be used to store received data, data to be transmitted and operational parameter information as is known in the art.
  • Interface 715 may be provided to facilitate communications between radio means 605 and location means 610 .
  • Location means 610 may include processor 720 , memory 725 and operating system interface 730 .
  • location means 610 receives requests for location updates and geo-fencing limits (e.g., from one or more user applications 505 A to 505 N through interface 730 ), processes location information received from radio means 605 (received via interface 715 ) and returns location information and updates to the requesting application(s) through interface 730 .
  • Processor 720 may be one or more off-the-shelf processors, one or more custom designed processors or a combination of off-the-shelf and custom designed processors.
  • Memory 725 may be any form or combination of volatile and non-volatile solid state, magnetic or optical memories.
  • one or more of the described services may be provided based on the availability of power. For example, if the personal electronic device is plugged into a power source (e.g., AC power), multitasking capabilities may be provided in accordance with standard modern operating system procedures (i.e., full or unrestricted multitasking). If, on the other hand, the personal electronic device is not plugged into a power source, multitasking capabilities may be provided in accordance with this disclosure (e.g., partial or opportunistic multitasking).
  • a power source e.g., AC power
  • multitasking capabilities may be provided in accordance with standard modern operating system procedures (i.e., full or unrestricted multitasking). If, on the other hand, the personal electronic device is not plugged into a power source, multitasking capabilities may be provided in accordance with this disclosure (e.g., partial or opportunistic multitasking).
  • personal electronic device 800 may be embodied in a physical apparatus that includes processing unit 805 and support devices 810 .
  • Processing unit 805 may include processor 815 , memory 820 and input-output circuit 825 .
  • Device 800 may also include radio means 605 and location means 610 as shown.
  • Input-output circuit 825 couples processor 815 and memory 820 to one or more display units 830 (e.g., a touch-screen display), one or more input-output devices 835 (e.g., touch-screen, keyboard, mouse, joy stick), one or more program storage devices 840 (e.g., magnetic, optic or solid-state memory) and other hardware 845 (e.g., a network interface). It is noted that in the architecture presented in FIGS.
  • location and geo-fencing processing may continue via radio means 605 and location means 610 even when/if the application making the location or geo-fencing request (e.g., application 505 A) has been suspended, hibernated or terminated. Further still, location and geo-fencing operations may continue even if application processor 815 is hibernated. That is, location and geo-fencing operations may continue via processor 720 regardless of what state application processor 815 is in.
  • a programmable control device may include any programmable controller device including, for example, one or more members of the Intel Atom®, Core®, Pentium® and Celeron® processor families from Intel Corporation and the Cortex and ARM processor families from ARM or custom designed state machines.
  • Intel Atom®, Core®, Pentium® and Celeron® processor families from Intel Corporation
  • Cortex and ARM processor families from ARM or custom designed state machines.
  • INTEL, INTEL ATOM, CORE, PENTIUM, and CELERON are registered trademarks of the Intel Corporation.
  • Custom designed state machines may be embodied in a hardware device such as an integrated circuit including, but not limited to, application specific integrated circuits (“ASICs”) or field programmable gate array (“FPGAs”).
  • ASICs application specific integrated circuits
  • FPGAs field programmable gate array
  • Storage devices suitable for tangibly embodying program instructions include, but are not limited to: magnetic disks (fixed, floppy, and removable) and tape; optical media such as CD-ROMs and digital video disks (“DVDs”); and semiconductor memory devices such as Electrically Programmable Read-Only Memory (“EPROM”), Electrically Erasable Programmable Read-Only Memory (“EEPROM”), Programmable Gate Arrays and flash devices.
  • EPROM Electrically Programmable Read-Only Memory
  • EEPROM Electrically Erasable Programmable Read-Only Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Stored Programmes (AREA)

Abstract

Services for a personal electronic device are provided through which a form of background processing or multitasking is supported. The disclosed services permit user applications to take advantage of background processing without significant negative consequences to a user's experience of the foreground process or the personal electronic device's power resources. To effect the disclosed multitasking, one or more of a number of operational restrictions may be enforced. By way of example, an application that may normally be placed into the background state may instead be terminated if it controls a lock on a shared system resource.

Description

    CROSS REFERENCE TO RELATED APPLICATIONS
  • This application claims priority to U.S. Provisional Application Ser. No. 61/321,616 entitled “Opportunistic Multitasking” filed Apr. 7, 2010 and which is incorporated by reference in its entirety herein.
  • BACKGROUND
  • This disclosure relates generally to the field of computer science. More particularly, this disclosure relates to a technique for improving the user experience and power management in a personal electronic device.
  • Power constrained, hand-held devices (e.g., mobile phones, personal entertainment devices, and electronic pad computers) are resource limited compared to larger, fixed, systems such as desk-top, workstation and notebook computers. In such systems, the computational power available simply cannot support the execution of a large number of concurrent processes/threads without significantly degrading the user experience and consuming the device's limited power resources. In light of this recognition, system designers for these types of devices have traditionally permitted a limited multitasking capability at the operating system level (e.g., for core system functions), but have not supported multitasking at the user application level. While this approach has the benefit of minimizing the drain on the device's limited power resources, it also limits the ability to provide the user (via a user application) with an interactive environment.
  • SUMMARY
  • Services for a personal electronic device are provided through which a form of background processing or multitasking is supported. The disclosed services permit user applications to take advantage of background processing without significant negative consequences to a user's experience of the foreground process or the personal electronic device's power resources. Implementation of the disclosed services may be substantially transparent to the executing user applications and, in some cases, may be performed without the user application's explicit cooperation. To effect the disclosed multitasking, a number of operational restrictions may be enforced. A consequence of such restrictions may be that a process will not be able to do in background, what it may be able to do if it were in the foreground.
  • In one service, a foreground user application is transitioned to a non-executing state as it is moved out of the foreground state. In another service, a background process is given a maximum amount of time to complete a task before it is transitioned to a non-executing state. In still another service, audio applications (e.g., user applications generating or recording audio signals) are permitted to execute in background until, and unless, they are paused by a user. In yet another service, communication sockets instantiated for a user application may be maintained even if the user application instantiating same, is placed in a non-executing state (e.g., a voice over Internet Protocol user application). One illustrative type of application that can take advantage of this service is voice over Internet protocol (VOIP) user applications. In still other embodiments, user applications are permitted to receive notifications (e.g., location events) when in the non-executing state. Each of the disclosed services relies on or uses one or more restrictions that, in operation, can interfere with or prevent full-time multitasking operations. That is, the disclosed services permit multitasking only when it will not significantly interfere with the foreground process or unduly utilize the personal electronic device's power.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 shows an illustrative thread scheduling scheme in accordance with one embodiment.
  • FIG. 2 shows, in flow chart form, a Task Completion service operation in accordance with one embodiment.
  • FIG. 3 shows, in flow chart form, an Audio service operation in accordance with one embodiment.
  • FIG. 4 shows, in flow chart form, a VOIP service operation in accordance with one embodiment.
  • FIG. 5 shows, in block diagram form, a personal electronic device in accordance with one embodiment.
  • FIG. 6 shows, in block diagram form, a personal electronic device in accordance with another embodiment.
  • FIG. 7 shows, in block diagram form, radio and location processing elements in accordance with one embodiment.
  • FIG. 8 shows, in block diagram form, a personal electronic device in accordance with one embodiment.
  • DETAILED DESCRIPTION
  • Services for a personal electronic device are provided through which a limited form of background processing or multitasking is supported. Use of one or more of the disclosed services, in combination with disclosed operating restrictions, permit user applications to execute in the background to give the user a robust interactive environment with little impact on the device's power resources. In some embodiments, background processing may be limited to the completion of a specific task, a specified amount of time (e.g., 5-30 minutes) or a particular type of task (e.g., audio operations). In other embodiments a user application may cease operation after notifying the operating system that it may be reanimated on the occurrence of one or more specified events. On reanimation, the application may perform additional operations in background. Implementation of the disclosed services may be substantially transparent to the executing user applications and, in some cases, may be performed without the user application's explicit cooperation.
  • As used herein, the phrase “personal electronic device” is a portable hand-held digital device such as a mobile phone, a personal digital assistant, a hand-held entertainment device, a pad or tablet computer system or a set top box (e.g., an Apple TV® or cable converter box). (APPLE TV is a registered trademark of Apple Inc.) As used herein, the term “service” refers to a utility, function or program code module that performs some task for a calling process, which has no user interface and which is accessed programmatically through a call interface such as an Application Programming Interface (API).
  • In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the invention. It will be apparent to one skilled in the art, however, that the invention may be practiced without these specific details. In other instances, structure and devices are shown in block diagram form in order to avoid obscuring the invention. References to numbers without subscripts are understood to reference all instance of subscripts corresponding to the referenced number. Moreover, the language used in this disclosure has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter, resort to the claims being necessary to determine such inventive subject matter. Reference in this specification to “one embodiment” or to “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiments is included in at least one embodiment of the invention, and multiple references to “one embodiment” or “an embodiment” should not be understood as necessarily all referring to the same embodiment.
  • It will be appreciated that in the development of any actual implementation numerous programming and component decisions must be made to achieve the developers' specific goals (e.g., compliance with system- and business-related constraints), and that these goals will vary from one implementation to another. It will also be appreciated that such development effort might be complex and time-consuming, but would nevertheless be a routine undertaking for those of ordinary skill in the personal computational device development field having the benefit of this disclosure.
  • To effect background processing or multitasking without significant negative consequences to a user's experience of the foreground process or the personal electronic device's power resources, a number of operational restrictions may be enforced. A consequence of such restrictions may be that a process will not be able to do in background, what it may be able to do if it were in the foreground.
  • As used herein, the phrase “foreground process” means that process that currently has access to system resources (e.g., the platform's central processing unit and graphical processing unit) and presents a user interface (UI) or graphical user interface (GUI) to a user. (Accordingly, the “foreground” is a state in which a foreground process executes.) In contrast, a “background process” is a process that may be scheduled to access system resources but which does not currently present a UI/GUI to a user. (Accordingly, the “background” is a state in which a background process executes.) As used herein, the term “process” means a user application. A user application, in turn, is an executable code module(s) that is capable of presenting a UI/GUI.
  • Operational Restrictions: The following illustrative list of operational restrictions may be enforced to limit the deleterious effect a background process may have on a foreground process.
  • 1. Processor Scheduling. Foreground and background processes may be assigned different processor scheduling “priorities” in such a way that background processes do not interfere with foreground processes. One of ordinary skill in the art will recognize that in operational environments such as UNIX and Mach, processes are not scheduled, threads are. (UNIX is a registered trademark of the American Telephone and Telegraph Company.) It will further be recognized that a thread is that portion of a program, application or process that can run independently of, and concurrently with, other portions of the program, application or process.
  • Referring to FIG. 1, in one embodiment background threads may be assigned a priority from a band of priorities that overlaps in part with those priority levels assigned to foreground threads. The overlapping priority bands increase the likelihood that a background process/thread will make progress (i.e., execute) even when there is a foreground process/thread running. In this embodiment, to improve thread responsiveness it has been found beneficial to demote those threads (i.e., reduce their scheduling priority) that use their entire quantum without blocking for an input/output (I/O) operation. In one embodiment, a thread's priority is reduced by a single count every time it uses its full allotted quantum without blocking. (It will be recognized that a processes use of a full quantum is an indicator that the process is using the central processing unit.) In another embodiment, a thread's priority may be reduced by more than one count when this occurs. The amount of “overlap” in priority levels between the background band and the foreground band may be one (1) or more.
  • 2. Disk Scheduling: In one embodiment, foreground threads are given priority over background threads when accessing system storage units (e.g., magnetic hard drives and solid state hard disk units). In addition, background processes (i.e., threads associated with processes in the background state) may be rate-limited in their access of system storage units.
  • 3. Incoming Network Activity. In one embodiment, incoming network traffic may be moderated by dropping all packets destined for an application in the background or a non-executing state (e.g., suspended). Further, artificially small buffer sizes may be reported to distal network sites so as to throttle incoming TCP (Transmission control protocol) traffic. One of ordinary skill in the art will recognize that TCP has an existing set of traffic flow control mechanisms relating to buffer sizes, so that traffic isn't sent over a network faster than the recipient can handle it. As previously noted, in one embodiment artificially small buffer sizes may be reported so that the sender slows or stops the flow of incoming traffic.
  • 4. Outgoing Network Activity. In one embodiment, network access is mediated through the use of two (2) queues; one for jobs associated with foreground processes and one for jobs associated with background processes. It has been found beneficial to give the foreground queue priority over the background queue. By way of example, the foreground queue may be given 100% priority over the background queue. At this setting, the only time a job in the background queue will be serviced is if the foreground queue is empty. In another embodiment, jobs in the foreground queue may be serviced in any desired ratio with those from the background queue, e.g., 90/10, 80/20, 75/27 or 50/50. In still another embodiment, once a job has been placed into a queue (e.g., the foreground queue) it is not moved if the job's associated process is subsequently placed into a different operating state (e.g., background). In yet another embodiment, a job's queue location is updated to reflect the operational status of its associated process.
  • 5. Graphics Operations. In one embodiment such as, for example, the iPhone® Operating System, there are at least two mechanisms through which an application may write or paint to the display screen. (IPHONE is a registered trademark of Apple Inc.) A first mechanism is through the use of specialized hardware such as a graphics processing unit (GPU). A second mechanism is through use of one or more of the platform's central processing units (CPUs). By way of example, in the iPhone operating environment background processes are not permitted access to specialized graphics hardware; for example, any background process attempting to access the GPU may be terminated. By way of another example, background processes attempting to generate viewable graphics via the CPU are ignored—that is, any attempt to execute commands directed to using the CPU to write to a drawing buffer/memory are ignored. In some embodiments, drawing memory associated with a process/application placed into the background state may be marked as “purgeable.” Thus, if a foreground process needs more memory it may use (through standard memory allocation techniques) display memory originally granted to a process that is now in the background state.
  • 6. Notifications. When a process transitions from the background state to the foreground state, it may be permitted to receive one (1) notification for each type of notification. More particularly, in one embodiment multiple notification events may be consolidated. For example, if a user rotates their personal electronic device (e.g., the iPhone) from portrait presentation to landscape presentation to portrait presentation and then back to landscape presentation, the resulting three (3) orientation notification events may be coalesced into a single notification—the last state, landscape. This can improve an application's response as it does not have to respond to multiple events. Illustrative notification types include orientation change notifications (for example, from accelerometer or gyroscope sensor input), address book database notifications (occurs when an address book entry is modified) and camera roll notifications (occurs when an image in a shared resource image library has been changed).
  • 7. Locks. In one embodiment, any process that has a lock on a shared resource that is going into the suspended state may be terminated (rather than suspended). Illustrative shared resources include specialized graphics hardware and file descriptors. In another embodiment, a shared resource is “taken away” from a user application when it goes into the background state. For example, if an application (process) has a lock on camera hardware, this lock is removed when the user application is placed into the background state. As used herein, the “suspended state” is a condition in which a process is not permitted to schedule threads for execution, but whose state is retained in main memory.
  • 8. Hardware Restrictions. In one embodiment background processes are prevented from gaining access to certain system hardware resources. Illustrative hardware not available to background processes include, but are not limited to: camera, GPU, accelerometer, gyroscope, proximity sensor and microphone.
  • 9. Memory Management. In order to retain sufficient memory to accommodate executing processes, as the personal electronic device's core memory approaches a specified “critical” point, processes may be removed from memory. In one embodiment, a process so removed may be hibernated. In another embodiment a process so removed may be terminated. As used herein, the phrase “core memory” or “main memory” means a personal electronic device's main random access memory from which user applications execute; a “hibernated process” is a process whose operational state has been written to non-volatile memory so that (1) it cannot schedule threads for execution and (2) its main memory “footprint” is substantially zero; and a “terminated process” is a process whose operational state has been deleted and which, therefore, cannot be executed until restarted. In one embodiment, during the act of hibernation memory which can be recreated (purgeable) or reloaded (clean) on demand is disposed of; only memory that has been modified or otherwise un-reconstitutable is written to non-volatile memory. In another embodiment, a specified region of non-volatile memory is set aside at boot time for use as a “hibernation” memory. When a hibernated process is reanimated, its data in non-volatile memory is brought back into main memory, thereby freeing up space in non-volatile storage. In one embodiment, applications not accessed for more than a specified time may be “hibernated.”
  • Any desired approach for selection of which applications to remove from main memory may be made. For example, the least recently used application may be removed first. Alternatively, the largest currently non-executing application may be removed. In one embodiment, applications selected for removal that are greater than a specified size (e.g., 8 MB, 16 MB or 32 MB) may be terminated while applications less than the specified size may be hibernated. In still another embodiment, background audio user applications may be terminated only after suspended user applications have been terminated, but before foreground user applications.
  • Similarly, the “critical” point may be any value the designer wishes. Illustrative critical points include 50%, 75% and 90%. Using 75% as an exemplar critical point, applications would be selected for removal from main memory once the main memory reaches 50% of its capacity—for example, when a 256 megabyte (MB) main memory reaches 192 MB full.
  • Operational States: As an aid in understanding how the above restrictions are applied to the various services described below, Table 1 identifies and describes five (5) operational states for a user process executing on a personal electronic device.
  • TABLE 1
    Operational States
    Mode or
    State Description Restrictions
    Foreground A process in this state None.
    has access to system
    resources and currently
    presents a user
    interface to a user.
    Background A process in this state Real-time processes are
    has access to system subject to real-time
    resources but does not restrictions (i.e., they
    currently present a user are demoted to
    interface to a user. non-real-time priorities
    when placed into
    background - except for
    audio and VOIP/network
    communication's
    applications); all other
    processes are subject to
    all other restrictions.
    Suspended A process in this state Not eligible for
    has its operational execution.
    state in main memory and
    could be scheduled for
    execution except for the
    fact that it has been
    suspended.
    Hibernated A process in this state Not eligible for
    has had its operational execution.
    state written to
    non-volatile memory.
    Only that information
    necessary to identify,
    locate and reanimate the
    process is retained in
    main memory.
    Terminated A process whose Not eligible for
    operational state is no execution.
    longer accessible in
    main memory.

    As used herein, the term “non-executing state” means one of the suspended, hibernated or terminated states.
  • Illustrative Services: In the following, the “environment” within which the described services operate is the iPhone operating system. This is illustrative only, the disclosed services may be equally applicable to any personal electronic device.
  • 1. Fast Task Switching Service. In the past, when an application left the foreground state in the iPhone operating system, it was simply terminated. The Fast-Task Switching service permits an application to receive notification that it is leaving the foreground state and, at that time, is given an opportunity to do some processing (e.g., a few seconds). After this time, the application is suspended (i.e., placed into the suspended state). In one embodiment, an operating environment in accordance with this disclosure can apply Fast Task-Switching to all executing processes (unless making use of another service as described below). In another embodiment, each application must specify programmatically that it may be suspended.
  • While suspended a process/application can execute no instructions. In a threaded operating environment such as Unix or Mach, this means that a process cannot schedule a thread for execution. In some embodiments, however, kernel efforts initiated on behalf of a process may continue to execute even after the process itself has been suspended (or hibernated or terminated). Illustrative “kernel efforts” include in-progress I/O operations and virtual memory and network buffer operations. Completion of such operations may or may not trigger the reanimation of the suspended process.
  • It is noted that process suspension of the type discussed here is different from system-level operations such as prior art “sleep” or “hibernate” actions—both of which are “system-wide” operations. In accordance with the prior art, no process may execute while in the sleep or hibernate mode. In contrast, the suspend mode described herein applies to individual processes; suspension of a first process does not interfere with the execution of a second process.
  • 2. Task Completion Service. The Task Completion service provides a process with the limited ability to complete a task begun in the foreground state while in the background state. In one embodiment, background processes (i.e., processes executing in the background state) are throttled to avoid interfering with foreground processes. Illustrative tasks that are well suited to use this service are network upload and download operations, disk storage and retrieval operations and image processing operations (e.g., those operations that do not require specialized graphics hardware such as GPU). In one embodiment, a background process is permitted to continue processing (i.e., receiving CPU time in accordance with its scheduling priority as discussed above) until a specified event occurs. Illustrative events include a system timer (giving the process a specified amount of time to complete processing, e.g., 5 to 30 minutes of “clock time” or 5 millisecond of CPU time), loss of external power to the device, or activation of a primary or secondary display.
  • Referring to FIG. 2, illustrative Task Completion operation 200 begins when notice that a non-foreground user application (SECOND APP) is to be brought into the foreground (block 205). This may result from, for example, a user's request to start a second user application or an incoming call to a VOIP user application. If the currently foreground user application (FIRST APP) has not designated itself as an application capable of executing in background (the “NO” prong of block 210), FIRST APP is placed into a non-executing state (block 215) and SECOND APP is brought to the foreground (block 220). By way of example, FIRST APP may be suspended (i.e., placed into the suspended state). If FIRST APP has designated itself as an application capable of executing in background, such as though a p-list entry (the “YES” prong of block 210), FIRST APP is placed into the background state and given a specified amount of time to complete its current operation (block 225). SECOND APP may then be brought into foreground and permitted to execute (block 230). Once in background, FIRST APP may be scheduled to execute in due course (see discussion above regarding processor scheduling) (block 235). FIRST APP is permitted to execute in background until a specified event occurs (the “NO” prong of block 240) and it has not completed its task (the “NO” prong of block 245). Once either of the event occurs or the process completes its task (the “YES” prongs of blocks 240 and 245), FIRST APP may be placed into a non-executing state; for example, the suspended or terminated state.
  • In one embodiment, non-active foreground processes may be similarly limited in their ability to access full system resources. For example, one or more non-active foreground processes (i.e., a foreground process not currently receiving user input) may have their access to storage disks (restriction 2), incoming and outgoing network buffers (restrictions 3 and 4) and their ability to interact with specified hardware (restriction 8) limited in the same manner as described here for background processes. In like manner, on power loss all foreground processes except the active foreground process may be “pushed” into the background, where their behavior is thereafter controlled in accordance with the background processing regime described here.
  • In one embodiment, a process must declare programmatically that it wants to avail itself of the Task Completion service (e.g., during acts in accordance with block 210). This may be done, for example, by statically declaring the user application can avail itself of the Task Completion service though an API call, a p-list entry or a changeable setting specified by the user at install time or first run rime. In another embodiment, task completion is granted based on an application declaring, at run time and in code, that it is beginning an operation (then subsequently declaring that it has ended that operation). If such tasks are still outstanding when the application leaves the foreground state, the application may be granted some time to complete them. On occurrence of the specified event, or sooner if the task(s) completes, the application may be suspended. In yet another embodiment, any process or user application executing one of a specified number of eligible tasks may avail itself of the Task Completion service (e.g., one of the aforementioned operations). For example, any process executing a file upload or download operation could be placed into background in accordance with Task Completion service restrictions.
  • 3. Audio Service. The Audio service permits a process or application to play or record audio while in the background state. In one embodiment, audio processes utilize real-time threads and are scheduled accordingly (See FIG. 1). While real-time processes are, in general, demoted to a non-real-time priority when placed into background, this is not true for an application using the Audio service (see discussion above). Because the described embodiments utilize real-time threads for audio applications, to minimize interference with foreground processes only one real-time audio process at a time may be allowed in background state. (It will be recognized that this number is merely illustrative. If the processing power of the personal electronic device is sufficient, multiple audio processes may be active in the background at the same time.)
  • Referring to FIG. 3, illustrative Audio service operation 300 begins when a foreground user application executing an audio operation (e.g., music playback or voice recording operations) receives notice that another user application not currently in the foreground (SECOND APP) is to be brought into the foreground (block 305). The user's audio application is then placed into background (block 310) and the SECOND APP is brought into foreground (block 315). In one embodiment, real-time background threads may be limited to execute from a specified set of libraries. For example, real-time background threads may be prevented from using third party libraries (e.g., libraries supplied by an application developer. At some point in the future, the user may issue a “pause” command to their background audio application (block 320). In response, the user's background audio application is moved from the background state to the suspended state (block 325). The audio application is kept in the suspended state until the user issues a “resume” command (the “YES” prong of block 330), after which the audio application is moved back into the background state where it may continue to execute it's audio operation (block 335). In another embodiment, the audio application may be placed into the hibernate mode rather than the suspended mode.
  • In some embodiments, a process may statically declare it can avail itself of the Audio service though an API call, a p-list entry or a changeable setting specified by the user at install time or first run rime. In other embodiments, any process either playing or recording audio may have the Audio service applied to it. When executing code within these applications, the associated process could not be suspended during audio operations in accordance with the Fast Task-Switching or Task Completion services.
  • 4. Notification Service. The Notification service permits a process, in whatever state (foreground, background, suspended or hibernated), to receive and respond to messages. These messages may originate from an external source (a “push” notification) or the receiving process/application itself (“local” notification).
  • Generally speaking, on message receipt an operating system module (e.g., the “Springboard” application in the iPhone operating system) identifies the target application (i.e., that application the notification message is directed towards), launches that application in background and passes the message to the now reanimated application. In another embodiment, on message receipt the operating system (e.g., Springboard) generates a dialog box through which the user can elect to switch to the target application (i.e., the application to which the notification message is directed). If so elected, the target application is brought into foreground. (It will be recognized that if the target application is already in the background, it need not be reanimated.) The application is thereafter given an opportunity to respond to the message, including presenting a dialog to a user through, for example, an operating system request. Control of the receiving process is then provided in accordance with the relevant service (e.g., Fast Task Switching, Task Completion, Audio, VOIP or Location and Geo-Fencing). In another embodiment, notifications destined for a background process may be queued up and delivered at a later time (e.g., every 5 minutes) rather than being delivered substantially immediately after notification receipt.
  • 5. Network Service. The Network service permits a suspended network application to maintain (i.e., keep alive) its communication socket(s). As used herein, a network application is a user application that uses network communication sockets. An illustrative network application is a user VOIP application. In the prior art when a user's network application/process is suspended, it loses its ability to maintain its communication socket(s) and, as a result, cannot continue to receive communication data (e.g., an incoming VOIP phone call).
  • Referring to FIG. 4, an illustrative Network service operation is demonstrated by VOIP service operation 400 which begins with a user's VOIP application being transitioned into the suspended state (block 405). In one embodiment, as a VOIP process is being transitioned into the suspended state it specifies to the operating system (e.g., to a network daemon) what time interval it requires for the sending of “heartbeat” messages (410). This daemon is responsible for reanimating the process when data is received at the processes associated socket(s) or on expiration of the specified time—the latter for heartbeat maintenance. For more information on this aspect, see U.S. Patent Publication 20090305732 entitled Managing Notification Service Connections and Displaying Icon Badges. Such application being incorporated in its entirety herein.
  • At some later time, the network daemon receives a message (block 415). The target application is then identified (block 420), reanimated into the background state (block 425) and passed the message (block 430). The background VOIP application may then respond to the message (e.g., an incoming VOIP call or a “heartbeat needed” message) (block 435). If the needed task was to issue a heartbeat, the VOIP application may be returned to the suspended state. If the needed task was to respond to an incoming VOIP call, the VOIP application may request the operating system issue a UI so that a user may select whether to accept or ignore the call. If the call is ignored, the VOIP application may be returned to the suspended state. If the call is to be answered, the VOIP application may be brought to the foreground (e.g., by means of the user selecting the appropriate element in a UI presented by the operating system). While it will be recognized that operating system daemons are well-known in the art, the maintenance of network communication (e.g., VOIP and wireless fidelity or WiFi) sockets for a suspended process in a personal electronic device of the type described herein is novel.
  • 6. Location and Geo-Fencing Service. The Location and Geo-Fencing service permits a background or suspended process to receive notice (e.g., a message from on operating system daemon) when a specified location event occurs. Illustrative location events include, but are not limited to, arriving at a specified location, leaving a specified location, entering a specified region, leaving a specified region or moving a “significant” distance (where what constitutes “significant” can be specified by the user or the user application). In one embodiment, a process/application must declare programmatically that it wants to avail itself of the Location and Geo-Fencing Operation service (e.g., via a p-list parameter). In another embodiment, Geo-Fencing operations do not require the use of a p-list entry—all Geo-Fencing applications may avail themselves of the Geo-Fencing service.
  • In location operations, as long as a location tracking operation is underway, the application may be kept in background—receiving processing time in accordance with system scheduling mechanisms (see discussion above). In one embodiment, when a tracking operation either terminates or is otherwise halted, the process may be suspended (i.e., placed into the suspended state; the process could also be terminated or hibernated). Once the process responds to the message, it may quiesce (returning to the suspended state) or block in the background state awaiting the next message. In one embodiment the number of user applications using Location services in the background state relates to the usage of other system resources; for example, if system memory runs low, user applications currently performing location tracking may be terminated. In another embodiment, a centralized daemon aggregates all of the location requests (particularly with respect to the desired accuracy requested), and starts appropriate hardware for the most aggressive mode requested. For example, if one user application requests the user's location to within 3 kilometers (in which case mobile phone cell-based positioning may be used), a second user application requests the user's location to within 500 meters (in which case WiFi scanning may be used), and a third application requests the user's location to within 100 meters (for which GPS is necessary), GPS positioning may be used and all applications that are tracking location in the background will get the benefit of the finer positioning.
  • In geo-fencing operations, whenever a specified region boundary is crossed the process receives a message from the operating system (e.g., via a daemon). If the process is executing (e.g., during its allocated time while in background), it would be given the opportunity to process the message. If the application were not processing (e.g., it was in background and not processing or it was suspended or hibernated), the process/application would be reanimated after which it would be allowed to process the event (in background). In addition, if the process had been terminated, it may be reanimated into the background state in a manner similar to the Notification service described earlier. See the related disclosure entitled “Location-Based Application Program Management,” Ser. No. 12/123,456. In an embodiment where location processing uses a separate processor than that which executes the operating system for user application execution (hereinafter referred to as the “application processor”), location and geo-fencing operations of the type described here may occur even when the application processor is asleep. As with Location services, the number of user applications that may avail themselves of Geo-Fencing services in the background state relates to the usage of other system resources; for example, if system memory runs low, user applications currently performing location tracking may be terminated.
  • Personal Electronic Device Architecture: Referring to FIG. 5, in one embodiment personal electronic device 500 could implement one or more of the above services using one or more of the above-described restrictions to permit multitasking operations when it is beneficial to do so (e.g., opportunistic multitasking). As illustrated, user applications 505A to 505N interact with application launcher 510 (e.g., “Springboard” in the iPhone operating system) for standard operating system calls and multitasking services library 515 to access and make use of the above-described services.
  • Referring to FIG. 6, system 600 in accordance with another embodiment could also include radio means 605 and location processing means 610. As shown in FIG. 7, radio means 605 may include receiver circuit 700, transmitter circuit 705 and memory 710. Receiver and transmitter circuits 700 and 705 may be used to connect to, for example, a mobile telephone network, a satellite communications network or a digital computer network (e.g., the Internet via a local area network WiFi connection). Memory 710 may be used to store received data, data to be transmitted and operational parameter information as is known in the art. Interface 715 may be provided to facilitate communications between radio means 605 and location means 610. Location means 610 may include processor 720, memory 725 and operating system interface 730. In general, location means 610 receives requests for location updates and geo-fencing limits (e.g., from one or more user applications 505A to 505N through interface 730), processes location information received from radio means 605 (received via interface 715) and returns location information and updates to the requesting application(s) through interface 730. Processor 720 may be one or more off-the-shelf processors, one or more custom designed processors or a combination of off-the-shelf and custom designed processors. Memory 725 may be any form or combination of volatile and non-volatile solid state, magnetic or optical memories.
  • In one embodiment, one or more of the described services may be provided based on the availability of power. For example, if the personal electronic device is plugged into a power source (e.g., AC power), multitasking capabilities may be provided in accordance with standard modern operating system procedures (i.e., full or unrestricted multitasking). If, on the other hand, the personal electronic device is not plugged into a power source, multitasking capabilities may be provided in accordance with this disclosure (e.g., partial or opportunistic multitasking).
  • Referring to FIG. 8, personal electronic device 800 may be embodied in a physical apparatus that includes processing unit 805 and support devices 810. Processing unit 805 may include processor 815, memory 820 and input-output circuit 825. Device 800 may also include radio means 605 and location means 610 as shown. Input-output circuit 825 couples processor 815 and memory 820 to one or more display units 830 (e.g., a touch-screen display), one or more input-output devices 835 (e.g., touch-screen, keyboard, mouse, joy stick), one or more program storage devices 840 (e.g., magnetic, optic or solid-state memory) and other hardware 845 (e.g., a network interface). It is noted that in the architecture presented in FIGS. 6, 7 and 2 location and geo-fencing processing may continue via radio means 605 and location means 610 even when/if the application making the location or geo-fencing request (e.g., application 505A) has been suspended, hibernated or terminated. Further still, location and geo-fencing operations may continue even if application processor 815 is hibernated. That is, location and geo-fencing operations may continue via processor 720 regardless of what state application processor 815 is in.
  • Various changes in the materials, components, circuit elements, as well as in the details of the illustrated operational methods are possible without departing from the scope of the following claims. For instance, the provision of multitasking capabilities in accordance with this disclosure may be performed by a programmable control device executing instructions organized into one or more program modules. A programmable control device (e.g., processors 720 and 215) may include any programmable controller device including, for example, one or more members of the Intel Atom®, Core®, Pentium® and Celeron® processor families from Intel Corporation and the Cortex and ARM processor families from ARM or custom designed state machines. (INTEL, INTEL ATOM, CORE, PENTIUM, and CELERON are registered trademarks of the Intel Corporation. CORTEX is a registered trademark of the ARM Limited Corporation. ARM is a registered trademark of the ARM Limited Company.) Custom designed state machines may be embodied in a hardware device such as an integrated circuit including, but not limited to, application specific integrated circuits (“ASICs”) or field programmable gate array (“FPGAs”).
  • Storage devices suitable for tangibly embodying program instructions (e.g., memories 710, 725, 220 and 240) include, but are not limited to: magnetic disks (fixed, floppy, and removable) and tape; optical media such as CD-ROMs and digital video disks (“DVDs”); and semiconductor memory devices such as Electrically Programmable Read-Only Memory (“EPROM”), Electrically Erasable Programmable Read-Only Memory (“EEPROM”), Programmable Gate Arrays and flash devices.
  • Finally, it is to be understood that the above description is intended to be illustrative, and not restrictive. For example, the above-described embodiments may be used in combination with each other. Many other embodiments will be apparent to those of skill in the art upon reviewing the above description. The scope of the invention therefore should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled. In the appended claims, the terms “including” and “in which” are used as the plain-English equivalents of the respective terms “comprising” and “wherein.”

Claims (11)

1. A multitasking method, comprising:
identifying a first user application executing in a foreground state;
receiving user input directing that a second application is to be placed into the foreground state;
terminating the first user application if said first user application has at least one lock on a shared system resource, else placing the first user application in a background state in response to the received user input only if the first user application has identified itself as a user application that can execute in the background state; and
placing the second application into the foreground state.
2. The method of claim 1, further comprising scheduling the first user application, after the first user application has been placed into the background state, to use a processor in accordance with a priority level, the priority level being selected from a band of priority levels that overlap with some, but not all, priority levels assigned to foreground processes.
3. The method of claim 1, further comprising terminating the first user application, after the first user application has been placed into the background state, if the first user application attempts to execute instructions targeted for a specified hardware resource.
4. The method of claim 3, wherein the specified hardware resource comprises a graphics processing unit.
5. The method of claim 1, further comprising not executing instructions for the first user application, once the first user application is in the background state, if the instructions are directed to changing a display memory.
6. The method of claim 1, wherein the shared system resource comprises a shared file descriptor.
7. The method of claim 1, wherein the act of placing the second application into the foreground state comprises placing an operating system application into the foreground state.
8. A program storage device, readable by a programmable control device, comprising instructions stored thereon for causing the programmable control device to perform a method in accordance with claim 1.
9. A personal electronic device, comprising:
memory;
a programmable control device operatively coupled to the memory, said programmable control device configured to execute instructions, stored in the memory, to—
identify a first user application executing in a foreground state;
receive user input directing that a second application is to be placed into the foreground state;
terminate the first user application if said first user application has at least one lock on a shared system resource, else placing the first user application in a background state in response to the received user input only if the first user application has identified itself as a user application that can execute in the background state; and
place the second application into the foreground state.
10. The personal electronic device of claim 9 comprising a personal electronic device selected from the group consisting of: a mobile telephone, a personal digital assistant, a hand-held entertainment device, a pad computer system and a set top box.
11. The personal electronic device of claim 9, wherein the second application comprises a second user application.
US12/869,553 2010-04-07 2010-08-26 Opportunistic Multitasking Abandoned US20110252430A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US12/869,553 US20110252430A1 (en) 2010-04-07 2010-08-26 Opportunistic Multitasking

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US32161610P 2010-04-07 2010-04-07
US12/869,553 US20110252430A1 (en) 2010-04-07 2010-08-26 Opportunistic Multitasking

Publications (1)

Publication Number Publication Date
US20110252430A1 true US20110252430A1 (en) 2011-10-13

Family

ID=43501035

Family Applications (5)

Application Number Title Priority Date Filing Date
US12/869,553 Abandoned US20110252430A1 (en) 2010-04-07 2010-08-26 Opportunistic Multitasking
US12/869,385 Abandoned US20110252422A1 (en) 2010-04-07 2010-08-26 Opportunistic Multitasking
US12/869,566 Active 2031-07-22 US9104476B2 (en) 2010-04-07 2010-08-26 Opportunistic multitasking of VOIP applications
US12/869,518 Abandoned US20110252423A1 (en) 2010-04-07 2010-08-26 Opportunistic Multitasking
US12/959,284 Active 2031-07-11 US9135059B2 (en) 2010-04-07 2010-12-02 Opportunistic multitasking

Family Applications After (4)

Application Number Title Priority Date Filing Date
US12/869,385 Abandoned US20110252422A1 (en) 2010-04-07 2010-08-26 Opportunistic Multitasking
US12/869,566 Active 2031-07-22 US9104476B2 (en) 2010-04-07 2010-08-26 Opportunistic multitasking of VOIP applications
US12/869,518 Abandoned US20110252423A1 (en) 2010-04-07 2010-08-26 Opportunistic Multitasking
US12/959,284 Active 2031-07-11 US9135059B2 (en) 2010-04-07 2010-12-02 Opportunistic multitasking

Country Status (10)

Country Link
US (5) US20110252430A1 (en)
EP (2) EP2556432A2 (en)
JP (1) JP5723968B2 (en)
KR (1) KR101724176B1 (en)
CN (2) CN103955403B (en)
AU (1) AU2010350737A1 (en)
CA (2) CA2795489C (en)
DE (1) DE112010005473T5 (en)
TW (1) TW201135445A (en)
WO (1) WO2011126499A2 (en)

Cited By (64)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100262853A1 (en) * 2009-04-14 2010-10-14 Canon Kabushiki Kaisha Information processing apparatus, method for controlling information processing apparatus, and recording medium
US20120083911A1 (en) * 2010-09-30 2012-04-05 Apple Inc. Communicating sensor data between electronic devices
US20120185803A1 (en) * 2011-01-13 2012-07-19 Htc Corporation Portable electronic device, control method of the same, and computer program product of the same
US20120209946A1 (en) * 2011-02-14 2012-08-16 Microsoft Corporation Background Transfer Service for Applications on Mobile Devices
US20130007765A1 (en) * 2010-03-11 2013-01-03 Fujitsu Limited Software control device, software control method, and computer product
US8433334B2 (en) 2010-01-15 2013-04-30 Apple Inc. Managing a location database for network-based positioning system
US8504059B2 (en) 2010-01-15 2013-08-06 Apple Inc. Location filtering using mobile country code
US20130343373A1 (en) * 2012-06-25 2013-12-26 Microsoft Corporation Voice-over-internet protocol (voip) application platform
US8620344B2 (en) 2010-04-07 2013-12-31 Apple Inc. Location-based application program management
US8634860B2 (en) 2010-01-15 2014-01-21 Apple Inc. Location determination using cached location area codes
US8655371B2 (en) 2010-01-15 2014-02-18 Apple Inc. Location determination using cached location area codes
US8660576B2 (en) 2010-01-15 2014-02-25 Apple Inc. Adaptive location determination
US20140173619A1 (en) * 2012-12-14 2014-06-19 Fujitsu Limited Information processing device and method for controlling information processing device
US20140280896A1 (en) * 2013-03-15 2014-09-18 Achilleas Papakostas Methods and apparatus to credit usage of mobile devices
US20140325518A1 (en) * 2013-04-24 2014-10-30 Samsung Electronics Co., Ltd. Method and device for managing memory of user device
US20140366040A1 (en) * 2013-06-07 2014-12-11 Apple Inc. Throttling Of Application Access To Resources
US20150150022A1 (en) * 2013-11-28 2015-05-28 Sony Corporation Information processing apparatus, information processing method, and storage medium
US9104476B2 (en) 2010-04-07 2015-08-11 Apple Inc. Opportunistic multitasking of VOIP applications
US20160072856A1 (en) * 2012-06-28 2016-03-10 Microsoft Technology Licensing, Llc Cross-Process Media Handling in a Voice-Over-Internet Protocol (VOIP) Application Platform
US9361136B2 (en) * 2011-09-01 2016-06-07 Microsoft Technology Licensing, Llc Decoupling background work and foreground work
CN105677460A (en) * 2015-12-28 2016-06-15 小米科技有限责任公司 Application processing method and apparatus
US20160351168A1 (en) * 2014-02-18 2016-12-01 Zte Corporation Split-Screen Processing Method and Device, and Computer Storage Medium
US20170019717A1 (en) * 2014-02-26 2017-01-19 Lg Electronics Inc. Digital device and data processing method by digital device
US20170161119A1 (en) * 2014-07-03 2017-06-08 Spotify Ab A method and system for the identification of music or other audio metadata played on an ios device
US20170230465A1 (en) * 2016-02-04 2017-08-10 Kyocera Corporation Communication apparatus, communication control method, and non-transitory computer-readable recording medium
US20170286141A1 (en) * 2016-03-31 2017-10-05 Vmware, Inc. Capturing components of an application using a sandboxed environment
US20170293465A1 (en) * 2011-09-11 2017-10-12 Microsoft Technology Licensing, Llc Playback manager
US9866642B2 (en) 2009-01-28 2018-01-09 Headwater Research Llc Wireless end-user device with wireless modem power state control policy for background applications
US20180013855A1 (en) * 2012-08-09 2018-01-11 Facebook, Inc. Handling notifications
US9924017B2 (en) * 2015-05-28 2018-03-20 Livio, Inc. Methods and systems for a vehicle computing system to launch an application
US9955332B2 (en) 2009-01-28 2018-04-24 Headwater Research Llc Method for child wireless device activation to subscriber account of a master wireless device
US9954975B2 (en) 2009-01-28 2018-04-24 Headwater Research Llc Enhanced curfew and protection associated with a device group
US9952903B2 (en) 2012-01-20 2018-04-24 Microsoft Technology Licensing, Llc Background task resource control
US9973930B2 (en) 2009-01-28 2018-05-15 Headwater Research Llc End user device that secures an association of application to service policy with an application certificate check
US9980146B2 (en) 2009-01-28 2018-05-22 Headwater Research Llc Communications device with secure data path processing agents
US20180196695A1 (en) * 2017-01-11 2018-07-12 International Business Machines Corporation Self-adjusting system for prioritizing computer applications
US10064055B2 (en) 2009-01-28 2018-08-28 Headwater Research Llc Security, fraud detection, and fraud mitigation in device-assisted services systems
US10080250B2 (en) 2009-01-28 2018-09-18 Headwater Research Llc Enterprise access control and accounting allocation for access networks
US10171990B2 (en) 2009-01-28 2019-01-01 Headwater Research Llc Service selection set publishing to device agent with on-device service selection
US10171995B2 (en) 2013-03-14 2019-01-01 Headwater Research Llc Automated credential porting for mobile devices
US10171988B2 (en) 2009-01-28 2019-01-01 Headwater Research Llc Adapting network policies based on device service processor configuration
US10171681B2 (en) 2009-01-28 2019-01-01 Headwater Research Llc Service design center for device assisted services
CN109299600A (en) * 2018-08-02 2019-02-01 珠海格力电器股份有限公司 Application locking and unlocking method and device, terminal and readable storage medium
US10200541B2 (en) 2009-01-28 2019-02-05 Headwater Research Llc Wireless end-user device with divided user space/kernel space traffic policy system
US10237757B2 (en) 2009-01-28 2019-03-19 Headwater Research Llc System and method for wireless network offloading
US10248996B2 (en) 2009-01-28 2019-04-02 Headwater Research Llc Method for operating a wireless end-user device mobile payment agent
US10257297B2 (en) 2014-10-31 2019-04-09 The Nielsen Company (Us), Llc Methods and apparatus to improve usage crediting in mobile devices
US10264138B2 (en) 2009-01-28 2019-04-16 Headwater Research Llc Mobile device and service management
US10320925B2 (en) 2010-08-14 2019-06-11 The Nielsen Company (Us), Llc Systems, methods, and apparatus to monitor mobile internet activity
US10326675B2 (en) 2009-01-28 2019-06-18 Headwater Research Llc Flow tagging for service policy implementation
US10326800B2 (en) 2009-01-28 2019-06-18 Headwater Research Llc Wireless network service interfaces
US10492102B2 (en) 2009-01-28 2019-11-26 Headwater Research Llc Intermediate networking devices
US10715342B2 (en) 2009-01-28 2020-07-14 Headwater Research Llc Managing service user discovery and service launch object placement on a device
US10783581B2 (en) 2009-01-28 2020-09-22 Headwater Research Llc Wireless end-user device providing ambient or sponsored services
US10788955B2 (en) 2017-06-28 2020-09-29 Samsung Electronics Co., Ltd. Method for controlling display and electronic device supporting the same
US10798252B2 (en) 2009-01-28 2020-10-06 Headwater Research Llc System and method for providing user notifications
US10841839B2 (en) 2009-01-28 2020-11-17 Headwater Research Llc Security, fraud detection, and fraud mitigation in device-assisted services systems
US10869199B2 (en) 2009-01-28 2020-12-15 Headwater Research Llc Network service plan design
EP3910972A1 (en) * 2020-05-14 2021-11-17 Accenture Global Solutions Limited Continuous short range wireless communication detection for user devices using a background application
US11218854B2 (en) 2009-01-28 2022-01-04 Headwater Research Llc Service plan design, user interfaces, application programming interfaces, and device management
US11973804B2 (en) 2009-01-28 2024-04-30 Headwater Research Llc Network service plan design
US11985155B2 (en) 2009-01-28 2024-05-14 Headwater Research Llc Communications device with secure data path processing agents
US12032904B2 (en) * 2016-11-21 2024-07-09 Samsung Electronics Co., Ltd. Method and apparatus for generating statement
US12143909B2 (en) 2022-01-03 2024-11-12 Headwater Research Llc Service plan design, user interfaces, application programming interfaces, and device management

Families Citing this family (86)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE524121T1 (en) 2004-11-24 2011-09-15 Abdou Samy DEVICES FOR PLACING AN ORTHOPEDIC INTERVERTEBRAL IMPLANT
US8406748B2 (en) 2009-01-28 2013-03-26 Headwater Partners I Llc Adaptive ambient services
US8391834B2 (en) 2009-01-28 2013-03-05 Headwater Partners I Llc Security techniques for device assisted services
US8275830B2 (en) 2009-01-28 2012-09-25 Headwater Partners I Llc Device assisted CDR creation, aggregation, mediation and billing
US8346225B2 (en) 2009-01-28 2013-01-01 Headwater Partners I, Llc Quality of service for device assisted services
US8402111B2 (en) 2009-01-28 2013-03-19 Headwater Partners I, Llc Device assisted services install
US10484858B2 (en) 2009-01-28 2019-11-19 Headwater Research Llc Enhanced roaming services and converged carrier networks with device assisted services and a proxy
US10779177B2 (en) 2009-01-28 2020-09-15 Headwater Research Llc Device group partitions and settlement platform
US20220360461A1 (en) 2009-01-28 2022-11-10 Headwater Research Llc Device-Assisted Services for Protecting Network Capacity
US8764806B2 (en) 2009-12-07 2014-07-01 Samy Abdou Devices and methods for minimally invasive spinal stabilization and instrumentation
US11595901B2 (en) 2010-07-26 2023-02-28 Seven Networks, Llc Optimizing mobile network traffic coordination across multiple applications running on a mobile device
EP2599363B1 (en) 2010-07-26 2018-02-07 Seven Networks, LLC Context aware traffic management for resource conservation in a wireless network
US9342381B2 (en) * 2011-02-03 2016-05-17 Symantec Corporation Method and system for establishing a DLP-compliant environment
US8578394B2 (en) * 2011-09-09 2013-11-05 Microsoft Corporation Exempting applications from suspension
US8845728B1 (en) 2011-09-23 2014-09-30 Samy Abdou Spinal fixation devices and methods of use
US9042286B2 (en) * 2011-11-04 2015-05-26 Intel Corporation Reducing wireless power consumption and signaling overhead for internet application background messages
DE202012100620U1 (en) 2011-11-22 2012-06-13 Square, Inc. System for processing cardless payment transactions
US20130212600A1 (en) * 2012-02-15 2013-08-15 Microsoft Corporation Constrained mode for running applications
US20130226240A1 (en) 2012-02-22 2013-08-29 Samy Abdou Spinous process fixation devices and methods of use
US8793697B2 (en) 2012-02-23 2014-07-29 Qualcomm Incorporated Method and system for scheduling requests in a portable computing device
CN103293967A (en) * 2012-02-29 2013-09-11 陕西省地方电力(集团)有限公司 Multi-task control method for intelligent meter reading terminal
US9741045B1 (en) * 2012-03-16 2017-08-22 Square, Inc. Ranking of merchants for cardless payment transactions
US9411637B2 (en) 2012-06-08 2016-08-09 Apple Inc. Adaptive process importance
US8789055B1 (en) 2012-08-01 2014-07-22 Kabam, Inc. Maintaining time fidelity for an instance of a virtual space placed in a background state
US9198767B2 (en) 2012-08-28 2015-12-01 Samy Abdou Devices and methods for spinal stabilization and instrumentation
CN103631654A (en) * 2012-08-29 2014-03-12 中国移动通信集团公司 Application switching control method and device and service acceptance terminal
US9320617B2 (en) 2012-10-22 2016-04-26 Cogent Spine, LLC Devices and methods for spinal stabilization and instrumentation
US9258172B2 (en) * 2012-10-24 2016-02-09 Microsoft Technology Licensing, Llc Calling an unready terminal
US11449854B1 (en) 2012-10-29 2022-09-20 Block, Inc. Establishing consent for cardless transactions using short-range transmission
CN102984582B (en) * 2012-11-12 2016-05-11 北京奇虎科技有限公司 Carry intelligent television system management method and the device of operating system
CN102981906A (en) * 2012-11-16 2013-03-20 广东欧珀移动通信有限公司 Application program background process management method and device
US9264850B1 (en) 2012-11-20 2016-02-16 Square, Inc. Multiple merchants in cardless payment transactions and multiple customers in cardless payment transactions
EP2763372B1 (en) * 2013-02-01 2017-05-10 HTC Corporation Electronic apparatus, computer-readable medium and data synchronization method
US9652791B1 (en) 2013-02-08 2017-05-16 Square, Inc. Updating merchant location for cardless payment transactions
KR102089447B1 (en) * 2013-06-04 2020-03-16 삼성전자 주식회사 Electronic device and method for controlling applications thereof
EP3454594B1 (en) 2013-06-11 2020-11-04 Seven Networks, LLC Offloading application traffic to a shared communication channel for signal optimisation in a wireless network for traffic utilizing proprietary and non-proprietary protocols
CN104252389B (en) * 2013-06-27 2016-04-13 腾讯科技(深圳)有限公司 application program operation method, system
WO2015012878A1 (en) * 2013-07-23 2015-01-29 Intel Corporation Operating system switching method and apparatus
US9286097B2 (en) 2013-07-23 2016-03-15 Intel Corporation Switching a first OS in a foreground to a standby state in response to a system event and resuming a second OS from a background
US9924322B2 (en) 2013-07-23 2018-03-20 Square, Inc. Computing distances of devices
US10332162B1 (en) 2013-09-30 2019-06-25 Square, Inc. Using wireless beacons for transit systems
US10319013B2 (en) 2013-10-28 2019-06-11 Square, Inc. Electronic ordering system
US10163148B1 (en) 2013-11-13 2018-12-25 Square, Inc. Wireless beacon shopping experience
CN104679581B (en) * 2013-12-03 2018-06-15 腾讯科技(深圳)有限公司 The method and device of running background program
KR102148948B1 (en) * 2013-12-06 2020-08-27 삼성전자주식회사 Multi tasking method of electronic apparatus and electronic apparatus thereof
CN110083444B (en) 2013-12-10 2024-06-11 华为终端有限公司 Task management method and device
CN103702195B (en) * 2013-12-27 2017-12-08 乐视致新电子科技(天津)有限公司 The course control method and device of a kind of application program
WO2015130022A1 (en) * 2014-02-26 2015-09-03 엘지전자 주식회사 Digital device and data processing method by digital device
JP6403976B2 (en) * 2014-04-09 2018-10-10 アルパイン株式会社 Computer program, information processing apparatus, and process execution method
TWI602125B (en) * 2014-04-17 2017-10-11 國立臺灣大學 Resource allocation method
US9959529B1 (en) 2014-05-11 2018-05-01 Square, Inc. Open tab transactions
CN104050035B (en) * 2014-05-14 2018-05-25 小米科技有限责任公司 The processing method and processing device of application program
CN105335171B (en) * 2014-06-24 2019-05-10 北京奇虎科技有限公司 The method and device on application program resident operating system backstage
US10127509B2 (en) 2015-09-17 2018-11-13 Bank Of America Corporation System for temporarily suspending a workflow associated with a work item
US10857003B1 (en) 2015-10-14 2020-12-08 Samy Abdou Devices and methods for vertebral stabilization
CN106095482A (en) * 2016-05-31 2016-11-09 宇龙计算机通信科技(深圳)有限公司 The freezing method of application program and device
CN106095551B (en) * 2016-06-07 2020-10-30 腾讯科技(深圳)有限公司 Method and device for displaying media files
US10223228B2 (en) 2016-08-12 2019-03-05 International Business Machines Corporation Resolving application multitasking degradation
US20180063670A1 (en) * 2016-08-26 2018-03-01 Microsoft Technology Licensing, Llc Background management of mobile applications
CN106648849A (en) * 2016-10-18 2017-05-10 上海传英信息技术有限公司 Process freezing method and mobile terminal
US10744000B1 (en) 2016-10-25 2020-08-18 Samy Abdou Devices and methods for vertebral bone realignment
US10973648B1 (en) 2016-10-25 2021-04-13 Samy Abdou Devices and methods for vertebral bone realignment
CN108011772A (en) * 2016-11-01 2018-05-08 中兴通讯股份有限公司 Method, apparatus and Session Border Controller of a kind of SBC to terminal heartbeat detection
CN107402807A (en) * 2017-07-18 2017-11-28 浪潮金融信息技术有限公司 Method, system and the processor of multitask execution efficiency are effectively lifted in computer systems
AU2017435235B2 (en) * 2017-10-13 2021-01-21 Huawei Technologies Co., Ltd. Application management method and terminal
US11915012B2 (en) 2018-03-05 2024-02-27 Tensera Networks Ltd. Application preloading in the presence of user actions
US11922187B2 (en) 2018-03-05 2024-03-05 Tensera Networks Ltd. Robust application preloading with accurate user experience
US12099856B2 (en) 2018-03-05 2024-09-24 Tensera Networks Ltd. Robust application preloading with accurate user experience
US11792307B2 (en) 2018-03-28 2023-10-17 Apple Inc. Methods and apparatus for single entity buffer pool management
KR102492996B1 (en) * 2018-06-08 2023-01-31 삼성전자주식회사 Electronic device for processing background task using external input and storage medium thereof
US11179248B2 (en) 2018-10-02 2021-11-23 Samy Abdou Devices and methods for spinal implantation
CN109857530B (en) * 2019-01-21 2021-09-03 湖北亿咖通科技有限公司 Application request scheduling method and device
CN112256119A (en) * 2019-07-02 2021-01-22 中兴通讯股份有限公司 Application program freezing control method and device, terminal and readable storage medium
WO2021019415A1 (en) 2019-07-30 2021-02-04 Tensera Networks Ltd. Pre-rendering of application user-interfaces in user devices
CN112558745A (en) * 2019-09-24 2021-03-26 中兴通讯股份有限公司 Method and device for freezing control of terminal application program, terminal and storage medium
US11558348B2 (en) 2019-09-26 2023-01-17 Apple Inc. Methods and apparatus for emerging use case support in user space networking
US11829303B2 (en) 2019-09-26 2023-11-28 Apple Inc. Methods and apparatus for device driver operation in non-kernel space
US11606302B2 (en) 2020-06-12 2023-03-14 Apple Inc. Methods and apparatus for flow-based batching and processing
CN111880875B (en) * 2020-07-15 2023-12-22 百度在线网络技术(北京)有限公司 Control method, device, equipment, storage medium and system for multimedia playing
US11775359B2 (en) 2020-09-11 2023-10-03 Apple Inc. Methods and apparatuses for cross-layer processing
US11954540B2 (en) 2020-09-14 2024-04-09 Apple Inc. Methods and apparatus for thread-level execution in non-kernel space
US11799986B2 (en) 2020-09-22 2023-10-24 Apple Inc. Methods and apparatus for thread level execution in non-kernel space
CN116601602A (en) 2020-12-20 2023-08-15 腾赛拉网络有限公司 Preloading applications transparently to users
CN113542782B (en) * 2021-07-06 2023-11-03 腾讯音乐娱乐科技(深圳)有限公司 Method and device for guiding live interaction, electronic equipment and storage medium
US11882051B2 (en) 2021-07-26 2024-01-23 Apple Inc. Systems and methods for managing transmission control protocol (TCP) acknowledgements
US11876719B2 (en) 2021-07-26 2024-01-16 Apple Inc. Systems and methods for managing transmission control protocol (TCP) acknowledgements

Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5012409A (en) * 1988-03-10 1991-04-30 Fletcher Mitchell S Operating system for a multi-tasking operating environment
US5428789A (en) * 1993-08-27 1995-06-27 Waldron, Iii; Theodore C. Method and apparatus for optimizing user response time in a priority preemptive operating system
US5490275A (en) * 1992-06-30 1996-02-06 Motorola, Inc. Virtual radio interface and radio operating system for a communication device
US5542088A (en) * 1994-04-29 1996-07-30 Intergraph Corporation Method and apparatus for enabling control of task execution
US5694604A (en) * 1982-09-28 1997-12-02 Reiffin; Martin G. Preemptive multithreading computer system with clock activated interrupt
US5911077A (en) * 1996-05-31 1999-06-08 Micron Electronics, Inc. System for multithreaded disk drive operation in a computer system
US6205468B1 (en) * 1998-03-10 2001-03-20 Lucent Technologies, Inc. System for multitasking management employing context controller having event vector selection by priority encoding of contex events
US6598143B1 (en) * 2000-02-24 2003-07-22 International Business Machines Corporation Method to increase performance of acquiring free memory pages
US20040064816A1 (en) * 1998-11-13 2004-04-01 Alverson Gail A. Inter-thread long jumps in a multithreaded environment
US20050102650A1 (en) * 2000-01-27 2005-05-12 Kalman Andrew E. Multi-tasking real-time operating system for microprocessors with limited memory
US20060008180A1 (en) * 2004-06-23 2006-01-12 Wakeland Carl K Method and device to process digital media streams
US7082492B2 (en) * 2002-08-10 2006-07-25 Cisco Technology, Inc. Associative memory entries with force no-hit and priority indications of particular use in implementing policy maps in communication devices
US20070150759A1 (en) * 2005-12-22 2007-06-28 Intel Corporation Method and apparatus for providing for detecting processor state transitions
US20080005736A1 (en) * 2006-06-30 2008-01-03 Microsoft Corporation Reducing latencies in computing systems using probabilistic and/or decision-theoretic reasoning under scarce memory resources
US20080189708A1 (en) * 2007-02-02 2008-08-07 Ibm Corporation Method and apparatus for preventing undesired termination of a process in an information handling system
US20080239093A1 (en) * 2001-02-07 2008-10-02 Lightsurf Technologies, Inc. Digital Camera Device Providing Improved Methodology for Rapidly Taking Successive Pictures
US7444637B2 (en) * 2003-02-18 2008-10-28 Microsoft Corporation Systems and methods for scheduling coprocessor resources in a computing system
US7444641B1 (en) * 1998-03-10 2008-10-28 Agere Systems Inc. Context controller having context-specific event selection mechanism and processor employing the same
US20090235255A1 (en) * 2008-03-13 2009-09-17 Oracle International Corporation Transparent support for distributed transactions in a clustered disk-sharing database environment
US20090307696A1 (en) * 2008-06-09 2009-12-10 Microsoft Corporation Thread management based on device power state
US20100251263A1 (en) * 2009-03-24 2010-09-30 Microsoft Corporation Monitoring of distributed applications
US7895594B2 (en) * 2005-03-28 2011-02-22 Freescale Semiconductor, Inc. Virtual machine extended capabilities using application contexts in a resource-constrained device

Family Cites Families (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5410543A (en) 1993-01-04 1995-04-25 Apple Computer, Inc. Method for connecting a mobile computer to a computer network by using an address server
US6260150B1 (en) 1998-03-10 2001-07-10 Agere Systems Guardian Corp. Foreground and background context controller setting processor to power saving mode when all contexts are inactive
US6910212B2 (en) * 2000-12-04 2005-06-21 International Business Machines Corporation System and method for improved complex storage locks
TW579466B (en) 2002-08-12 2004-03-11 Mitac Int Corp Method for improving overall working efficiency of data storage device in multi-task operation environment
DE60314536T2 (en) 2002-11-04 2007-10-25 Research In Motion Ltd., Waterloo SYSTEM AND METHOD FOR SAVING PERFORMANCE IN A WIRELESS DEVICE
GB0316080D0 (en) * 2003-07-09 2003-08-13 Nokia Corp Service halt
US20050026654A1 (en) 2003-07-30 2005-02-03 Motorola, Inc. Dynamic application resource management
TWI255423B (en) 2003-12-26 2006-05-21 Mitac Int Corp Method of wake-up and instantly initiating application program for computer system
US7383463B2 (en) * 2004-02-04 2008-06-03 Emc Corporation Internet protocol based disaster recovery of a server
WO2006003681A1 (en) 2004-07-01 2006-01-12 H3G S.P.A. Method, terminal and system for providing video, audio and text contents in mobile telephone networks
US20060106807A1 (en) 2004-11-18 2006-05-18 Microsoft Corporation System and method for transferring a file in advance of its use
US7826874B2 (en) * 2004-11-24 2010-11-02 Research In Motion Limited System and method for selectively activating a communication device
JP2006209560A (en) 2005-01-28 2006-08-10 Kyocera Corp Portable terminal device and its display method
EP1920539A1 (en) 2005-08-26 2008-05-14 KTF Technologies, Inc. User terminal for performing a plurality of applications simultaneously
US7987160B2 (en) 2006-01-30 2011-07-26 Microsoft Corporation Status tool to expose metadata read and write queues
US20070197196A1 (en) * 2006-02-22 2007-08-23 Michael Shenfield Apparatus, and associated method, for facilitating delivery and processing of push content
US7561901B2 (en) 2006-05-15 2009-07-14 Telefonaktiebolaget Lm Ericsson (Publ) Adaptation of push mail filters to save UE battery power
JP2007316721A (en) 2006-05-23 2007-12-06 Toshiba Corp Mobile terminal
EP2038739A4 (en) 2006-06-26 2012-05-30 Datallegro Inc Workload manager for relational database management systems
KR20080009415A (en) 2006-07-24 2008-01-29 엘지전자 주식회사 Method for controlling background task, and mobile communication terminal for processing the same
JP4769669B2 (en) * 2006-09-07 2011-09-07 富士通株式会社 Mobile communication system, home agent, mobile node and method compliant with mobile IP
GB0712199D0 (en) 2007-06-23 2007-08-01 Calnex Solutions Ltd Network tester
US20090028127A1 (en) 2007-07-26 2009-01-29 Gordon Kent Walker Methods and apparatus for providing computational load allocation in a network environment
US7904673B2 (en) 2007-11-20 2011-03-08 Seagate Technology Llc Data storage device with histogram of idle time and scheduling of background and foreground jobs
US8239861B2 (en) * 2008-02-07 2012-08-07 Arm Limited Software-based unloading and reloading of an inactive function to reduce memory usage of a data processing task performed using a virtual machine
US20090286490A1 (en) 2008-05-19 2009-11-19 Yuan-Hung Chung Oscillator circuit, transceiver, and method for generating oscillatory signal
US8135392B2 (en) 2008-06-06 2012-03-13 Apple Inc. Managing notification service connections and displaying icon badges
US8683472B2 (en) 2009-09-01 2014-03-25 International Business Machines Corporation Adjusting thread priority to optimize computer system performance and the utilization of computer system resources
CN101667208B (en) 2009-09-25 2013-06-26 深圳创维数字技术股份有限公司 Digital television receiver and methods for searching and switching programs thereof
US20110252430A1 (en) 2010-04-07 2011-10-13 Apple Inc. Opportunistic Multitasking

Patent Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5694604A (en) * 1982-09-28 1997-12-02 Reiffin; Martin G. Preemptive multithreading computer system with clock activated interrupt
US5012409A (en) * 1988-03-10 1991-04-30 Fletcher Mitchell S Operating system for a multi-tasking operating environment
US5490275A (en) * 1992-06-30 1996-02-06 Motorola, Inc. Virtual radio interface and radio operating system for a communication device
US5428789A (en) * 1993-08-27 1995-06-27 Waldron, Iii; Theodore C. Method and apparatus for optimizing user response time in a priority preemptive operating system
US5542088A (en) * 1994-04-29 1996-07-30 Intergraph Corporation Method and apparatus for enabling control of task execution
US5911077A (en) * 1996-05-31 1999-06-08 Micron Electronics, Inc. System for multithreaded disk drive operation in a computer system
US6205468B1 (en) * 1998-03-10 2001-03-20 Lucent Technologies, Inc. System for multitasking management employing context controller having event vector selection by priority encoding of contex events
US7444641B1 (en) * 1998-03-10 2008-10-28 Agere Systems Inc. Context controller having context-specific event selection mechanism and processor employing the same
US20040064816A1 (en) * 1998-11-13 2004-04-01 Alverson Gail A. Inter-thread long jumps in a multithreaded environment
US20050102650A1 (en) * 2000-01-27 2005-05-12 Kalman Andrew E. Multi-tasking real-time operating system for microprocessors with limited memory
US6598143B1 (en) * 2000-02-24 2003-07-22 International Business Machines Corporation Method to increase performance of acquiring free memory pages
US20080239093A1 (en) * 2001-02-07 2008-10-02 Lightsurf Technologies, Inc. Digital Camera Device Providing Improved Methodology for Rapidly Taking Successive Pictures
US7082492B2 (en) * 2002-08-10 2006-07-25 Cisco Technology, Inc. Associative memory entries with force no-hit and priority indications of particular use in implementing policy maps in communication devices
US7444637B2 (en) * 2003-02-18 2008-10-28 Microsoft Corporation Systems and methods for scheduling coprocessor resources in a computing system
US7457484B2 (en) * 2004-06-23 2008-11-25 Creative Technology Ltd Method and device to process digital media streams
US20060008180A1 (en) * 2004-06-23 2006-01-12 Wakeland Carl K Method and device to process digital media streams
US7895594B2 (en) * 2005-03-28 2011-02-22 Freescale Semiconductor, Inc. Virtual machine extended capabilities using application contexts in a resource-constrained device
US20070150759A1 (en) * 2005-12-22 2007-06-28 Intel Corporation Method and apparatus for providing for detecting processor state transitions
US20080005736A1 (en) * 2006-06-30 2008-01-03 Microsoft Corporation Reducing latencies in computing systems using probabilistic and/or decision-theoretic reasoning under scarce memory resources
US8112755B2 (en) * 2006-06-30 2012-02-07 Microsoft Corporation Reducing latencies in computing systems using probabilistic and/or decision-theoretic reasoning under scarce memory resources
US20080189708A1 (en) * 2007-02-02 2008-08-07 Ibm Corporation Method and apparatus for preventing undesired termination of a process in an information handling system
US20090235255A1 (en) * 2008-03-13 2009-09-17 Oracle International Corporation Transparent support for distributed transactions in a clustered disk-sharing database environment
US20090307696A1 (en) * 2008-06-09 2009-12-10 Microsoft Corporation Thread management based on device power state
US20100251263A1 (en) * 2009-03-24 2010-09-30 Microsoft Corporation Monitoring of distributed applications

Non-Patent Citations (36)

* Cited by examiner, † Cited by third party
Title
"Android: How to release resources when the application terminates?", Stack Overflow.com posting of 1 July 2009, retrieved from the web on 9-5-2014 *
"Android: How to release resources when the application terminates?", Stack Overflow.com posting of 1 July 2009, retrieved from web.archive.org athttp://web.archive.org/web/20100328100125/http://stackoverflow.com/questions/1068121/android-how-to-release-resources-when-the-application-terminates, *
"Division of Labor in Embedded Systems", by Ivan Goddard | April 1, 2003, ACM Queue -Architecting Tomorrow's Computing, April 1, 2003. *
"JAVA USE IN MOBILE INFORMATION DEVICES: INTRODUCING JTRON", Shouichi Hachiya, © 2001 IEEE. *
"Read-copy update", PE McKenney, J Appavoo, A Kleen, O Krieger... - 2002 - books.google.com, pp. 1-22. *
"Sharing a File Descriptor Between Processes", by Thomas Fletcher, QNX Software Systems Ltd., retrieved from http://www.qnx.com/developers/articles/article_913_1.html on 7-9-2012. *
"STUDY NOTES - GNU/Linux: the command line interface" DRAFT Version 0.9. Edited February 25, 2004 [PDF] from wallawalla.edu, AA Aaby - cs.wallawalla.edu *
A "Bare-Machine" Implementation of Ada Multi-tasking Beneath the Linux Kernel[PDF] from psu.edu H Shen, A Charlet... - Reliable Software Technologies-Ada- ..., 1999 - Springer *
A multiprocessor kernel for active object-based systems P Muller - Modular Programming Languages, 2000 - Springer *
A real-time systems context for the framework for information systems architecture[PDF] from psu.edu DJ Schoch... - IBM Systems Journal, 1995 - ieeexplore.ieee.org *
Android version history, From Wikipedia, the free encyclopedia, retrieved from the web 2-12-2013, pp.1-25/ *
Android: A visual history, By Chris Ziegler (http://www.theverge.com/users/chrisziegler) on December 7, 2011. *
Background data acquisition and carrying: the BlueDACS projectT Wieland, M Fenne, B Stöcker - Architecture of Computing Systems- ..., 2006 - Springer *
Crosstalk - The Journal of Defense Software Engineering, Nov 2003, Vol. 16, No. 11. pp.1-32. *
Designing with Real-Time Kernels[PDF] from bournemouth.ac.uk JJ Labrosse - Conference Proceedings of Embedded ..., 1997 - dec.bournemouth.ac.uk *
Dynamic resource allocation in multimedia applications[PDF] from tue.nlM van den Heuvel, I Tutor... - Master's thesis, Eindhoven ..., 2009 - win.tue.nl *
IBM(R) Distributed Computing Environment Version 3.2 for AIX(R) and Solaris: Application Development Guide-- Core Components, retrieved from http://www-01.ibm.com/software/network/dce/library/publications/appdev/html/APPDEV16.HTM on 7-9-2012. *
Inside Real-Time Kernels[PDF] from bournemouth.ac.uk J Labrosse - Conference Proceedings of Embedded ..., 1997 - dec.bournemouth.ac.uk *
iOS: A visual history, By Dieter Bohn (http://www.theverge.com/users/Dieter%20Bohn) on December 13, 2011, pp.1-47. *
List of Android permissions, copyright©2006 the Android Open Source Project, pp.1-33, retrieved from the web at:https://github.com/android/platform_frameworks_base/blob/master/core/res/AndroidManifest.xml *
Mobile Multitasking, David Quintana, retrieved from www.davidquintana.com/entry/mobile-multitasking, April 14, 2010 *
Multitasking the Android Way, 28 April 2010, Dianne Hackborn, retrieved from android-developers.blogspot.com/2010/04/multitasking-android-way.html. *
Real-time data acquisition and feedback control using Linux Intel computersBG Penaflor, JR Ferron, DA Piglowski... - Fusion engineering and ..., 2006 - Elsevier *
Support for multitasking and background awareness using interactive peripheral displaysB MacIntyre, ED Mynatt, S Voida, KM Hansen... - Proceedings of the 14th ..., 2001 - dl.acm.org *
Temporal control in real-time systems: Languages and systems[PDF] from upenn.edu S Fischmeister... - Handbook of Real-Time Systems and ..., 2007 - seas.upenn.edu *
Thread coloring: a scheduler proposal from user to hardware threadsM Gil, R Pinilla - ACM SIGOPS Operating Systems Review, 2005 - dl.acm.org *
Transforming policies into mechanisms with infokernelAC Arpaci-Dusseau, RH Arpaci-Dusseau... - ACM SIGOPS ..., 2003 - dl.acm.org. *
Understanding the Linux 2.6. 8.1 CPU schedulerJ Aas - Retrieved Oct, 2005 - retep.googlecode.com *
web.archive.org archive of developer.android.com, ""Lock", pp.1-7, archived 4 March 2009 *
web.archive.org archive of developer.android.com, "Activity", pp.1-58, archived 3 March 2009 *
web.archive.org archive of developer.android.com, "Application Fundamentals", pp.1-30, archived 28 February 2009 *
web.archive.org archive of developer.android.com, "Available Resource Types", pp.1-24, archived 19 February 2009 *
web.archive.org archive of developer.android.com, "Manifest.permission", pp.1-26, archived 21 February 2009 *
web.archive.org archive of developer.android.com, "Notification", pp.1-10, archived 18 February 2009 *
web.archive.org archive of developer.android.com, "Service", pp.1-11, archived 25 February 2009 *
Xubuntu manual online, "display memory" command, retrieved 7-9-2012 from http://manpages.ubuntu.com/manpages/precise/man7/display-memory.7.html. *

Cited By (136)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11039020B2 (en) 2009-01-28 2021-06-15 Headwater Research Llc Mobile device and service management
US10749700B2 (en) 2009-01-28 2020-08-18 Headwater Research Llc Device-assisted services for protecting network capacity
US11973804B2 (en) 2009-01-28 2024-04-30 Headwater Research Llc Network service plan design
US11968234B2 (en) 2009-01-28 2024-04-23 Headwater Research Llc Wireless network service interfaces
US10326800B2 (en) 2009-01-28 2019-06-18 Headwater Research Llc Wireless network service interfaces
US10264138B2 (en) 2009-01-28 2019-04-16 Headwater Research Llc Mobile device and service management
US10462627B2 (en) 2009-01-28 2019-10-29 Headwater Research Llc Service plan design, user interfaces, application programming interfaces, and device management
US11923995B2 (en) 2009-01-28 2024-03-05 Headwater Research Llc Device-assisted services for protecting network capacity
US10248996B2 (en) 2009-01-28 2019-04-02 Headwater Research Llc Method for operating a wireless end-user device mobile payment agent
US10237757B2 (en) 2009-01-28 2019-03-19 Headwater Research Llc System and method for wireless network offloading
US10869199B2 (en) 2009-01-28 2020-12-15 Headwater Research Llc Network service plan design
US10237773B2 (en) 2009-01-28 2019-03-19 Headwater Research Llc Device-assisted services for protecting network capacity
US11665592B2 (en) 2009-01-28 2023-05-30 Headwater Research Llc Security, fraud detection, and fraud mitigation in device-assisted services systems
US11665186B2 (en) 2009-01-28 2023-05-30 Headwater Research Llc Communications device with secure data path processing agents
US11589216B2 (en) 2009-01-28 2023-02-21 Headwater Research Llc Service selection set publishing to device agent with on-device service selection
US11582593B2 (en) 2009-01-28 2023-02-14 Head Water Research Llc Adapting network policies based on device service processor configuration
US10200541B2 (en) 2009-01-28 2019-02-05 Headwater Research Llc Wireless end-user device with divided user space/kernel space traffic policy system
US11570309B2 (en) 2009-01-28 2023-01-31 Headwater Research Llc Service design center for device assisted services
US11563592B2 (en) 2009-01-28 2023-01-24 Headwater Research Llc Managing service user discovery and service launch object placement on a device
US10492102B2 (en) 2009-01-28 2019-11-26 Headwater Research Llc Intermediate networking devices
US10171681B2 (en) 2009-01-28 2019-01-01 Headwater Research Llc Service design center for device assisted services
US10171988B2 (en) 2009-01-28 2019-01-01 Headwater Research Llc Adapting network policies based on device service processor configuration
US10536983B2 (en) 2009-01-28 2020-01-14 Headwater Research Llc Enterprise access control and accounting allocation for access networks
US11538106B2 (en) 2009-01-28 2022-12-27 Headwater Research Llc Wireless end-user device providing ambient or sponsored services
US11516301B2 (en) 2009-01-28 2022-11-29 Headwater Research Llc Enhanced curfew and protection associated with a device group
US11494837B2 (en) 2009-01-28 2022-11-08 Headwater Research Llc Virtualized policy and charging system
US11477246B2 (en) 2009-01-28 2022-10-18 Headwater Research Llc Network service plan design
US11425580B2 (en) 2009-01-28 2022-08-23 Headwater Research Llc System and method for wireless network offloading
US11405224B2 (en) 2009-01-28 2022-08-02 Headwater Research Llc Device-assisted services for protecting network capacity
US10326675B2 (en) 2009-01-28 2019-06-18 Headwater Research Llc Flow tagging for service policy implementation
US11219074B2 (en) 2009-01-28 2022-01-04 Headwater Research Llc Enterprise access control and accounting allocation for access networks
US11218854B2 (en) 2009-01-28 2022-01-04 Headwater Research Llc Service plan design, user interfaces, application programming interfaces, and device management
US11190545B2 (en) 2009-01-28 2021-11-30 Headwater Research Llc Wireless network service interfaces
US11190427B2 (en) 2009-01-28 2021-11-30 Headwater Research Llc Flow tagging for service policy implementation
US11363496B2 (en) 2009-01-28 2022-06-14 Headwater Research Llc Intermediate networking devices
US10171990B2 (en) 2009-01-28 2019-01-01 Headwater Research Llc Service selection set publishing to device agent with on-device service selection
US10681179B2 (en) 2009-01-28 2020-06-09 Headwater Research Llc Enhanced curfew and protection associated with a device group
US10848330B2 (en) 2009-01-28 2020-11-24 Headwater Research Llc Device-assisted services for protecting network capacity
US10841839B2 (en) 2009-01-28 2020-11-17 Headwater Research Llc Security, fraud detection, and fraud mitigation in device-assisted services systems
US10834577B2 (en) 2009-01-28 2020-11-10 Headwater Research Llc Service offer set publishing to device agent with on-device service selection
US10803518B2 (en) 2009-01-28 2020-10-13 Headwater Research Llc Virtualized policy and charging system
US10798252B2 (en) 2009-01-28 2020-10-06 Headwater Research Llc System and method for providing user notifications
US10798558B2 (en) 2009-01-28 2020-10-06 Headwater Research Llc Adapting network policies based on device service processor configuration
US9866642B2 (en) 2009-01-28 2018-01-09 Headwater Research Llc Wireless end-user device with wireless modem power state control policy for background applications
US10798254B2 (en) 2009-01-28 2020-10-06 Headwater Research Llc Service design center for device assisted services
US10791471B2 (en) 2009-01-28 2020-09-29 Headwater Research Llc System and method for wireless network offloading
US10783581B2 (en) 2009-01-28 2020-09-22 Headwater Research Llc Wireless end-user device providing ambient or sponsored services
US9955332B2 (en) 2009-01-28 2018-04-24 Headwater Research Llc Method for child wireless device activation to subscriber account of a master wireless device
US9954975B2 (en) 2009-01-28 2018-04-24 Headwater Research Llc Enhanced curfew and protection associated with a device group
US10771980B2 (en) 2009-01-28 2020-09-08 Headwater Research Llc Communications device with secure data path processing agents
US9973930B2 (en) 2009-01-28 2018-05-15 Headwater Research Llc End user device that secures an association of application to service policy with an application certificate check
US9980146B2 (en) 2009-01-28 2018-05-22 Headwater Research Llc Communications device with secure data path processing agents
US11985155B2 (en) 2009-01-28 2024-05-14 Headwater Research Llc Communications device with secure data path processing agents
US10716006B2 (en) 2009-01-28 2020-07-14 Headwater Research Llc End user device that secures an association of application to service policy with an application certificate check
US10064055B2 (en) 2009-01-28 2018-08-28 Headwater Research Llc Security, fraud detection, and fraud mitigation in device-assisted services systems
US10080250B2 (en) 2009-01-28 2018-09-18 Headwater Research Llc Enterprise access control and accounting allocation for access networks
US10715342B2 (en) 2009-01-28 2020-07-14 Headwater Research Llc Managing service user discovery and service launch object placement on a device
US8949641B2 (en) * 2009-04-14 2015-02-03 Canon Kabushiki Kaisha Information processing apparatus and method for controlling information processing apparatus restoration order of images that reduces the waiting time when restoration from a hibernation state
US20100262853A1 (en) * 2009-04-14 2010-10-14 Canon Kabushiki Kaisha Information processing apparatus, method for controlling information processing apparatus, and recording medium
US8660576B2 (en) 2010-01-15 2014-02-25 Apple Inc. Adaptive location determination
US8433334B2 (en) 2010-01-15 2013-04-30 Apple Inc. Managing a location database for network-based positioning system
US9119168B2 (en) 2010-01-15 2015-08-25 Apple Inc. Managing a location database for network-based positioning system
US8655371B2 (en) 2010-01-15 2014-02-18 Apple Inc. Location determination using cached location area codes
US8504059B2 (en) 2010-01-15 2013-08-06 Apple Inc. Location filtering using mobile country code
US8634860B2 (en) 2010-01-15 2014-01-21 Apple Inc. Location determination using cached location area codes
US20130007765A1 (en) * 2010-03-11 2013-01-03 Fujitsu Limited Software control device, software control method, and computer product
US9135059B2 (en) 2010-04-07 2015-09-15 Apple Inc. Opportunistic multitasking
US8620344B2 (en) 2010-04-07 2013-12-31 Apple Inc. Location-based application program management
US9104476B2 (en) 2010-04-07 2015-08-11 Apple Inc. Opportunistic multitasking of VOIP applications
US9210529B2 (en) 2010-04-07 2015-12-08 Apple Inc. Location-based application program management
US10965765B2 (en) 2010-08-14 2021-03-30 The Nielsen Company (Us), Llc Systems, methods, and apparatus to monitor mobile internet activity
US11849001B2 (en) 2010-08-14 2023-12-19 The Nielsen Company (Us), Llc Systems, methods, and apparatus to monitor mobile internet activity
US11438429B2 (en) 2010-08-14 2022-09-06 The Nielsen Company (Us), Llc Systems, methods, and apparatus to monitor mobile internet activity
US10320925B2 (en) 2010-08-14 2019-06-11 The Nielsen Company (Us), Llc Systems, methods, and apparatus to monitor mobile internet activity
US9501100B2 (en) * 2010-09-30 2016-11-22 Apple Inc. Communicating sensor data between electronic devices
US20120083911A1 (en) * 2010-09-30 2012-04-05 Apple Inc. Communicating sensor data between electronic devices
US20120185803A1 (en) * 2011-01-13 2012-07-19 Htc Corporation Portable electronic device, control method of the same, and computer program product of the same
US9560405B2 (en) * 2011-02-14 2017-01-31 Microsoft Technology Licensing, Llc Background transfer service for applications on mobile devices
US10631246B2 (en) 2011-02-14 2020-04-21 Microsoft Technology Licensing, Llc Task switching on mobile devices
US20120209946A1 (en) * 2011-02-14 2012-08-16 Microsoft Corporation Background Transfer Service for Applications on Mobile Devices
US20180352516A1 (en) * 2011-02-14 2018-12-06 Microsoft Technology Licensing, Llc Background transfer service for applications on mobile devices
US10009850B2 (en) * 2011-02-14 2018-06-26 Microsoft Technology Licensing, Llc Background transfer service for applications on mobile devices
US9060196B2 (en) 2011-02-14 2015-06-16 Microsoft Technology Licensing, Llc Constrained execution of background application code on mobile devices
US10542496B2 (en) * 2011-02-14 2020-01-21 Microsoft Technology Licensing, Llc Background transfer service for applications on mobile devices
US11006369B2 (en) * 2011-02-14 2021-05-11 Microsoft Technology Licensing, Llc Background transfer service for applications on mobile devices
US10628238B2 (en) * 2011-09-01 2020-04-21 Microsoft Technology Licensing, Llc Decoupling background work and foreground work
US20170031734A1 (en) * 2011-09-01 2017-02-02 Microsoft Technology Licensing, Llc Decoupling background work and foreground work
US9361136B2 (en) * 2011-09-01 2016-06-07 Microsoft Technology Licensing, Llc Decoupling background work and foreground work
US20170293465A1 (en) * 2011-09-11 2017-10-12 Microsoft Technology Licensing, Llc Playback manager
US9952903B2 (en) 2012-01-20 2018-04-24 Microsoft Technology Licensing, Llc Background task resource control
US20130343373A1 (en) * 2012-06-25 2013-12-26 Microsoft Corporation Voice-over-internet protocol (voip) application platform
US9319246B2 (en) * 2012-06-25 2016-04-19 Microsoft Technology Licensing, Llc Voice-over-internet protocol (VOIP) application platform
US20160072856A1 (en) * 2012-06-28 2016-03-10 Microsoft Technology Licensing, Llc Cross-Process Media Handling in a Voice-Over-Internet Protocol (VOIP) Application Platform
US20180013855A1 (en) * 2012-08-09 2018-01-11 Facebook, Inc. Handling notifications
US10798210B2 (en) * 2012-08-09 2020-10-06 Facebook, Inc. Handling notifications
US20140173619A1 (en) * 2012-12-14 2014-06-19 Fujitsu Limited Information processing device and method for controlling information processing device
US9389923B2 (en) * 2012-12-14 2016-07-12 Fujitsu Limited Information processing device and method for controlling information processing device
US10834583B2 (en) 2013-03-14 2020-11-10 Headwater Research Llc Automated credential porting for mobile devices
US11743717B2 (en) 2013-03-14 2023-08-29 Headwater Research Llc Automated credential porting for mobile devices
US10171995B2 (en) 2013-03-14 2019-01-01 Headwater Research Llc Automated credential porting for mobile devices
US11510037B2 (en) 2013-03-15 2022-11-22 The Nielsen Company (Us), Llc Methods and apparatus to credit usage of mobile devices
US20140280896A1 (en) * 2013-03-15 2014-09-18 Achilleas Papakostas Methods and apparatus to credit usage of mobile devices
US10356579B2 (en) * 2013-03-15 2019-07-16 The Nielsen Company (Us), Llc Methods and apparatus to credit usage of mobile devices
US12096322B2 (en) 2013-03-15 2024-09-17 The Nielsen Company (Us), Llc Methods and apparatus to credit usage of mobile devices
EP2989538A1 (en) * 2013-04-24 2016-03-02 Samsung Electronics Co., Ltd. Method and device for managing memory of user device
US20140325518A1 (en) * 2013-04-24 2014-10-30 Samsung Electronics Co., Ltd. Method and device for managing memory of user device
EP2989538A4 (en) * 2013-04-24 2016-11-30 Samsung Electronics Co Ltd Method and device for managing memory of user device
US10331486B2 (en) 2013-04-24 2019-06-25 Samsung Electronics Co., Ltd. Method and device for managing memory of user device
US9465661B2 (en) * 2013-04-24 2016-10-11 Samsung Electronics Co., Ltd. Method and device for managing memory of user device
US20140366040A1 (en) * 2013-06-07 2014-12-11 Apple Inc. Throttling Of Application Access To Resources
US9336070B1 (en) 2013-06-07 2016-05-10 Apple Inc. Throttling of application access to resources
US9336068B2 (en) * 2013-06-07 2016-05-10 Apple Inc. Throttling of application access to resources
US9891948B2 (en) * 2013-11-28 2018-02-13 Sony Corporation Information processing to shut down application based on start-up time and network access time
US20150150022A1 (en) * 2013-11-28 2015-05-28 Sony Corporation Information processing apparatus, information processing method, and storage medium
US20160351168A1 (en) * 2014-02-18 2016-12-01 Zte Corporation Split-Screen Processing Method and Device, and Computer Storage Medium
US20170019717A1 (en) * 2014-02-26 2017-01-19 Lg Electronics Inc. Digital device and data processing method by digital device
US9813766B2 (en) * 2014-02-26 2017-11-07 Lg Electronics Inc. Digital device and data processing method by digital device
US10481959B2 (en) * 2014-07-03 2019-11-19 Spotify Ab Method and system for the identification of music or other audio metadata played on an iOS device
US20170161119A1 (en) * 2014-07-03 2017-06-08 Spotify Ab A method and system for the identification of music or other audio metadata played on an ios device
US12095877B2 (en) 2014-10-31 2024-09-17 The Nielsen Company (Us), Llc Methods and apparatus to improve usage crediting in mobile devices
US10257297B2 (en) 2014-10-31 2019-04-09 The Nielsen Company (Us), Llc Methods and apparatus to improve usage crediting in mobile devices
US9924017B2 (en) * 2015-05-28 2018-03-20 Livio, Inc. Methods and systems for a vehicle computing system to launch an application
CN105677460A (en) * 2015-12-28 2016-06-15 小米科技有限责任公司 Application processing method and apparatus
US20170230465A1 (en) * 2016-02-04 2017-08-10 Kyocera Corporation Communication apparatus, communication control method, and non-transitory computer-readable recording medium
US10735526B2 (en) * 2016-02-04 2020-08-04 Kyocera Corporation Communication apparatus, communication control method, and non-transitory computer-readable recording medium for controlling data communication of an application
US10810027B2 (en) 2016-03-31 2020-10-20 Vmware, Inc. Capturing components of an application using a sandboxed environment
US20170286141A1 (en) * 2016-03-31 2017-10-05 Vmware, Inc. Capturing components of an application using a sandboxed environment
US10162653B2 (en) * 2016-03-31 2018-12-25 Vmware, Inc. Capturing components of an application using a sandboxed environment
US12032904B2 (en) * 2016-11-21 2024-07-09 Samsung Electronics Co., Ltd. Method and apparatus for generating statement
US10860369B2 (en) * 2017-01-11 2020-12-08 International Business Machines Corporation Self-adjusting system for prioritizing computer applications
US20180196695A1 (en) * 2017-01-11 2018-07-12 International Business Machines Corporation Self-adjusting system for prioritizing computer applications
US10788955B2 (en) 2017-06-28 2020-09-29 Samsung Electronics Co., Ltd. Method for controlling display and electronic device supporting the same
CN109299600A (en) * 2018-08-02 2019-02-01 珠海格力电器股份有限公司 Application locking and unlocking method and device, terminal and readable storage medium
EP3910972A1 (en) * 2020-05-14 2021-11-17 Accenture Global Solutions Limited Continuous short range wireless communication detection for user devices using a background application
CN113676943A (en) * 2020-05-14 2021-11-19 埃森哲环球解决方案有限公司 Continuous short range wireless communication detection for user equipment using background applications
US12143909B2 (en) 2022-01-03 2024-11-12 Headwater Research Llc Service plan design, user interfaces, application programming interfaces, and device management

Also Published As

Publication number Publication date
CN103955403B (en) 2018-09-28
WO2011126499A3 (en) 2012-04-19
CA2988269C (en) 2019-05-07
EP2556432A2 (en) 2013-02-13
US20110252423A1 (en) 2011-10-13
US9135059B2 (en) 2015-09-15
US20110252429A1 (en) 2011-10-13
WO2011126499A2 (en) 2011-10-13
DE112010005473T5 (en) 2013-01-24
KR20130048290A (en) 2013-05-09
JP2013524362A (en) 2013-06-17
CA2795489C (en) 2018-01-23
CN102298538B (en) 2014-03-26
CA2795489A1 (en) 2011-10-13
JP5723968B2 (en) 2015-05-27
CN102298538A (en) 2011-12-28
US9104476B2 (en) 2015-08-11
US20110249668A1 (en) 2011-10-13
US20110252422A1 (en) 2011-10-13
TW201135445A (en) 2011-10-16
EP3508975A1 (en) 2019-07-10
CA2988269A1 (en) 2011-10-13
KR101724176B1 (en) 2017-04-06
AU2010350737A1 (en) 2012-11-29
CN103955403A (en) 2014-07-30

Similar Documents

Publication Publication Date Title
US9135059B2 (en) Opportunistic multitasking
US10908954B2 (en) Quality of service classes
US10628216B2 (en) I/O request scheduling method and apparatus by adjusting queue depth associated with storage device based on hige or low priority status
US10437639B2 (en) Scheduler and CPU performance controller cooperation
JP6199477B2 (en) System and method for using a hypervisor with a guest operating system and virtual processor
US9201693B2 (en) Quota-based resource management
US9798584B1 (en) Methods and apparatus for IO sizing based task throttling
CN109814985B (en) Task scheduling method and scheduler, computing device and system
US10037225B2 (en) Method and system for scheduling computing
WO2024160154A1 (en) Cpu scheduling method and apparatus, electronic device, and readable storage medium
WO2022156612A1 (en) Terminal device-based scheduling method and apparatus, storage medium, and terminal device
AU2013205570A1 (en) Opportunistic multitasking
US20160062925A1 (en) Method and system for managing storage device operations by a host device
WO2024055708A1 (en) Task scheduling method and apparatus, and device and medium
US20240256318A1 (en) System and method for managing pods hosted by virtual machines
US20220353874A1 (en) Method and Apparatus for Maximizing a Number of Connections That Can Be Executed from a Mobile Application
CN117971250A (en) Application installation method, device, electronic equipment and readable storage medium
CN117742953A (en) IO scheduling method and device

Legal Events

Date Code Title Description
AS Assignment

Owner name: APPLE INC., CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:CHAPMAN, GREGORY R.;SCHREYER, RICHARD;DUFFY, THOMAS B., JR.;SIGNING DATES FROM 20100618 TO 20100701;REEL/FRAME:024895/0360

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION