Controlling access to software component state
AssigneeMicrosoft Corporation
InventorsChristopher D. Russell, Eric P. Traut, Ravisankar Pudipeddi, Adam D. Stritzel, Suyash Sinha
Life of this patent
Estimating the term…
Abstract
A request is received from a software component of a software product to access a value of a public setting of the software component. A check is made as to whether the request conforms to an appropriate format for the public setting. If the request conforms to the appropriate format, then the requested access is performed. However, if the request does not conform to the appropriate format, then the requested access is denied. Multiple values for the public setting can be received and maintained concurrently.
Claims20
A method implemented by one or more processors of a device, the method comprising:
- receiving a setting declaration for state information for a software component;
- storing the state information in a discardable portion of a component state store;
- accessing the stored state information by the software component;
- responsive to receiving a command to delete the information in the discardable portion of the component state store, deleting the state information;
- and
- maintaining continued operation of the software component after the discardable portion is deleted.
A computer-implemented method comprising:
- providing a software component state store with multiple portions, each portion corresponding to a different one of multiple reset levels for an associated software component;
- storing settings of state information in one or more of the portions;
- receiving a request to reset the state of the software component, the request containing a reset level;
- choosing, based on the reset level, which portion of the software component state store to delete;
- and
- deleting the chosen portion.
One or more computer storage memories having stored thereon multiple instructions that, when executed by one or more processors of a device, cause the one or more processors to:
- install a software component of a software product on the device;
- receive a request from the software component to store a value of a setting of the software component;
- store the value from the software component of the setting in one of a public setting portion or a private state portion of a software component state store;
- and
- receive an upgrade to be installed for the software component, while maintaining the values stored in the software component state store.
Dependencies are inferred from the claim text.