Decoupling background work and foreground work
First Claim
1. A method of controlling resource consumption by a background component that consumes resources when executed, the method comprising:
- detecting an occurrence of a trigger;
identifying a brokered event associated with the trigger based upon a data structure comprising one or more entries corresponding to one or more registered triggers;
determining whether one or more conditions specified for the brokered event are satisfied;
responsive to determining that the one or more conditions are satisfied,determining whether one or more broker limitations applicable to the brokered event are satisfied;
responsive to determining that the one or more broker limitations are satisfied, signaling the brokered event, where the background component is executed responsive to the signaling.
2 Assignments
0 Petitions
Accused Products
Abstract
Systems, methods, and apparatus for separately loading and managing foreground work and background work of an application. In some embodiments, a method is provided for use by an operating system executing on at least one computer. The operating system may identify at least one foreground component and at least one background component of an application, and may load the at least one foreground component for execution separately from the at least one background component. For example, the operating system may execute the at least one foreground component without executing the at least one background component. In some further embodiments, the operating system may use a specification associated with the application to identify at least one piece of computer executable code implementing the at least one background component.
-
Citations
20 Claims
-
1. A method of controlling resource consumption by a background component that consumes resources when executed, the method comprising:
-
detecting an occurrence of a trigger; identifying a brokered event associated with the trigger based upon a data structure comprising one or more entries corresponding to one or more registered triggers; determining whether one or more conditions specified for the brokered event are satisfied; responsive to determining that the one or more conditions are satisfied, determining whether one or more broker limitations applicable to the brokered event are satisfied; responsive to determining that the one or more broker limitations are satisfied, signaling the brokered event, where the background component is executed responsive to the signaling. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer readable storage medium comprising instructions that when executed perform acts for controlling resource consumption by a background component that consumes resources when executed, the acts comprising:
-
detecting an occurrence of a trigger; identifying a brokered event associated with the trigger based upon a data structure comprising one or more entries corresponding to one or more registered triggers; determining whether one or more conditions specified for the brokered event are satisfied; responsive to determining that the one or more conditions are satisfied, determining whether one or more broker limitations applicable to the brokered event are satisfied; and responsive to determining that the one or more broker limitations are satisfied, signaling the brokered event, where the background component is executed responsive to the signaling. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system, comprising:
-
one or more processing units; and memory comprising instructions that when executed by at least one of the one or more processing units perform acts for controlling resource consumption by a background component that consumes resources when executed, the acts comprising; identifying a foreground component of an application; identifying the background component, the background component associated with the application and different than the foreground component; detecting an occurrence of a trigger associated with the application; identifying a brokered event associated with the trigger based upon a data structure comprising one or more entries corresponding to one or more registered triggers; determining whether one or more conditions specified for the brokered event are satisfied; responsive to determining that the one or more conditions are satisfied, determining whether one or more broker limitations applicable to the brokered event are satisfied; and responsive to determining that the one or more broker limitations are satisfied, signaling the brokered event, where the background component is executed responsive to the signaling. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification