Resource statistics collection method and apparatus and terminal

US10826310B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10826310-B2
Application numberUS-201616089373-A
CountryUS
Kind codeB2
Filing dateMar 29, 2016
Priority dateMar 29, 2016
Publication dateNov 3, 2020
Grant dateNov 3, 2020

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A resource statistics collection method and apparatus, and a terminal are provided. The method includes: recording a process running on a terminal at each of at least two time points; for each of the time points, obtaining at least one hardware resource invoked by the process running at the time point; obtaining a process set including processes running at the at least two time points; and obtaining, according to the hardware resource invoked by the process in the process set, information about the at least one hardware resource occupied by an application associated with the process in the process set. In embodiments of the present invention, statistics collection is performed per process, so that information about the hardware resource occupied by each application of the terminal can be obtained, and a statistical granularity is relatively fine.

First claim

Opening claim text (preview).

What is claimed is: 1. A resource statistics collection method, comprising: obtaining, for a time range, battery charge status information for a terminal comprising a processor, a battery and a display, the battery charge status information comprising a percentage of battery charge remaining; calculating at least one of an amount of time the display is in a screen-on state within a selected time period less than the time range, or an amount of time the display is in a screen-off state within the selected time period; obtaining, for the selected time period, information about power consumption for an application executed by the processor, the information about power consumption for the application comprising at least one of an amount of time the display is occupied by the application within the selected time period, or an amount of time the application is running in a background within the selected time period; and causing a graphical user interface to be output by the display, the graphical user interface comprising: a graphical representation of the percentage of battery charge remaining over the time range; a differentiated portion of the graphical representation corresponding to the selected time period, the differentiated portion of the graphical representation being displayed differently from a remainder of the graphical representation outside the selected time period; at least one of the amount of time the display is in the screen-on state within the selected time period, or the amount of time the display is in the screen-off state within the selected time period; and at least one of the amount of time the display is occupied by the application within the selected time period, or the amount of time the application is running in the background within the selected time period. 2. The method according to claim 1 , wherein the application is a first application, and the graphical user interface comprises statistical data associated with the first application and corresponding statistical data associated with a second application. 3. The method of claim 2 , wherein the at least one of the amount of time the display is in the screen-on state within the selected time period, or the amount of time the display is in the screen-off state within the selected time period is displayed with respect to at least one of the first application or the second application. 4. The method of claim 1 , wherein the at least one of the amount of time the display is in the screen-on state within the selected time period, or the amount of time the display is in the screen-off state within the selected time period included in the graphical user interface comprises a graphical representation of the at least one of the amount of time the display is in the screen-on state within the selected time period, or the amount of time the display is in the screen-off state within the selected time period, over the selected time period. 5. The method of claim 1 , wherein the graphical user interface comprises a graphical representation of the amount of time the display is in the screen-on state within the selected time period and the amount of time the display is in the screen-off state within the selected time period, over the selected time period, and a first portion of the graphical representation of the amount of time the display is in the screen-on state within the selected time period is displayed differently from a second portion of the graphical representation of the amount of time the display is in the screen-off state within the selected time period. 6. The method of claim 1 , wherein the graphical user interface includes a total of the amount of time the display is occupied by the application within the selected time period, and the amount of time the application is running in the background within the selected time period. 7. The method of claim 1 , further comprising: causing the graphical user interface to display information indicating a power consumption status of the application based on a total power consumption of one or more hardware resources occupied by the application within the selected time period. 8. A terminal, comprising a processor, a storage, a battery, and a display, wherein the processor, the storage, and the at least one hardware resource are separately connected to a communications bus, a set of program code is stored in the storage, and the processor is configured to invoke the program code stored in the storage, so as to perform the following steps: obtaining, for a time range, battery charge status information for the terminal, the battery charge status information comprising a percentage of battery charge remaining; calculating at least one of an amount of time the display is in a screen-on state within a selected time period less than the time range, or an amount of time the display is in a screen-off state within the selected time period; obtaining, for the selected time period, information about power consumption for an application executed by the processor, the information about power consumption for the application comprising at least one of an amount of time the display is occupied by the application within the selected time period, or an amount of time the application is running in a background within the selected time period; and causing a graphical user interface to be output by the display, the graphical user interface comprising: a graphical representation of the percentage of battery charge remaining over the time range; a differentiated portion of the graphical representation corresponding to the selected time period, the differentiated portion of the graphical representation being displayed differently from a remainder of the graphical representation outside the selected time period; at least one of the amount of time the display is in the screen-on state within the selected time period, or the amount of time the display is in the screen-off state within the selected time period; and at least one of the amount of time the display is occupied by the application within the selected time period, or the amount of time the application is running in the background within the selected time period. 9. The terminal according to claim 8 , wherein the application is a first application, and the graphical user interface comprises statistical data associated with the first application and corresponding statistical data associated with a second application. 10. The terminal according to claim 9 , wherein the at least one of the amount of time the display is in the screen-on state within the selected time period, or the amount of time the display is in the screen-off state within the selected time period is displayed with respect to at least one of the first application or the second application. 11. The terminal according to claim 8 , wherein the at least one of the amount of time the display is in the screen-on state within the selected time period, or the amount of time the display is in the screen-off state within the selected time period included in the graphical user interface comprises a graphical representation of the at least one of the amount of time the display is in the screen-on state within the selected time period, or the amount of time the display is in the screen-off state within the selected time period, over the selected time period. 12. The terminal according to claim 8 , wherein the graphical user interface comprises a graphical representation of the amount of time the display is in the screen-on state within the selected time period and the amount of time the display is in the screen-off state within the selected time period, over the selected

Assignees

Inventors

Classifications

  • Control of state of charge [SOC] · CPC title

  • including monitoring or indicating arrangements · CPC title

  • managing power supply demand, e.g. depending on battery level · CPC title

  • G06F9/5044Primary

    considering hardware capabilities · CPC title

  • by program, e.g. task dispatcher, supervisor, operating system · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10826310B2 cover?
A resource statistics collection method and apparatus, and a terminal are provided. The method includes: recording a process running on a terminal at each of at least two time points; for each of the time points, obtaining at least one hardware resource invoked by the process running at the time point; obtaining a process set including processes running at the at least two time points; and obta…
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04W52/0261. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Nov 03 2020 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).