CN107870817B - Multi-dimensional parameter display method, client and server - Google Patents

Multi-dimensional parameter display method, client and server Download PDF

Info

Publication number
CN107870817B
CN107870817B CN201610862655.9A CN201610862655A CN107870817B CN 107870817 B CN107870817 B CN 107870817B CN 201610862655 A CN201610862655 A CN 201610862655A CN 107870817 B CN107870817 B CN 107870817B
Authority
CN
China
Prior art keywords
parameter
value
virtual resource
average value
scale factor
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.)
Active
Application number
CN201610862655.9A
Other languages
Chinese (zh)
Other versions
CN107870817A (en
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.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing 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 Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201610862655.9A priority Critical patent/CN107870817B/en
Publication of CN107870817A publication Critical patent/CN107870817A/en
Application granted granted Critical
Publication of CN107870817B publication Critical patent/CN107870817B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources

Abstract

The application discloses a multi-dimensional parameter display method, a client and a server. The method is applied to the client and comprises the following steps: acquiring a first scale factor of each parameter in N parameters of at least one virtual resource from a server, wherein the server calculates an average value and a minimum value of the parameter in all the virtual resources aiming at each parameter, calculates the first scale factor of the parameter according to the average value, the minimum value and a numerical value of the parameter aiming at each parameter of each virtual resource, and N is a positive integer; when a display interface of a virtual resource is loaded, generating a first display position on the display interface; and drawing a first N-edge graph of the virtual resource according to the first scale factor, and displaying the first N-edge graph on the first display position. By using the technical scheme, the user experience in displaying the virtual resources and the resource utilization rate of the client can be improved.

Description

Multi-dimensional parameter display method, client and server
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method, a client, and a server for displaying multidimensional parameters.
Background
Based on the rapid development of the intelligent terminal, a user can install various application programs on the intelligent terminal to check data of various virtual resources. For example, a user installs a financial data-oriented application on a mobile terminal, and can view various types of data of virtual resources such as stocks, funds, foreign exchanges, and the like.
At present, when data of virtual resources are displayed, each virtual resource has a plurality of key indexes or parameters, and only data of one parameter can be displayed on one page. Because a user often needs to check data of a plurality of parameters in one page for analysis, judgment and decision, the current display mode is inconvenient for the user to browse and check, and the resource utilization rate of the page is low, so that the use experience of the user is influenced, and the resource utilization rate of a client is reduced.
Disclosure of Invention
In view of this, the present invention provides a method, a client and a server for displaying multidimensional parameters, which can improve user experience and resource utilization rate of the client when displaying virtual resources.
The technical scheme of the invention is realized as follows:
the invention provides a method for displaying multidimensional parameters, which is applied to a client and comprises the following steps:
acquiring a first scale factor of each parameter in N parameters of at least one virtual resource from a server, wherein the server calculates an average value and a minimum value of the parameter in all the virtual resources aiming at each parameter, calculates the first scale factor of the parameter according to the average value, the minimum value and a numerical value of the parameter aiming at each parameter of each virtual resource, and N is a positive integer;
when a display interface of a virtual resource is loaded, generating a first display position on the display interface; and a process for the preparation of a coating,
and drawing a first N-edge graph of the virtual resource according to the first scale factor, and displaying the first N-edge graph on the first display position.
The invention also provides a multi-dimensional parameter display method, which is applied to a server and comprises the following steps:
obtaining a numerical value of each parameter in N parameters of at least one virtual resource, wherein N is a positive integer;
for each parameter, calculating the average value and the minimum value of the parameter in all virtual resources;
for each parameter of each virtual resource, calculating the first scale factor of the parameter according to the average value, the minimum value and the value of the parameter; and a process for the preparation of a coating,
sending the first scale factor of each of the N parameters of the at least one virtual resource to a client, so that the client draws a first N-edge graph of each virtual resource according to the first scale factor, and displays the first N-edge graph on a first display bit.
The present invention also provides a client, including:
an obtaining module, configured to obtain, from a server, a first scale factor of each of N parameters of at least one virtual resource, where the server calculates, for each parameter, an average value and a minimum value of the parameter in all virtual resources, and calculates, for each parameter of each virtual resource, the first scale factor of the parameter according to the average value, the minimum value, and a value of the parameter, where N is a positive integer;
the generating module is used for generating a first display position on a display interface when the display interface of a virtual resource is loaded;
the drawing module is used for drawing a first N-edge graph of the virtual resource according to the first scale factor obtained by the obtaining module; and a process for the preparation of a coating,
and the display module is used for displaying the first N-edge graph obtained by the drawing module on the first display position generated by the generation module.
The present invention provides a server, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring the numerical value of each parameter in N parameters of at least one virtual resource, and N is a positive integer;
the calculation module is used for calculating the average value and the minimum value of each parameter in all the virtual resources; for each parameter of each virtual resource, calculating the first scale factor of the parameter according to the average value, the minimum value and the value of the parameter; and a process for the preparation of a coating,
a sending module, configured to send the first scaling factor of each of the N parameters of the at least one virtual resource to a client, so that the client draws a first N-edge graph of each virtual resource according to the first scaling factor, and displays the first N-edge graph on a first display bit.
Compared with the prior art, the method provided by the invention can display more parameter information on a single page, and even if the parameters have great difference in numerical value, the parameters can be displayed to the user in the same N-edge graph, and the method is not required to be completed by switching among a plurality of interfaces in the traditional data display method, so that the waste of interface resources is avoided, and the user experience and the resource utilization rate of a client during displaying virtual resources are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. Wherein the content of the first and second substances,
FIG. 1 is an exemplary flow chart of a method for presenting multidimensional parameters in accordance with one embodiment of the present invention;
FIG. 2 is an exemplary flow chart for drawing a first N-sided polygon according to one embodiment of the present invention;
FIG. 3 is a schematic interface diagram showing a first N-sided polygon according to an embodiment of the invention;
FIG. 4 is an exemplary flow chart of a method for presenting multidimensional parameters in accordance with another embodiment of the present invention;
FIG. 5 is a schematic diagram of an interface showing a first N-sided polygon and historical data, according to an embodiment of the invention;
FIG. 6 is an exemplary flow chart of a method for presenting multidimensional parameters in accordance with yet another embodiment of the present invention;
FIG. 7 is a schematic diagram of an interface showing a first N-sided polygon and a second N-sided polygon, according to an embodiment of the invention;
FIG. 8 is an exemplary flow chart of a method for presenting multidimensional parameters in accordance with one embodiment of the present invention;
FIG. 9 is an exemplary flow chart of a method for presenting multidimensional parameters in accordance with one embodiment of the present invention;
FIG. 10a is a schematic diagram of an interface for calculating a scale factor according to an embodiment of the invention;
FIG. 10b is a schematic diagram of an interface for calculating a scale factor according to another embodiment of the present invention;
FIG. 11 is an exemplary flow chart of a method for presenting multidimensional parameters in accordance with another embodiment of the present invention;
FIG. 12 is a block diagram of a client according to an embodiment of the present invention;
FIG. 13 is a block diagram of a client according to another embodiment of the present invention;
FIG. 14 is a block diagram of a server according to an embodiment of the invention;
fig. 15 is a schematic structural diagram of a server according to another embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is an exemplary flowchart of a method for displaying multidimensional parameters according to an embodiment of the present invention. The method is applied to the client. As shown in fig. 1, the method may include the steps of:
step 101, obtaining a first scale factor of each of N parameters of at least one virtual resource from a server.
In this step, the server calculates, for each parameter, an average value and a minimum value of the parameter in all virtual resources, and calculates, for each parameter of each virtual resource, a first scale factor of the parameter according to the average value, the minimum value, and a value of the parameter, where N is a positive integer.
In particular implementations, the server may build a multidimensional parameter list for a plurality of virtual resources belonging to the same industry and maintain the list periodically, e.g., updating the data in the list every quarter. If there are M virtual resources S1,…SMEach virtual resource corresponds to N parameters P1,…PNThen, the value of each parameter of each virtual resource is recorded in the multidimensional parameter list, and for each parameter, the corresponding values of all virtual resources are averaged to obtain an average value E1,…ENAnd counting the minimum value min1,…minN
Table 1 is a multi-dimensional parameter list according to an embodiment of the present invention. As shown in table 1, N ═ 5, P1,…P5Respectively representing net profit rate, business income, net asset profitability, income per share and gross profit rate; m is 100, S1,…S100Respectively corresponding to 100 stocks, and the 100 stocks belong to the same mining industry. The 5 parameter values for each stock are listed in table 1. For example, stock S1Named gold, code 600489 (not shown in the table), P1Net profit margin of 54.1%, P2The income of business is 16.9 million yuan, P3Net asset profitability of 57.3%, P4The income per share is 10.2 yuan, P5The gross profit rate is 30.0%.
In addition, the average value E of the kth parameter in the industry is given in the last two rows of the tablekAnd minimum value minkAnd k is 1, … 5. For all stocks, EkAnd minkIs unique.
Figure BDA0001122669390000041
Figure BDA0001122669390000051
TABLE 1 multidimensional parameter List
Step 102, when a display interface of a virtual resource is loaded, generating a first display position on the display interface.
Here, the first display position is an area for displaying the first N-polygon map in one page of the client. When the first display position is generated, the client determines the shape, size, specific position information and other data of the area.
Step 103, drawing a first N-edge graph of the virtual resource according to the first scale factor, and displaying the first N-edge graph on the first display position.
Considering the difference of the unit and the size of each parameter, when the N-shaped edge graph is drawn, each coordinate axis starting from the central point along the radius is an independent coordinate axis. For the coordinate axis corresponding to each parameter, the center point of the N-polygon corresponds to the minimum value min, and the vertex of the N-polygon is determined at its specific position on the radius according to the first scale factor.
Specifically, fig. 2 is an exemplary flowchart for drawing a first N-polygon map according to an embodiment of the present invention. As shown in fig. 2, the drawing of the first N-edge graph of the virtual resource according to the first scale factor includes the following steps:
step 1031, dividing the preset circle into N parts to obtain N points on the circle, wherein each point corresponds to a parameter.
In this step, the division may be uniform, i.e., a circle is equally divided into N parts; or the circle can be divided into N parts with different areas by non-uniform division. The segmentation method will affect the side length and shape of the N-th deformation map, which is not specifically limited by the present invention.
Step 1032, for each parameter, determining a length according to the first scale factor of the parameter, and determining a vertex with the length as the distance between the vertex and the center point of the circle on the radius where the point corresponding to the parameter is located.
And 1033, sequentially connecting the determined N vertexes to draw a first N-edge graph.
Fig. 3 is a schematic interface diagram showing a first N-sided polygon according to an embodiment of the invention. As shown in FIG. 3, in display interface 300, box 310 gives the name of virtual resource S1: gold (code: 600489), box 320 is the area defined by the first display site, and in 320, the circle 321 is divided into 5 non-uniform parts, resulting in 5 points: d1, d2, d3, d4 and d5 (as indicated by solid black dots), respectively corresponding to the parameters: net profit margin, revenue to business, net asset profitability, profits per share, and gross profit margin. The center point of circle 321 is 0, and according to step 1032, 5 vertices are determined to be: v1, v2, v3, v4 and v5 (shown as open triangles), where v4 and d4 overlap and v5 and d5 overlap, indicate that the values of these two parameters are greater than the corresponding mean values, while the values of the other three parameters are less than the corresponding values. The 5 vertices are connected in sequence, and the resulting first pentagon is shown at 322.
In an embodiment, the client obtains the value of each of the N parameters of the virtual resource from the server, and in response to a user operating the first N-edge graph, the value of the parameter corresponding to each point on the circle is displayed around the point. As shown in FIG. 3, when the user clicks on any one of the positions of the first pentagon 322, the corresponding specific values of each parameter are identified around each of the points d1, d2, d3, d4 and d5, and these values are associated with the stock S as given in Table 11The parameters (named gold) are the same, for example, the revenue is 16.9 billion yuan.
In this embodiment, a first scale factor of each of N parameters of at least one virtual resource is obtained from a server, when a display interface of a virtual resource is loaded, a first display position is generated on the display interface, a first N-edge graph of the virtual resource is drawn according to the first scale factor, and the first N-edge graph is displayed on the first display position, so that more parameter information can be displayed on a single page.
Fig. 4 is an exemplary flowchart of a method for displaying multidimensional parameters according to another embodiment of the present invention. As shown in fig. 4, the method comprises the following steps:
step 401, a first scale factor and historical data of each of N parameters of at least one virtual resource are obtained from a server.
Step 402, when a display interface of a virtual resource is loaded, a first display position and a second display position are generated on the display interface.
In this step, the first display bit and the second display bit are located in the same page, the second display bit is used to display the history data of a certain parameter, and the specific location thereof may be located around the first display bit, for example, below the first display bit.
Step 403, drawing a first N-polygon map of the virtual resource according to the first scale factor, and determining N vertices on the first N-polygon map.
And 404, displaying the first N-edge graph on the first display position, and displaying the historical data of a parameter on the second display position in response to the operation of the user on the vertex corresponding to the parameter.
Fig. 5 is a schematic diagram of an interface showing a first N-edge graph and historical data according to an embodiment of the invention. As shown in fig. 5, on the basis of fig. 3, the values of 5 parameters in 2016 first quarter are shown in the first display position 320, and the area defined by the second display position is shown in the block 510, and after the user clicks the vertex v2 in 322, the historical data of the parameter "revenue" is shown in the form of a bar chart on the second display position, including the values of revenue in 2011 + 2015.
In this embodiment, the first N-edge diagram is displayed on the first display position, and the historical data of a parameter is displayed on the second display position in response to an operation performed by a user on a vertex corresponding to the parameter, so that the content of the multidimensional parameter is fully displayed on the same page, and meanwhile, a single parameter is also displayed in detail, and the viewing experience of the user and the resource utilization rate of the page are further improved.
Fig. 6 is an exemplary flowchart of a method for displaying multidimensional parameters according to another embodiment of the present invention. The method is applied to the client. As shown in fig. 6, the method may include the steps of:
step 601, obtaining a first scaling factor and a second scaling factor of each of N parameters of at least one virtual resource from a server.
Here, the first scale factor indicates a ratio of a value of a certain parameter of a virtual resource to a radius; and the second scale factor indicates the ratio of the industry average of the parameter over the radius. The two scaling factors are on a circle and are determined by the value of a certain parameter of a certain virtual resource, the industry average value and the minimum value of the parameter. That is, both the first scale factor and the second scale factor are associated with a virtual resource. For each virtual resource, the first scaling factor and the second scaling factor are recalculated.
Step 602, when a display interface of a virtual resource is loaded, a first display bit is generated on the display interface.
Step 603, drawing a first N-polygon map of the virtual resource according to the first scale factor, and drawing a second N-polygon map of the virtual resource according to the second scale factor.
Similar to the method for drawing the first N-polygon map in fig. 2, drawing the second N-polygon map of the virtual resource according to the second scale factor includes the following steps:
step 6031, divide the preset circle into N to get N points on the circle, where each point corresponds to a parameter.
Step 6032, for each parameter, determining a length according to the second scale factor, and determining a vertex with a distance from the center point of the circle as the length on the radius of the point corresponding to the parameter.
And 6033, sequentially connecting the determined N vertexes to draw a second N-edge graph.
And step 604, displaying the first N-edge graph and the second N-edge graph on the first display position.
In this step, the central points of the first N-polygon map and the second N-polygon map are overlapped, the first N-polygon map and the second N-polygon map are based on the same circle, and N points on the circle respectively correspond to the same parameter. The first N-sided graph shows values of N parameters of a virtual resource, and the second N-sided graph shows an industry average of the N parameters. For the same parameter, the vertices of the two N-polygon plots lie on the same radius. In order to distinguish the first N-polygon map from the second N-polygon map, the first N-polygon map may be set from a line shape of a side, a fill color of the N-polygon map, or the like.
Fig. 7 is a schematic interface diagram showing a first N-sided polygon and a second N-sided polygon according to an embodiment of the invention. As shown in fig. 7, the typeface of "key parameter versus industry mean" is identified in block 720 to represent the meaning of presenting the first N-edge graph and the second N-edge graph, respectively. In the first display position shown in block 730, the first pentagonal graph 322 is connected by a dashed line and the second pentagonal graph 732 is connected by a solid line, both based on the same circle 321 and having the same center point O, the five vertices of the second pentagonal graph 732 are represented by e1, e2, e3, e4 and e5 (shown as open hexagons), respectively.
In one embodiment, the average value of each parameter is obtained from the server, and the average value of the parameter corresponding to each point on the circle is shown around the point in response to the user operating the second N-polygon map. As shown in fig. 7, in displaying the average value around each point, in order to more clearly display the value on the first display position, identification is performed around the concentric circle 731 of the circle 321, specifically, the values of the five average values are indicated outside the point where the extended line of the radius intersects the concentric circle 731, and the specific values are consistent with those given in table 1. For example, revenue averages 20.7 billion dollars.
In this embodiment, through showing first N-edge graph and second N-edge graph on first display position for the two can demonstrate on same display position simultaneously, can audio-visually demonstrate the comparative level of every virtual resource and trade, make the user can carry out effectual contrast, clearly learn the level that N parameter is located in the trade, further improved user's use experience.
FIG. 8 is an exemplary flowchart of a method for displaying multidimensional parameters according to an embodiment of the present invention. The method is applied to the client. As shown in fig. 8, the method may include the steps of:
step 801, obtaining a first scale factor, a second scale factor and historical data of each of N parameters of at least one virtual resource from a server.
Here, the first scale factor and the second scale factor are used for reflecting the comparison between the key parameter and the industry average value, and the historical data further shows the development trend of a certain key parameter from other dimensions (e.g. time).
Step 802, when a display interface of a virtual resource is loaded, a first display position and a second display position are generated on the display interface.
Step 803, a first N-polygon map of the virtual resource is drawn according to the first scale factor, and a second N-polygon map of the virtual resource is drawn according to the second scale factor.
And 804, displaying the first N-edge graph and the second N-edge graph on the first display position.
Step 805, in response to the operation performed by the user on the vertex corresponding to the parameter on the first N-edge graph, displaying the history data on the second display position.
Referring to fig. 7, in the page shown at 700, in addition to the first and second pentagonal panels 322 and 732 being shown at the first display position, historical data of revenue of the virtual resource S1 is also shown at the second display position.
Of course, the history of the average value may also be shown on the second display bit, but is constant for all virtual resources.
The historical data may be displayed in the form of a two-dimensional graph or a three-dimensional graph in the form of a line graph, a dot line graph, or the like, in addition to the bar graph shown in fig. 7, which is not particularly limited in the present invention.
According to the embodiment, the proportion of N key parameters in the industry is clearly displayed through visual design, specific data are further displayed in a histogram mode when a certain parameter is clicked, the pentagonal graph and the histogram are perfectly combined, and user experience is improved.
The above embodiment is a client side method. The following embodiments are methods corresponding to the server side. FIG. 9 is an exemplary flowchart of a method for displaying multidimensional parameters according to an embodiment of the present invention. The method is applied to the server. As shown in fig. 9, the method may include the steps of:
step 901, obtaining a numerical value of each of N parameters of at least one virtual resource, where N is a positive integer.
Here, the N parameters may be selected in advance by the server, for example, the parameters are sorted according to the importance or priority of all the parameters of the virtual resource, and the top N parameters are taken out for processing. Alternatively, the N parameters may be specified by the user in the client and then reported to the server, so that the server knows which N parameters to process.
For each parameter, the average value and the minimum value of the parameter in all virtual resources are calculated, step 902.
Here, when calculating the average value, in addition to the arithmetic average, weighted average may be performed, that is, the specific gravity of the M virtual resources in the same industry is averaged as a weighted value.
And 903, calculating a first scale factor of each parameter of each virtual resource according to the average value, the minimum value and the value of the parameter.
In this step, calculating a first scale factor of the parameter according to the average value, the minimum value, and the value of the parameter includes:
if the value of the parameter is greater than or equal to the average value, the first scaling factor is 100%;
if the value of the parameter is smaller than the average value, the difference between the average value and the minimum value is recorded as a first difference value, the difference between the value of the parameter and the minimum value is recorded as a second difference value, and the ratio of the second difference value to the first difference value is calculated as a first scale factor.
Assume that the kth (k 1, … N) parameter of the jth (j 1, … M) virtual resource is SjPkIs expressed by the average value and the minimum value respectivelykAnd minkThe first scale factor is represented by r1kTo indicate. FIG. 10a is a schematic diagram of an interface for calculating a scale factor according to an embodiment of the invention, wherein SjPk>EkThen r1 k100%. FIG. 10b is a schematic diagram of an interface for calculating a scale factor according to another embodiment of the present invention, wherein SjPk<EkThen r1k=(SjPk-mink)/(Ek-mink). Wherein, r1kFor determining the positions of the vertices in the first N-th deformation map, the hollow triangles are corresponding.
Step 904, sending the first scale factor of each of the N parameters of the at least one virtual resource to the client, so that the client draws the first N-edge graph of each virtual resource according to the first scale factor, and displays the first N-edge graph on the first display bit.
Fig. 11 is an exemplary flowchart of a method for displaying multidimensional parameters according to another embodiment of the present invention. The method is applied to the server. As shown in fig. 11, the method may include the steps of:
step 1101, obtaining a numerical value of each of N parameters of at least one virtual resource, where N is a positive integer.
Step 1102, for each parameter, calculating the average value and the minimum value of the parameter in all virtual resources.
Step 1103, for each parameter of each virtual resource, calculating a first scale factor of the parameter and a second scale factor of the average value according to the average value, the minimum value and the value of the parameter.
Wherein, similar to the method of calculating the first scaling factor in step 903, calculating the second scaling factor for the average value based on the average value, the minimum value, and the value of the parameter comprises:
if the value of the parameter is larger than or equal to the average value, recording the difference between the average value and the minimum value as a first difference value, recording the difference between the value of the parameter and the minimum value as a second difference value, and calculating the ratio of the first difference value to the second difference value as a second scale factor; if the value of the parameter is less than the average value, the second scaling factor is 100%.
As shown in FIG. 10a, SjPk≥EkThen r2k=(Ek-mink)/(SjPk-mink). As shown in FIG. 10b, SjPk<EkThen r2 k100%. Wherein, r2kThe positions of the vertices in the second N-th deformation map are determined, which correspond to the hollow hexagons.
Step 1104, sending the first scale factor and the corresponding second scale factor of each of the N parameters of the at least one virtual resource to the client, so that the client draws a first N-polygon graph of each virtual resource according to the first scale factor, draws a second N-polygon graph of each virtual resource according to the second scale factor, and displays the first N-polygon graph and the second N-polygon graph on the first display position.
Fig. 12 is a schematic structural diagram of a client according to an embodiment of the present invention. As shown in fig. 12, the client 1200 includes an acquisition module 1210, a generation module 1220, a drawing module 1230, and a presentation module 1240, wherein,
an obtaining module 1210, configured to obtain, from a server, a first scaling factor of each parameter of N parameters of at least one virtual resource, where the server calculates, for each parameter, an average value and a minimum value of the parameter in all virtual resources, and calculates, for each parameter of each virtual resource, the first scaling factor of the parameter according to the average value, the minimum value, and a numerical value of the parameter, where N is a positive integer;
the generating module 1220 is configured to generate a first display bit on a display interface when the display interface of a virtual resource is loaded;
a drawing module 1230, configured to draw a first N-edge graph of the virtual resource according to the first scale factor obtained by the obtaining module 1210; and a process for the preparation of a coating,
a display module 1240, configured to display the first N-polygon map obtained by the drawing module 1230 on the first display position generated by the generation module 1220.
In an embodiment, the drawing module 1230 is configured to divide the preset circle into N parts to obtain N points on the circle, where each point corresponds to a parameter; for each parameter, determining a length according to a first scale factor of the parameter, and determining a vertex with the length as the distance between the vertex and the center point of the circle on the radius of the point corresponding to the parameter; and sequentially connecting the determined N vertexes to draw a first N-edge graph.
In an embodiment, the obtaining module 1210 is further configured to obtain, from the server, a value of each of the N parameters of the virtual resource;
the display module 1240 is further configured to display, in response to the user operating the first N-polygon map, values of the parameters corresponding to each point on the circle around the point
In an embodiment, the obtaining module 1210 is further configured to, for each parameter, obtain historical data of the parameter from a server;
the generating module 1220 is further configured to generate a second display position on the display interface;
the display module 1240 is further configured to display the history data obtained by the obtaining module on the second display position generated by the generating module 1220 in response to the operation performed by the user on the vertex corresponding to the parameter.
In an embodiment, the obtaining module 1210 is further configured to obtain, from the server, a second scale factor of each of the N parameters of the at least one virtual resource, where the server calculates, for each parameter of each virtual resource, the second scale factor of the average according to the average, the minimum, and the value of the parameter;
the drawing module 1230 is further configured to draw a second N-edge graph of the virtual resource according to the second scale factor obtained by the obtaining module 1210;
the display module 1240 is further configured to display the second N-polygon map obtained by the drawing module 1230 at the first display position, wherein the center points of the first N-polygon map and the second N-polygon map overlap each other.
Fig. 13 is a schematic structural diagram of a client according to another embodiment of the present invention. The client 1300 may include: a processor 1310, a memory 1320, a port 1330, and a bus 1340. The processor 1310 and the memory 1320 are interconnected by a bus 1340. Processor 1310 may receive and transmit data via port 1330. Wherein the content of the first and second substances,
processor 1310 is configured to execute modules of machine-readable instructions stored in memory 1320.
Memory 1320 stores modules of machine-readable instructions executable by processor 1310. The processor 1310 may execute instruction modules including: an acquisition module 1321, a generation module 1322, a rendering module 1323, and a presentation module 1324. Wherein the content of the first and second substances,
the obtaining module 1321 when executed by the processor 1310 may be: acquiring a first scale factor of each parameter in N parameters of at least one virtual resource from a server, wherein the server calculates an average value and a minimum value of the parameter in all the virtual resources aiming at each parameter, calculates the first scale factor of the parameter according to the average value, the minimum value and the value of the parameter aiming at each parameter of each virtual resource, and N is a positive integer;
the generation module 1322 when executed by the processor 1310 may be: when a display interface of a virtual resource is loaded, generating a first display position on the display interface;
rendering module 1323, when executed by processor 1310, may be: drawing a first N-edge graph of the virtual resource according to the first scale factor obtained by the obtaining module 1321; and a process for the preparation of a coating,
presentation module 1324 when executed by processor 1310 may be: the first N-polygon map obtained by the drawing module 1323 is displayed on the first display position generated by the generating module 1322.
It can thus be seen that the modules of instructions stored in memory 1320, when executed by processor 1310, enable the various functions of the fetch module, generate module, render module, and expose module in the various embodiments described above.
Fig. 14 is a schematic structural diagram of a server according to an embodiment of the present invention. As shown in fig. 14, the server 1400 includes:
an obtaining module 1410, configured to obtain a numerical value of each of N parameters of at least one virtual resource, where N is a positive integer;
a calculating module 1420, configured to calculate, for each parameter, an average value and a minimum value of the parameter in all virtual resources; calculating a first scale factor of each parameter of each virtual resource according to the average value, the minimum value and the value of the parameter; and a process for the preparation of a coating,
the sending module 1430 is configured to send the first scale factor of each of the N parameters of the at least one virtual resource to the client, so that the client draws the first N-edge graph of each virtual resource according to the first scale factor, and displays the first N-edge graph on the first display bit.
In an embodiment, the calculating module 1420 is further configured to, for each parameter of each virtual resource, calculate a second scale factor of the average value according to the average value, the minimum value, and the value of the parameter;
the sending module 1430 is further configured to send the second scale factor of each of the N parameters of all the virtual resources to the client, so that the client draws the second N-edge graph of each virtual resource according to the second scale factor and displays the second N-edge graph on the first display position.
Fig. 15 is a schematic structural diagram of a server according to another embodiment of the invention. The server 1500 may include: a processor 1510, memory 1520, ports 1530, and a bus 1540. The processor 1510 and memory 1520 are interconnected by a bus 1540. Processor 1510 can receive and transmit data through port 1530. Wherein the content of the first and second substances,
the processor 1510 is configured to execute modules of machine-readable instructions stored by the memory 1520.
The memory 1520 stores modules of machine-readable instructions executable by the processor 1510. The processor 1510 can execute instruction modules including: an obtaining module 1521, a calculating module 1522 and a sending module 1523. Wherein the content of the first and second substances,
the obtaining module 1521, when executed by the processor 1510, may be: obtaining a numerical value of each parameter in N parameters of at least one virtual resource, wherein N is a positive integer;
the calculation module 1522, when executed by the processor 1510, may be: for each parameter, calculating the average value and the minimum value of the parameter in all virtual resources; calculating a first scale factor of each parameter of each virtual resource according to the average value, the minimum value and the value of the parameter; and a process for the preparation of a coating,
the sending module 1523, when executed by the processor 1510, may be: and sending the first scale factor of each of the N parameters of the at least one virtual resource to the client, so that the client draws a first N-edge graph of each virtual resource according to the first scale factor, and displays the first N-edge graph on the first display position.
It can thus be seen that the various functions of the acquisition module, the computation module, and the transmission module of the various embodiments described above may be implemented when modules of instructions stored in the memory 1520 are executed by the processor 1510.
In the above device and system embodiments, the specific method for each module and unit to implement its own function is described in the method embodiment, and is not described here again.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
In addition, each of the embodiments of the present invention can be realized by a data processing program executed by a data processing apparatus such as a computer. It is clear that the data processing program constitutes the invention. Further, the data processing program, which is generally stored in one storage medium, is executed by directly reading the program out of the storage medium or by installing or copying the program into a storage device (such as a hard disk and/or a memory) of the data processing device. Such a storage medium therefore also constitutes the present invention. The storage medium may use any type of recording means, such as a paper storage medium (e.g., paper tape, etc.), a magnetic storage medium (e.g., a flexible disk, a hard disk, a flash memory, etc.), an optical storage medium (e.g., a CD-ROM, etc.), a magneto-optical storage medium (e.g., an MO, etc.), and the like.
The invention therefore also discloses a storage medium in which a data processing program is stored which is designed to carry out any one of the embodiments of the method according to the invention described above.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (21)

1. A method for displaying multidimensional parameters is applied to a client, and comprises the following steps:
obtaining a first scaling factor and a second scaling factor of each parameter in N parameters of at least one virtual resource from a server, wherein the server calculates an average value and a minimum value of the parameter in a plurality of virtual resources belonging to the same industry for each parameter, and calculates the first scaling factor of the parameter and the second scaling factor of the average value for each parameter of each virtual resource according to the average value, the minimum value and a value of the parameter, wherein if the value of the parameter is greater than or equal to the average value, the first scaling factor is 100%; if the value of the parameter is smaller than the average value, the second scale factor is 100%, and N is a positive integer;
when a display interface of a virtual resource is loaded, generating a first display position on the display interface; drawing a first N-edge graph of the virtual resource according to the first scale factor of each parameter, and drawing a second N-edge graph of the virtual resource according to the second scale factor of each parameter, wherein a central point corresponds to the minimum value for a coordinate axis corresponding to each parameter; displaying the first N-sided polygon map and the second N-sided polygon map on the first display position.
2. The method of claim 1, wherein said plotting a first N-sided polygon of the virtual resource according to the first scaling factor for each parameter comprises:
dividing a preset circle into N parts to obtain N points on the circle, wherein each point corresponds to a parameter;
for each parameter, determining the length according to the first scale factor of the parameter, and determining a vertex with the distance from the central point as the length on the radius of the point corresponding to the parameter;
and sequentially connecting the determined N vertexes to draw the first N-edge graph.
3. The method of claim 2, further comprising:
acquiring the numerical value of each parameter in the N parameters of the virtual resource from the server;
and responding to the operation of the user on the first N-edge graph, and displaying the numerical value of the parameter corresponding to each point on the circle around the point.
4. The method of claim 2 or 3, further comprising:
for each parameter, acquiring historical data of the parameter from the server;
generating a second display position on the display interface;
and displaying the historical data on the second display position in response to the operation of the user on the vertex corresponding to the parameter.
5. The method of any one of claims 1 to 3, wherein center points of the first and second N-gon graphs overlap each other.
6. The method of claim 1, wherein said plotting a second N-sided polygon of the virtual resource according to the second scale factor for each parameter comprises:
dividing a preset circle into N parts to obtain N points on the circle, wherein each point corresponds to a parameter;
for each parameter, determining the length according to the second scale factor of the parameter, and determining a vertex with the distance from the central point as the length on the radius of the point corresponding to the parameter;
and sequentially connecting the determined N vertexes to draw the second N-edge graph.
7. The method of claim 6, further comprising:
obtaining the average value of each parameter from the server;
in response to a user operation on the second N-edge graph, displaying the average value of the parameter corresponding to each point on the circle around the point.
8. A multi-dimensional parameter display method is applied to a server, and comprises the following steps:
obtaining a numerical value of each parameter in N parameters of at least one virtual resource, wherein N is a positive integer;
calculating the average value and the minimum value of each parameter in a plurality of virtual resources belonging to the same industry;
for each parameter of each virtual resource, calculating a first scale factor of the parameter and a second scale factor of the average value according to the average value, the minimum value and the value of the parameter, wherein if the value of the parameter is greater than or equal to the average value, the first scale factor is 100%; if the value of the parameter is less than the average value, the second scale factor is 100%; and a process for the preparation of a coating,
sending the first scaling factor and the second scaling factor of each of the N parameters of the at least one virtual resource to a client, so that the client draws a first N-edge graph of the virtual resource according to the first scaling factor of each parameter, and draws a second N-edge graph of the virtual resource according to the second scaling factor of each parameter, wherein for a coordinate axis corresponding to each parameter, a central point corresponds to the minimum value; and displaying the first N-sided polygon map and the second N-sided polygon map at a first display position.
9. The method of claim 8, further comprising:
and sequencing according to the importance or priority of all the parameters of the virtual resources, and taking the top N parameters as the N parameters of the virtual resources.
10. The method of claim 8, wherein if the value of the parameter is less than the average value, the calculating the first scaling factor for the parameter based on the average value, the minimum value, and the value of the parameter comprises:
and recording the difference between the average value and the minimum value as a first difference value, recording the difference between the value of the parameter and the minimum value as a second difference value, and calculating the ratio of the second difference value to the first difference value as the first scale factor.
11. The method of claim 8, wherein if the value of the parameter is greater than or equal to the average value, the calculating a second scaling factor for the average value based on the average value, the minimum value, and the value of the parameter comprises:
and recording the difference between the average value and the minimum value as a first difference value, recording the difference between the value of the parameter and the minimum value as a second difference value, and calculating the ratio of the first difference value to the second difference value as the second scale factor.
12. A client, comprising:
an obtaining module, configured to obtain, from a server, a first scaling factor and a second scaling factor of each parameter of N parameters of at least one virtual resource, where the server calculates, for each parameter, an average value and a minimum value of the parameter in a plurality of virtual resources belonging to the same industry, and calculates, for each parameter of each virtual resource, the first scaling factor of the parameter and the second scaling factor of the average value according to the average value, the minimum value, and a value of the parameter, where the first scaling factor is 100% if the value of the parameter is greater than or equal to the average value; if the value of the parameter is smaller than the average value, the second scale factor is 100%, and N is a positive integer;
the generating module is used for generating a first display position on a display interface when the display interface of a virtual resource is loaded;
a drawing module, configured to draw a first N-edge graph of the virtual resource according to the first scale factor of each of the N parameters obtained by the obtaining module, and draw a second N-edge graph of the virtual resource according to the second scale factor of each of the parameters, where for a coordinate axis corresponding to each of the parameters, a central point corresponds to the minimum value; and a process for the preparation of a coating,
and the display module is used for displaying the first N-edge graph and the second N-edge graph obtained by the drawing module on the first display position generated by the generation module.
13. The client according to claim 12, wherein the drawing module is configured to divide a preset circle into N parts to obtain N points on the circle, where each point corresponds to a parameter; for each parameter, determining the length according to the first scale factor of the parameter, and determining a vertex with the distance from the central point as the length on the radius of the point corresponding to the parameter; and sequentially connecting the determined N vertexes to draw the first N-edge graph.
14. The client according to claim 13, wherein the obtaining module is further configured to obtain, from the server, a value of each of the N parameters of the virtual resource;
the display module is further used for responding to the operation of the user on the first N-edge graph, and displaying the numerical value of the parameter corresponding to each point on the circle around the point.
15. The client according to claim 13 or 14, wherein the obtaining module is further configured to, for each parameter, obtain historical data of the parameter from the server;
the generating module is further used for generating a second display position on the display interface;
the display module is further configured to display, in response to an operation performed by a user on a vertex corresponding to the parameter, the historical data obtained by the obtaining module on the second display position generated by the generating module.
16. The client according to any one of claims 12 to 14, wherein center points of the first and second N-polygon maps overlap each other.
17. A server, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring the numerical value of each parameter in N parameters of at least one virtual resource, and N is a positive integer;
the calculation module is used for calculating the average value and the minimum value of each parameter in a plurality of virtual resources belonging to the same industry; for each parameter of each virtual resource, calculating a first scale factor of the parameter and a second scale factor of the average value according to the average value, the minimum value and the value of the parameter, wherein if the value of the parameter is greater than or equal to the average value, the first scale factor is 100%; if the value of the parameter is less than the average value, the second scale factor is 100%; and a process for the preparation of a coating,
a sending module, configured to send the first scaling factor and the second scaling factor of each of the N parameters of the at least one virtual resource to a client, so that the client draws a first N-edge graph of the virtual resource according to the first scaling factor of each parameter, and draws a second N-edge graph of the virtual resource according to the second scaling factor of each parameter, where for a coordinate axis corresponding to each parameter, a central point corresponds to the minimum value; and displaying the first N-sided polygon map and the second N-sided polygon map at a first display position.
18. The server according to claim 17, wherein the obtaining module is further configured to take the top N parameters as the N parameters of the virtual resource according to a ranking of importance or priority of all parameters of the virtual resource.
19. A terminal comprising a memory and a processor, the memory having stored therein computer-readable instructions which, when executed by the processor, implement the method of any one of claims 1 to 7.
20. A server comprising a memory and a processor, the memory having stored therein computer-readable instructions which, when executed by the processor, implement the method of any one of claims 8 to 11.
21. A computer-readable storage medium having computer-readable instructions stored thereon which, when executed by at least one processor, implement the method of any one of claims 1 to 11.
CN201610862655.9A 2016-09-28 2016-09-28 Multi-dimensional parameter display method, client and server Active CN107870817B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610862655.9A CN107870817B (en) 2016-09-28 2016-09-28 Multi-dimensional parameter display method, client and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610862655.9A CN107870817B (en) 2016-09-28 2016-09-28 Multi-dimensional parameter display method, client and server

Publications (2)

Publication Number Publication Date
CN107870817A CN107870817A (en) 2018-04-03
CN107870817B true CN107870817B (en) 2021-11-26

Family

ID=61761020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610862655.9A Active CN107870817B (en) 2016-09-28 2016-09-28 Multi-dimensional parameter display method, client and server

Country Status (1)

Country Link
CN (1) CN107870817B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103268574A (en) * 2013-05-27 2013-08-28 安顺供电局 Power system monitoring data displaying method
CN105868087A (en) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 A display method and device for multi-index data in a monitoring system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101339665A (en) * 2008-08-21 2009-01-07 金蝶软件(中国)有限公司 Method and device for automatically creating radar graph
CN102467684B (en) * 2010-11-15 2016-08-31 中国人民解放军63928部队 Based on the synthetic performance evaluation system and method improving radar map
US20150379529A1 (en) * 2014-06-28 2015-12-31 Gennady Batrakov System, service and methodology of data collection, processing, analysis and effective delivery of dashboard snapshot presentations of organized customer proprietary information on an individualized secure basis to multiple customers
CN105894552A (en) * 2015-11-20 2016-08-24 乐视致新电子科技(天津)有限公司 Statistical data processing method and device
CN105956747A (en) * 2016-04-22 2016-09-21 中南大学 Corporate reputation evaluation visualization method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103268574A (en) * 2013-05-27 2013-08-28 安顺供电局 Power system monitoring data displaying method
CN105868087A (en) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 A display method and device for multi-index data in a monitoring system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于R语言的多元数据统计图形可视化;王怀亮;《企业导报》;20130527(第8期);第283页 *

Also Published As

Publication number Publication date
CN107870817A (en) 2018-04-03

Similar Documents

Publication Publication Date Title
CN101447091B (en) Method and apparatus for processing graphics
WO2021109775A1 (en) Methods and devices for generating training sample, training model and recognizing character
CN107944324A (en) A kind of Quick Response Code distortion correction method and device
CN110390260A (en) Picture scanning part processing method, device, computer equipment and storage medium
CN110516002B (en) Map-based task display method, device, equipment and storage medium
CN107870911B (en) Data visualization display method and equipment
US10067950B1 (en) Systems and methods for efficiently organizing map styling information
CN106157347B (en) Resource exchange data processing method, device and system
CN112328880A (en) Geographical region clustering method and device, storage medium and electronic equipment
US8355972B2 (en) Systems and methods for displaying information about financial markets
US20160071496A1 (en) Aligning content items with map features
EP3869398A2 (en) Method and apparatus for processing image, device and storage medium
US8935264B2 (en) Characteristic-based selection in a networked computing environment
CN113345048A (en) Geographic information image editing method and device and computer equipment
CN111127590B (en) Second-order Bezier curve drawing method and device
WO2019089159A1 (en) Priority based automatic placement of labels on charts
CN107870817B (en) Multi-dimensional parameter display method, client and server
CN112506976B (en) Data flow display method and device, electronic equipment and storage medium
CN114564268A (en) Equipment management method and device, electronic equipment and storage medium
CN110647599B (en) Method and apparatus for displaying information
CN113762109A (en) Training method of character positioning model and character positioning method
CN111369676B (en) Map image processing method and device and vehicle-mounted equipment
CN113447034A (en) Road network data processing method and device, electronic equipment and readable storage medium
CN113723405A (en) Method and device for determining area outline and electronic equipment
Jenness et al. Corridor designer evaluation tools

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
GR01 Patent grant
GR01 Patent grant