Data display method, device and equipment
By converting the cumulative consumption of mobile communication services in a one-digit function to determine the size of the first element, the problem of lack of dynamic changes in data visualization display in the prior art is solved, and the visual display of mobile communication services is realized has a dynamic gain effect, which improves the user's visual experience.
Patent Information
- Application Number
- CN202411999913.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2044-12-31
AI Technical Summary
The prior art is relatively mechanical in data visualization display and cannot provide a better visual experience for users, especially in the use of mobile communication services, which lacks dynamic and significant visual changes.
By obtaining the cumulative consumption of mobile communication services and converting the consumption using a predefined unary function, the conversion amount is obtained. The size of the first element is determined based on the conversion amount, and the first element is used to demonstrate the usage of the mobile communication service. The rate of change of the function value of the unary function decreases with the increase of the independent variable, and the conversion amount is positively correlated with the size of the first element.
The display of mobile communication service usage has a "dynamic gain" effect. The size of the first element changes significantly in the initial part, and gradually slows down with the increase in consumption, thereby improving the user's visual experience.
Smart Images

Figure CN119806711A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and relates to but is not limited to a data display method, device, and equipment. Background Art
[0002] Data visualization technology is a method of displaying data and information through visual elements such as graphics, tables, and icons. However, in related technologies, the visualization of data is relatively mechanical and cannot bring users a good visual experience. Summary of the invention
[0003] In a first aspect, an embodiment of the present application provides a data display method, the method comprising: obtaining a first consumption currently for a mobile communication service, the first consumption referring to the cumulative consumption from a starting moment to a current moment; converting the first consumption by a predefined unary function to obtain a conversion amount; determining the size of a first element according to the conversion amount; wherein the first element is used to display the usage of the mobile communication service; the rate of change of the function value of the predefined unary function decreases with an increase in an independent variable; the conversion amount is positively correlated with the size of the first element; and displaying the first element according to the size of the first element.
[0004] In a second aspect, an embodiment of the present application provides a data display device, comprising: an acquisition module, configured to acquire a first consumption currently for a mobile communication service, wherein the first consumption refers to the cumulative consumption from a start time to a current time; a conversion module, configured to convert the first consumption through a predefined unary function to obtain a conversion amount; a determination module, configured to determine the size of a first element according to the conversion amount; wherein the first element is used to display the usage of the mobile communication service; the rate of change of the function value of the predefined unary function decreases with an increase in an independent variable; the conversion amount is positively correlated with the size of the first element; and a display module, configured to display the first element according to the size of the first element.
[0005] In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be executed on the processor, and when the processor executes the program, the method described in the first aspect is implemented.
[0006] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium for storing a computer program, wherein the computer program enables a computer to execute the method described in the first aspect.
[0007] In a fifth aspect, an embodiment of the present application provides a computer program product, comprising computer program instructions, which enable a computer to execute the method described in the first aspect.
[0008] In a sixth aspect, an embodiment of the present application provides a computer program, which enables a computer to execute the method described in the first aspect.
[0009] In the embodiment of the present application, the first consumption of the current mobile communication service is obtained, wherein the first consumption refers to the cumulative consumption from the starting moment to the current moment; the first consumption is converted by a univariate function whose rate of change of the function value decreases with the increase of the independent variable to obtain a conversion amount; that is, the rate of change of the conversion amount decreases with the increase of the first consumption; the size of the first element determined according to the conversion amount is used to display the usage of the mobile communication service, and the conversion amount is positively correlated with the size of the first element. In this way, since the rate of change of the conversion amount decreases with the increase of the first consumption, and the conversion amount is positively correlated with the size of the first element, when the usage of the mobile communication service is displayed through the first element, the change of the size of the first element in the initial part of the display will be more significant, and as the first consumption increases, the change of the size of the first element will slowly slow down, so that the display of the usage of the mobile communication service has a "dynamic gain" effect, thereby improving the user's visual experience.
[0010] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0012] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0013] Figure 1 A schematic diagram for visualizing an icon;
[0014] Figure 2 A schematic diagram of an implementation flow of a data display method provided in an embodiment of the present application;
[0015] Figure 3 A schematic diagram of a data display method provided in an embodiment of the present application Figure 1 ;
[0016] Figure 4 A schematic diagram of a data display method provided in an embodiment of the present application Figure 2 ;
[0017] Figure 5 A schematic diagram of a data display method provided in an embodiment of the present application Figure 3 ;
[0018] Figure 6 A schematic diagram of a data display method provided in an embodiment of the present application Figure 4 ;
[0019] Figure 7 A schematic diagram of the change of the function value of a one-variable function provided in an embodiment of the present application;
[0020] Figure 8 A schematic diagram of the structure of a data display device provided in an embodiment of the present application;
[0021] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the specific technical solution of the present application will be further described in detail below in conjunction with the drawings in the embodiments of the present application. The following embodiments are used to illustrate the present application, but are not used to limit the scope of the present application.
[0023] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0024] In the following description, reference is made to “some embodiments”, “this embodiment”, “embodiments of the present application” and examples, etc., which describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0025] To facilitate understanding of the technical solutions of the embodiments of the present application, the following describes the related technologies or terms of the embodiments of the present application. The following related technologies or related terms as optional solutions can be combined with the technical solutions of the embodiments of the present application at will, and they all belong to the protection scope of the embodiments of the present application.
[0026] (1) Index
[0027] Exponentiation is a power operation n(a≠0), a is the base, n is the exponent, the exponent is located in the upper right corner of the base, and the power operation represents the multiplication of the exponent base. When n is a positive integer, a n It means n a multiplication. When n=0, a n =1.
[0028] (2) Logarithm
[0029] In mathematics, logarithms are the inverse operation of exponentiation, just as division is the inverse operation of multiplication and vice versa. This means that the logarithm of a number is the exponentiation that must produce another fixed number (the base). In simple cases, logarithms count factors in the multiplication. More generally, exponentiation allows any positive real number to be raised to any real number, always producing a positive result, so logarithms can be calculated for any two positive real numbers b and x where b is not equal to 1.
[0030] (3) Dynamic gain
[0031] In the process of displaying data, the data is not displayed linearly one by one, but dynamically changed. The magnitude of the change may change over time.
[0032] In a related technology, in a business hall module, for a scenario where the user's traffic (i.e., an example of the first consumption) can be obtained but the user's total amount (i.e., an example of the total subscription amount) cannot be obtained, when the user uses the icon visualization function, the icon visualization function cannot be used. Figure 1 The visual display method of the chart shown in FIG. 1 shows the current flow. The inventor of the present application found in the research and analysis that: Figure 1 The visualization method shown is to visualize the overall progress based on the icon based on the knowledge of the user's consumption and total amount. However, there are many scenarios where the total amount of users cannot be obtained, for example: the communication provider's authority restrictions do not parse the data, or some special reasons (such as the purchased / newly added traffic packages or call packages are not included in the total amount). For scenarios where the total amount of users cannot be obtained, the user will not be able to use the icon visualization function.
[0033] In view of this, the embodiments of the present application provide the following data display method.
[0034] Figure 2 A schematic diagram of a data display method implementation flow provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the method includes the following steps 201 to 204:
[0035] Step 201, obtaining a first consumption amount for a current mobile communication service, where the first consumption amount refers to a cumulative consumption amount from a starting time to a current time;
[0036] Step 202, converting the first consumption amount by a predefined unary function to obtain a conversion amount;
[0037] Step 203, determining the size of the first element according to the conversion amount; wherein the first element is used to display the usage of the mobile communication service; the rate of change of the function value of the predefined univariate function decreases as the independent variable increases; the conversion amount is positively correlated with the size of the first element;
[0038] Step 204: display the first element according to the size of the first element.
[0039] It can be understood that in the embodiment of the present application, the first consumption of the current mobile communication service is obtained, wherein the first consumption refers to the cumulative consumption from the starting moment to the current moment; then the first consumption is converted by a univariate function whose rate of change of the function value decreases with the increase of the independent variable to obtain the conversion amount; that is, the rate of change of the conversion amount decreases with the increase of the first consumption; then the size of the first element determined by the conversion amount is used to display the usage of the mobile communication service, and the conversion amount is positively correlated with the size of the first element. In this way, since the rate of change of the conversion amount decreases with the increase of the first consumption, and the conversion amount is positively correlated with the size of the first element, when the usage of the mobile communication service is displayed by the first element, the change of the size of the first element in the initial part of the display will be more significant, and as the first consumption increases, the change of the size of the first element will slowly slow down, so that the display of the usage of the mobile communication service has a "dynamic gain" effect, thereby improving the user's visual experience.
[0040] The following describes further optional implementations and related terms of each of the above steps.
[0041] In step 201, a first consumption amount for a current mobile communication service is obtained, where the first consumption amount refers to the accumulated consumption amount from a starting time to a current time.
[0042] It should be understood that in the embodiments of the present application, the mobile communication service refers to services provided to users including various communication services such as calls, text messages, data, etc.; wherein the data refers to services such as data transmission and information exchange through a mobile communication data network.
[0043] In the embodiments of the present application, the first consumption is not limited. In some embodiments, the first consumption includes the used traffic or the generated phone charges. In other embodiments, the first consumption includes the amount of data of the first application downloaded. In still other embodiments, the first consumption includes at least one of the following: the amount of data of the first file uploaded, the amount of data of the first file downloaded, the amount of data of the webpage document downloaded, and the amount of data of the webpage loaded.
[0044] In step 102, the first consumption amount is converted by a predefined unary function to obtain a conversion amount.
[0045] In some embodiments, converting the first consumption amount through a predefined unary function to obtain the conversion amount includes: when the total amount of subscription for the mobile communication service cannot be obtained, inputting the first consumption amount into the predefined unary function to obtain the conversion amount.
[0046] It can be understood that in the embodiment of the present application, when the total amount of subscription for the mobile communication service cannot be obtained, the first consumption is input into the predefined unary function to obtain the conversion amount. That is to say, in the embodiment of the present application, for the mobile communication service for which the total amount of subscription cannot be obtained, the first consumption for the mobile communication service is obtained; then the first consumption is input into the predefined unary function to obtain the conversion amount; and then the usage of the mobile communication service is displayed according to the size of the first element determined by the conversion amount. In this way, when only the first consumption is obtained, the usage of the mobile communication service can also be displayed by the first element in a "dynamic gain" manner, thereby improving the display effect of the usage of the mobile communication service and thus improving the user's visual experience when the total amount of subscription for the mobile communication service cannot be obtained.
[0047] In some embodiments, in the case where the total subscription amount for the mobile communication service cannot be obtained, the first consumption includes: used traffic or incurred call charges, and the total subscription amount includes: total traffic or total call charges.
[0048] In one possible implementation, the first consumption refers to the traffic used from the first day of the month to the current moment, and the total subscription amount refers to the total amount of traffic purchased in the month. In another possible implementation, the first consumption refers to the telephone charges generated from the first day of the month to the current moment, and the total subscription amount refers to the sum of the remaining telephone charges on the first day of the month and the telephone charges paid from the first day of the month to the current moment.
[0049] Exemplarily, in one possible implementation, there is a scenario in which there is only a single data in all graphical expressions, that is, there is only a first consumption amount and no customized total amount. When the first consumption amount is the used traffic, the change in traffic from 500MB to 1GB will be more significant, but the change from 80GB to 100GB in the later stage will not be very significant at the visual level.
[0050] In other embodiments, converting the first consumption amount through a predefined unary function to obtain a conversion amount includes: determining a second ratio of the first consumption amount to the total subscription amount when the total subscription amount for the mobile communication service is obtained; and inputting the second ratio into the predefined unary function to obtain the conversion amount.
[0051] It can be understood that in the embodiment of the present application, for the mobile communication service for which the total amount of subscription is obtained, the current first consumption for the mobile communication service is obtained; the second ratio of the first consumption to the total amount of subscription is determined; and the second ratio is input into the predefined unary function to obtain the conversion amount; and then the usage of the mobile communication service is displayed according to the size of the first element determined by the conversion amount. That is to say, in the embodiment of the present application, the ratio of the first consumption to the total amount of subscription displayed by the first element will change more significantly at the beginning of the display, and as the first consumption increases, the change in the size of the first element will slowly slow down; in this way, the ratio of the first consumption to the total amount of subscription is displayed in a "dynamic gain" manner, which is beneficial to improving the user's visual experience.
[0052] In some embodiments, in the case where the total subscription amount for the mobile communication service is obtained, the first consumption amount includes: the data amount of the downloaded first application, and the total subscription amount includes: the data size of the first application; wherein the first application is any application.
[0053] It can be understood that in the embodiment of the present application, in the process of downloading the first application, in the case of obtaining the data size of the first application, the data volume of the downloaded first application is obtained; the second ratio of the data volume of the downloaded first application to the data size of the first application is determined; and the second ratio is input into the predefined unary function to obtain the conversion amount; then the size of the first element determined by the conversion amount is used to display the usage of the mobile communication service. That is to say, in the embodiment of the present application, the ratio of the data volume of the downloaded first application to the data size of the first application displayed by the first element will change more significantly at the beginning of the display, and the size of the first element will change slowly with the amount of data of the downloaded first application; in this way, the download of the first application gives the user a perception of fast downloading at the visual level, thereby improving the download conversion of the application.
[0054] In other embodiments, in the case where the total subscription amount for the mobile communication service is obtained, the first consumption amount includes at least one of the following: the data amount of the uploaded first file, the data amount of the downloaded first file, the data amount of the downloaded web page document, and the data amount of the loaded web page; accordingly, the total subscription amount includes: the data size of the first file, the data size of the web page document, the data amount of the loaded web page, etc.
[0055] Exemplarily, in one possible implementation, during the process of downloading an application in an application store or a game center, in the early stage of the download, a gain is made based on a quasi-uniform download speed; in the latter stage of the download, a gain is made based on a quasi-uniform download speed; thereby achieving the perception of a faster download speed.
[0056] It should be understood that in the embodiment of the present application, the rate of change of the function value of the predefined unary function decreases with the increase of the independent variable; that is, the change of the function value of the predefined unary function in the initial part of the independent variable will be more significant, and as the independent variable increases, the change of the function value of the predefined unary function will gradually slow down.
[0057] In some embodiments, when the value of the independent variable input to the predefined unary function is less than a first threshold value, the function value of the predefined unary function is greater than the value of the independent variable input; when the value of the independent variable input to the predefined unary function is equal to the first threshold value, the function value of the predefined unary function is equal to the value of the independent variable input.
[0058] It should be understood that in the embodiments of the present application, the first threshold is not limited. In some embodiments, for a scenario where the total amount of subscriptions for the mobile communication service cannot be obtained, the first threshold can be any value.
[0059] In other embodiments, for the scenario where the total subscription amount for the mobile communication service is obtained, when the independent variable is the first consumption amount, the first threshold is the total subscription amount; when the independent variable is the second ratio of the first consumption amount to the total subscription amount, the value of the first threshold is 1; the first threshold includes but is not limited to at least one of the following: 1, 100%, 10 / 10, 100 / 100, etc.
[0060] It should be understood that in an embodiment of the present application, in the case where the total subscription amount for the mobile communication service is obtained, since the first consumption amount will not exceed the total subscription amount, when the value of the independent variable input to the predefined unary function is less than the first threshold value, the function value of the predefined unary function is greater than the value of the input independent variable; when the value of the independent variable input to the predefined unary function is equal to the first threshold value, the function value of the predefined unary function is equal to the value of the input independent variable.
[0061] For example, in a possible implementation, during the process of downloading an application from an application store or a game center, the amount of data of the first application that has been downloaded is less than or equal to the data size of the first application, and the downloading time is certain. Therefore, when the amount of data of the first application that has been downloaded is less than the data size of the first application, the conversion amount is greater than the amount of data of the first application that has been downloaded; when the amount of data of the first application that has been downloaded is equal to the data size of the first application, the conversion amount is equal to the amount of data of the first application that has been downloaded; thus, the download of the first application gives the user a visual perception of fast downloading, thereby improving the download conversion of the application.
[0062] It should be understood that in the embodiments of the present application, the predefined one-variable function is not limited. In some embodiments, the predefined one-variable function includes a logarithmic function, and the base of the logarithmic function is a preset value.
[0063] It should be understood that in the embodiment of the present application, the logarithmic function includes: a basic logarithmic function, a composite logarithmic function, and a transformed logarithmic function. Among them, the basic logarithmic function includes: log a b, where the base a is a preset value and the real number b is the first consumption or the second ratio; the composite logarithmic function includes: log a f(b), where f(b) is greater than 0; the transformed logarithmic functions include: Alog a f(bx)+C, where A, x, and C are preset values and are any preset values.
[0064] In some other embodiments, the predefined one-variable function includes but is not limited to one of the following: arctan(b), Power function; where the power function is expressed as b n , where n is a preset value.
[0065] In some other embodiments, the predefined one-variable function includes a piecewise function, and the piecewise function includes: a piecewise function obtained by any combination of the predefined one-variable functions listed above; wherein the rate of change of the function value of the piecewise function decreases with the increase of the independent variable
[0066] In step 203, the size of the first element is determined according to the conversion amount; wherein the first element is used to display the usage of the mobile communication service.
[0067] It should be understood that in the embodiments of the present application, the first element is not limited. In some embodiments, the first element is a horizontal bar graph or a vertical bar graph. In other embodiments, the first element is a circular progress bar.
[0068] In some embodiments, determining the size of the first element according to the conversion amount includes: mapping the conversion amount to the size of the first element when the total subscription amount for the mobile communication service cannot be obtained.
[0069] Further, in some embodiments, since the size of the first element is positively correlated with the conversion amount, when the first element is a horizontal bar graph, the larger the conversion amount, the larger the length of the horizontal bar graph, or the larger the size of the filler of the horizontal bar graph.
[0070] In other embodiments, when the first element is a vertical bar graph, the greater the conversion amount, the greater the length of the vertical bar graph, or the greater the size of the filler of the vertical bar graph.
[0071] In some further embodiments, when the first element is a circular progress bar, the larger the conversion amount is, the longer the circumference of the circular progress bar is, or the longer the circumference of the filler of the circular progress bar is.
[0072] In other embodiments, determining the size of the first element based on the conversion amount includes: determining a first ratio of the conversion amount to the total subscription amount when the total subscription amount for the mobile communication service is obtained; and determining the size of the first element based on the first ratio.
[0073] It should be understood that in the embodiment of the present application, the first ratio is positively correlated with the size of the first element.
[0074] Further, in some embodiments, since the size of the first element is positively correlated with the first ratio, when the first element is a horizontal bar graph, the larger the first ratio, the larger the length of the horizontal bar graph, or the larger the size of the filler of the horizontal bar graph.
[0075] In other embodiments, when the first element is a vertical bar graph, the larger the first ratio is, the longer the length of the vertical bar graph is, or the larger the size of the filler of the vertical bar graph is.
[0076] In some further embodiments, when the first element is a circular progress bar, the larger the first ratio is, the longer the circumference of the circular progress bar is, or the longer the circumference of the filler of the circular progress bar is.
[0077] In step 204, the first element is displayed according to the size of the first element.
[0078] In some embodiments, the method further includes: displaying the first consumption amount while displaying the first element.
[0079] Further, in some embodiments, when the first consumption is the used traffic, the specific data volume of the used traffic is displayed while displaying the first element. In some embodiments, when the first consumption is the incurred telephone charge, the specific data volume of the incurred telephone charge is displayed while displaying the first element.
[0080] For example, in a possible implementation, when the first consumption is the used flow, Figure 3 The illustrated method realizes displaying the first consumption amount while displaying the first element.
[0081] In some embodiments, the method further includes: displaying the first ratio while displaying the first element.
[0082] Further, in some embodiments, when the first consumption amount is the amount of data of the downloaded first application, a ratio of the conversion amount to the data size of the first application is displayed while displaying the first element.
[0083] In some embodiments, the method further comprises: displaying the conversion amount while displaying the first element.
[0084] Further, in some embodiments, when the first consumption amount is the amount of data of the first application that has been downloaded, the conversion amount is displayed while displaying the first element.
[0085] For example, in a possible implementation, when the first consumption amount is the amount of data of the first application that has been downloaded, Figure 4 The manner shown realizes displaying the first ratio or the conversion amount while displaying the first element.
[0086] The following example describes a possible implementation scheme of a data display method described in one or more of the above embodiments.
[0087] An embodiment of the present application provides a data display method, which can solve the problem of the total amount being unable to be obtained by mathematical means, and visually display the obtained data in the form of a chart (i.e., an example of the first element).
[0088] In some embodiments, the data display method provided in the embodiments of the present application can be applied to scenarios where there is only a single data (i.e., an example of the first consumption amount) in all graphical expressions (i.e., an example of the first element) (only a numerator value (i.e., only the first consumption amount), no denominator value (i.e., no customized total amount)).
[0089] In the embodiment of the present application, by introducing a logarithmic function, in the process of visual display, the change of the icon (ie, an example of the first element) at the beginning is more significant, such as Figure 5 The change from 500MB to 1GB in the middle traffic volume is more obvious, but the change from 80GB to 100GB in the latter part does not have a very obvious change at the visual level.
[0090] The data display method provided in the embodiment of the present application is compatible with all numerical values at the display level. This is because the maximum value of the logarithmic function is positive infinity, so there will never be a fully filled scene in the graphical expression.
[0091] In other embodiments, during the process of downloading applications from an application store or game center, data visualization based on exponential or logarithmic expressions can visually give users a sense of fast download speed through logarithmic downloads, thereby improving the download conversion and revenue of business applications.
[0092] like Figure 6 As shown in the figure, the quasi-uniform download is the actual download quantity, and the logarithmic download is the result of gaining on the basis of the quasi-uniform download, that is, the graphical display of 30% is actually 20%. Among them, the quasi-uniform download is not a uniform download, and the quasi-uniform download depends on the network speed and changes dynamically. The logarithmic download accelerates first and then decelerates, that is, the first stage gains on the basis of the quasi-uniform value, and the latter stage decelerates.
[0093] It should be noted that in the embodiment of the present application, in the actual graphical display, only logarithmic downloading is displayed, and quasi-uniform speed downloading is not displayed.
[0094] In the embodiment of the present application, gain is added in the early stage of downloading and gain is reduced in the latter stage of downloading, thereby achieving a perceived effect of faster downloading speed.
[0095] It should be noted that in the embodiment of the present application, whether it is logarithmic downloading or existing quasi-uniform speed downloading, the actual download time is the same, and there is only a difference in the visual display level.
[0096] In the embodiment of the present application, a logarithmic or exponential visualization method (i.e., an example of a data display method) is provided, which solves the problem of not being able to obtain some data (i.e., an example of the total amount of subscription) when connecting to external businesses through logarithmic or exponential display. At the same time, in the scenario with data (i.e., obtaining the first consumption amount and the total amount of subscription), data gain can improve business conversion and revenue, which has high practical problem solving value and business revenue value.
[0097] Figure 7 This is a schematic diagram of the change of the function value of a one-variable function provided in an embodiment of the present application, wherein the X-axis represents the first consumption amount, and the Y-axis represents the change of the conversion amount, such as Figure 7 As shown, the smaller the first consumption amount is, the greater the change in the conversion amount is, and the larger the first consumption amount is, the smaller the change in the conversion amount is.
[0098] It should be noted that although the steps of the method in the present application are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.; or, steps in different embodiments may be combined into a new technical solution.
[0099] Figure 8 This is a structural diagram of a data display device provided in an embodiment of the present application. Figure 8 As shown, the device 80 includes: an acquisition module 801, a conversion module 802, a determination module 803 and a display module 804; wherein,
[0100] The acquisition module 801 is configured to acquire a first consumption amount of a current mobile communication service, where the first consumption amount refers to a cumulative consumption amount from a starting time to a current time;
[0101] A conversion module 802 is configured to convert the first consumption amount through a predefined unary function to obtain a conversion amount;
[0102] The determination module 803 is configured to determine the size of the first element according to the conversion amount; wherein the first element is used to display the usage of the mobile communication service; the rate of change of the function value of the predefined one-dimensional function decreases with the increase of the independent variable; and the conversion amount is positively correlated with the size of the first element;
[0103] The display module 804 is configured to display the first element according to the size of the first element. In some embodiments,
[0104] In some embodiments, the conversion module 802 is configured to input the first consumption amount into the predefined unary function to obtain the conversion amount when the total subscription amount for the mobile communication service cannot be obtained.
[0105] In some embodiments, the determination module 803 is configured to map the conversion amount to the size of the first element when the total subscription amount for the mobile communication service cannot be obtained.
[0106] In some embodiments, the display module 804 is further configured to display the first consumption amount while displaying the first element.
[0107] In some embodiments, the determination module 803 is configured to determine a first ratio of the conversion amount to the total subscription amount when the total subscription amount for the mobile communication service is obtained; and determine the size of the first element based on the first ratio; the display module 804 is also configured to display the first ratio while displaying the first element.
[0108] In some embodiments, the conversion module 802 is configured to determine a second ratio of the first consumption amount to the total subscription amount when the total subscription amount for the mobile communication service is obtained; and input the second ratio into the predefined unary function to obtain the conversion amount; the display module 804 is also configured to display the conversion amount while displaying the first element.
[0109] In some embodiments, when the value of the independent variable input to the predefined unary function is less than a first threshold value, the function value of the predefined unary function is greater than the value of the independent variable input; when the value of the independent variable input to the predefined unary function is equal to the first threshold value, the function value of the predefined unary function is equal to the value of the independent variable input.
[0110] In some embodiments, the predefined unary function includes a logarithmic function, and the base of the logarithmic function is a preset value.
[0111] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0112] It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software functional unit. It may also be implemented in the form of a combination of software and hardware.
[0113] It should be noted that in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.
[0114] An embodiment of the present application provides an electronic device, Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application, such as Fig. 9 As shown, the electronic device 90 includes a memory 901 and a processor 902, wherein the memory 901 stores a computer program that can be run on the processor 902, and the processor 902 implements the steps in the method provided in the above embodiment when executing the program.
[0115] It should be noted that the memory 901 is configured to store instructions and applications executable by the processor 902, and can also cache data to be processed or already processed by the processor 902 and various modules in the electronic device 90 (for example, image data, audio data, voice communication data, and video communication data), which can be implemented through flash memory (FLASH) or random access memory (Random Access Memory, RAM).
[0116] An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the method provided in the above embodiment are implemented.
[0117] An embodiment of the present application provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the steps of the method provided in the above method embodiment.
[0118] It should be noted here that the description of the above electronic device, storage medium and computer program product embodiments is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the electronic device, storage medium and computer program product embodiments of this application, please refer to the description of the method embodiment of this application for understanding.
[0119] It should be understood that "one embodiment" or "an embodiment" or "some embodiments" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in one embodiment" or "in some embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments. The above description of each embodiment tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. For the sake of brevity, this article will not repeat them.
[0120] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, object A and / or object B can represent three situations: object A exists alone, object A and object B exist at the same time, and object B exists alone.
[0121] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0122] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as: multiple modules or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or modules can be electrical, mechanical or other forms.
[0123] The modules described above as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules; they may be located in one place or distributed on multiple network units; some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0124] In addition, all functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may be a separate unit, or two or more modules may be integrated into one unit; the above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0125] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0126] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0127] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0128] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0129] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0130] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A data display method, characterized in that: The method comprises: Obtaining a first consumption amount for a current mobile communication service, where the first consumption amount refers to a cumulative consumption amount from a starting time to a current time; Convert the first consumption amount by using a predefined univariate function to obtain a conversion amount; Determine the size of the first element according to the conversion amount; wherein the first element is used to display the usage of the mobile communication service; the rate of change of the function value of the predefined one-dimensional function decreases with the increase of the independent variable; the conversion amount is positively correlated with the size of the first element; The first element is displayed according to the size of the first element.
2. The method according to claim 1, characterized in that The converting the first consumption amount by a predefined unary function to obtain a conversion amount includes: In the case where the total amount of subscription for the mobile communication service cannot be obtained, the first consumption amount is input into the predefined unary function to obtain the conversion amount.
3. The method according to claim 1 or 2, characterized in that: The step of determining the size of the first element according to the conversion amount includes: In a case where the total amount of subscription for the mobile communication service cannot be obtained, the conversion amount is mapped to the size of the first element.
4. The method according to claim 2 or 3, characterized in that: The method further comprises: The first consumption amount is displayed while the first element is displayed.
5. The method according to claim 1, characterized in that The step of determining the size of the first element according to the conversion amount includes: In the case where the total amount of subscriptions for the mobile communication service is obtained, determining a first ratio of the conversion amount to the total amount of subscriptions; and determining a size of the first element according to the first ratio; The method further includes displaying the first ratio while displaying the first element.
6. The method according to claim 1, characterized in that The converting the first consumption amount by a predefined unary function to obtain a conversion amount includes: In the case where the total amount of subscription for the mobile communication service is obtained, determining a second ratio of the first consumption amount to the total amount of subscription; and inputting the second ratio into the predefined unary function to obtain the conversion amount; The method further includes displaying the conversion amount while displaying the first element.
7. The method according to any one of claims 1 to 6, characterized in that In the case where the value of the independent variable input to the predefined one-variable function is less than a first threshold value, the function value of the predefined one-variable function is greater than the value of the input independent variable; In the case where the value of the independent variable input to the predefined one-variable function is equal to the first threshold value, the function value of the predefined one-variable function is equal to the value of the input independent variable.
8. The method according to claim 7, characterized in that The predefined one-variable function includes a logarithmic function, and the base of the logarithmic function is a preset value.
9. A data display device, characterized in that: The device comprises: An acquisition module configured to acquire a first consumption amount currently used for the mobile communication service, wherein the first consumption amount refers to a cumulative consumption amount from a starting time to a current time; a conversion module, configured to convert the first consumption amount through a predefined unary function to obtain a conversion amount; A determination module is configured to determine the size of a first element according to the conversion amount; wherein the first element is used to display the usage of the mobile communication service; the rate of change of the function value of the predefined one-dimensional function decreases as the independent variable increases; and the conversion amount is positively correlated with the size of the first element; The display module is configured to display the first element according to the size of the first element.
10. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Traffic display method and device, computer device and computer readable memory medium
CN107623612A
Traffic information query method and equipment, traffic information providing method and equipment, and medium
CN108768777A
Dynamic system gain estimation method based on historical data steady-state value
CN109753634A
Big data visualization interaction system
CN110110002A
Visual display system and method for flow data, medium and electronic equipment
CN110635966A