CN111462276A - Statistical data display method and device - Google Patents

Statistical data display method and device Download PDF

Info

Publication number
CN111462276A
CN111462276A CN202010245788.8A CN202010245788A CN111462276A CN 111462276 A CN111462276 A CN 111462276A CN 202010245788 A CN202010245788 A CN 202010245788A CN 111462276 A CN111462276 A CN 111462276A
Authority
CN
China
Prior art keywords
pattern
statistical data
patterns
size
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010245788.8A
Other languages
Chinese (zh)
Inventor
黎嘉彦
刘嘉伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010245788.8A priority Critical patent/CN111462276A/en
Publication of CN111462276A publication Critical patent/CN111462276A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Physics (AREA)
  • Computational Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Operations Research (AREA)
  • Probability & Statistics with Applications (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Algebra (AREA)
  • Evolutionary Biology (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure relates to a statistical data display method and apparatus, an electronic device, and a computer-readable storage medium, the method including: acquiring statistical data of the use conditions of multiple types of applications, and determining the number of types included in the multiple types of applications and the proportion of the statistical data corresponding to each type of applications in all the statistical data; generating a pattern corresponding to each type of application, wherein the size of the pattern is positively correlated with the proportion of the statistical data of the corresponding application; and displaying a plurality of patterns in a preset area, and displaying the proportion of the statistical data corresponding to the application in the patterns. According to the method for displaying the statistical data, the statistical data can be respectively counted according to the use conditions of different types of applications, and compared with the display method in the related technology, the method is more striking, and a user can conveniently and accurately determine the key information in the statistical data.

Description

Statistical data display method and device
Technical Field
The present disclosure relates to the field of display technologies, and in particular, to a statistical data display method, a statistical data display method apparatus, an electronic device, and a computer-readable storage medium.
Background
In the current mobile phone and other terminals, in order to facilitate the user to monitor the use status of each application in the terminal, the data of the use status of the application can be counted, and the counted data can be presented to the user.
At present, the way of presenting the statistical data to the user is generally to generate a histogram or a pie chart according to the proportion of the data, but these ways of displaying the statistical data are not sufficiently striking and are inconvenient for the user to quickly and accurately determine the key information in the statistical data.
Disclosure of Invention
The present disclosure provides a statistical data display method, a statistical data display apparatus, an electronic device, and a computer-readable storage medium to solve the disadvantages of the related art.
According to a first aspect of the embodiments of the present disclosure, a statistical data display method is provided, including:
acquiring statistical data of the use conditions of multiple types of applications, and determining the number of types included in the multiple types of applications and the proportion of the statistical data corresponding to each type of applications in all the statistical data;
generating a pattern corresponding to each type of application, wherein the size of the pattern is positively correlated with the proportion of the statistical data of the corresponding application;
and displaying a plurality of patterns in a preset area, and displaying the proportion of the statistical data corresponding to the application in the patterns.
Optionally, the method further comprises:
and when preset operation on a target pattern in the plurality of patterns is received, converting the display proportion of the target pattern into corresponding statistical data.
Optionally, when receiving a preset operation on a target pattern in the plurality of patterns, converting the displayed scale of the target pattern into corresponding statistical data includes:
when the target pattern is the pattern with the largest size, converting the display scale of the target pattern into corresponding statistical data;
and when the target pattern is not the pattern with the largest size, exchanging the position and the size of the target pattern and the pattern with the largest size, and converting the displayed ratio of the target pattern after exchanging the position and the size into corresponding statistical data.
Optionally, the method further comprises:
and reducing the color information of other patterns except the target pattern.
Optionally, before displaying a plurality of the patterns in a preset area, the method further includes:
inquiring a plurality of preset angles corresponding to the number;
wherein the displaying the plurality of patterns in the preset area comprises:
setting the center of the pattern with the largest size at the center of the preset area;
and setting the centers of the other patterns according to the plurality of angles and the center of the preset area, and generating the other patterns based on the centers of the other patterns.
Optionally, before generating the pattern corresponding to each type of the application, the method further includes:
calculating the difference between the maximum proportion and the minimum proportion in the proportions;
setting a plurality of proportional intervals according to the difference, wherein the number of the proportional intervals is positively correlated with the difference, and each proportional interval corresponds to one size;
determining the size corresponding to the proportion interval to which the proportion belongs;
wherein the generating the pattern respectively corresponding to each type of the application comprises:
and generating patterns respectively corresponding to each type of the applications according to the size corresponding to the proportion interval to which the proportion respectively corresponding to each type of the applications belongs.
Optionally, the method further comprises:
and adjusting the size and/or shape of the target pattern according to the received adjustment instruction of the target pattern in the plurality of patterns.
Optionally, the method further comprises:
setting a threshold duration of a target application corresponding to a target pattern according to a received use duration setting instruction of the target pattern in the plurality of patterns;
when the target application is used again, recording the use duration of the target application, and generating prompt information when the use duration is longer than the threshold duration.
According to a second aspect of the embodiments of the present disclosure, there is provided a statistical data display device including:
the data acquisition module is configured to acquire statistical data of the use conditions of multiple types of applications, and determine the number of the types included in the multiple types of applications and the statistical data corresponding to each type of applications, wherein the statistical data account for the proportion of all the statistical data;
the pattern generation module is configured to generate a pattern corresponding to each type of application, wherein the size of the pattern is positively correlated with the proportion of the statistical data of the corresponding application;
the pattern display module is configured to display a plurality of patterns in a preset area and display the proportion of the statistical data corresponding to the application in the patterns.
Optionally, the apparatus further comprises:
the display conversion module is configured to convert the display scale of a target pattern into corresponding statistical data when a preset operation on the target pattern in the plurality of patterns is received.
Optionally, the display conversion module is configured to convert a display scale of the target pattern into corresponding statistical data when the target pattern is a pattern with a largest size;
and when the target pattern is not the pattern with the largest size, exchanging the position and the size of the target pattern and the pattern with the largest size, and converting the displayed ratio of the target pattern after exchanging the position and the size into corresponding statistical data.
Optionally, the apparatus further comprises:
a color adjustment module configured to reduce color information of patterns other than the target pattern.
Optionally, the apparatus further comprises:
an angle query module configured to query a plurality of preset angles corresponding to the number;
wherein the pattern display module is configured to set a center of the pattern having the largest size at a center of the preset area; and setting the centers of the other patterns according to the plurality of angles and the center of the preset area, and generating the other patterns based on the centers of the other patterns.
Optionally, the apparatus further comprises:
a difference calculation module configured to calculate a difference between a maximum ratio and a minimum ratio of the ratios;
the interval setting module is configured to set a plurality of proportional intervals according to the difference, wherein the number of the proportional intervals is positively correlated with the difference, and each proportional interval corresponds to one size;
the size determining module is configured to determine the size corresponding to the proportion interval to which the proportion belongs;
the pattern generating module is configured to generate a pattern corresponding to each type of the application according to a size corresponding to a proportion interval to which a proportion corresponding to each type of the application belongs.
Optionally, the apparatus further comprises:
a pattern adjusting module configured to adjust a size and/or a shape of a target pattern of the plurality of patterns according to a received adjustment instruction for the target pattern.
Optionally, the apparatus further comprises:
the threshold setting module is configured to set a threshold duration of a target application corresponding to a target pattern according to a received use duration setting instruction of the target pattern in the plurality of patterns;
and the time length prompting module is configured to record the use time length of the target application when the target application is used again, and generate prompting information when the use time length is greater than the threshold time length.
According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the method of any of the above embodiments.
According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is proposed, on which a computer program is stored, which when executed by a processor implements the steps in the method according to any of the embodiments described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the method for displaying the statistical data, the statistical data can be respectively counted according to the use conditions of different types of applications, and compared with the display method in the related technology, the method is more striking, and a user can conveniently and accurately determine the key information in the statistical data.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic flow chart diagram illustrating a statistical data display method according to an embodiment of the present disclosure.
Fig. 2 is a schematic view of an application scenario of a statistical data display method according to an embodiment of the present disclosure.
Fig. 3 is a schematic flow chart diagram illustrating another statistical data display method according to an embodiment of the present disclosure.
Fig. 4 is a schematic flow chart diagram illustrating yet another statistical data display method according to an embodiment of the present disclosure.
Fig. 5 and 6 are schematic diagrams illustrating application scenarios of another statistical data display method according to an embodiment of the present disclosure.
Fig. 7 is a schematic flow chart diagram illustrating yet another statistical data display method according to an embodiment of the present disclosure.
Fig. 8 is a schematic flow chart diagram illustrating yet another statistical data display method according to an embodiment of the present disclosure.
Fig. 9 is a schematic flow chart diagram illustrating yet another statistical data display method according to an embodiment of the present disclosure.
Fig. 10 is a schematic flow chart diagram illustrating yet another statistical data display method according to an embodiment of the present disclosure.
Fig. 11 is a schematic flow chart diagram illustrating yet another statistical data display method according to an embodiment of the present disclosure.
Fig. 12 is a schematic block diagram illustrating a statistical data display apparatus according to an embodiment of the present disclosure.
Fig. 13 is a schematic block diagram illustrating another statistical data display apparatus according to an embodiment of the present disclosure.
Fig. 14 is a schematic block diagram illustrating still another statistical data display apparatus according to an embodiment of the present disclosure.
Fig. 15 is a schematic block diagram illustrating still another statistical data display apparatus according to an embodiment of the present disclosure.
Fig. 16 is a schematic block diagram illustrating still another statistical data display apparatus according to an embodiment of the present disclosure.
Fig. 17 is a schematic block diagram illustrating still another statistical data display apparatus according to an embodiment of the present disclosure.
Fig. 18 is a schematic block diagram illustrating still another statistical data display apparatus according to an embodiment of the present disclosure.
FIG. 19 is a schematic block diagram illustrating an apparatus for statistical data display in accordance with an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a schematic flow chart diagram illustrating a statistical data display method according to an embodiment of the present disclosure. As shown in fig. 1, the statistical data display may be applied to a terminal, including but not limited to a mobile phone, a tablet computer, a wearable device, and other electronic devices.
As shown in fig. 1, the statistical data display method may include the steps of:
in step S101, obtaining statistical data of usage conditions of multiple classes of applications, and determining the number of types included in the multiple classes of applications and the statistical data corresponding to each class of applications to account for the proportion of all statistical data;
in step S102, generating a pattern corresponding to each type of the application, wherein the size of the pattern is positively correlated to the ratio of the statistical data of the corresponding application;
in step S103, a plurality of patterns are displayed in a preset area, and a ratio of statistical data corresponding to an application is displayed in the patterns.
In one embodiment, statistics of multiple types of application usage conditions may be obtained, where the usage conditions include, but are not limited to, power consumption, running time, usage frequency, and the like, and may be specifically set as needed. The following description will exemplify the technical solution of the present disclosure mainly in the case where the usage status is power consumption.
For the applications in the terminal, the user may consume the power of the terminal during the use process, and then the power consumed by each type of application may be recorded, where each type of application may include multiple applications, for example, the types of applications include, but are not limited to, a system application, an office application, a game application, a financial application, a trip application, a movie application, and the like.
Based on the obtained statistical data, the statistical data corresponding to each type of application can be calculated, which accounts for the proportion of the total statistical data, for example, the power consumption of the system application is 10W, the power consumption of the movie application is 3W, the power consumption of the financing application is 1W, the power consumption of the game application is 5W, the power consumption of the travel application is 1W, then the total power consumption is 20W, the proportion of the power consumption of the system application is 50%, the proportion of the power consumption of the movie application is 15%, the proportion of the power consumption of the financing application is 5%, the proportion of the power consumption of the game application is 25%, and the proportion of the power consumption of the travel application is 5%.
And then, a pattern corresponding to each type of application can be generated, wherein the size of the pattern is positively correlated with the proportion of the statistical data of the corresponding application, that is, the larger the proportion is, the larger the size is. Finally, a plurality of the patterns may be displayed in a preset area (which may be set as needed, for example, a central area of the screen), and a ratio of the statistical data corresponding to the application may be displayed in the patterns.
In one embodiment, the pattern with the largest size is located in the center of the preset area, and the other patterns surround the pattern with the largest size in the size order.
Fig. 2 is a schematic view of an application scenario of a statistical data display method according to an embodiment of the present disclosure. As shown in fig. 2, the shape of the pattern may be a circle (or may be other shapes, and may be specifically set according to needs), and the color of each pattern may be the same or different.
For example, the power consumption ratio of the system application is 50%, the power consumption ratio of the movie application is 15%, the power consumption ratio of the financing application is 5%, the power consumption ratio of the game application is 25%, and the power consumption ratio of the travel application is 5%, so that the size of the pattern corresponding to the system application is the largest, the pattern corresponding to the system application is displayed in the center, and the patterns corresponding to other applications surround the periphery of the pattern corresponding to the system application, for example, the patterns can be arranged in a manner of surrounding from large to small in a counterclockwise direction.
In addition to displaying the pattern corresponding to the application, it is also possible to display how much the deficit is with respect to the last statistics (e.g. yesterday), and to provide an operation item to view detailed data for the user to click to view detailed data about the illustrated scale, such as which time period each application is running, which time period is the highest in power consumption, etc. Moreover, certain overlap can exist between the patterns so as to improve the compact feeling and reduce the occupied space.
The statistical data is displayed according to the mode shown in the embodiment, statistics can be performed respectively according to the use conditions of different types of applications, and compared with the display mode in the related technology, the statistical data is more striking, so that a user can quickly and accurately determine key information in the statistical data, for example, the data of the type corresponding to the pattern which can be intuitively and accurately positioned in the center accounts for the maximum.
Fig. 3 is a schematic flow chart diagram illustrating another statistical data display method according to an embodiment of the present disclosure. As shown in fig. 3, the method further comprises:
in step S104, when a preset operation on a target pattern of the plurality of patterns is received, a displayed scale of the target pattern is converted into corresponding statistical data.
In an embodiment, for a plurality of displayed patterns, a user may perform an operation on the displayed patterns, for example, the user performs a preset operation on a target pattern (which may be set as required, such as clicking, double-clicking, long-pressing, and the like), it may be determined that the user needs to display statistical data of the target pattern, and a display scale of the target pattern may be converted into corresponding statistical data. For example, the display effect may be to turn the circular pattern shown in fig. 2 over and display the statistical data on the other side of the circular pattern.
Therefore, on one hand, the user can display the patterns of the statistical data for interaction, the operability of the display result is improved, and on the other hand, the user can conveniently view the statistical data corresponding to the specific patterns in a targeted manner.
Fig. 4 is a schematic flow chart diagram illustrating yet another statistical data display method according to an embodiment of the present disclosure. As shown in fig. 4, when receiving a preset operation on a target pattern of the plurality of patterns, converting the scale displayed by the target pattern into corresponding statistical data includes:
in step S1041, when the target pattern is a pattern with a largest size, converting a display scale of the target pattern into corresponding statistical data;
in step S1042, when the target pattern is not the largest pattern, the position and size of the target pattern and the largest pattern are exchanged, and the displayed ratio of the target pattern after the exchange of the position and size is converted into corresponding statistical data.
In one embodiment, when the user performs a preset operation on the pattern located at the center, the displayed scale of the target pattern may be directly converted into corresponding statistical data.
When the target of the preset operation performed by the user is not located at the center, the target pattern may be first exchanged with the pattern having the largest size and the size, that is, the target pattern is adjusted to the center, and the target pattern has the largest size, and the blob having the largest size originally is exchanged to the position of the target pattern and has the original size of the target pattern. And then the displayed proportion of the target pattern with the changed position and size is converted into corresponding statistical data.
Accordingly, the user can see that the target pattern is located at the center, and the target pattern has the largest size, and the statistical data is displayed in the target pattern. The user can conveniently and accurately determine the statistical data corresponding to the target pattern.
Fig. 5 and 6 are schematic diagrams illustrating application scenarios of another statistical data display method according to an embodiment of the present disclosure.
As shown in fig. 5, when the user clicks the pattern corresponding to the financial application, the position and size of the pattern of the financial application can be exchanged with the position and size of the pattern of the system application because the pattern of the financial application is not the largest pattern.
As shown in fig. 6, the pattern applied for financing may be adjusted to the pattern with the largest size and adjusted to the central position for display, and in case of overlap between the patterns, the pattern applied after adjustment may be set at the uppermost layer for display, thereby facilitating the user to quickly and accurately determine the statistical data corresponding to the target pattern.
Fig. 7 is a schematic flow chart diagram illustrating yet another statistical data display method according to an embodiment of the present disclosure. As shown in fig. 7, the method further comprises:
in step S105, the color information of the other patterns than the target pattern is reduced.
In one embodiment, after the scale of the target pattern display is converted into the corresponding statistical data, the color information (e.g., brightness, chromaticity, etc.) of other patterns than the target pattern can be reduced, so that the statistical data in the target pattern is more conspicuous, and the user can quickly and accurately determine the statistical data corresponding to the target pattern.
Fig. 8 is a schematic flow chart diagram illustrating yet another statistical data display method according to an embodiment of the present disclosure. As shown in fig. 8, before displaying a plurality of patterns in a preset area, the method further includes:
in step S106, a plurality of preset angles corresponding to the number are queried;
wherein the displaying the plurality of patterns in the preset area comprises:
setting the center of the pattern having the largest size at the center of the preset area in step S1031;
in step S1032, the center of the other pattern is set according to the plurality of angles and the center of the preset region, and the other pattern is generated based on the center of the other pattern.
In one embodiment, a plurality of angles may be preset for different number of types of applications to set up a corresponding pattern for the application with reference.
The queried angle may be an angle relative to the center of the largest-sized pattern, for example, 5 patterns need to be generated, and then the plurality of preset angles may be 4 angles, so that after the largest-sized pattern is set in the center, the other 4 patterns may be set according to the 4 angles.
For example, the center of the pattern with the largest size may be set at the center of the preset area, and then a coordinate system is established with the center of the pattern with the largest size as a coordinate origin, a horizontal axis of the coordinate system is parallel to a short side of the terminal, and a long axis of the coordinate system is parallel to a long side of the terminal, so that 4 angles may be 70 degrees, 180 degrees, 260 degrees, and 340 degrees, respectively, so that according to the embodiment shown in fig. 2, the pattern corresponding to the movie application is set in a 70-degree direction, the pattern corresponding to the financial application is set in a 180-degree direction, the pattern corresponding to the game application is set in a 260-degree direction, and the pattern corresponding to the trip application is set in a 340-degree direction.
Therefore, the pattern with the largest size can be displayed in the center of the preset area, so that a user can visually see the related data occupying the largest application conveniently, and the patterns of other applications can be arranged on the periphery of the pattern with the largest size relatively regularly according to the preset angle, so that the overall attractiveness is improved.
Fig. 9 is a schematic flow chart diagram illustrating yet another statistical data display method according to an embodiment of the present disclosure. As shown in fig. 9, before generating the pattern corresponding to each type of the application, the method further includes:
in step S107, a difference between the maximum ratio and the minimum ratio among the ratios is calculated;
in step S108, a plurality of proportional intervals are set according to the difference, wherein the number of the proportional intervals is positively correlated with the difference, and each proportional interval corresponds to a size;
in step S109, a size corresponding to a proportion section to which the proportion belongs is determined;
wherein the generating the pattern respectively corresponding to each type of the application comprises:
in step S1021, a pattern corresponding to each type of the application is generated according to a size corresponding to a scale section to which a scale corresponding to each type of the application belongs.
In one embodiment, since there may be large differences in usage of different types of applications even if the number of application types is the same for multiple types of applications, for example, the power consumption of some types of applications exceeds 80% and the power consumption of some types of applications is only 1%, if corresponding patterns are drawn with the same size difference all the time for the same number of types of applications, it is difficult to express the differences in usage of different types of applications well.
Although the size of the pattern may be set to be positively correlated with the ratio of the statistical data of the corresponding application, for example, the pattern may be circular, the radius of the circle may be set to be positively correlated with the ratio of the statistical data. However, when the application correspondence ratio is extremely small, the size of the corresponding pattern will be extremely small, which makes it difficult for the user to see the content in the pattern.
In this embodiment, on the basis that the sizes of the patterns are positively correlated with the proportion of the corresponding applied statistical data, the difference between the maximum proportion and the minimum proportion in the proportion is further calculated, and then a plurality of proportion intervals are set according to the difference, so that the number of the proportion intervals is positively correlated with the difference, and each proportion interval corresponds to one size (for example, the sizes corresponding to the proportion intervals may be in an equal-difference relationship or an equal-ratio relationship). The larger the difference, the larger the scale interval, and the larger the number of corresponding sizes. And further determining the size corresponding to the proportional interval to which the proportion belongs.
For example, the difference between the maximum ratio and the minimum ratio is 80%, 8 ratio intervals may be set, the difference between the upper limit values of adjacent ratio intervals is 12.5%, and each ratio interval corresponds to a size, and the smaller ratio interval corresponds to a smaller size, and there are 8 sizes in total, for example, patterns corresponding to ratios belonging to the interval of 0 to 12.5%, and the sizes are all the same.
On the basis, the size corresponding to the scale interval to which the scale belongs is determined, and even if the scale is small, the size of the corresponding pattern is not excessively reduced, and only the smallest size of the 8 sizes is selected to draw the pattern, so that the condition that the drawn pattern is too small to be viewed conveniently is avoided.
In addition, by setting the size corresponding to the proportional band, even if there are too many types of applications, it is possible to draw with a size of a small reserve, facilitating terminal drawing of a pattern.
Fig. 10 is a schematic flow chart diagram illustrating yet another statistical data display method according to an embodiment of the present disclosure. As shown in fig. 10, the method further includes:
in step S110, according to the received adjustment instruction for the target pattern in the plurality of patterns, the size and/or shape of the target pattern is adjusted.
In one embodiment, the user may input an adjustment instruction for the target pattern, for example, a zoom operation may be performed on the target pattern (for example, the target pattern is selected by two fingers, the distance between the two fingers is enlarged to be an enlargement operation, and the distance between the two fingers is reduced to be a reduction operation) to input the adjustment instruction, and based on the adjustment instruction, the size of the target pattern may be adjusted. The shape of the target pattern may be adjusted by inputting the adjustment instruction by performing an operation of adjusting the shape with respect to the target pattern (for example, pressing the target pattern to display an option of changing the shape, and selecting an option corresponding to the shape).
Fig. 11 is a schematic flow chart diagram illustrating yet another statistical data display method according to an embodiment of the present disclosure. As shown in fig. 11, the method further includes:
in step S111, according to a received use duration setting instruction for a target pattern in the plurality of patterns, setting a threshold duration of a target application corresponding to the target pattern;
in step S112, when the target application is used again, the usage duration of the target application is recorded, and when the usage duration is greater than the threshold duration, a prompt message is generated.
In one embodiment, the user may input a time setting instruction for the target pattern, for example, long press the target pattern to display an option for setting the time, and further input a required time as a threshold time of the target application corresponding to the target pattern, so as to be used as a comparison basis in a subsequent use process.
When the user uses the target application again, the time length of the user using the target application can be recorded, the recorded time length of the user using the target application is compared with the threshold time length (the comparison can be performed periodically), when the time length of the user using the target application is determined to be greater than the threshold time length, the time length of the user using the target application is indicated to exceed the originally planned threshold time length, and then prompt information can be generated to prompt the user that the time length of the user using the target application exceeds the threshold time length.
Corresponding to the foregoing embodiment of the statistical data display method, the present disclosure also provides an embodiment of a statistical data display apparatus.
Fig. 12 is a schematic block diagram illustrating a statistical data display apparatus according to an embodiment of the present disclosure. As shown in fig. 12, the statistical data display may be applied to a terminal including, but not limited to, a mobile phone, a tablet, a wearable device, and other electronic devices.
As shown in fig. 12, the statistical data display device may include:
the data acquisition module 101 is configured to acquire statistical data of usage conditions of multiple classes of applications, and determine the number of the classes included in the multiple classes of applications and the statistical data corresponding to each class of applications, which account for the proportion of all the statistical data;
a pattern generating module 102 configured to generate a pattern corresponding to each type of the application, wherein a size of the pattern is positively correlated to a ratio of statistical data of the corresponding application;
a pattern display module 103 configured to display a plurality of the patterns in a preset area and display a proportion of statistical data corresponding to an application in the patterns.
Fig. 13 is a schematic block diagram illustrating another statistical data display apparatus according to an embodiment of the present disclosure. As shown in fig. 13, the apparatus further includes:
the display conversion module 104 is configured to, when a preset operation on a target pattern in the plurality of patterns is received, convert the scale of the target pattern display into corresponding statistical data.
Optionally, the display conversion module is configured to convert a display scale of the target pattern into corresponding statistical data when the target pattern is a pattern with a largest size;
and when the target pattern is not the pattern with the largest size, exchanging the position and the size of the target pattern and the pattern with the largest size, and converting the displayed ratio of the target pattern after exchanging the position and the size into corresponding statistical data.
Fig. 14 is a schematic block diagram illustrating still another statistical data display apparatus according to an embodiment of the present disclosure.
As shown in fig. 14, the method further includes:
a color adjustment module 105 configured to reduce color information of patterns other than the target pattern.
Fig. 15 is a schematic block diagram illustrating still another statistical data display apparatus according to an embodiment of the present disclosure. As shown in fig. 15, the apparatus further includes:
an angle query module 106 configured to query a plurality of preset angles corresponding to the number;
wherein the pattern display module 103 is configured to set the center of the pattern with the largest size at the center of the preset area; and setting the centers of the other patterns according to the plurality of angles and the center of the preset area, and generating the other patterns based on the centers of the other patterns.
Fig. 16 is a schematic block diagram illustrating still another statistical data display apparatus according to an embodiment of the present disclosure. As shown in fig. 16, the apparatus further includes:
a difference calculation module 107 configured to calculate a difference between a maximum ratio and a minimum ratio of the ratios;
an interval setting module 108 configured to set a plurality of proportional intervals according to the difference, wherein the number of the proportional intervals is positively correlated with the difference, and each proportional interval corresponds to one size;
a size determining module 109 configured to determine a size corresponding to a proportion interval to which the proportion belongs;
the pattern generating module 102 is configured to generate a pattern corresponding to each type of the application according to a size corresponding to a proportion interval to which a proportion corresponding to each type of the application belongs.
Fig. 17 is a schematic block diagram illustrating still another statistical data display apparatus according to an embodiment of the present disclosure. As shown in fig. 17, the apparatus further includes:
a pattern adjusting module 110 configured to adjust a size and/or a shape of a target pattern of the plurality of patterns according to a received adjustment instruction for the target pattern.
Fig. 18 is a schematic block diagram illustrating still another statistical data display apparatus according to an embodiment of the present disclosure. As shown in fig. 18, the apparatus further includes:
a threshold setting module 111 configured to set a threshold duration of a target application corresponding to a target pattern in the plurality of patterns according to a received use duration setting instruction for the target pattern;
and a duration prompting module 112 configured to record a duration of use of the target application when the target application is used again, and generate a prompt message when the duration of use is greater than the threshold duration.
With regard to the apparatus in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments of the related method, and will not be described in detail here.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
An embodiment of the present disclosure also provides an electronic device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the method of any of the above embodiments.
Embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps in the method according to any of the above embodiments.
Fig. 19 is a schematic block diagram illustrating an apparatus 1900 for statistical data display according to an embodiment of the present disclosure. For example, the apparatus 1900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 19, apparatus 1900 may include one or more of the following components: a processing component 1902, a memory 1904, a power component 1906, a multimedia component 1908, an audio component 1910, an input/output (I/O) interface 1912, a sensor component 1914, and a communications component 1916.
The processing component 1902 generally controls overall operation of the device 1900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing assembly 1902 may include one or more processors 1920 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the process component 1902 can include one or more modules that facilitate interaction between the process component 1902 and other components. For example, the processing component 1902 can include a multimedia module to facilitate interaction between the multimedia component 1908 and the processing component 1902.
The memory 1904 is configured to store various types of data to support operations at the device 1900. Examples of such data include instructions for any application or method operating on device 1900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1904 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply components 1906 provide power to the various components of device 1900. Power components 1906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 1900.
The multimedia component 1908 includes a screen that provides an output interface between the device 1900 and a user, hi some embodiments, the screen may include a liquid crystal display (L CD) and a Touch Panel (TP). if the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
Audio component 1910 is configured to output and/or input audio signals. For example, audio component 1910 includes a Microphone (MIC) configured to receive external audio signals when device 1900 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1904 or transmitted via the communication component 1916. In some embodiments, audio component 1910 further includes a speaker for outputting audio signals.
The I/O interface 1912 provides an interface between the processing component 1902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 1914 includes one or more sensors to provide various aspects of state assessment for the apparatus 1900. For example, the sensor component 1914 may detect an open/closed state of the device 1900, the relative positioning of components, such as a display and keypad of the device 1900, the sensor component 1914 may also detect a change in position of the device 1900 or a component of the device 1900, the presence or absence of user contact with the device 1900, orientation or acceleration/deceleration of the device 1900, and a change in temperature of the device 1900. The sensor component 1914 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor component 1914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 1914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1916 is configured to facilitate wired or wireless communication between the apparatus 1900 and other devices, the apparatus 1900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G L TE, 5G NR, or a combination thereof, in one exemplary embodiment, the communications component 1916 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel, in one exemplary embodiment, the communications component 1916 further includes a Near Field Communication (NFC) module to facilitate short-range communication.
In an exemplary embodiment, the apparatus 1900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), programmable logic devices (P L D), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the methods described in any of the above embodiments.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1904 comprising instructions, executable by the processor 1920 of the apparatus 1900, to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (18)

1. A statistical data display method, comprising:
acquiring statistical data of the use conditions of multiple types of applications, and determining the number of types included in the multiple types of applications and the proportion of the statistical data corresponding to each type of applications in all the statistical data;
generating a pattern corresponding to each type of application, wherein the size of the pattern is positively correlated with the proportion of the statistical data of the corresponding application;
and displaying a plurality of patterns in a preset area, and displaying the proportion of the statistical data corresponding to the application in the patterns.
2. The method of claim 1, further comprising:
and when preset operation on a target pattern in the plurality of patterns is received, converting the display proportion of the target pattern into corresponding statistical data.
3. The method according to claim 2, wherein the converting the scale of the target pattern display into the corresponding statistical data when receiving the preset operation on the target pattern in the plurality of patterns comprises:
when the target pattern is the pattern with the largest size, converting the display scale of the target pattern into corresponding statistical data;
and when the target pattern is not the pattern with the largest size, exchanging the position and the size of the target pattern and the pattern with the largest size, and converting the displayed ratio of the target pattern after exchanging the position and the size into corresponding statistical data.
4. The method of claim 2, further comprising:
and reducing the color information of other patterns except the target pattern.
5. The method according to any one of claims 1 to 4, wherein before displaying a plurality of said patterns in a preset area, the method further comprises:
inquiring a plurality of preset angles corresponding to the number;
wherein the displaying the plurality of patterns in the preset area comprises:
setting the center of the pattern with the largest size at the center of the preset area;
and setting the centers of the other patterns according to the plurality of angles and the center of the preset area, and generating the other patterns based on the centers of the other patterns.
6. The method according to any one of claims 1 to 4, wherein before generating the pattern corresponding to each type of the application, the method further comprises:
calculating the difference between the maximum proportion and the minimum proportion in the proportions;
setting a plurality of proportional intervals according to the difference, wherein the number of the proportional intervals is positively correlated with the difference, and each proportional interval corresponds to one size;
determining the size corresponding to the proportion interval to which the proportion belongs;
wherein the generating the pattern respectively corresponding to each type of the application comprises:
and generating patterns respectively corresponding to each type of the applications according to the size corresponding to the proportion interval to which the proportion respectively corresponding to each type of the applications belongs.
7. The method according to any one of claims 1 to 4, further comprising:
and adjusting the size and/or shape of the target pattern according to the received adjustment instruction of the target pattern in the plurality of patterns.
8. The method according to any one of claims 1 to 4, further comprising:
setting a threshold duration of a target application corresponding to a target pattern according to a received use duration setting instruction of the target pattern in the plurality of patterns;
when the target application is used again, recording the use duration of the target application, and generating prompt information when the use duration is longer than the threshold duration.
9. A statistical data display device, comprising:
the data acquisition module is configured to acquire statistical data of the use conditions of multiple types of applications, and determine the number of the types included in the multiple types of applications and the statistical data corresponding to each type of applications, wherein the statistical data account for the proportion of all the statistical data;
the pattern generation module is configured to generate a pattern corresponding to each type of application, wherein the size of the pattern is positively correlated with the proportion of the statistical data of the corresponding application;
the pattern display module is configured to display a plurality of patterns in a preset area and display the proportion of the statistical data corresponding to the application in the patterns.
10. The apparatus of claim 9, further comprising:
the display conversion module is configured to convert the display scale of a target pattern into corresponding statistical data when a preset operation on the target pattern in the plurality of patterns is received.
11. The apparatus of claim 10, wherein the display conversion module is configured to convert the scale of the target pattern display into corresponding statistical data when the target pattern is the largest-sized pattern;
and when the target pattern is not the pattern with the largest size, exchanging the position and the size of the target pattern and the pattern with the largest size, and converting the displayed ratio of the target pattern after exchanging the position and the size into corresponding statistical data.
12. The apparatus of claim 10, further comprising:
a color adjustment module configured to reduce color information of patterns other than the target pattern.
13. The apparatus of any one of claims 9 to 12, further comprising:
an angle query module configured to query a plurality of preset angles corresponding to the number;
wherein the pattern display module is configured to set a center of the pattern having the largest size at a center of the preset area; and setting the centers of the other patterns according to the plurality of angles and the center of the preset area, and generating the other patterns based on the centers of the other patterns.
14. The apparatus of any one of claims 9 to 12, further comprising:
a difference calculation module configured to calculate a difference between a maximum ratio and a minimum ratio of the ratios;
the interval setting module is configured to set a plurality of proportional intervals according to the difference, wherein the number of the proportional intervals is positively correlated with the difference, and each proportional interval corresponds to one size;
the size determining module is configured to determine the size corresponding to the proportion interval to which the proportion belongs;
the pattern generating module is configured to generate a pattern corresponding to each type of the application according to a size corresponding to a proportion interval to which a proportion corresponding to each type of the application belongs.
15. The apparatus of any one of claims 9 to 12, further comprising:
a pattern adjusting module configured to adjust a size and/or a shape of a target pattern of the plurality of patterns according to a received adjustment instruction for the target pattern.
16. The apparatus of any one of claims 9 to 12, further comprising:
the threshold setting module is configured to set a threshold duration of a target application corresponding to a target pattern according to a received use duration setting instruction of the target pattern in the plurality of patterns;
and the time length prompting module is configured to record the use time length of the target application when the target application is used again, and generate prompting information when the use time length is greater than the threshold time length.
17. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the method of any one of claims 1 to 8.
18. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
CN202010245788.8A 2020-03-31 2020-03-31 Statistical data display method and device Pending CN111462276A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010245788.8A CN111462276A (en) 2020-03-31 2020-03-31 Statistical data display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010245788.8A CN111462276A (en) 2020-03-31 2020-03-31 Statistical data display method and device

Publications (1)

Publication Number Publication Date
CN111462276A true CN111462276A (en) 2020-07-28

Family

ID=71681298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010245788.8A Pending CN111462276A (en) 2020-03-31 2020-03-31 Statistical data display method and device

Country Status (1)

Country Link
CN (1) CN111462276A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130305187A1 (en) * 2012-05-09 2013-11-14 Microsoft Corporation User-resizable icons
CN104182329A (en) * 2014-08-22 2014-12-03 深圳市中兴移动通信有限公司 Method for power consumption reminding of applications, mobile terminal and application download server
CN104461236A (en) * 2014-11-07 2015-03-25 小米科技有限责任公司 Method and device for displaying application icons
CN107622004A (en) * 2016-07-14 2018-01-23 中兴通讯股份有限公司 Power consumption based reminding method and device
CN110750189A (en) * 2019-09-29 2020-02-04 维沃移动通信有限公司 Icon display method and device
CN110928708A (en) * 2019-11-20 2020-03-27 维沃移动通信有限公司 Icon display method and device, electronic equipment and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130305187A1 (en) * 2012-05-09 2013-11-14 Microsoft Corporation User-resizable icons
CN104182329A (en) * 2014-08-22 2014-12-03 深圳市中兴移动通信有限公司 Method for power consumption reminding of applications, mobile terminal and application download server
CN104461236A (en) * 2014-11-07 2015-03-25 小米科技有限责任公司 Method and device for displaying application icons
CN107622004A (en) * 2016-07-14 2018-01-23 中兴通讯股份有限公司 Power consumption based reminding method and device
CN110750189A (en) * 2019-09-29 2020-02-04 维沃移动通信有限公司 Icon display method and device
CN110928708A (en) * 2019-11-20 2020-03-27 维沃移动通信有限公司 Icon display method and device, electronic equipment and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
彻夜听风: "怎么查看手机中软件的耗电比例情况", pages 1 - 6, Retrieved from the Internet <URL:https://jingyan.baidu.com/article/37bce2be1be5d71002f3a20f.html> *

Similar Documents

Publication Publication Date Title
CN106657780B (en) Image preview method and device
CN107635074B (en) Method, apparatus and computer-readable storage medium for controlling alarm
US11222223B2 (en) Collecting fingerprints
CN108965611B (en) Shooting interface switching method, device, equipment and storage medium
CN112269556A (en) Information display method, device, system, equipment, server and storage medium
CN110782532A (en) Image generation method, image generation device, electronic device, and storage medium
CN111880681A (en) Touch screen sampling rate adjusting method and device and computer storage medium
RU2647868C2 (en) State notification method and apparatus
CN113487711B (en) Blink control method and device for avatar, electronic equipment and storage medium
CN107203315B (en) Click event processing method and device and terminal
CN111462276A (en) Statistical data display method and device
CN110968155A (en) Full-screen terminal, operation execution method and device based on full-screen terminal
WO2021103742A1 (en) Resource management method and apparatus, and electronic device
CN111539617B (en) Data processing method and device, electronic equipment, interaction system and storage medium
CN114416015A (en) Audio adjusting method and device, electronic equipment and readable storage medium
CN108427582B (en) Method and device for determining stuck state and computer readable storage medium
CN108231037B (en) Method and device for determining screen brightness setting range
CN111538447A (en) Information display method, device, equipment and storage medium
CN111462284B (en) Animation generation method, animation generation device and electronic equipment
CN110825483A (en) Method and device for realizing OSD (on Screen display) of screen menu type adjustment mode
CN113112290B (en) Virtual resource adjusting method and device
CN112118502B (en) Earphone control method, device, equipment and storage medium
CN108197001B (en) Data statistical method and device and electronic equipment
CN114237478A (en) Touch control adjusting method and device and storage medium
CN114201712A (en) Multimedia resource release processing method, device, terminal, server and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination