Embodiments disclosed herein relate generally to system management. More particularly, embodiments disclosed herein relate to systems and methods to manage systems within prescribed limitations.
Computing devices may provide various services. For example, computing devices may host applications that store data, process data, and generate data thereby providing services. Depending on the type of processing performed, hardware and software components available for use in processing, various types of services may be performed.
Embodiments disclosed herein are illustrated by way of example and not limitation in the figures of the accompanying drawings in which like references indicate similar elements.
Various embodiments disclosed herein will be described with reference to details discussed below, and the accompanying drawings will illustrate the various embodiments. The following description and drawings are illustrative disclosed herein and are not to be construed as limiting the disclosed embodiments. Numerous specific details are described to provide a thorough understanding of various embodiments disclosed herein. However, in certain instances, well-known or conventional details are not described in order to provide a concise discussion of embodiments disclosed herein.
Reference in the specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in conjunction with the embodiment can be included in at least one embodiment disclosed herein. The appearances of the phrase “in one embodiment” and “an embodiment” in various places in the specification do not necessarily all refer to the same embodiment.
References to an “operable connection” or “operably connected” means that a particular device is able to communicate with one or more other devices. The devices themselves may be directly connected to one another or may be indirectly connected to one another through any number of intermediary devices, such as in a network topology.
In general, embodiments disclosed herein relate to methods, systems, and devices for providing computer implemented services using managed systems. The computer implemented services may include any quantity and type of such services.
To provide the computer implemented services, the managed systems may need to operate in a predetermined manner conducive to, for example, execution of applications that provide the computer implemented services. Similarly, the managed system may need access to certain hardware resources (e.g., and also software resources such as drivers, firmware, etc.) to provide the desired computer implemented services.
To improve the likelihood of the computer implemented services being provided, embodiments disclosed here relate to methods and systems for managing managed systems using a subscription based model. The subscription model may utilize a highly accessible service to obtain information regarding desired capabilities (e.g., a subscription) of a managed system, use the acquired information to automatically configure and manage the features and capabilities of managed systems to meet those desired by users, operators, and/or other persons, and facilitate usage based management of the managed systems.
To facilitate usage based management of the managed systems, a subscription management service may switch between measured and inferred use based reporting models to ensure that use of the managed systems is always available. The inferred use of the managed systems may be ascertained using inference models. The inference models may infer use during period of time when measured use of the managed systems is unavailable (e.g., due to hardware failures, connectivity issues, etc.). The measured and inferred use may be used to keep the users appraised of their use of the managed systems, automatically take action to ensure desired services are provided by the managed systems, and/or to otherwise facilitate management of distributed managed systems.
By doing so, the managed systems may be more likely to be able to provide the computer implemented services actually desired by users over time.
In an embodiment, a computer-implemented method for managing a distributed system comprising managed systems and a subscription manager that manages operation of the managed systems is provided. The method may include obtaining, by the subscription manager, use data for a first period of time, the use data reflecting use of a first managed system of the managed systems by a user that is subscribed to use the first managed system; identifying, by the subscription manager, a use data collection failure event for a second period of time following the first period of time, the use data collection failure event preventing collection of use data from the first managed system during the second period of time; in response to identifying the use data collection failure event: switching, by the subscription manager and during the second period of time, from a measured use based reporting model to an inferred use based reporting model for the first managed system; and managing, by the subscription manager and during the second period of time, operation of the first managed system based on inferred use data obtained with the inferred use based reporting model.
The computer-implemented method may also include selecting, by the subscription manager, a portion of the use data for the first period of time; and supplying, by the subscription manager, the portion of the use data as input to the inferred use based reporting model to obtain the inferred use data, the inferred use data may indicate use of the first managed system by the user during the second period of time.
The inferred use based reporting model may include a machine learning model. The machine learning model may be based on a Bayesian neural network.
Managing operation of the first managed system may include obtaining cost information based on the inferred use data; presenting the cost information to the user; obtaining a subscription update for the user, the subscription update being responsive to the cost information; and modifying accessibility of a function of the first managed system based on the subscription update.
The accessibility of the function may be modified by disabling or enabling a hardware component of the first managed system; deploying a replacement software stack to the first managed system; initiating deployment of a hardware component to the first managed system; and/or migrating a workload associated with the user to a second managed system of the managed systems.
The use data may be obtained from an out-of-band management controller hosted by the first managed system, the out-of-band management controller may manage functionality of the first managed system accessible by the user. The use data collection failure event may be unavailability of the out-of-band management controller. The out-of-band management controller may operate independently from the first managed system.
A non-transitory media may include instructions that when executed by a processor cause the computer-implemented method to be performed.
A data processing system may include the non-transitory media and a processor, and may perform the computer-implemented method when the computer instructions are executed by the process.
Turning to
The computer implemented services may include any number and type of computer implemented services. Computer implemented services may include, for example, database services, data processing services, electronic communication services, and/or any other services that may be provided using one or more computing devices. Other types of computer implemented services may be provided by managed systems 20 without departing from embodiments disclosed herein.
To provide the aforementioned computer implemented services, any of managed systems 22A, 22N may need to operate in a predetermined manner. For example, certain hardware components may need to be operational and/or certain software components (e.g., applications) may need to be operating for the managed systems to provide computer implemented services (e.g., to operate as a solution). Different configurations of the hardware components and/or applications may need to be implemented by managed systems 20 depending on the computer implemented services desired to be provided by the respective managed systems. Refer to
However, determining these configurations of hardware and/or software components (e.g., applications) necessary for corresponding computer implemented services may be technically challenging to identify. For example, a person may need to be familiar with a range of hardware and software components issues to effectively select the hardware components and/or software components of a system so that the system is capable of providing the desired computer implemented services. Further, if a system is procured that lacks necessary hardware and/or software components, the procured system may not be able to provide its desired functions.
In general, embodiments disclosed herein relate to system, devices and methods for managing one or more managed systems in a manner that may improve the likelihood of the managed system being able to provide desired computer implemented services. To do so, a system in accordance with embodiments disclosed herein may provide a distributed system for automatically identifying and implementing hardware and/or software configurations of managed systems to support desired computer implemented services. By doing so, embodiments disclosed herein may (i) reduce the cognitive burden for selecting and managing systems to provide desired computer implemented services, (ii) may improve the uptime of desired computer implemented services by making it more likely that managed systems are able to provide the desired services over time, and/or (iii) reducing the cost of obtaining desired computer implemented services by dynamically enabling and/or disabling only those functions/components (which may have associated cost for such functions) necessary to provide the desired computer implemented services.
To provide the above noted functionality, a system in accordance with an embodiment may include subscription management service 10. Subscription management service 10 may facilitate automatic configuration of managed systems 20. To do so, subscription management service 10 may (i) obtain information indicating desired functions of one or more of managed systems 20 and/or hardware components of managed systems 20 to be enabled and/or disabled (and/or information indicating corresponding periods of time of enablement/disablement of hardware/software components), (ii) correlate the desired functions with various hardware components (e.g., if explicit hardware components identifications are not made) and/or software components, and (iii) provide local subscription managers hosted by managed systems 20 with information regarding the identified hardware components, software components, periods of enablement/disablement, and/or other information to allow the local subscription managers to configure managed systems 20 in a manner that conforms to the information (e.g., subscriptions) obtained by subscription management service 10. In this manner, a user or manager of managed systems 20 may configure managed systems 20 without needing to directly interact with the various hardware and/or software components of managed systems 20.
Further, the distributed system may allow a provider of managed systems 20 to selectively manage various functionalities provided by managed systems 20. By doing so, a provider of managed systems 20 may tailor the functions provided by managed systems 20 (e.g., from all possible functions) to only those requested, desired, and/or procured by an operator, manager, and/or user of managed systems 20.
For example, consider a scenario where a provider of a managed system does so on a contractual basis where a user of the managed system agrees to purchase subscriptions for various functionalities, hardware components, and/or software components. The user may use subscription management service 10 to select to which of the aforementioned features the user wishes to have enabled, to the extent of such enablement, durations of enablement, etc. The contractual basis may be, for example, durations of time, use of certain quantities of resources such as processor cycles, storage space, etc. and/or aggregate services provided by one or more managed systems.
To allow for users or other persons associated with managed systems to elect into such subscriptions, subscription management service 10 may provide graphical user interfaces that allow such selections to be made. The graphical user interfaces may be implemented, for example, as webpages accessible to the users or other persons via other devices (e.g., client devices not illustrated in
When providing the aforementioned information regarding subscription elections to local subscription managers, subscription management service 10 may also provide (e.g., collectively “subscription management information”): (i) code blocks or other information (e.g., lists of actions) usable to modify the operation of a managed system to comply with an elected subscription, (ii) limitations on elected subscriptions (e.g., subscription durations, quantities of operations that may be performed under a subscriptions, and/or other metrics for quantifying operation of managed systems 20 limited by a subscription limitation), and/or (iii) code blocks or other information (e.g., lists of actions) usable to revert a previously implemented modification of the operation of a managed system to comply with an elected subscription. By providing the local subscription managers with subscription management information, the local subscription managers may independently enforce the terms of elected subscriptions on managed systems even when, for example, one or more of the local subscription managers are unable to communicate with subscription management service 10 (e.g., after receiving the subscription management information).
To enable clients to effectively manage financial cost, available capacity, and/or other features provided through managed systems 20, subscription management service 10 may provide information regarding the use of managed systems 22A-22N, information regarding current subscriptions, alerts or notifications when subscription limitations and/or use of the managed systems indicate that the client may desire to make changes to their subscriptions, and/or other types of information usable by clients to manage their respective uses of managed systems 20. For example, subscription management service 10 may provide graphical user interfaces to user of clients to allow the clients to (i) modify their subscriptions, (ii) pre-authorize changes in subscriptions, and/or (iii) otherwise facilitate communications between user of clients and subscription management service 10. By doing so, users of managed systems 20 may, through such interfaces, dynamically manage their subscriptions as their use of managed systems 20 changes over time.
For example, consider a scenario where a business organization contracts with a company to receive database services to manage sales data. A user from the business organization (e.g., an internet technology manager or other person) may use the interfaces provided with subscription management service 10 to elect to receive database services. Based on the subscription election for database services, subscription management service 10 may automatically select and configure all, or a portion, of managed system 20 to provide the database services by, for example, (i) enabling/disabling hardware devices of managed systems 20, (ii) load and/or remove various applications, firmware, and/or other types of software, (iii) apply configuration settings to hardware devices and/or software, and/or (iv) perform other types of actions to facilitate provisioning of the database services.
Once the database services are being provided, managed systems 20 may report use of the database services to subscription management service 10. Doing so, may allow subscription management service 10 to notify the business organization of their use of the services (e.g., which may incur financial cost and may require modifications in subscription to manage cost), approaching limits (e.g., transaction rate limits based on elected subscriptions, storage space limits based on elected subscription, etc.), and/or reached limits that are impacting the quality of the services received by the business organization.
However, by virtue of the distributed nature of the system of
When use data is unavailable, subscription management service 10 may be unable to effectively manage managed systems 20 using measure use based reporting model (e.g., a model that relies on measurements of use by managed systems 20). For example, without the use data from managed systems 20, subscription management service 10 may be unable to report the actual use of the services to the business organization, to take action to implement pre-authorized services (which may be tied to changes in use of the services provided by managed systems 20), and/or perform other actions that require measured use of the services.
To facilitate management of managed systems 20 during periods of time when all, or a portion, of use data for managed systems 20 may not be available, subscription management service 10 may automatically switch from a measured use based reporting model to an inferred use based reporting model. The inferred use based reporting model may utilize user data from other periods of time to infer the use of the services during the periods of time when measured use data for managed systems 20 is unavailable. For additional details regarding subscription management service 10, refer to
By doing so, embodiments disclosed herein may provide a distributed system management model that is resilient to various failure modes (e.g., operation failures, communication failures, etc.) in distributed systems. Consequently, the disclosed distributed systems may provide computer implemented services to users that better reflect that actual desires of the users of managed systems 20.
Any of subscription management service 10 and managed systems 20 may be implemented with a computing device such as a host or server, a personal computer (e.g., desktops, laptops, and tablets), a “thin” client, a personal digital assistant (PDA), a Web enabled appliance, or a mobile phone (e.g., Smartphone), and/or any other type of data processing device or system. For additional details regarding computing devices, refer to
In an embodiment, one or more of subscription management service 10 and managed systems 20 are operably connected via communication system 30. Communication system 30 may allow any of subscription management service 10 and managed systems 20 to communicate with one another (and/or with other devices not illustrated in
While illustrated in
Turning to
In addition (and/or alternatively) to any of the components shown in
Operation manager 152 may generally manage operation of the component of managed system 150, except for local subscription manager 158. For example, operation manager 152 may be implemented with an operating system used to manage hardware resources 156 of managed system 150 to facilitate execution of applications 154. Operation manager 152 may also include, for example, a startup manager such as a basic input output system (BIOS) used to prepare managed system 150 to boot to an operating system or other type of operation management entity. For example, the startup manager may perform various administrative functions such as (i) identifying the hardware resource 156 and (ii) preparing the hardware resources 156 for use. Once prepared, the startup manager may handoff management of managed system 150 to the operating system or other type of management entity to place managed system 150 in a predetermined operating system conducive to applications 154 providing their functionalities. Prior to hand off, managed system 150 may not be in an operating state in which applications 154 may provide all, or a portion, of their functionalities.
Applications 154 may provide all, or a portion, of the computer implemented services desired by a user, operator, or other person associated with managed system 150. Applications 154 may utilize hardware resources 156 to provide their respective functionalities. Operation manager 152 may mediate presentation of hardware resources 156 by, for example, scheduling use, managing discontinuous access, and/or performing other actions to coordinate use of hardware resources 156 by applications 154 (and/or other entities).
In an embodiment, one or more of operation manager 152 and applications 154 is implemented using a hardware device including circuitry. The hardware device may be, for example, a digital signal processor, a field programmable gate array, or an application specific integrated circuit. The circuitry may be adapted to cause the hardware device to perform the functionality of one or more of operation manager 152 and applications 154. One or more of operation manager 152 and applications 154 may be implemented using other types of hardware devices without departing embodiment disclosed herein.
In an embodiment, one or more of operation manager 152 and applications 154 is implemented using a processor adapted to execute computing code stored on a persistent storage that when executed by the processor performs the functionality of one or more of operation manager 152 and applications 154 discussed throughout this application. The processor may be a hardware processor including circuitry such as, for example, a central processing unit, a processing core, or a microcontroller. The processor may be other types of hardware devices for processing information without departing embodiment disclosed herein.
Hardware resources 156 may include any type and quantity of hardware devices usable to provide computer implemented services. Hardware resources 156 may provide their functionality by, for example, consuming power to perform various actions that result in the performance of operation manager 152, applications 154, and/or other entities not shown in
Local subscription manager 158 may provide subscription management services. Subscription management services may include (i) obtaining information regarding subscriptions, (ii) performing one or more actions to implement the subscriptions, (iii) storing information regarding the subscriptions in a location accessible to local subscription manager 158, (iv) monitoring operation of managed system 150 based on subscription information (e.g., specified by the information regarding the subscriptions) to obtain, for example, use data, (v) providing use data to the subscription management service, and (vi) based on the monitoring, performing one or more actions to force managed system 150 to comply with the subscriptions (or lack thereof) once managed system 150 may in the future and/or is currently exceeding one or more subscription limitations. The one or more actions to implement the subscriptions may include, for example, (a) activing various deactivated hardware resources, (b) loading various information into storage and/or memory of managed system 150, (c) causing processors or other devices of hardware resources 156 to execute various code blocks to cause them to perform certain operations, and/or (d) any other types of actions to implement changes to managed system 150 to comply with a subscription. Likewise, the one or more actions to force managed system 150 to comply with the subscriptions may include (I) disabling various activated hardware resources, (II) removing various information from storage and/or memory of managed system 150, (III) causing processor or other devices of hardware resources 156 to execute other code blocks to cause them to perform certain operations to revert previous changes to the operation of managed system 150 and/or remove certain functionalities, and/or (IV) any other types of actions to implement changes to managed system 150 to comply with a subscription or lack thereof.
By providing its functionality, local subscription manager 158 may manage the configuration, behavior, and/or functionality of managed system 150 in a manner that automatically conforms it to match that expected by subscription management service 10. As part of the aforementioned process, local subscription manager 158 and subscription management service 10 may cooperate to enforce subscriptions on managed system 150. Local subscription manager 158 and subscription management service 10 may also perform one or more authentications of one another and/or communications from these components to prevent other entities from interfering with the cooperative operation of local subscription manager 158 and subscription management service 10.
In an embodiment, local subscription manager 158 is implemented with an out of band management controller. The out of band management controller may be hosted by managed system 150, be operably connected to hardware resources 156 (e.g., via interconnect 510, shown in
In an embodiment, the management controller includes a separate communication interface (e.g., from that of a communication interface of managed system 150) through which it communicates with subscription management service 10. In an embodiment, the management controller uses the same communication interface which managed system 150 uses to communicate with other devices. Either of these communication interface may facilitate communications with communication system 30, and devices connected to communication system 30.
When providing its functionality, local subscription manager 158 may perform all, or a portion, of the methods and operations illustrated in
While illustrated in
Turning to
Resource manager 160 may include functionality to (i) establish secure connections with and/or authenticate subscription management service 10, (ii) obtain information from subscription management service 10 via the secure connections, (iii) update subscription information repository 164 based on the obtained information, (iv) modify the configuration, function, and/or operation of a managed system that hosts local subscription manager 158 to conform to the information stored in subscription information repository 164, (v) monitor use of subscribed to services provided by the host managed system, and (vi) report the use of such services provided by the host managed system to the subscription management service.
In an embodiment, resource manager 160 is implemented using a hardware device including circuitry. The hardware device may be, for example, a digital signal processor, a field programmable gate array, or an application specific integrated circuit. The circuitry may be adapted to cause the hardware device to perform the functionality of resource manager 160. Resource manager 160 may be implemented using other types of hardware devices without departing embodiment disclosed herein.
In one embodiment, resource manager 160 is implemented using a processor adapted to execute computing code stored on a persistent storage that when executed by the processor performs the functionality of resource manager 160 discussed throughout this application. The processor may be a hardware processor including circuitry such as, for example, a central processing unit, a processing core, or a microcontroller. The processor may be other types of hardware devices for processing information without departing embodiment disclosed herein.
In an embodiment, storage 162 is implemented using physical devices that provide data storage services (e.g., storing data and providing copies of previously stored data). The devices that provide data storage services may include hardware devices and/or logical devices. For example, storage 162 may include any quantity and/or combination of memory devices (i.e., volatile storage), long term storage devices (i.e., persistent storage), other types of hardware devices that may provide short term and/or long term data storage services, and/or logical storage devices (e.g., virtual persistent storage/virtual volatile storage).
For example, storage 162 may include a memory device (e.g., a dual in line memory device) in which data is stored and from which copies of previously stored data are provided. In another example, storage 162 may include a persistent storage device (e.g., a solid-state disk drive) in which data is stored and from which copies of previously stored data is provided. In a still further example, storage 162 may include (i) a memory device (e.g., a dual in line memory device) in which data is stored and from which copies of previously stored data are provided and (ii) a persistent storage device that stores a copy of the data stored in the memory device (e.g., to provide a copy of the data in the event that power loss or other issues with the memory device that may impact its ability to maintain the copy of the data cause the memory device to lose the data).
Storage 162 may also be implemented using logical storage. A logical storage (e.g., virtual disk) may be implemented using one or more physical storage devices whose storage resources (all, or a portion) are allocated for use using a software layer. Thus, a logical storage may include both physical storage devices and an entity executing on a processor or other hardware device that allocates the storage resources of the physical storage devices.
Generally, storage 162, and the data stored therein, may not be accessible to a managed system that hosts local subscription manager 158.
Storage 162 may store data structures including subscription information repository 164 and use data repository 166.
Subscription information repository may be implemented with one or more data structures that store information regarding subscriptions for a device that hosts local subscription manager 158. The information may allow resource manager 160 to enforce various configurations on a host managed system to conform that operation of the host managed system to meet subscription limitations. For example, subscription information repository 164 may include code blocks usable to force a host managed system (e.g., by initiating execution of the code blocks) to enable/disable various hardware components, software components, adopt various configurations, and/or otherwise conform its operation to that necessary for desired computer implemented services to be provided.
Use data repository 166 may be implemented with one or more data structures that store information regarding use of the services provided by the host managed system. The use data may include quantities of services utilized by a user (e.g., absolute quantities, use rates, and/or other types of information regarding use of such services by subscribed entities), quantities of computing resources consumed by services provided to a user, and/or other information usable to quantify use of a host managed system or services provided by the host managed system. The information included in use data repository 166 may be maintained by resource manager 160 which may monitor the operation of a host managed system to obtain the information.
While various data structures have been illustrated and described in
While illustrated in
Turning to
Managed system manager 170 may include functionality to (i) obtain subscription information for various users of managed systems (e.g., an use the subscription information to managed various managed systems), (ii) provide information regarding use of the managed systems by the user to the users, (iii) provide the users of the managed systems regarding their use of the managed systems, and/or (iv) automatically and/or at the direction of user of managed systems, modify subscriptions for the users to improve the likelihood that the managed systems provide computer implemented services desired by user of the managed systems.
To provide information regarding use of managed systems to the users, managed system manager 170 may, while use data is available, use a measured use data reporting model by obtaining actual user data and reporting the actual use as measured to the users. When use data is unavailable, managed system manager 170 may switch to an inferred use reporting model. The inferred use reporting model may utilize one or more inference models to infer use of the managed systems during periods of time when measured use data is unavailable. Managed system manager 170 may report and/or otherwise use the inferred use data as measured use data. For example, managed system manager 170 may store both measured and/or inferred use data in use data repository 176.
The inference models may be stored in inference model repository 178. The inference models may be usable to infer use of managed systems by various users during periods of time when measured use data is unavailable. For example, the inference models may take measured use data from earlier periods of time as input and output inferred use data for periods of time when use data is unavailable. Consequently, use data may be obtained for all points in time regardless of the availability of measured use data. Accordingly, use of the managed systems may stay informed of their actual use, may identify when their use may approach subscriptions limits, and may facilitate management of subscriptions such that subscription limitations do not inappropriately limit that use of manage systems by users (e.g., by facilitating proactive changes in subscriptions when subscription limits are likely to be reached, by facilitate proactive changes in the operation of managed systems, by facilitating proactive addition of and/or changes to existing hardware/software components, etc.).
When providing its functionality, managed system manager 170 may perform all, or a portion of the methods of
In an embodiment, managed system manager 170 is implemented using a hardware device including circuitry. The hardware device may be, for example, a digital signal processor, a field programmable gate array, or an application specific integrated circuit. The circuitry may be adapted to cause the hardware device to perform the functionality of managed system manager 170. Managed system manager 170 may be implemented using other types of hardware devices without departing embodiment disclosed herein.
In one embodiment, managed system manager 170 is implemented using a processor adapted to execute computing code stored on a persistent storage that when executed by the processor performs the functionality of managed system manager 170 discussed throughout this application. The processor may be a hardware processor including circuitry such as, for example, a central processing unit, a processing core, or a microcontroller. The processor may be other types of hardware devices for processing information without departing embodiment disclosed herein.
In an embodiment, storage 172 is implemented using physical devices that provide data storage services (e.g., storing data and providing copies of previously stored data). The devices that provide data storage services may include hardware devices and/or logical devices. For example, storage 172 may include any quantity and/or combination of memory devices (i.e., volatile storage), long term storage devices (i.e., persistent storage), other types of hardware devices that may provide short term and/or long term data storage services, and/or logical storage devices (e.g., virtual persistent storage/virtual volatile storage).
For example, storage 172 may include a memory device (e.g., a dual in line memory device) in which data is stored and from which copies of previously stored data are provided. In another example, storage 172 may include a persistent storage device (e.g., a solid-state disk drive) in which data is stored and from which copies of previously stored data is provided. In a still further example, storage 172 may include (i) a memory device (e.g., a dual in line memory device) in which data is stored and from which copies of previously stored data are provided and (ii) a persistent storage device that stores a copy of the data stored in the memory device (e.g., to provide a copy of the data in the event that power loss or other issues with the memory device that may impact its ability to maintain the copy of the data cause the memory device to lose the data).
Storage 172 may also be implemented using logical storage. A logical storage (e.g., virtual disk) may be implemented using one or more physical storage devices whose storage resources (all, or a portion) are allocated for use using a software layer. Thus, a logical storage may include both physical storage devices and an entity executing on a processor or other hardware device that allocates the storage resources of the physical storage devices.
Storage 172 may store data structures including subscription information repository 174, use data repository 176, and inference model repository 178.
Subscription information repository 174 may be implemented with one or more data structures that store information regarding subscriptions agreed to by various users. For example, subscription information repository 174 may indicate (i) agreed to subscriptions, (ii) agreed to changes in subscriptions upon the occurrence of corresponding conditions (e.g., subscription limits being reached), and/or other information regarding subscriptions for user of managed systems.
Use data repository 176 may be implemented with one or more data structures that store information regarding use of the services provided by one or more managed systems to users (e.g., that have agreed to various subscriptions for such use). The use data may include quantities of services utilized by a user (e.g., absolute quantities, use rates, and/or other types of information regarding use of such services by subscribed entities), quantities of computing resources consumed by services provided to a user, and/or other information usable to quantify use of managed systems or services provided by the managed systems.
The use data included in use data repository 176 may include any quantity of both measured use data and inferred use data. The combination of measured and inferred use data may provide for a continuous over time view of the use of managed systems and/or services provided to various users.
Inference model repository 178 may be implemented with one or more data structures that store information regarding inference models usable to obtain inferred use data. The inference model repository 178 may include any quantity and type of inference models. The inference models may include, for example, predictive models obtained using regression analysis, trained machine learning models, and/or other types of predictive models. The inference models may be usable to infer use data for various periods of time based on measured use data from other periods of time.
In an embodiment, at least one of the trained machine learning models is based on a Bayesian neural network machine learning model. The Bayesian neural network machine learning model may be trained using a data set of measured use data that relates measured use data during a first period of time to measured use data during a second period of time (e.g., after the first period of time). Once trained, the Bayesian neural network machine learning models may be able to generate inferences of use data during later periods of time based on measured use data during earlier periods of time. Consequently, the trained Bayesian neural network machine learning models may be capable of generating inferred use data for periods of time where measured use data is unavailable (e.g., using measured use data from other periods of time). The trained Bayesian neural network machine learning models may be usable to fill in gaps in the measured use data maintained in use data repository 176. The Bayesian neural network machine learning models may be trained using information included in use data repository 176 or other locations. Managed system manager 170 or another entity may train the Bayesian neural network machine learning models.
While various data structures have been illustrated and described in
While illustrated in
As discussed above, the components of
Turning to
At operation 200, use data from a managed system is obtained. The use data may be obtained via one or more messages (or other communication method). To obtain the use data, a subscription management service may indicate to a local subscription manager of the managed system (e.g., that host the local subscription manager) to monitor and/or report use of various aspects of the operation of the managed system.
Once obtained, the use data may be stored in a use data repository. Any quantity of use data may be obtained. For example, use data corresponding to various periods of time may be obtained. The use data may correspond to one or more users, one or more subscriptions agreed to by the one or more users, and/or may be obtained from one or more managed systems (e.g., a subscription may be serviced using multiple managed systems).
At operation 202, an inference model is obtained using the use data for the manage system. In an embodiment, the inference model is obtained by training or otherwise using the user data to adapt the inference model to generate inferences regarding use of the managed systems at some points in time based on use of the managed systems at other points in time.
In an embodiment, the inference model is implemented with a Bayesian neural network machine learning model. The Bayesian neural network may include any number of masking layers (e.g., that operate on input and generate modified inputs), any number of hidden layers (e.g., Bayesian neural network inference layers), and may generate any number of predictions (e.g., inferred use data).
For example, a multivariate time series input including known input (e.g., measured use data during a first time period) and output (e.g., measure use data during a second time period) may be formed. In some cases, some values in the multivariate time series may be missing. Such missing information may be inferred. In order to preserve the missing information a masking matrix Vn×m may be used to represent the missing values in the input Vij=0 when Xij is missing. A multi-step Bayesian RNN may be employed to predict the label Yhat. At every time step, input may be fed through the masking layer to a Bayesian RNN. The hidden state may be specified as ht=f(Wr, ht−1, xt), where ht=RNN hiddle state at time step t. Wr may be weights for the recurrent layer.
The input may generally equi-spaced, e.g., the time increments between data points may be equal (or substantially equal). In the event the input is not regularly sampled over time, a temporal decay factor may be incorporated in the hidden state to regularize the time-series.
To model the uncertainty in F, the Bayesian RNN may consider a probability distribution p(Wr|D) for the weights, instead of fixed point values Wr. The missing features in xt may be augmented with predicted features from the previous layer's X prediction and described by xhat=g(Ux, ht−1, xt). G may implicitly model the correlation amongst features.
To model the uncertainty in G, a Bayesian fully connected NN may be utilized that considers a probabilistic distribution p(Ux|D) for the weights Ux. After filling in missing values, hidden states may be computed at every time step and fed to the next time step denoted by H=[h1, h2, . . . , hT]. The final prediction Y may be a linear function of X predictions and H hidden layers specified as Y=f(Xhat, H).
By computing the probabilistic distribution of the overall weights W=[Wr, Ux] give the data set D, the inferred use data may be obtained. By setting the prior distribution p(W) for the weights as mixed Gaussian, the loss function may be defined to control the prediction and posterior distribution of the weights at the same time. By minimizing the cross-entropy loss function, the posterior of the weights as well as the output predictions as defined as Lpred=Lce(Yhat, Y) may be obtained.
The method may end following operation 202.
Operation 202 may be repeated any number of times to generate any number and type of inference model (e.g., other types of inference models may be generated thereby allowing for multiple inferred use data to be obtained, which may be used to refine the inferred use data through any type of mathematical optimization) may be obtained.
Turning to
At operation 300, use data for a first period of time is obtained. The use data may be obtained via one or more messages (or other communication scheme) from a managed system. The managed system may be managed based on one or more subscriptions to which a use has agreed. The subscription may define the computer implemented services and/or use of the managed systems by the user. The subscriptions may include one or more subscription limits that may limit use of the managed systems even though the managed systems are capable of providing more/additional services to the user.
At operation 302, a use data collection failure event, for the managed system) for a second period of time following the first period of time is identified. The use data collection failure event may be identified by the managed system failing to provide measured use data (e.g., prior to, during, and/or after the second period of time). For example, the managed system may be required to report measured use data to the subscription management service. The managed system may do so unless unable to do so due to, for example, failure or other undesired operation of a local subscription manager hosted by the managed system, interruption in communications between the managed system and the subscription management service, and/or for other reasons. The managed system may be expected to report the measured use data, for example, periodically, at scheduled points in time, in response to occurrence of certain events (e.g., the use data indicating certain rates of use such as threshold values), etc.
At operation 304, the subscription management service switches from a measured use based reporting model (e.g., implemented during the first period of time) to an inferred use based reporting model. The inferred use based reporting model may utilize one or more inference models to obtain inferred use data for the second period of time.
For example, one or more inference models may take (all or a portion of) the measured use data during the first period of time as input and may generate the inferred use data for the second period of time as output. Multiple inference models may be used to generate multiple inferred use data. The multiple inferred use data may be, for example, statistically analyzed to identify the inferred use data that is most likely to be accurate. The identified inferred used data may be used in operation 306.
At operation 306, operation of the managed system may be managed based on the inferred use data obtained with the inferred use based reporting model.
In an embodiment, the manage system is managed by performing one or more of: (i) notifying the user of the inferred use data (e.g., by presenting it in a graphical user interface), and/or subscription limitations, obtaining subscription elections from the user (e.g., prompted or responsive to the notification), and implementing the subscription elections to modify provided computer implemented services, (ii) automatically implementing pre-authorized subscription elections based on the inferred use data (e.g., the inferred use data meeting a threshold or other condition indicating that the pre-authorized subscription elections are to be implemented), and implementing the subscription elections to modify provided computer implemented services, (iii) determining that the inferred use data will impact operation of the managed system in its current operational state, and modifying or disabling a hardware component of the managed system, (iv) determining that the inferred use data will impact operation of the managed system in its current operational state, and deploying a replacement software stack to the managed system, (v) determining that the inferred use data will impact operation of the managed system in its current operational state, and initiating deployment of a hardware component to the managed system, (vi) determining that the inferred use data will impact operation of the managed system in its current operational state, and migrating a workload associated with the user to a second managed system of the managed systems, and/or (vii) billing the user of the managed systems based on measured use data and/or inferred use data (e.g., when the contractual basis for use of managed systems is on a use basis). The managed system may be managed with additional, different, and/or fewer actions without departing from embodiments disclosed herein.
To decide how to manage the managed system, the subscription management service (e.g., a “subscription manager”) may obtaining cost information based on the inferred use data; presenting the cost information to the user; obtaining a subscription update for the user, the subscription update being responsive to the cost information; and modifying accessibility of a function of the managed system based on the subscription update. The cost information may be based, for example, on a cost associated with on-demand functionality or other use-based cost. If a subscription is exceeded, additional cost in the form of the on-demand functionality cost may be incurred. To avoid such costs, the user may pre-authorized changes in subscription (e.g., automatic expansion to avoid on-demand functionality cost) or may review the presented cost information and make an election ahead of the use by the user exceeding the existing subscriptions.
The accessibility of the function may be modified by disabling or enabling a hardware component of the managed system; deploying a replacement software stack to the managed system; initiating deployment of a hardware component to the managed system; and/or migrating a workload associated with the user from the managed system to another managed system.
The method may end following operation 306.
Turning to
User device 400 (e.g., a cell phone, laptop computer, tablet computer, etc.) may be a device utilized by a person tasked with managing managed system 420. To manage managed system 420, the user may provide, at block 430 and through user device 400, a subscription update request to subscription management service 410. The user may do so via a webpage displayed on user device 400 and driven by subscription management service 410.
The Subscription update request may specify that database services are to be provided by managed system 420 with a limit of ten gigabytes of storage space. In response to receiving subscription update request, at block 432, subscription management service 410 may generate and send a subscription update to managed system 420. The subscription update may specify, in part, an action (e.g., enablement action) to deploy appropriate software to provide the database services and dedicate ten gigabytes of storage space.
Managed system 420, in response to receiving subscription update and at block 434, may perform one or more subscription enablement actions such as powering a storage device, allocating ten gigabytes of storage, and deploying a database instance using the storage space. Managed system 420 may also, at block 436, update subscription information repository to reflect the ten gigabyte limit of the subscription (which may also indicate that use data for storing data in the database should be reported to subscription management service 10). For example, an entry specifying ten gigabytes of data for the user of user device 400.
Following the update of the subscription information repository, the local subscription manager of managed system 420 may monitor the operation of managed system 420 to identify if the subscription limit of gigabyte has been exceeded, report the measured use data regarding the storage space actually consumed to subscription management service 410, and may automatically perform disablement actions if the ten gigabyte limit is reached (which may deprive the user of user device 400 of continued use of the database services, may not be able to store additional data in the database for lack of available storage space, etc. which may not be desired).
Once implemented, managed system 420 may, at block 438, send a notification to subscription management service 410 indicating the database services are being provided to the user. While not shown, in
In response to the notification, at block 440, subscription management service 410 may implement use monitoring for managed system 420. To do so, subscription management service 410 may, in block 442, send a reporting configuration for managed system 420 which may define when measured use data is to be reported to subscription management service 410.
In response, at block 444, managed system 420 may implement use data reporting based on the configuration obtained in block 442. Consequently, in block 446, managed system may begin reporting use data to subscription management service 410. Accordingly, as the quantity of information in the database grows, subscription management service 410 may be able to ascertain whether the ten gigabyte subscription limit will be reached.
At block 450, subscription management service 410 may begin to perform reporting of use of storage space of managed system 420 to the user of user device 400.
Turning to
Consequently, at block 453, subscription management service switches from a measured use reporting model to an inferred use reporting model. To do so, subscription management service 410 begins to generate inferred use data for managed system 420 while measured use data is unavailable. Subscription management service 410, in blocks 454-456, continues reporting to user device 400 as though no change has occurred even though measured use data is no longer available.
Over time, the inferred use data reported to user device 400 indicates that the database hosted by managed system 420 includes more than 9 gigabytes of data (e.g., approaching the subscription limitation).
In response, at block 460, the user of user device 400 sends another subscription update request to subscription management service 410 to increase the database subscription to include 20 gigabytes of storage space. In response, at block 462, subscription management service 410 may send an additional subscription update request to managed system 420 to increase the quantity of storage included in the subscription for the database services. Consequently, when the size of the database hosted by managed system 420 exceeds ten gigabytes, the disablement actions are not performed because the subscription limit has not been exceeded.
Thus, as seen in
By providing methods and systems, as discussed above, an improved computing system may be provided that may be more resilient to attempts to contravene or otherwise interfere with the computer implemented services provided by a distributed system as part of a solution. Any of the managed systems may be subject to compromise due to malware and/or other types of entities. In distributed systems, malware may be particularly problematic because it may prevent management of systems if the control layer on the managed systems is compromised. Embodiments disclosed herein may provide a distributed control layer that does not include the managed systems themselves. Rather, embodiments disclosed herein may utilize local subscription managers for providing control plane functionality for managed systems. Unlike the managed systems that may be highly reconfigurable to provide various solutions (which may make them more susceptible to compromise by virtue of their configurability), the local subscription managers may be implemented as hardened or locked down entities.
Further, the local subscription managers may present network end points and/or otherwise publicly identify as devices separate from host managed systems. Consequently, the control layer used to manage the configuration of the distributed system may be far more resilient to malicious attacks.
Accordingly, embodiments disclosed herein may be provide for the improved operation of distributed system by improving reliance to malware or other types of third party attacks while still providing for configurability over time such that various types of desired solutions may be provided over time.
Further, by providing reporting functionality using a subscription management service 410, single points of failure may be avoided. For example, if a single managed system 420 may be responsible for reporting use data to user and/or facilitating subscription changes, limitations in the operation of managed systems may prevent users from effectively managing their subscriptions and corresponding use of the managed systems. For example, a subscription management service may be implemented with a high availability system such that it may have a virtually total uptime, in contrast to managed systems which may be single points of failures. Thus, the distributed management architecture disclosed herein may be resilient to failures of components.
As discussed above, various components may be implemented with computing devices. For example, any of the components illustrated in
In one embodiment, system 500 includes processor 501, memory 503, and devices 505-508 via a bus or an interconnect 510. Processor 501 may represent a single processor or multiple processors with a single processor core or multiple processor cores included therein. Processor 501 may represent one or more general-purpose processors such as a microprocessor, a central processing unit (CPU), or the like. More particularly, processor 501 may be a complex instruction set computing (CISC) microprocessor, reduced instruction set computing (RISC) microprocessor, very long instruction word (VLIW) microprocessor, or processor implementing other instruction sets, or processors implementing a combination of instruction sets. Processor 501 may also be one or more special-purpose processors such as an application specific integrated circuit (ASIC), a cellular or baseband processor, a field programmable gate array (FPGA), a digital signal processor (DSP), a network processor, a graphics processor, a network processor, a communications processor, a cryptographic processor, a co-processor, an embedded processor, or any other type of logic capable of processing instructions.
Processor 501, which may be a low power multi-core processor socket such as an ultra-low voltage processor, may act as a main processing unit and central hub for communication with the various components of the system. Such processor can be implemented as a system on chip (SoC). Processor 501 is configured to execute instructions for performing the operations discussed herein. System 500 may further include a graphics interface that communicates with optional graphics subsystem 504, which may include a display controller, a graphics processor, and/or a display device.
Processor 501 may communicate with memory 503, which in one embodiment can be implemented via multiple memory devices to provide for a given amount of system memory. Memory 503 may include one or more volatile storage (or memory) devices such as random access memory (RAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), static RAM (SRAM), or other types of storage devices. Memory 503 may store information including sequences of instructions that are executed by processor 501, or any other device. For example, executable code and/or data of a variety of operating systems, device drivers, firmware (e.g., input output basic system or BIOS), and/or applications can be loaded in memory 503 and executed by processor 501. An operating system can be any kind of operating systems, such as, for example, Windows® operating system from Microsoft®, Mac OS®/iOS® from Apple, Android® from Google®, Linux®, Unix®, or other real-time or embedded operating systems such as VxWorks.
System 500 may further include IO devices such as devices (e.g., 505, 506, 507, 508) including network interface device(s) 505, optional input device(s) 506, and other optional IO device(s) 507. Network interface device(s) 505 may include a wireless transceiver and/or a network interface card (NIC). The wireless transceiver may be a WiFi transceiver, an infrared transceiver, a Bluetooth transceiver, a WiMax transceiver, a wireless cellular telephony transceiver, a satellite transceiver (e.g., a global positioning system (GPS) transceiver), or other radio frequency (RF) transceivers, or a combination thereof. The NIC may be an Ethernet card.
Input device(s) 506 may include a mouse, a touch pad, a touch sensitive screen (which may be integrated with a display device of optional graphics subsystem 504), a pointer device such as a stylus, and/or a keyboard (e.g., physical keyboard or a virtual keyboard displayed as part of a touch sensitive screen). For example, input device(s) 506 may include a touch screen controller coupled to a touch screen. The touch screen and touch screen controller can, for example, detect contact and movement or break thereof using any of a plurality of touch sensitivity technologies, including but not limited to capacitive, resistive, infrared, and surface acoustic wave technologies, as well as other proximity sensor arrays or other elements for determining one or more points of contact with the touch screen.
IO devices 507 may include an audio device. An audio device may include a speaker and/or a microphone to facilitate voice-enabled functions, such as voice recognition, voice replication, digital recording, and/or telephony functions. Other IO devices 507 may further include universal serial bus (USB) port(s), parallel port(s), serial port(s), a printer, a network interface, a bus bridge (e.g., a PCI-PCI bridge), sensor(s) (e.g., a motion sensor such as an accelerometer, gyroscope, a magnetometer, a light sensor, compass, a proximity sensor, etc.), or a combination thereof. IO device(s) 507 may further include an imaging processing subsystem (e.g., a camera), which may include an optical sensor, such as a charged coupled device (CCD) or a complementary metal-oxide semiconductor (CMOS) optical sensor, utilized to facilitate camera functions, such as recording photographs and video clips. Certain sensors may be coupled to interconnect 510 via a sensor hub (not shown), while other devices such as a keyboard or thermal sensor may be controlled by an embedded controller (not shown), dependent upon the specific configuration or design of system 500.
To provide for persistent storage of information such as data, applications, one or more operating systems and so forth, a mass storage (not shown) may also couple to processor 501. In various embodiments, to enable a thinner and lighter system design as well as to improve system responsiveness, this mass storage may be implemented via a solid state device (SSD). However, in other embodiments, the mass storage may primarily be implemented using a hard disk drive (HDD) with a smaller amount of SSD storage to act as a SSD cache to enable non-volatile storage of context state and other such information during power down events so that a fast power up can occur on re-initiation of system activities. Also a flash device may be coupled to processor 501, e.g., via a serial peripheral interface (SPI). This flash device may provide for non-volatile storage of system software, including a basic input/output software (BIOS) as well as other firmware of the system.
Storage device 508 may include computer-readable storage medium 509 (also known as a machine-readable storage medium or a computer-readable medium) on which is stored one or more sets of instructions or software (e.g., processing module, unit, and/or processing module/unit/logic 528) embodying any one or more of the methodologies or functions described herein. Processing module/unit/logic 528 may represent any of the components described above. Processing module/unit/logic 528 may also reside, completely or at least partially, within memory 503 and/or within processor 501 during execution thereof by system 500, memory 503 and processor 501 also constituting machine-accessible storage media. Processing module/unit/logic 528 may further be transmitted or received over a network via network interface device(s) 505.
Computer-readable storage medium 509 may also be used to store some software functionalities described above persistently. While computer-readable storage medium 509 is shown in an exemplary embodiment to be a single medium, the term “computer-readable storage medium” should be taken to include a single medium or multiple media (e.g., a centralized or distributed database, and/or associated caches and servers) that store the one or more sets of instructions. The terms “computer-readable storage medium” shall also be taken to include any medium that is capable of storing or encoding a set of instructions for execution by the machine and that cause the machine to perform any one or more of the methodologies disclosed herein. The term “computer-readable storage medium” shall accordingly be taken to include, but not be limited to, solid-state memories, and optical and magnetic media, or any other non-transitory machine-readable medium.
Processing module/unit/logic 528, components and other features described herein can be implemented as discrete hardware components or integrated in the functionality of hardware components such as ASICS, FPGAs, DSPs or similar devices. In addition, processing module/unit/logic 528 can be implemented as firmware or functional circuitry within hardware devices. Further, processing module/unit/logic 528 can be implemented in any combination hardware devices and software components.
Note that while system 500 is illustrated with various components of a data processing system, it is not intended to represent any particular architecture or manner of interconnecting the components; as such details are not germane to embodiments disclosed herein. It will also be appreciated that network computers, handheld computers, mobile phones, servers, and/or other data processing systems which have fewer components or perhaps more components may also be used with embodiments disclosed herein.
Some portions of the preceding detailed descriptions have been presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the ways used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of operations leading to a desired result. The operations are those requiring physical manipulations of physical quantities.
It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the above discussion, it is appreciated that throughout the description, discussions utilizing terms such as those set forth in the claims below, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission or display devices.
Embodiments disclosed herein also relate to an apparatus for performing the operations herein. Such a computer program is stored in a non-transitory computer readable medium. A non-transitory machine-readable medium includes any mechanism for storing information in a form readable by a machine (e.g., a computer). For example, a machine-readable (e.g., computer-readable) medium includes a machine (e.g., a computer) readable storage medium (e.g., read only memory (“ROM”), random access memory (“RAM”), magnetic disk storage media, optical storage media, flash memory devices).
The processes or methods depicted in the preceding figures may be performed by processing logic that comprises hardware (e.g. circuitry, dedicated logic, etc.), software (e.g., embodied on a non-transitory computer readable medium), or a combination of both. Although the processes or methods are described above in terms of some sequential operations, it should be appreciated that some of the operations described may be performed in a different order. Moreover, some operations may be performed in parallel rather than sequentially.
Embodiments disclosed herein are not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of embodiments disclosed herein as described herein.
In the foregoing specification, embodiments have been described with reference to specific exemplary embodiments thereof. It will be evident that various modifications may be made thereto without departing from the broader spirit and scope disclosed herein as set forth in the following claims. The specification and drawings are, accordingly, to be regarded in an illustrative sense rather than a restrictive sense.