# US 2023/0056759 A1 · Upgrading a virtual device deployment based on spike utilization

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0056759 A1
- Document ID: US20230056759A1
- Status: Published application
- Kind: A1
- Application number: 17/543,022
- Filed: 2021-12-06
- Published: 2023-02-23
- Earliest claimed: 2021-08-20
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Hu LU; XiWen YUE; Lingxiao HANG; Haiyang WANG; Ankit SRIVASTAVA; Fan YIN; Naga Venkata Rajagopal RAMADUGU; Nandita SHARMA; Jyh-Han LIN; Sandeep PATNAIK
- Web page: https://patentgrep.com/patent/US20230056759A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F 9/5016: {the resource being the memory}
- G06F 9/5022: {Mechanisms to release resources}
- G06F 9/505: {considering the load}
- G06F 9/5088: {involving task migration}
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 2009/45562: {Creating, deleting, cloning virtual machine instances}
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F 2009/45575: {Starting, stopping, suspending or resuming virtual machine instances}
- G06F 2009/45579: {I/O management, e.g. providing access to device drivers or storage}
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F 2009/45591: {Monitoring or debugging support}
- G06F 2209/5022: Workload threshold
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure relates to systems, methods, and computer-readable media for receiving usage data for a virtual device (or other virtual service), analyzing the usage data to determine a usage bucket characteristic of usage of the virtual device over a period of time, and determining a usage score for the virtual device. The systems described herein further involve causing a deployment of the virtual device to be upgraded, downgraded, or otherwise modified based on the usage bucket and associated usage score. The features and functionalities described herein can provide an efficient mechanism for administrating a tenant deployment as well as implementing a more efficient utilization of cloud computing resources for a variety of virtual services.

## Claims

### Claim 1

A computer-implemented method, comprising:
receiving usage data associated with a virtual device;
determining, based on a number of time intervals that the usage data exceeds a threshold value over a predetermined period of time, a spike level metric of the virtual device;
determining, based on the spike level metric, a usage bucket associated with the virtual device, wherein the usage bucket is associated with a range of usage scores;
generating, based on the virtual device being associated with the usage bucket, a current usage score of the virtual device; and
causing, based on the current usage score being less than a threshold usage score for the predetermined period of time, the virtual device to be upgraded.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the virtual device is implemented on a server node of a cloud computing system and associated with a user of the cloud computing system.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the virtual device is associated with a first device type having a first quantity of compute resources and a first quantity of memory resources.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein causing the virtual device to be upgraded includes upgrading the virtual device from the first device type to a second device type having a second quantity of compute resources and a second quantity of memory resources.

### Claim 5 (depends on 3)

The computer-implemented method of claim 3, wherein causing the virtual device to be upgraded includes at least one of:
increasing a quantity of compute resources of the virtual device;
increasing a quantity of memory resources of the virtual device; or
increasing quantities of compute resources and memory resources of the virtual device.

### Claim 6 (depends on 3)

The computer-implemented method of claim 3, wherein causing the virtual device to be upgraded includes migrating data of the virtual device from a first server node to a second server node, the second server node having greater availability of memory capacity or compute capacity than the first server node.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein determining the usage bucket associated with the virtual device includes:
comparing the spike level metric to a plurality of thresholds associated with different usage buckets; and
determining, based on comparing the spike level metric to the plurality of thresholds, the usage bucket associated with the virtual device.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, wherein the usage bucket is associated with a range of usage scores, and wherein generating the current usage score is based on a percentage of time over the predetermined period of time that the spike level metric exceeds at least one threshold of the plurality of thresholds.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, further comprising:
determining a time usage metric of the virtual device based on a second number of time intervals that the usage data associated with the virtual device indicates that the virtual device was used over the predetermined period of time; and
wherein determining the usage bucket is further based on the time usage metric of the virtual device.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein determining the usage bucket includes:
mapping the number of time intervals to a first coordinate on a grid space;
mapping the second number of time intervals to a second coordinate on the grid space; and
identifying the usage bucket based on a region of the grid space corresponding to the first coordinate and the second coordinate.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, further comprising, for each time interval over the predetermined period of time:
determining whether the usage data indicates that the virtual device was used during a time interval; and
determining whether the usage data exceeds the threshold value over the time interval, wherein determining whether the usage data exceeds the threshold value comprises:
if the usage data indicates that the virtual machine was used during the time interval, analyzing the usage data to determine whether the usage data exceeds the threshold value for the time interval; and
if the usage data does not indicate that the virtual machine was used during the time interval, inferring that the usage data does not exceed the threshold value without further analysis of the usage data.

### Claim 12 (depends on 1)

The computer-implemented method of claim 1, wherein the usage data includes at least one of:
telemetry for at least one central processing units (CPUs) associated with the virtual device;
telemetry for memory associated with the virtual device; or
telemetry for input/output (I/O) activity associated with the virtual device.

### Claim 13 (depends on 1)

The computer-implemented method of claim 1, wherein the virtual device is one of a plurality of virtual machines associated with a tenant of a cloud computing system.

### Claim 14 (depends on 1)

The computer-implemented method of claim 1, further comprising providing an upgrade interface for an administrative user associated with an account of the virtual device, wherein the upgrade interface includes a selectable option associated with upgrading the virtual device, the selectable option being presented based on the current usage score being less than the threshold usage score for the predetermined period of time.

### Claim 15

A system, comprising:
at least one processor;
memory in electronic communication with the at least one processor; and
instructions stored in the memory, the instructions being executable by the at least one processor to:
receive usage data associated with a virtual device;
determine, based on a number of time intervals that the usage data exceeds a threshold value over a predetermined period of time, a spike level metric of the virtual device;
determine, based on the spike level metric, a usage bucket associated with the virtual device, wherein the usage bucket is associated with a range of usage scores;
generate, based on the virtual device being associated with the usage bucket, a current usage score of the virtual device; and
cause, based on the current usage score being less than a threshold usage score for the predetermined period of time, the virtual device to be upgraded.

### Claim 16 (depends on 15)

The system of claim 15, wherein the virtual device is associated with a first device type having a first quantity of compute resources and a first quantity of memory resources, and wherein causing the virtual device to be upgraded includes at least one of:
increasing a quantity of compute resources of the virtual device;
increasing a quantity of memory resources of the virtual device; or
increasing quantities of compute resources and memory resources of the virtual device.

### Claim 17 (depends on 15)

The system of claim 15, wherein determining the usage bucket associated with the virtual device includes:
comparing the spike level metric to a plurality of thresholds associated with different usage buckets, wherein the usage bucket is associated with a range of usage scores; and
determining, based on comparing the spike level metric to the plurality of thresholds, the usage bucket associated with the virtual device, wherein generating the current usage score is based on a percentage of time over the predetermined period of time that the spike level metric exceeds at least one threshold of the plurality of thresholds.

### Claim 18 (depends on 15)

The system of claim 15, further comprising instructions being executable by the at least one processor to:
determine a time usage metric of the virtual device based on a second number of time intervals that the usage data associated with the virtual device indicates that the virtual device was used over the predetermined period of time; and
wherein determining the usage bucket is further based on the time usage metric of the virtual device.

### Claim 19

A method, comprising:
receiving usage data associated with a virtual device;
determining, based on a first number of time intervals that the usage data exceeds a minimum threshold value over a predetermined period of time, a time usage metric of the virtual device indicating that the virtual device was used over the predetermined period of time;
determining, based on a second number of time intervals that the usage data exceeds a maximum threshold value over a predetermined period of time, a spike level metric of the virtual device;
determining, based on the time usage metric and the spike level metric, a usage bucket associated with the virtual device, wherein the usage bucket is associated with a range of usage scores;
generating, based on the virtual device being associated with the usage bucket, a current usage score of the virtual device; and
causing, based on the virtual device being associated with the usage bucket, the virtual device to be upgraded.

### Claim 20 (depends on 19)

The method of claim 19, wherein causing the virtual device to be upgraded includes at least one of:
increasing a quantity of compute resources of the virtual device;
increasing a quantity of memory resources of the virtual device; or
increasing quantities of compute resources and memory resources of the virtual device.
