CN113220299A - Graphical display method and device - Google Patents

Graphical display method and device Download PDF

Info

Publication number
CN113220299A
CN113220299A CN202110594250.2A CN202110594250A CN113220299A CN 113220299 A CN113220299 A CN 113220299A CN 202110594250 A CN202110594250 A CN 202110594250A CN 113220299 A CN113220299 A CN 113220299A
Authority
CN
China
Prior art keywords
index
sub
processed
preset
association
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110594250.2A
Other languages
Chinese (zh)
Inventor
杨鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110594250.2A priority Critical patent/CN113220299A/en
Publication of CN113220299A publication Critical patent/CN113220299A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/10Requirements analysis; Specification techniques
    • 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06393Score-carding, benchmarking or key performance indicator [KPI] analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Development Economics (AREA)
  • Human Computer Interaction (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Game Theory and Decision Science (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to the technical field of computers, in particular to a graphical display method and a graphical display device, which are used for solving the problem of inaccurate graphical display result of index disassembly in the prior art, and the method comprises the following steps: acquiring an initial index preset corresponding to a task to be displayed and acquiring an index relation set obtained after disassembling the initial index; taking the initial index as a first index to be processed, decomposing the obtained index to be processed and each sub-index corresponding to the index to be processed, association signs among the sub-indexes and association degrees of each sub-index and the index to be processed respectively based on an index relation and a preset rule aiming at the current index to be processed, and taking each sub-index as a new index to be processed respectively, and executing the operation in a circulating manner until an index relation set is traversed, thereby obtaining a final graphical display result; therefore, the obtained final graphical display result is more visual and accurate.

Description

Graphical display method and device
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for graphical display.
Background
For a company to operate, it is often necessary to analyze a new function or an item to be invested, and analyze its contribution to a given target, so as to adjust an operation strategy in real time, and to stop damage in time, thereby ensuring the normal operation of the company.
For example, an Application (APP) is online for an activity, in which points can be added by sharing to friends, and the purpose of the activity is to allow more people to participate in the activity. At this time, the parent index of the activity sharing amount needs to be analyzed, the parent index is decomposed into various child indexes, and the correlation between the parent index and the child indexes is displayed by using a graph.
In the prior art, referring to fig. 1, a graph visualization engine (G6) is usually used to display the correlation between the parent indicator and each child indicator split by the parent indicator, for example, the indicator a is B1+ B2, and the indicator B2 is C1+ C2+ C3, so that the graph visualization engine can display the relationship by using the G6 compact tree layout: the influence ratio of A-B1 is 52%, the influence ratio of A-B2 is 48%, the influence ratio of B2-C1 is 20%, the influence ratio of B2-C2 is 30%, and the influence ratio of B2-C3 is 50%. As can be seen, the compact tree layout using G6 is only a display of the influence ratio of each child index on the parent index.
However, in the field of attribution analysis, since the child indexes may be positively correlated with the parent indexes and may also be negatively correlated with the parent indexes, the display method using the G6 compact tree layout has the problem that the display result is not intuitive and inaccurate.
Therefore, it is necessary to design a new method to solve the above problems.
Disclosure of Invention
The embodiment of the disclosure provides a graphical display method and a graphical display device, which are used for solving the problem that the display result of the graphical display of index disassembly is inaccurate in the prior art.
The specific technical scheme provided by the embodiment of the disclosure is as follows:
in a first aspect, a method of profiling a display, comprising:
acquiring an initial index preset corresponding to a task to be displayed and an index relation set associated with the initial index, wherein the index relation set is acquired by disassembling the initial index;
taking the initial index as a first index to be processed, and circularly executing the following operations until the index relation set is traversed:
obtaining a current index to be processed, and obtaining each corresponding sub-index after the index to be processed is disassembled and an associated symbol between each sub-index based on an index relation corresponding to the index to be processed in the index relation set;
respectively obtaining the association degree of each sub-index and the index to be processed based on the index relation and a preset rule;
performing association display on the obtained to-be-processed index, the obtained sub-indexes, the association degrees corresponding to the sub-indexes and the association symbols among the sub-indexes;
and taking each sub-index as a new index to be processed respectively.
Optionally, after obtaining the preset initial index corresponding to the task to be displayed and before obtaining the index relationship set associated with the initial index, the method further includes:
responding to a disassembling operation triggered by an initial index preset for the task to be displayed, and calling a preset disassembling rule;
and based on each dimension in the preset disassembly rule, disassembling the initial index to obtain an index relation set aiming at the initial index, wherein each dimension represents one disassembly reference attribute of the initial index.
Optionally, after obtaining the association degrees between the respective sub-indicators and the to-be-processed indicator based on the indicator relationship and a preset rule, the method further includes:
for each obtained association degree, the following operations are respectively executed:
when one of the relevance degrees is a positive number, setting the color of a display line between the sub-index corresponding to the relevance degree and the index to be processed as a first color;
and when one of the relevance degrees is a negative number, setting the color of the display line between the sub-index corresponding to the relevance degree and the index to be processed as a second color.
Optionally, the performing a correlation display on the obtained to-be-processed indicator, the obtained sub-indicators, the respective correlation degrees of the sub-indicators, and the correlation symbols between the sub-indicators includes:
displaying the obtained indexes to be processed and the sub-indexes by adopting a compact tree layout algorithm to obtain an intermediate display result;
respectively determining display positions of the associated symbols among the sub-indexes, and correspondingly displaying the associated symbols in the intermediate display result, wherein the display position corresponding to each associated symbol is determined based on the geometric center position between the display positions of the two associated sub-indexes;
respectively determining the width of a display line corresponding to each association degree based on the association degree corresponding to each sub-index;
and performing association display on the index relationship between the index to be processed and each sub-index by adopting a display line in the intermediate display result based on the set color of the display line corresponding to each association degree and the width of the display line corresponding to each association degree, displaying the association degree corresponding to each sub-index on the corresponding display line, and outputting a graphical display result aiming at the index to be processed.
Optionally, determining, based on the respective association degrees of the sub-indicators, the widths of the display lines corresponding to the respective association degrees respectively includes:
screening out the minimum value of the absolute values from the obtained correlation degrees corresponding to the sub-indexes, and setting the width of a display line corresponding to the minimum value as a preset line width value;
for the other relevance degrees except the minimum value, respectively executing the following operations:
when the ratio of the absolute value of one of the other relevance degrees to the minimum value is smaller than a preset line width threshold value, setting the product of the ratio and the preset line width value as the width of the display line corresponding to the relevance degree;
when the absolute value of one of the other relevance degrees is related to the maximum
If the ratio of the small values is greater than or equal to a preset line width threshold value, setting the product of the preset line width threshold value and the preset line width value as the width of the display line corresponding to the relevance degree;
and obtaining the width of the display line corresponding to each association degree.
In a second aspect, an apparatus for graphical presentation, comprises:
the system comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring an initial index preset corresponding to a task to be displayed and acquiring an index relation set associated with the initial index, and the index relation set is acquired by disassembling the initial index;
and the display unit is used for taking the initial index as a first index to be processed, and circularly executing the following operations until the index relation set is traversed:
obtaining a current index to be processed, and obtaining each corresponding sub-index after the index to be processed is disassembled and an associated symbol between each sub-index based on an index relation corresponding to the index to be processed in the index relation set;
respectively obtaining the association degree of each sub-index and the index to be processed based on the index relation and a preset rule;
performing association display on the obtained to-be-processed index, the obtained sub-indexes, the association degrees corresponding to the sub-indexes and the association symbols among the sub-indexes;
and taking each sub-index as a new index to be processed respectively.
Optionally, after obtaining the preset initial index corresponding to the task to be displayed and before obtaining the index relationship set associated with the initial index, the obtaining unit is further configured to:
responding to a disassembling operation triggered by an initial index preset for the task to be displayed, and calling a preset disassembling rule;
and based on each dimension in the preset disassembly rule, disassembling the initial index to obtain an index relation set aiming at the initial index, wherein each dimension represents one disassembly reference attribute of the initial index.
Optionally, after obtaining the association degrees between the sub-indicators and the to-be-processed indicator respectively based on the indicator relationship and a preset rule, the display unit is further configured to:
for each obtained association degree, the following operations are respectively executed:
when one of the relevance degrees is a positive number, setting the color of a display line between the sub-index corresponding to the relevance degree and the index to be processed as a first color;
and when one of the relevance degrees is a negative number, setting the color of the display line between the sub-index corresponding to the relevance degree and the index to be processed as a second color.
Optionally, the obtained to-be-processed index, the sub-indexes, the respective corresponding association degrees of the sub-indexes, and the association symbols between the sub-indexes are associated and displayed, and the display unit is configured to:
displaying the obtained indexes to be processed and the sub-indexes by adopting a compact tree layout algorithm to obtain an intermediate display result;
respectively determining display positions of the associated symbols among the sub-indexes, and correspondingly displaying the associated symbols in the intermediate display result, wherein the display position corresponding to each associated symbol is determined based on the geometric center position between the display positions of the two associated sub-indexes;
respectively determining the width of a display line corresponding to each association degree based on the association degree corresponding to each sub-index;
and performing association display on the index relationship between the index to be processed and each sub-index by adopting a display line in the intermediate display result based on the set color of the display line corresponding to each association degree and the width of the display line corresponding to each association degree, displaying the association degree corresponding to each sub-index on the corresponding display line, and outputting a graphical display result aiming at the index to be processed.
Optionally, based on the respective association degrees of the sub-indicators, the width of the display line corresponding to the respective association degrees is respectively determined, and the display unit is configured to:
screening out the minimum value of the absolute values from the obtained correlation degrees corresponding to the sub-indexes, and setting the width of a display line corresponding to the minimum value as a preset line width value;
for the other relevance degrees except the minimum value, respectively executing the following operations:
when the ratio of the absolute value of one of the other relevance degrees to the minimum value is smaller than a preset line width threshold value, setting the product of the ratio and the preset line width value as the width of the display line corresponding to the relevance degree;
when the absolute value of one of the other relevance degrees is related to the maximum
If the ratio of the small values is greater than or equal to a preset line width threshold value, setting the product of the preset line width threshold value and the preset line width value as the width of the display line corresponding to the relevance degree;
and obtaining the width of the display line corresponding to each association degree.
In a third aspect, a computer device comprises:
a memory for storing executable instructions;
a processor configured to read and execute executable instructions stored in the memory to implement the method of any of the first aspect.
In a fourth aspect, a computer-readable storage medium, wherein instructions, when executed by a processor, enable the processor to perform the method of any of the first aspect.
In a fifth aspect, a computer program product comprises executable instructions that, when executed by a processor, are capable of implementing the method of any one of the first aspect.
In the embodiment of the disclosure, an initial index preset corresponding to a task to be displayed is obtained, and an index relation set obtained after the initial index is disassembled is obtained; taking the initial index as a first index to be processed to obtain a current index to be processed, and obtaining corresponding sub-indexes after the index to be processed is disassembled and associated symbols among the sub-indexes based on an index relation corresponding to the index to be processed in an index relation set; respectively obtaining the association degree of each sub-index and the index to be processed based on the index relation and the preset rule; then, performing correlation display on the obtained indexes to be processed, each sub-index, the correlation degree corresponding to each sub-index and the correlation symbols among the sub-indexes, and taking each sub-index as a new index to be processed respectively, and executing the operation in a circulating manner until the index relation set is traversed; thus, by decomposing the complex indexes into simple indexes and adopting a more intuitive display mode in the graphical display result to display the association degree between each index to be processed and each associated sub-index, therefore, the incidence relation between each to-be-processed index of the initial index preset aiming at the to-be-displayed task and each corresponding sub-index can be obtained from the final graphical display result at a glance, and the relevance between each sub-index and the corresponding index to be processed, the defect that the influence ratio between each index can only be displayed by adopting a G6 compact tree layout in the prior art is overcome, so that the obtained final graphical display result is more visual and accurate, and then, a corresponding adjustment strategy can be made in a targeted manner, so that the initial index preset by the task to be displayed makes a greater contribution to achieving the set target.
Drawings
FIG. 1 is a schematic diagram illustrating a compact tree layout of G6 according to the prior art in the disclosed embodiment;
FIG. 2 is a schematic flow chart illustrating a graphical display method according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart of a graphical presentation according to an embodiment of the present disclosure;
FIG. 4 is a schematic flow chart of a graphical presentation according to an embodiment of the present disclosure;
FIG. 5 is a schematic flow chart of a graphical presentation according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of an intermediate display result according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of an intermediate display result according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram of a final graphical display result of an initial index preset for a task to be displayed in the embodiment of the present disclosure;
FIG. 9 is a schematic diagram of a logic architecture of a graphical presentation apparatus according to an embodiment of the present disclosure;
fig. 10 is a schematic physical architecture diagram of a graphic display apparatus according to an embodiment of the disclosure.
Detailed Description
In order to solve the problem that the display result of graphical display of index disassembly in the prior art by adopting a G6 compact tree layout display mode is not visual and inaccurate, in the embodiment of the disclosure, an initial index preset corresponding to a task to be displayed is obtained, and an index relation set obtained after disassembling the initial index is obtained; taking the initial index as a first index to be processed, decomposing the obtained index to be processed and each sub-index corresponding to the index to be processed after the index to be processed is decomposed, carrying out associated display on the associated symbols among the sub-indexes and the association degree of each sub-index and the index to be processed respectively based on an index relation and a preset rule which are associated with the index to be processed in an index relation set aiming at the current index to be processed, taking each sub-index as a new index to be processed respectively, and executing the operation circularly until the index relation set is traversed, thereby obtaining a final graphical display result; the final graphical display result of the initial index preset for the task to be displayed can be more visual and accurate.
Preferred embodiments of the present disclosure will be described in further detail below with reference to the accompanying drawings.
In the embodiment of the present disclosure, the execution main body may be an intelligent terminal or a server, where the intelligent terminal may be an intelligent mobile terminal, a tablet Computer, a notebook Computer, an intelligent handheld device, a Personal Computer (PC), a Computer, an intelligent screen, various wearable devices, a Personal Digital Assistant (PDA), and the like, and the specific execution main body may be determined according to actual requirements, which is not limited herein.
In the embodiment of the present disclosure, referring to fig. 2, a specific process for obtaining a graphical display result of a task to be displayed is as follows:
step 200: the method comprises the steps of obtaining an initial index preset corresponding to a task to be displayed and obtaining an index relation set associated with the initial index, wherein the index relation set is obtained by disassembling the initial index.
In the embodiment of the disclosure, the task to be displayed is set for achieving the predetermined target, and in order to analyze the contribution condition of the task to be displayed to the predetermined target, the task to be displayed generally needs to be analyzed, so as to obtain a preset initial index capable of reflecting the contribution condition of the task to be displayed.
For example, an APP comes online with an activity that can be shared with friends to increase the probability of completing the activity, and the purpose of the activity is to allow more people to come in.
The operator then typically needs to analyze the activity for its contribution to the set goal. At this time, the index of the activity sharing amount of the activity needs to be analyzed, wherein the initial index preset by the task to be shown is the activity sharing amount.
It should be noted that, when the task to be displayed is analyzed, one initial index or a plurality of initial indexes may be preset; in the embodiment of the disclosure, a method for determining a preset initial index for a task to be displayed is not limited; and introducing the obtained index relation set aiming at the preset initial index into a more intuitive and more accurate graphical display method aiming at only one preset initial index.
Since the method for graphically displaying the preset initial indexes is the same as the method for graphically displaying the preset initial index, in the embodiment of the present disclosure, the method for graphically displaying the preset initial indexes is not described in detail.
In the embodiment of the disclosure, after the initial index preset corresponding to the task to be displayed is obtained, the following operation needs to be performed before the index relation set associated with the initial index is obtained, so as to obtain the index relation set for the initial index.
In the first operation, a preset disassembling rule is called in response to a disassembling operation triggered by an initial index preset for a task to be displayed.
In the embodiment of the disclosure, after the preset initial index of the task to be displayed is obtained, the preset initial index of the task to be displayed needs to be disassembled, that is, a preset disassembling rule is called in response to the disassembling operation triggered by the initial index, wherein the preset disassembling rule can be customized for the preset initial index of the task to be displayed, and a general disassembling rule can also be adopted.
And secondly, based on each dimensionality in the preset disassembly rule, disassembling the initial indexes to obtain an index relation set aiming at the initial indexes, wherein each dimensionality represents one disassembly reference attribute of the initial indexes.
It should be noted that, in the embodiment of the present disclosure, no limitation is imposed on the preset parsing rule, and how to parse the preset initial index by using the parsing rule to obtain the corresponding index relationship set is also not imposed. In the embodiment of the disclosure, only one preset initial index is referred to, and a method for performing more intuitive and more accurate graphical display on an obtained index relation set for the preset initial index is described.
For example, still take a certain activity of going online in a certain APP as an example.
The activity sharing amount is assumed to be an initial index preset for the task to be shown of the activity and is marked as A.
Assuming that the preset initial index (namely, a) of the task to be displayed is disassembled based on each dimension in the preset disassembling rule, the obtained index relationship is as follows: a ═ B1+ B2, B1 ═ C1 ═ C2, B2 ═ C3+ C4.
Then, the obtained index relation set of the initial index a preset for the task to be displayed is as follows: { a ═ B1+ B2, B1 ═ C1 ═ C2, B2 ═ C3+ C4 }.
Therefore, each sub-level index describing deep-level influence factors of the initial index preset by the task to be displayed can be obtained based on the preset disassembly rule, and then, based on deep and specific analysis of each sub-level index, each sub-level index and the like which play important influence factors, even key influence factors, of the initial index preset by the task to be displayed can be obtained, so that operation decision guidance can be provided for an operator of an APP.
Step 210: taking the initial index as a first index to be processed, and circularly executing the following operations until the index relation set is traversed: obtaining a current index to be processed, and obtaining each corresponding sub-index after the index to be processed is disassembled and an associated symbol between each sub-index based on an index relation corresponding to the index to be processed in an index relation set; respectively obtaining the association degree of each sub-index and the index to be processed based on the index relation and a preset rule; performing association display on the obtained indexes to be processed, each sub-index, the association degree corresponding to each sub-index and the association symbols among the sub-indexes; and taking each sub-index as a new index to be processed respectively.
In the embodiment of the present disclosure, referring to fig. 3, when step 210 is executed, the following steps may be executed:
step 2101: and taking the initial index as a first index to be processed.
In the embodiment of the disclosure, after the initial index preset by the task to be displayed is obtained, the initial index is firstly used as a first index to be processed.
For example, still take a certain activity of going online in a certain APP as an example.
Still assume that the activity sharing amount is an initial index preset for the task to be shown of the activity, and is marked as a.
Then a is taken as the first indicator to be processed.
Step 2102: and acquiring a current index to be processed.
Step 2103: and judging whether the index relation corresponding to the index to be processed is obtained from the index relation set, if so, executing the step 2104, otherwise, executing the step 2108.
In a specific implementation, for the first to-be-processed index, i.e., the initial index, the index relationship corresponding to the to-be-processed index (i.e., the initial index) can be obtained from the index relationship set, for example, a is B1+ B2.
Step 2104: and obtaining each sub-index corresponding to the index to be processed after the index to be processed is disassembled and the associated symbol between each sub-index based on the index relation corresponding to the index to be processed, which is obtained from the index relation set.
In specific implementation, based on the obtained index relationship corresponding to the index to be processed, the corresponding sub-indexes after the index to be processed is disassembled and the associated symbols between the sub-indexes are respectively obtained.
For example, still take a certain activity of going online in a certain APP as an example.
Still assume that the activity sharing amount is an initial index preset for the task to be displayed of the activity, which is marked as a, and based on a preset disassembly rule, the obtained index relationship set is as follows: { a ═ B1+ B2, B1 ═ C1 ═ C2, B2 ═ C3+ C4 }.
Assume that the current index to be processed is the initial index (a).
The index relationship corresponding to the initial index obtained from the index relationship set is a-B1 + B2.
On the basis of the index relation, the corresponding sub-indexes after the obtained initial indexes are disassembled are B1 and B2 in sequence; and the obtained association symbol between B1 and B2 is "+".
Step 2105: and respectively obtaining the association degree of each sub-index and the index to be processed based on the index relation and the preset rule.
In specific implementation, after the index relationship set is obtained, the back-end server determines the association degree between each sub-index and the index to be processed respectively by using a link substitution method based on each index relationship in the index relationship set.
In this embodiment of the present disclosure, when step 2105 is executed, the association degrees between each sub-indicator and the indicator to be processed may be obtained from the back-end server, and then, for each obtained association degree, the following operations are respectively performed:
in operation 1, when one of the association degrees is a positive number, setting a color of a display line between the sub-index corresponding to the one association degree and the index to be processed as a first color.
In a specific implementation, the first color may be set to red, and when it is determined that any one of the obtained association degrees is a positive number, the color of the display line between the sub-index corresponding to the association degree and the index to be processed is set to red.
And 2, when one of the relevance degrees is a negative number, setting the color of the display line between the sub-index corresponding to the relevance degree and the index to be processed as a second color.
In a specific implementation, the second color may be set to green, and when it is determined that any one of the obtained association degrees is a positive number, the color of the display line between the sub-index corresponding to the association degree and the index to be processed is set to green.
For example, still take a certain activity of going online in a certain APP as an example.
Still assume that the activity share is an initial index (denoted as a) preset for the task to be shown of the activity, and the obtained set of index relationships for a is { a ═ B1+ B2, B1 ═ C1 ═ C2, B2 ═ C3+ C4 }.
Assume that one current index to be processed obtained is a, and the index relationship corresponding to the index to be processed obtained from the index relationship set is a ═ B1+ B2.
Further assume that the degree of association between B1 and A is 78 and the degree of association between B2 and A is-12.
And respectively judging whether each relevance degree is a positive number or a negative number according to each obtained relevance degree, thereby determining the color of the display line of each relevance degree in the intermediate display result.
Assume that the first color is red and the second color is green.
Then, for the degree of association 78, since 78 is a positive number, the color of the display line between B1 and a is set to red;
for the degree of association-12, since-12 is negative, the color of the display line between B2 and a is set to green.
Therefore, in the graphical display result, the positive number and the negative number are distinguished by different colors, in addition, human eyes have certain sensitivity to the colors, and positive correlation or negative correlation characteristics of each sub-index and the index to be processed can be displayed more intuitively by setting different display lines in the graphical display result, so that a viewer can quickly obtain key influence factors aiming at the initial index preset by the task to be displayed from the graphical display result, and further has pertinence to carry out strategy adjustment, and the maximum benefit effect is obtained.
Step 2106: and performing association display on the obtained indexes to be processed, each sub-index, the association degree corresponding to each sub-index and the association symbols among the sub-indexes.
In a specific implementation, after step 2104 is executed, each sub-index associated with the index to be processed and an associated symbol between each sub-index are obtained; after the step 2105 is executed, obtaining the association degree between each sub-index and the index to be processed, and determining the color of the display line corresponding to each association degree; referring to fig. 4, when step 2106 is performed, the following steps are further performed:
step 300: and displaying the obtained indexes to be processed and each sub-index by adopting a compact tree layout algorithm to obtain an intermediate display result.
In the embodiment of the disclosure, a compact tree layout algorithm is adopted, and the obtained indexes to be processed and all sub-indexes are displayed in the middle to display results.
For example, referring to fig. 6, still take a certain activity of an online in a certain APP as an example.
Still assume that the activity sharing amount is an initial index preset for the task to be shown of the activity, which is marked as a, and the obtained index relationship set is as follows: { a ═ B1+ B2, B1 ═ C1 ═ C2, B2 ═ C3+ C4 }.
The obtained current index to be processed is assumed to be B, and the sub-indexes are respectively C1 and C2.
Then, using a compact tree layout algorithm, C1 and C2 are displayed, and the intermediate display results are obtained, wherein: b is located directly above the geometric center position midway between the positions of C1 and C2.
Optionally, in practical application, a JOSN format may be used to describe a data structure of each index relationship in an index relationship set of initial indexes preset by a task to be displayed, and a compact tree layout algorithm is used to obtain an intermediate display result.
In the embodiment of the present disclosure, only the JOSN format data is taken as an example, and based on the difference of the programming languages, other programming languages may be adopted to achieve the layout requirement, which is not specifically limited herein.
Step 310: and respectively determining the display positions of the associated symbols among the sub-indexes, and correspondingly displaying the associated symbols in the obtained intermediate display result, wherein the display position corresponding to each associated symbol is determined based on the geometric center position between the display positions of the two associated sub-indexes.
In the embodiment of the present disclosure, when step 310 is executed, in the intermediate display result, based on the display positions of the sub-indicators, the display positions of the associated symbols between the associated sub-indicators are sequentially determined, and in a specific implementation, the geometric center position between the display positions where two associated sub-indicators are located may be determined as the display position corresponding to one associated symbol.
For example, referring to fig. 7, still take a certain activity of an online in a certain APP as an example.
Still assume that the activity sharing amount is an initial index preset for the task to be shown of the activity, which is marked as a, and the obtained index relationship set is as follows: { a ═ B1+ B2, B1 ═ C1 ═ C2, B2 ═ C3+ C4 }.
Assume that the current pending indicator is B1, and the obtained sub-indicators of the current pending indicator are C1 and C2 in sequence.
Then, in the intermediate display results, the coordinates of the four vertex angles corresponding to the display region between C1 and C2 are (X1, Y1), (X1, Y2), (X2, Y1), (X2, Y2) in sequence, wherein X1 < X2, Y1 < Y2.
The geometric center position between the display positions of C1 and C2 is determined as the display position of the associated symbol between C1 and C2, that is, the display position of the associated symbol is: x ═ X2-X1)/2, Y ═ Y2-Y1)/2.
Optionally, in practical applications, the JOSN format may also be used to describe the association symbols between the second indexes, and specifically, when the association symbols are laid out, the method includes, but is not limited to, the following manners: the width of each node is set to be a fixed width z, and the width of the virtual node is set to be 0.
Then, when laying out the virtual node, the display position of the virtual node needs to be determined based on the actual display width (e.g., w) and the actual display height (e.g., h) of the virtual node, so that the virtual node is displayed at the geometric center position of the actual display position, and thus in the intermediate display result, the corresponding association symbol is displayed at the corresponding display position, so that the association relationship between the to-be-processed index and each associated sub-index is displayed more intuitively.
In the embodiment of the present disclosure, only the JOSN format data is taken as an example, and based on the difference of the programming languages, other programming languages may be adopted to achieve the layout requirement, which is not specifically limited herein.
Step 320: and respectively determining the width of the display line corresponding to each association degree based on the association degree corresponding to each sub-index.
In the embodiment of the present disclosure, referring to fig. 5, after obtaining the association degree between each sub-indicator and the indicator to be processed, the following steps are further performed:
step 3201: and screening out the minimum value of the absolute value from the obtained correlation degrees corresponding to the sub-indexes, and setting the width of the display line corresponding to the minimum value as a preset line width value.
For example, still take a certain activity of going online in a certain APP as an example.
Still assume that the activity sharing amount is an initial index preset for the task to be exhibited, denoted as a, and the obtained set of index relationships is { a ═ B1+ B2, B1 ═ C1 ═ C2, and B2 ═ C3+ C4 }.
Assume that the current pending indicator is B1, and the obtained sub-indicators of the current pending indicator are C1 and C2 in sequence.
Further assume that the degree of association between C1 and B1 is 24 and the degree of association between C2 and B1 is 56.
Then based on the index relationship B1 ═ C1 ═ C2, the absolute value of the degree of association between C1 and B1 is obtained as |24| ═ 24, and the absolute value of the degree of association between C2 and B1 is obtained as |56| ═ 56; since 24 < 56, the minimum value selected is 24.
Step 3202: for each of the relevance degrees other than the minimum value, the following operations are respectively performed: when the ratio of the absolute value of one of the other relevance degrees to the minimum value is smaller than a preset line width threshold value, setting the product of the ratio and the preset line width value as the width of a display line corresponding to the relevance degree; and when the ratio of the absolute value of one of the other relevance degrees to the minimum value is greater than or equal to a preset line width threshold value, setting the product of the preset line width threshold value and the preset line width value as the width of a display line corresponding to the relevance degree.
In specific implementation, based on the obtained respective association degrees of each sub-index and the index to be processed, after step 3201 is executed, division is performed on the minimum value screened from each association degree to determine respective ratios, the ratios are compared with a preset line width threshold, and based on the comparison result, the display line widths corresponding to other association degrees are respectively determined.
Step 3203: and obtaining the width of the display line corresponding to each association degree.
In the embodiment of the present disclosure, by executing step 3202, based on an index relationship, display line widths corresponding to the respective association degrees may be respectively determined; therefore, based on the difference of the relevance degrees, the widths of different display lines are respectively set, so that in the middle display result, which sub-index has larger influence on the index to be processed can be more intuitively displayed, and which sub-index has the smallest influence on the index to be processed.
For example, still take a certain activity of going online in a certain APP as an example.
Still assume that the activity share is an initial index preset for the task to be shown of the activity, denoted as a, and the obtained set of index relationships is { a ═ B1+ B2, B1 ═ C1 ═ C2, B2 ═ C3+ C4 }.
Assuming that the current index to be processed is B1, and the obtained sub-indexes of the current index to be processed are C1 and C2 in sequence; the degree of association between C1 and B1 is 24, and the degree of association between C2 and B1 is 56; and the preset line width threshold value is 6, and the preset line width value is 1 unit.
Then, for the index relation B1 ═ C1 ═ C2, the screened minimum value is 24, and then the width of the display line corresponding to B1-C1 is set to 1 unit; since 56/24 ≈ 2.333 < 6, 2.33 × 1 unit is set as the width of the corresponding display line of B1-C2.
Step 330: and performing association display on the index relationship between the index to be processed and each sub-index by adopting the display line in the obtained intermediate display result based on the color of the display line corresponding to each set association degree and the width of the display line corresponding to each association degree, displaying the association degree corresponding to each sub-index on the corresponding display line, and outputting the graphical display result aiming at the index to be processed.
In the embodiment of the present disclosure, after step 2105 is executed, the color of the corresponding display line is set for each association degree, and after step 320 is executed, the width of the display line is set for each association degree, so that in step 330, the set width and color of the display line are adopted, and in the intermediate display result, the index relationship between the index to be processed and each sub-index is displayed in an associated manner, thereby obtaining the graphical display result for the index to be processed.
Step 2107: and taking each sub-index as a new index to be processed respectively.
In the embodiment of the present disclosure, after the currently obtained to-be-processed index and the index relationship between each sub-index are displayed in a correlated manner, each obtained sub-index is respectively used as a new to-be-processed index, and the step 2102 is executed.
Step 2108: and traversing the index relation set to obtain a final graphical display result.
In this embodiment of the disclosure, after step 2107 is executed, each obtained sub-index is respectively used as a new to-be-processed index, and if an index relationship corresponding to a current new to-be-processed index is not obtained from the index relationship set, a traversed index relationship set is determined, so as to obtain a final graphical display result of an initial index preset for a task to be displayed.
For example, referring to fig. 8, still take an activity of going online in an APP as an example.
Still assume that the activity sharing amount is an initial index preset for the task to be shown of the activity, which is marked as a, and the obtained index relationship set is as follows: { a ═ B1+ B2, B1 ═ C1 ═ C2, B2 ═ C3+ C4 }.
In the final graphical display result, a solid line is used for representing the association degree as a positive number, a dotted line is used for representing the association degree as a negative number, and the index relation between each index to be processed and each corresponding sub-index is displayed in an associated manner based on the width of the display line of the association degree of each sub-index corresponding to each index to be processed and the color of the display line of each association degree, so that the final graphical display result of the initial index preset for the task to be displayed is obtained.
Therefore, in the obtained final graphical display result of the initial indexes preset for the task to be displayed, the association relationship among the indexes and the associated signs among the associated indexes are displayed, so that a viewer can clearly obtain which index has larger influence on the initial indexes and which index has the smallest influence on the initial indexes, and accordingly, a corresponding adjustment strategy can be made in a targeted manner, and the task to be displayed makes a larger contribution to achieving a set target.
Based on the same inventive concept, referring to fig. 9, an embodiment of the present disclosure provides a computer device (e.g., a graphically displayed apparatus), including:
an obtaining unit 910, configured to obtain an initial index preset corresponding to a task to be displayed, and obtain an index relationship set associated with the initial index, where the index relationship set is obtained by disassembling the initial index;
a presentation unit 920, configured to take the initial indicator as a first indicator to be processed, and execute the following operations in a loop until the index relationship set is traversed:
obtaining a current index to be processed, and obtaining each corresponding sub-index after the index to be processed is disassembled and an associated symbol between each sub-index based on an index relation corresponding to the index to be processed in the index relation set;
respectively obtaining the association degree of each sub-index and the index to be processed based on the index relation and a preset rule;
performing association display on the obtained to-be-processed index, the obtained sub-indexes, the association degrees corresponding to the sub-indexes and the association symbols among the sub-indexes;
and taking each sub-index as a new index to be processed respectively.
Optionally, after obtaining the preset initial index corresponding to the task to be displayed and before obtaining the index relationship set associated with the initial index, the obtaining unit 910 is further configured to:
responding to a disassembling operation triggered by an initial index preset for the task to be displayed, and calling a preset disassembling rule;
and based on each dimension in the preset disassembly rule, disassembling the initial index to obtain an index relation set aiming at the initial index, wherein each dimension represents one disassembly reference attribute of the initial index.
Optionally, after obtaining the association degrees between the sub-indicators and the to-be-processed indicator respectively based on the indicator relationship and a preset rule, the display unit 920 is further configured to:
for each obtained association degree, the following operations are respectively executed:
when one of the relevance degrees is a positive number, setting the color of a display line between the sub-index corresponding to the relevance degree and the index to be processed as a first color;
and when one of the relevance degrees is a negative number, setting the color of the display line between the sub-index corresponding to the relevance degree and the index to be processed as a second color.
Optionally, the obtained to-be-processed index, the sub-indexes, the respective corresponding association degrees of the sub-indexes, and the association symbols between the sub-indexes are displayed in an associated manner, and the display unit 920 is configured to:
displaying the obtained indexes to be processed and the sub-indexes by adopting a compact tree layout algorithm to obtain an intermediate display result;
respectively determining display positions of the associated symbols among the sub-indexes, and correspondingly displaying the associated symbols in the intermediate display result, wherein the display position corresponding to each associated symbol is determined based on the geometric center position between the display positions of the two associated sub-indexes;
respectively determining the width of a display line corresponding to each association degree based on the association degree corresponding to each sub-index;
and performing association display on the index relationship between the index to be processed and each sub-index by adopting a display line in the intermediate display result based on the set color of the display line corresponding to each association degree and the width of the display line corresponding to each association degree, displaying the association degree corresponding to each sub-index on the corresponding display line, and outputting a graphical display result aiming at the index to be processed.
Optionally, based on the respective association degrees of the sub-indicators, the width of the display line corresponding to the respective association degrees is respectively determined, and the display unit 920 is configured to:
screening out the minimum value of the absolute values from the obtained correlation degrees corresponding to the sub-indexes, and setting the width of a display line corresponding to the minimum value as a preset line width value;
for the other relevance degrees except the minimum value, respectively executing the following operations:
when the ratio of the absolute value of one of the other relevance degrees to the minimum value is smaller than a preset line width threshold value, setting the product of the ratio and the preset line width value as the width of the display line corresponding to the relevance degree;
when the absolute value of one of the other relevance degrees is related to the maximum
If the ratio of the small values is greater than or equal to a preset line width threshold value, setting the product of the preset line width threshold value and the preset line width value as the width of the display line corresponding to the relevance degree;
and obtaining the width of the display line corresponding to each association degree. .
Based on the same inventive concept, referring to fig. 10, an embodiment of the present disclosure provides a computer device, for example, an electronic device 1000 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 10, electronic device 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communications component 1016.
The processing component 1002 generally controls overall operation of the electronic device 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1002 may include one or more processors 1020 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
The memory 1009 is configured to store various types of data to support operation at the electronic device 1000. Examples of such data include instructions for any application or method operating on the electronic device 1000, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1004 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1006 provides power to the various components of the electronic device 1000. The power components 1006 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 1000.
The multimedia component 1008 includes a screen that provides an output interface between the electronic device 1000 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 1000 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1010 is configured to output and/or input audio signals. For example, the audio component 1010 may include a Microphone (MIC) configured to receive external audio signals when the electronic device 1000 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
I/O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the electronic device 1000. For example, the sensor assembly 1014 may detect an open/closed state of the electronic device 1000, the relative positioning of components, such as a display and keypad of the electronic device 1000, the sensor assembly 1014 may also detect a change in position of the electronic device 1000 or a component of the electronic device 1000, the presence or absence of user contact with the electronic device 1000, orientation or acceleration/deceleration of the electronic device 1000, and a change in temperature of the electronic device 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1016 is configured to facilitate wired or wireless communication between the electronic device 1000 and other devices. The electronic device 1000 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1016 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 1000 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing any of the methods performed by the computer apparatus in the above-described embodiments.
Based on the same inventive concept, the disclosed embodiments provide a computer-readable storage medium, wherein when instructions in the computer-readable storage medium are executed by a processor, the computer-readable storage medium can perform any one of the methods performed by the computer device in the above embodiments.
Based on the same inventive concept, the disclosed embodiments provide a computer program product comprising executable instructions, which when executed by a processor, can implement any one of the methods performed by the computer device as in the above embodiments.
In summary, in the embodiment of the present disclosure, an initial index preset corresponding to a task to be displayed is obtained, and an index relationship set obtained after the initial index is disassembled is obtained; then, the initial index is used as a first index to be processed to obtain a current index to be processed, and each sub-index corresponding to the index to be processed after the index to be processed is disassembled and the associated symbol between each sub-index are obtained based on the index relation corresponding to the index to be processed in the index relation set; respectively obtaining the association degree of each sub-index and the index to be processed based on the index relation and the preset rule; then, performing correlation display on the obtained indexes to be processed, each sub-index, the correlation degree corresponding to each sub-index and the correlation symbols among the sub-indexes, and taking each sub-index as a new index to be processed respectively, and executing the operation in a circulating manner until the index relation set is traversed; thus, by decomposing the complex indexes into simple indexes and in the final graphical display result, the more intuitive display mode is adopted to display the association degree between each index to be processed and each associated sub-index, therefore, the incidence relation between each to-be-processed index of the initial index preset aiming at the to-be-displayed task and each corresponding sub-index can be obtained from the final graphical display result at a glance, and the relevance between each sub-index and the corresponding index to be processed, the defect that the influence ratio between each index can only be displayed by adopting a G6 compact tree layout in the prior art is overcome, so that the obtained final graphical display result is more visual and accurate, and then, a corresponding adjustment strategy can be made in a targeted manner, so that the initial index preset by the task to be displayed makes a greater contribution to achieving the set target.
On the other hand, since the correlation between the to-be-displayed index and the sub-index may be a positive number or a negative number, in the embodiment of the present disclosure, in the obtained final graphical display result, the correlation between the sub-index and the correlated to-be-displayed index may also be displayed by using the difference between the width of the display line of the correlation and the color of the display line, so that the obtained final graphical display result of the initial index preset for the to-be-displayed task is more accurate and clear.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present disclosure have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the disclosure.
It will be apparent to those skilled in the art that various changes and modifications may be made to the disclosed embodiments without departing from the spirit and scope of the disclosed embodiments. Thus, if such modifications and variations of the embodiments of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is also intended to encompass such modifications and variations.

Claims (10)

1. A method of graphical presentation, comprising:
acquiring an initial index preset corresponding to a task to be displayed and an index relation set associated with the initial index, wherein the index relation set is acquired by disassembling the initial index;
taking the initial index as a first index to be processed, and circularly executing the following operations until the index relation set is traversed:
obtaining a current index to be processed, and obtaining each corresponding sub-index after the index to be processed is disassembled and an associated symbol between each sub-index based on an index relation corresponding to the index to be processed in the index relation set;
respectively obtaining the association degree of each sub-index and the index to be processed based on the index relation and a preset rule;
performing association display on the obtained to-be-processed index, the obtained sub-indexes, the association degrees corresponding to the sub-indexes and the association symbols among the sub-indexes;
and taking each sub-index as a new index to be processed respectively.
2. The method according to claim 1, wherein after the obtaining of the preset initial index corresponding to the task to be shown and before the obtaining of the set of index relationships associated with the initial index, further comprising:
responding to a disassembling operation triggered by an initial index preset for the task to be displayed, and calling a preset disassembling rule;
and based on each dimension in the preset disassembly rule, disassembling the initial index to obtain an index relation set aiming at the initial index, wherein each dimension represents one disassembly reference attribute of the initial index.
3. The method according to claim 1 or 2, wherein after obtaining the association degree between each of the sub-indicators and the indicator to be processed based on the indicator relationship and a preset rule, the method further comprises:
for each obtained association degree, the following operations are respectively executed:
when one of the relevance degrees is a positive number, setting the color of a display line between the sub-index corresponding to the relevance degree and the index to be processed as a first color;
and when one of the relevance degrees is a negative number, setting the color of the display line between the sub-index corresponding to the relevance degree and the index to be processed as a second color.
4. The method according to claim 3, wherein the associating and displaying the obtained to-be-processed index, the obtained sub-indexes, the respective association degrees of the sub-indexes, and the association symbols between the sub-indexes comprises:
displaying the obtained indexes to be processed and the sub-indexes by adopting a compact tree layout algorithm to obtain an intermediate display result;
respectively determining display positions of the associated symbols among the sub-indexes, and correspondingly displaying the associated symbols in the intermediate display result, wherein the display position corresponding to each associated symbol is determined based on the geometric center position between the display positions of the two associated sub-indexes;
respectively determining the width of a display line corresponding to each association degree based on the association degree corresponding to each sub-index;
and performing association display on the index relationship between the index to be processed and each sub-index by adopting a display line in the intermediate display result based on the set color of the display line corresponding to each association degree and the width of the display line corresponding to each association degree, displaying the association degree corresponding to each sub-index on the corresponding display line, and outputting a graphical display result aiming at the index to be processed.
5. The method according to claim 4, wherein determining the width of the display line corresponding to each degree of association based on the degree of association corresponding to each sub-indicator comprises:
screening out the minimum value of the absolute values from the obtained correlation degrees corresponding to the sub-indexes, and setting the width of a display line corresponding to the minimum value as a preset line width value;
for the other relevance degrees except the minimum value, respectively executing the following operations:
when the ratio of the absolute value of one of the other relevance degrees to the minimum value is smaller than a preset line width threshold value, setting the product of the ratio and the preset line width value as the width of the display line corresponding to the relevance degree;
when the ratio of the absolute value of one of the other relevance degrees to the minimum value is greater than or equal to a preset line width threshold value, setting the product of the preset line width threshold value and the preset line width value as the width of the display line corresponding to the relevance degree;
and obtaining the width of the display line corresponding to each association degree.
6. An apparatus for graphical presentation, comprising:
the system comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring an initial index preset corresponding to a task to be displayed and acquiring an index relation set associated with the initial index, and the index relation set is acquired by disassembling the initial index;
and the display unit is used for taking the initial index as a first index to be processed, and circularly executing the following operations until the index relation set is traversed:
obtaining a current index to be processed, and obtaining each corresponding sub-index after the index to be processed is disassembled and an associated symbol between each sub-index based on an index relation corresponding to the index to be processed in the index relation set;
respectively obtaining the association degree of each sub-index and the index to be processed based on the index relation and a preset rule;
performing association display on the obtained to-be-processed index, the obtained sub-indexes, the association degrees corresponding to the sub-indexes and the association symbols among the sub-indexes;
and taking each sub-index as a new index to be processed respectively.
7. The apparatus according to claim 6, wherein after the obtaining of the preset initial index corresponding to the task to be shown and before the obtaining of the set of index relationships associated with the initial index, the obtaining unit is further configured to:
responding to a disassembling operation triggered by an initial index preset for the task to be displayed, and calling a preset disassembling rule;
and based on each dimension in the preset disassembly rule, disassembling the initial index to obtain an index relation set aiming at the initial index, wherein each dimension represents one disassembly reference attribute of the initial index.
8. A computer device, comprising:
a memory for storing executable instructions;
a processor for reading and executing executable instructions stored in the memory to implement the method of any one of claims 1-5.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor, enable the processor to perform the method of any of claims 1-5.
10. A computer program product comprising executable instructions capable, when executed by a processor, of performing the method of any one of claims 1 to 5.
CN202110594250.2A 2021-05-28 2021-05-28 Graphical display method and device Pending CN113220299A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110594250.2A CN113220299A (en) 2021-05-28 2021-05-28 Graphical display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110594250.2A CN113220299A (en) 2021-05-28 2021-05-28 Graphical display method and device

Publications (1)

Publication Number Publication Date
CN113220299A true CN113220299A (en) 2021-08-06

Family

ID=77099265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110594250.2A Pending CN113220299A (en) 2021-05-28 2021-05-28 Graphical display method and device

Country Status (1)

Country Link
CN (1) CN113220299A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004613A (en) * 2010-12-07 2011-04-06 无锡永中软件有限公司 Dendriform display method of expression and evaluation method
CN104102670A (en) * 2013-04-12 2014-10-15 Sap股份公司 Performance indicator analytical framework
WO2017045472A1 (en) * 2015-09-16 2017-03-23 华为技术有限公司 Resource prediction method and system, and capacity management apparatus
CN110046291A (en) * 2019-01-28 2019-07-23 阿里巴巴集团控股有限公司 Visualization disassembling method, device and the equipment of achievement data
CN112581104A (en) * 2020-12-31 2021-03-30 北京达佳互联信息技术有限公司 Information processing method, information processing apparatus, electronic device, storage medium, and program product
CN112819313A (en) * 2021-01-27 2021-05-18 上海哔哩哔哩科技有限公司 Target image generation method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004613A (en) * 2010-12-07 2011-04-06 无锡永中软件有限公司 Dendriform display method of expression and evaluation method
CN104102670A (en) * 2013-04-12 2014-10-15 Sap股份公司 Performance indicator analytical framework
WO2017045472A1 (en) * 2015-09-16 2017-03-23 华为技术有限公司 Resource prediction method and system, and capacity management apparatus
CN110046291A (en) * 2019-01-28 2019-07-23 阿里巴巴集团控股有限公司 Visualization disassembling method, device and the equipment of achievement data
CN112581104A (en) * 2020-12-31 2021-03-30 北京达佳互联信息技术有限公司 Information processing method, information processing apparatus, electronic device, storage medium, and program product
CN112819313A (en) * 2021-01-27 2021-05-18 上海哔哩哔哩科技有限公司 Target image generation method and device

Similar Documents

Publication Publication Date Title
US11086482B2 (en) Method and device for displaying history pages in application program and computer-readable medium
EP3070659A1 (en) Method, device and terminal for displaying application messages
EP3113001A1 (en) Method and apparatus for displaying information
EP3136658A1 (en) Method, device, terminal device, computer program and recording medium for changing emoticon in chat interface
US20170139555A1 (en) Method and device for displaying a message
US10078422B2 (en) Method and device for updating a list
US10489169B2 (en) Method and device for performing subset of functions of application
EP3125164A1 (en) Method and device for presenting ticket information
US20170300211A1 (en) Method and apparatus for displaying status information of application
US20210165670A1 (en) Method, apparatus for adding shortcut plug-in, and intelligent device
CN106791014A (en) Message display method and device
CN109358788B (en) Interface display method and device and terminal
CN104461236A (en) Method and device for displaying application icons
CN107885571B (en) Display page control method and device
US20190012299A1 (en) Displaying page
WO2019095810A1 (en) Interface display method and device
CN106020694B (en) Electronic equipment, and method and device for dynamically adjusting selected area
CN112333518A (en) Function configuration method and device for video and electronic equipment
US10613622B2 (en) Method and device for controlling virtual reality helmets
CN106569697B (en) Picture viewing method and device and terminal
CN113220299A (en) Graphical display method and device
CN110737373B (en) Application interface control method, device, terminal and storage medium
CN110730382A (en) Video interaction method, device, terminal and storage medium
US10423706B2 (en) Method and device for selecting information
US20240259628A1 (en) Method for displaying information

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