CN116150159A - Method, device, equipment and medium for visualizing enterprise relationship in multiple dimensions - Google Patents

Method, device, equipment and medium for visualizing enterprise relationship in multiple dimensions Download PDF

Info

Publication number
CN116150159A
CN116150159A CN202310232596.7A CN202310232596A CN116150159A CN 116150159 A CN116150159 A CN 116150159A CN 202310232596 A CN202310232596 A CN 202310232596A CN 116150159 A CN116150159 A CN 116150159A
Authority
CN
China
Prior art keywords
enterprise
tree structure
display
enterprise information
relationship
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
CN202310232596.7A
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.)
Inspur General Software Co Ltd
Original Assignee
Inspur General Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur General Software Co Ltd filed Critical Inspur General Software Co Ltd
Priority to CN202310232596.7A priority Critical patent/CN116150159A/en
Publication of CN116150159A publication Critical patent/CN116150159A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2246Trees, e.g. B+trees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2462Approximate or statistical queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/285Clustering or classification
    • G06F16/287Visualization; Browsing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a method, a device, equipment and a readable medium for visualizing enterprise relations in multiple dimensions, wherein the method comprises the following steps: drawing a tree structure display diagram according to the relation among enterprises and the enterprise information, and displaying the tree structure display diagram on a display end; associating each enterprise in the tree structure display with enterprise information to enable a user to view the enterprise information in the tree structure display; in response to receiving an instruction for querying enterprise information on a display end, querying all enterprise information and caching all enterprise information into a server; and analyzing the instruction for inquiring the enterprise information and displaying the enterprise information of the enterprise corresponding to the instruction. By using the scheme of the invention, the requirements of multidimensional display of enterprise relationship data and the performance problems of enterprise relationship related calculation can be solved, a multidimensional visual enterprise relationship display form and a convenient operation form can be provided, an excellent display and query scheme can be provided, and the use performance is ensured.

Description

Method, device, equipment and medium for visualizing enterprise relationship in multiple dimensions
Technical Field
The present invention relates to the field of computers, and more particularly, to a method, apparatus, device, and readable medium for visualization of multi-dimensional enterprise relationships.
Background
Property rights such as national assets, large groups and the like relate to a large number of enterprises, the relationship is complex and various, and the relationship and some statistical information before the enterprises are difficult to intuitively observe from the aspect of data, so that an appropriate visualization scheme is needed to intuitively present the enterprise relationship. The existing equity penetration graph mainly focuses on the conditions of investment, control, investment and the like of a single enterprise, and on one hand, the existing equity penetration graph cannot meet the display of a large number of enterprise control structures, management structures and the like, and on the other hand, the existing equity penetration graph cannot meet the data query analysis requirements of multiple layers. The existing scheme defines different enterprise relation matching modes, not enterprise maps which directly reflect enterprise funding, controlling and managing relations, on one hand, the finally generated relation matrix is an original graph, a large number of the relation matrixes cannot be displayed by an intuitive tree structure, and when the relation matrix is subjected to graphic visualization, if the nodes are too many, the calculation modes of the scheme matching relations are complex, and on the other hand, the performance or instantaneity can be affected little when the query is performed.
Disclosure of Invention
In view of the above, an object of the embodiments of the present invention is to provide a method, apparatus, device, and readable medium for visualizing enterprise relationships in multiple dimensions, by using the technical solution of the present invention, the problem of the requirement of multi-dimensional display of enterprise relationship data and the performance of related computation of enterprise relationships can be solved, a multi-dimensional visual enterprise relationship display form and a convenient operation form can be provided, an excellent display and query scheme can be provided, and the performance of use is ensured.
Based on the above objects, an aspect of an embodiment of the present invention provides a method for visualizing a multi-dimensional enterprise relationship, including the steps of:
drawing a tree structure display diagram according to the relation among enterprises and the enterprise information, and displaying the tree structure display diagram on a display end;
associating each enterprise in the tree structure display with enterprise information to enable a user to view the enterprise information in the tree structure display;
in response to receiving an instruction for querying enterprise information on a display end, querying all enterprise information and caching all enterprise information into a server;
and analyzing the instruction for inquiring the enterprise information and displaying the enterprise information of the enterprise corresponding to the instruction.
According to one embodiment of the present invention, drawing a tree structure representation from relationships between individual enterprises and enterprise information includes:
acquiring enterprise information of each enterprise in a database and setting a root node according to the relationship among the enterprises;
in response to determining that the number of layers of the tree structure is greater than 0, matching child nodes of each layer in the tree structure according to the relationship between enterprises;
in response to the child nodes of each tier not repeating and not repeating with the child nodes of other tiers, the matching child nodes are arranged in a tree structure.
According to one embodiment of the invention, the tree structure representation includes a title relationship tree generated from a stay relationship, a management relationship tree generated from reporting management relationships, and a control relationship tree generated from a primary sponsored relationship.
According to one embodiment of the present invention, drawing a tree structure representation from relationships between individual enterprises and enterprise information includes:
the property relation tree is matched with a subordinate child node by a fund list;
the management relation tree is matched with the lower child node by an upper management unit;
the control relationship tree is matched by the primary sponsor to the subordinate child nodes.
According to one embodiment of the present invention, presenting a tree structure presentation at a display end includes:
the tree structure display diagram is shown using an Angular front end framework and an AntV visualization engine.
According to one embodiment of the present invention, presenting a tree structure presentation at a display end includes:
the other areas outside the display area are semitransparent, the background of the display area is a name of a ink color top level unit, the display area is reduced and enlarged through a mouse wheel, a tree structure display diagram is moved by clicking a blank place, nodes in the tree structure are displayed with brief information corresponding to enterprises, a left mouse button clicks a node to expand and retract a child node, and a right mouse button clicks the node to open a menu.
According to one embodiment of the present invention, drawing a tree structure representation from relationships between individual enterprises and enterprise information includes:
the tree structure display diagram is doubly matched with the enterprise unified social credit code by using a simple enterprise name in recursion generation;
the number of recursion layers and a superior node list are taken as recursion parameters, and the maximum number of recursion times is set to be ten;
in response to finding that the current node already exists in the upper list, resetting the number of recursion layers;
in response to the number of recursion layers being cleared or there being no subordinate node, it is determined that a recursion end condition is reached.
In another aspect of the embodiment of the present invention, there is also provided an apparatus for visualizing a multi-dimensional enterprise relationship, the apparatus including:
the drawing module is configured to draw a tree structure display diagram according to the relation among enterprises and the enterprise information, and display the tree structure display diagram at a display end;
an association module configured to associate each enterprise in the tree structure representation with enterprise information to enable a user to view the enterprise information in the tree structure representation;
the query module is configured to query all enterprise information and cache all enterprise information in the server in response to receiving an instruction for querying the enterprise information on the display terminal;
the display module is configured to analyze the instruction of inquiring the enterprise information and display the enterprise information of the enterprise corresponding to the instruction.
In another aspect of the embodiments of the present invention, there is also provided a computer apparatus including:
at least one processor; and
and a memory storing computer instructions executable on the processor, the instructions when executed by the processor performing the steps of any of the methods described above.
In another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of any of the methods described above.
The invention has the following beneficial technical effects: according to the method for visualizing the enterprise relationship in multiple dimensions, which is provided by the embodiment of the invention, the tree structure display diagram is drawn according to the relationship among enterprises and the enterprise information, and the tree structure display diagram is displayed at the display end; associating each enterprise in the tree structure display with enterprise information to enable a user to view the enterprise information in the tree structure display; in response to receiving an instruction for querying enterprise information on a display end, querying all enterprise information and caching all enterprise information into a server; the method and the device can analyze the instruction of inquiring the enterprise information and display the technical scheme of the enterprise information of the enterprise corresponding to the instruction, can solve the requirement of multidimensional display of the enterprise relationship data and the performance problem of relevant calculation of the enterprise relationship, can provide a multidimensional visual enterprise relationship display form and a convenient operation form, can provide an excellent display and inquiry scheme, and can ensure the use performance.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are necessary for the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention and that other embodiments may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow diagram of a method of multi-dimensional enterprise relationship visualization in accordance with one embodiment of the invention;
FIG. 2 is a schematic diagram of an apparatus for visualizing multi-dimensional business relationships in accordance with one embodiment of the invention;
FIG. 3 is a schematic diagram of a computer device according to one embodiment of the invention;
fig. 4 is a schematic diagram of a computer-readable storage medium according to one embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention will be described in further detail with reference to the accompanying drawings.
With the above object in view, in a first aspect, an embodiment of a method for visualizing a multi-dimensional enterprise relationship is provided. Fig. 1 shows a schematic flow chart of the method.
As shown in fig. 1, the method may include the steps of:
and S1, drawing a tree structure display diagram according to the relation among enterprises and the enterprise information, and displaying the tree structure display diagram on a display end. The invention solves the requirement of multidimensional display of enterprise relationship data and the performance problem of enterprise relationship related calculation, and is mainly divided into front-end display and back-end query. The front-end display section uses an angullar front-end framework with an AntV visualization engine. The Angular is rendered through the Web workbench and the server, has excellent performance, and can adapt to the requirement of mass data based on RxJS, immunotable.js and other push models. AntV is a complete visualization engine, has high customizable performance and can meet various display requirements. Map presentation uses OpenLayers to develop libraries, and OpenLayers adopts the latest rendering technologies Canvas 2D and WebGL of HTML5, so that the performance is extremely high. The drawn tree structure is displayed at the front end part, various selection buttons can be arranged on a display interface to display different aspects, a tree structure type selection button group can be arranged, the dimension of the enterprise management tree structure can be selected, and the tree structure dimension is divided into a property relation tree generated by a stock-holding relation, a management relation tree generated by reporting the management relation and a control relation tree generated by a main funding relation. The tree structure distribution type selection button group can be arranged, the tree structure can be selected to be longitudinally distributed or transversely distributed, the two distribution nodes are square, and the connecting line is a cubic curve. A save picture button may be provided and the currently displayed tree structure may be saved as a picture and downloaded. The unit selection frame may be provided, and a plurality of top units may be selected from among different top units. A query area may be set, query input supports automatic matching filling, and query results may select whether to display superior. The display area displays a tree structure, other areas except the display area are semitransparent to enlarge the display range, the background of the display area is a ink-ink top level unit name, the display area is reduced and enlarged through a mouse wheel, a blank is clicked to move a tree, a mouse hovers a tree node to display an enterprise brief information card, a left key clicks the node to expand and retract a child node, a right key clicks the node to open a menu, the node menu comprises 1) checking basic information of the enterprise, 2) checking statistical data, 3) expanding all lower levels by one key, 4) expanding all lower levels from the lower levels, clicking a corresponding menu to pop up a corresponding popup frame or loading a corresponding relation tree, and the annotating area marks different meanings of different nodes. In order to avoid performance problems caused by data loading, only a top unit list, an enterprise name list, tree nodes of top units and primary units are loaded in the initial stage, data loading is bound with node expansion, when the node is clicked to perform lower expansion, whether the lower stage needs to be loaded or not is judged, and if so, the next stage structure of a relation tree is loaded.
S2 associates each enterprise in the tree structure display with enterprise information to enable a user to view the enterprise information in the tree structure display. Clicking on the information of each node in the tree structure representation may display the detailed information of the enterprise corresponding to the node.
And S3, responding to the received instruction for inquiring the enterprise information on the display end, inquiring all the enterprise information and caching all the enterprise information into the server. The query area is arranged on the display page, a user can input enterprise information to be queried according to the requirement, and when the enterprise information database is queried in an original way, the database avoids recursive query which can cause performance problems, and all enterprise information is queried once and cached to the application server. The authority is controlled by the relevant data range of the query, and the caching key of the query result contains the client session information.
S4, analyzing the instruction for inquiring the enterprise information and displaying the enterprise information of the enterprise corresponding to the instruction. After all enterprise information is cached to a server, information queried by a user is displayed. And querying all enterprise information is only performed when querying for the first time, and when querying the enterprise information again, the corresponding enterprise information can be directly displayed according to the cache content in the server.
By using the technical scheme of the invention, the requirements of multidimensional display of enterprise relationship data and the performance problems of relevant calculation of enterprise relationship can be solved, a multidimensional visual enterprise relationship display form and a convenient operation form can be provided, an excellent display and query scheme can be provided, and the use performance is ensured.
In a preferred embodiment of the present invention, drawing a tree structure representation from relationships between individual enterprises and enterprise information includes:
acquiring enterprise information of each enterprise in a database and setting a root node according to the relationship among the enterprises;
in response to determining that the number of layers of the tree structure is greater than 0, matching child nodes of each layer in the tree structure according to the relationship between enterprises;
in response to the child nodes of each tier not repeating and not repeating with the child nodes of other tiers, the matching child nodes are arranged in a tree structure.
In a preferred embodiment of the present invention, the tree structure representation includes a title relationship tree generated from a stay relationship, a management relationship tree generated from reporting management relationships, and a control relationship tree generated from a primary sponsor relationship.
In a preferred embodiment of the present invention, drawing a tree structure representation from relationships between individual enterprises and enterprise information includes:
the property relation tree is matched with a subordinate child node by a fund list;
the management relation tree is matched with the lower child node by an upper management unit;
the control relationship tree is matched by the primary sponsor to the subordinate child nodes.
In a preferred embodiment of the present invention, presenting the tree structure representation at the display end includes:
the tree structure display diagram is shown using an Angular front end framework and an AntV visualization engine.
In a preferred embodiment of the present invention, presenting the tree structure representation at the display end includes:
the other areas outside the display area are semitransparent, the background of the display area is a name of a ink color top level unit, the display area is reduced and enlarged through a mouse wheel, a tree structure display diagram is moved by clicking a blank place, nodes in the tree structure are displayed with brief information corresponding to enterprises, a left mouse button clicks a node to expand and retract a child node, and a right mouse button clicks the node to open a menu.
In a preferred embodiment of the present invention, drawing a tree structure representation from relationships between individual enterprises and enterprise information includes:
the tree structure display diagram is doubly matched with the enterprise unified social credit code by using a simple enterprise name in recursion generation;
the number of recursion layers and a superior node list are taken as recursion parameters, and the maximum number of recursion times is set to be ten;
in response to finding that the current node already exists in the upper list, resetting the number of recursion layers;
in response to the number of recursion layers being cleared or there being no subordinate node, it is determined that a recursion end condition is reached. Aiming at the performance problem of tree structure generation, the tree structure is subjected to double matching with the unified social credit code of the enterprise by using a simple enterprise name in recursion generation. In order to avoid the situation that the recursion cannot be ended due to the fact that data are not normal or illegal circulation holds strands and the like, the recursion layer number and a current upper node list are used as recursion parameters, the maximum number of recursion times is set to be ten, when the current node is found to exist in the upper node list, the recursion layer number is cleared, and when the recursion layer number is cleared or no lower node exists, the recursion ending condition is achieved.
The user query also comprises the query of statistical information, and the query is not used for recursion in the database aiming at the query performance problem of the statistical information, all the original data required by statistics are queried and cached at one time, and the corresponding statistical data is generated by matching with the existing tree structure.
By using the technical scheme of the invention, the requirements of multidimensional display of enterprise relationship data and the performance problems of relevant calculation of enterprise relationship can be solved, a multidimensional visual enterprise relationship display form and a convenient operation form can be provided, an excellent display and query scheme can be provided, and the use performance is ensured.
It should be noted that, it will be understood by those skilled in the art that all or part of the procedures in implementing the methods of the above embodiments may be implemented by a computer program to instruct related hardware, and the above program may be stored in a computer readable storage medium, and the program may include the procedures of the embodiments of the above methods when executed. Wherein the storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like. The computer program embodiments described above may achieve the same or similar effects as any of the method embodiments described above.
Furthermore, the method disclosed according to the embodiment of the present invention may also be implemented as a computer program executed by a CPU, which may be stored in a computer-readable storage medium. When executed by a CPU, performs the functions defined above in the methods disclosed in the embodiments of the present invention.
With the above object in mind, in a second aspect of the embodiments of the present invention, an apparatus for visualizing multi-dimensional enterprise relationships is provided, as shown in fig. 2, where the apparatus 200 includes:
the drawing module is configured to draw a tree structure display diagram according to the relation among enterprises and the enterprise information, and display the tree structure display diagram at a display end;
an association module configured to associate each enterprise in the tree structure representation with enterprise information to enable a user to view the enterprise information in the tree structure representation;
the query module is configured to query all enterprise information and cache all enterprise information in the server in response to receiving an instruction for querying the enterprise information on the display terminal;
the display module is configured to analyze the instruction of inquiring the enterprise information and display the enterprise information of the enterprise corresponding to the instruction.
Based on the above object, a third aspect of the embodiments of the present invention proposes a computer device. Fig. 3 is a schematic diagram of an embodiment of a computer device provided by the present invention. As shown in fig. 3, an embodiment of the present invention includes the following means: at least one processor 21; and a memory 22, the memory 22 storing computer instructions 23 executable on the processor, the instructions when executed by the processor performing the method of:
drawing a tree structure display diagram according to the relation among enterprises and the enterprise information, and displaying the tree structure display diagram on a display end;
associating each enterprise in the tree structure display with enterprise information to enable a user to view the enterprise information in the tree structure display;
in response to receiving an instruction for querying enterprise information on a display end, querying all enterprise information and caching all enterprise information into a server;
and analyzing the instruction for inquiring the enterprise information and displaying the enterprise information of the enterprise corresponding to the instruction.
In a preferred embodiment of the present invention, drawing a tree structure representation from relationships between individual enterprises and enterprise information includes:
acquiring enterprise information of each enterprise in a database and setting a root node according to the relationship among the enterprises;
in response to determining that the number of layers of the tree structure is greater than 0, matching child nodes of each layer in the tree structure according to the relationship between enterprises;
in response to the child nodes of each tier not repeating and not repeating with the child nodes of other tiers, the matching child nodes are arranged in a tree structure.
In a preferred embodiment of the present invention, the tree structure representation includes a title relationship tree generated from a stay relationship, a management relationship tree generated from reporting management relationships, and a control relationship tree generated from a primary sponsor relationship.
In a preferred embodiment of the present invention, drawing a tree structure representation from relationships between individual enterprises and enterprise information includes:
the property relation tree is matched with a subordinate child node by a fund list;
the management relation tree is matched with the lower child node by an upper management unit;
the control relationship tree is matched by the primary sponsor to the subordinate child nodes.
In a preferred embodiment of the present invention, presenting the tree structure representation at the display end includes:
the tree structure display diagram is shown using an Angular front end framework and an AntV visualization engine.
In a preferred embodiment of the present invention, presenting the tree structure representation at the display end includes:
the other areas outside the display area are semitransparent, the background of the display area is a name of a ink color top level unit, the display area is reduced and enlarged through a mouse wheel, a tree structure display diagram is moved by clicking a blank place, nodes in the tree structure are displayed with brief information corresponding to enterprises, a left mouse button clicks a node to expand and retract a child node, and a right mouse button clicks the node to open a menu.
In a preferred embodiment of the present invention, drawing a tree structure representation from relationships between individual enterprises and enterprise information includes:
the tree structure display diagram is doubly matched with the enterprise unified social credit code by using a simple enterprise name in recursion generation;
the number of recursion layers and a superior node list are taken as recursion parameters, and the maximum number of recursion times is set to be ten;
in response to finding that the current node already exists in the upper list, resetting the number of recursion layers;
in response to the number of recursion layers being cleared or there being no subordinate node, it is determined that a recursion end condition is reached.
Based on the above object, a fourth aspect of the embodiments of the present invention proposes a computer-readable storage medium. Fig. 4 is a schematic diagram of an embodiment of a computer-readable storage medium provided by the present invention. As shown in fig. 4, the computer-readable storage medium 31 stores a computer program 32 that, when executed by a processor, performs the following method:
drawing a tree structure display diagram according to the relation among enterprises and the enterprise information, and displaying the tree structure display diagram on a display end;
associating each enterprise in the tree structure display with enterprise information to enable a user to view the enterprise information in the tree structure display;
in response to receiving an instruction for querying enterprise information on a display end, querying all enterprise information and caching all enterprise information into a server;
and analyzing the instruction for inquiring the enterprise information and displaying the enterprise information of the enterprise corresponding to the instruction.
In a preferred embodiment of the present invention, drawing a tree structure representation from relationships between individual enterprises and enterprise information includes:
acquiring enterprise information of each enterprise in a database and setting a root node according to the relationship among the enterprises;
in response to determining that the number of layers of the tree structure is greater than 0, matching child nodes of each layer in the tree structure according to the relationship between enterprises;
in response to the child nodes of each tier not repeating and not repeating with the child nodes of other tiers, the matching child nodes are arranged in a tree structure.
In a preferred embodiment of the present invention, the tree structure representation includes a title relationship tree generated from a stay relationship, a management relationship tree generated from reporting management relationships, and a control relationship tree generated from a primary sponsor relationship.
In a preferred embodiment of the present invention, drawing a tree structure representation from relationships between individual enterprises and enterprise information includes:
the property relation tree is matched with a subordinate child node by a fund list;
the management relation tree is matched with the lower child node by an upper management unit;
the control relationship tree is matched by the primary sponsor to the subordinate child nodes.
In a preferred embodiment of the present invention, presenting the tree structure representation at the display end includes:
the tree structure display diagram is shown using an Angular front end framework and an AntV visualization engine.
In a preferred embodiment of the present invention, presenting the tree structure representation at the display end includes:
the other areas outside the display area are semitransparent, the background of the display area is a name of a ink color top level unit, the display area is reduced and enlarged through a mouse wheel, a tree structure display diagram is moved by clicking a blank place, nodes in the tree structure are displayed with brief information corresponding to enterprises, a left mouse button clicks a node to expand and retract a child node, and a right mouse button clicks the node to open a menu.
In a preferred embodiment of the present invention, drawing a tree structure representation from relationships between individual enterprises and enterprise information includes:
the tree structure display diagram is doubly matched with the enterprise unified social credit code by using a simple enterprise name in recursion generation;
the number of recursion layers and a superior node list are taken as recursion parameters, and the maximum number of recursion times is set to be ten;
in response to finding that the current node already exists in the upper list, resetting the number of recursion layers;
in response to the number of recursion layers being cleared or there being no subordinate node, it is determined that a recursion end condition is reached.
Furthermore, the method disclosed according to the embodiment of the present invention may also be implemented as a computer program executed by a processor, which may be stored in a computer-readable storage medium. The above-described functions defined in the methods disclosed in the embodiments of the present invention are performed when the computer program is executed by a processor.
Furthermore, the above-described method steps and system units may also be implemented using a controller and a computer-readable storage medium storing a computer program for causing the controller to implement the above-described steps or unit functions.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general purpose or special purpose computer or general purpose or special purpose processor. Further, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that as used herein, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The foregoing embodiment of the present invention has been disclosed with reference to the number of embodiments for the purpose of description only, and does not represent the advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, and the program may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will appreciate that: the above discussion of any embodiment is merely exemplary and is not intended to imply that the scope of the disclosure of embodiments of the invention, including the claims, is limited to such examples; combinations of features of the above embodiments or in different embodiments are also possible within the idea of an embodiment of the invention, and many other variations of the different aspects of the embodiments of the invention as described above exist, which are not provided in detail for the sake of brevity. Therefore, any omission, modification, equivalent replacement, improvement, etc. of the embodiments should be included in the protection scope of the embodiments of the present invention.

Claims (10)

1. A method for visualizing relationships of a multi-dimensional enterprise, comprising the steps of:
drawing a tree structure display diagram according to the relation among enterprises and the enterprise information, and displaying the tree structure display diagram on a display end;
associating each enterprise in the tree structure display with enterprise information to enable a user to view the enterprise information in the tree structure display;
in response to receiving an instruction for querying enterprise information on a display end, querying all enterprise information and caching all enterprise information into a server;
and analyzing the instruction for inquiring the enterprise information and displaying the enterprise information of the enterprise corresponding to the instruction.
2. The method of claim 1, wherein drawing a tree structure representation from relationships between enterprises and enterprise information comprises:
acquiring enterprise information of each enterprise in a database and setting a root node according to the relationship among the enterprises;
in response to determining that the number of layers of the tree structure is greater than 0, matching child nodes of each layer in the tree structure according to the relationship between enterprises;
in response to the child nodes of each tier not repeating and not repeating with the child nodes of other tiers, the matching child nodes are arranged in a tree structure.
3. The method of claim 1, wherein the tree structure representation includes a title relationship tree generated from a stay relationship, a management relationship tree generated from a report management relationship, and a control relationship tree generated from a primary sponsored relationship.
4. A method according to claim 3, wherein drawing a tree structure representation from relationships between individual enterprises and enterprise information comprises:
the property relation tree is matched with a subordinate child node by a fund list;
the management relation tree is matched with the lower child node by an upper management unit;
the control relationship tree is matched by the primary sponsor to the subordinate child nodes.
5. The method of claim 1, wherein presenting the tree structure presentation at the display end comprises:
the tree structure display diagram is shown using an Angular front end framework and an AntV visualization engine.
6. The method of claim 5, wherein presenting the tree structure presentation at the display end comprises:
the other areas outside the display area are semitransparent, the background of the display area is a name of a ink color top level unit, the display area is reduced and enlarged through a mouse wheel, a tree structure display diagram is moved by clicking a blank place, nodes in the tree structure are displayed with brief information corresponding to enterprises, a left mouse button clicks a node to expand and retract a child node, and a right mouse button clicks the node to open a menu.
7. The method of claim 1, wherein drawing a tree structure representation from relationships between enterprises and enterprise information comprises:
the tree structure display diagram is doubly matched with the enterprise unified social credit code by using a simple enterprise name in recursion generation;
the number of recursion layers and a superior node list are taken as recursion parameters, and the maximum number of recursion times is set to be ten;
in response to finding that the current node already exists in the upper list, resetting the number of recursion layers;
in response to the number of recursion layers being cleared or there being no subordinate node, it is determined that a recursion end condition is reached.
8. An apparatus for visualizing relationships in a plurality of dimensions, the apparatus comprising:
the drawing module is configured to draw a tree structure display diagram according to the relation among enterprises and the enterprise information, and display the tree structure display diagram on a display end;
an association module configured to associate each enterprise in the tree structure representation with enterprise information to enable a user to view the enterprise information in the tree structure representation;
the query module is configured to query all enterprise information and cache all enterprise information in the server in response to receiving an instruction for querying the enterprise information on the display end;
and the display module is configured to analyze the instruction for inquiring the enterprise information and display the enterprise information of the enterprise corresponding to the instruction.
9. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, which when executed by the processor, perform the steps of the method of any one of claims 1-7.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method of any one of claims 1-7.
CN202310232596.7A 2023-03-09 2023-03-09 Method, device, equipment and medium for visualizing enterprise relationship in multiple dimensions Pending CN116150159A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310232596.7A CN116150159A (en) 2023-03-09 2023-03-09 Method, device, equipment and medium for visualizing enterprise relationship in multiple dimensions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310232596.7A CN116150159A (en) 2023-03-09 2023-03-09 Method, device, equipment and medium for visualizing enterprise relationship in multiple dimensions

Publications (1)

Publication Number Publication Date
CN116150159A true CN116150159A (en) 2023-05-23

Family

ID=86354398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310232596.7A Pending CN116150159A (en) 2023-03-09 2023-03-09 Method, device, equipment and medium for visualizing enterprise relationship in multiple dimensions

Country Status (1)

Country Link
CN (1) CN116150159A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117149892A (en) * 2023-07-14 2023-12-01 深圳全企通信息技术有限公司 Enterprise dimension information display method based on big data display screen

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117149892A (en) * 2023-07-14 2023-12-01 深圳全企通信息技术有限公司 Enterprise dimension information display method based on big data display screen

Similar Documents

Publication Publication Date Title
US9727551B2 (en) Associating conditions to summary table data
US9933928B2 (en) Selecting the type of visual marks in data visualizations based on user-selected visual properties of the marks
US9727836B2 (en) Systems and methods for generating data visualization dashboards
US9438495B2 (en) Visualization of resources in a data center
US9710430B2 (en) Representation of datasets using view-specific visual bundlers
US20170262165A9 (en) System for high volume data analytic integration and channel-independent advertisement generation
US20160364770A1 (en) System for high volume data analytic integration and channel-independent advertisement generation
CN112926288B (en) Business intelligent data visualization method, system, equipment and readable storage medium
US9268831B2 (en) System and method for extracting user selected data from a database
CN111708779A (en) Data management method, system, management equipment and storage medium
EP3340078B1 (en) Interactive user interface for dynamically updating data and data analysis and query processing
US20110106636A1 (en) Method and system for managing online presence
US8836704B2 (en) Automatic tree restriction
US8732615B2 (en) Unified interface for display and modification of data arrays
US20150324391A1 (en) Data visualization using level of detail magnification
CN116150159A (en) Method, device, equipment and medium for visualizing enterprise relationship in multiple dimensions
US20070033233A1 (en) Log management system and method of using the same
US20120159376A1 (en) Editing data records associated with static images
US9449032B2 (en) Multi-buffering system supporting read/write access to different data source type
KR20130126012A (en) Method and apparatusfor providing report of business intelligence
US9355376B2 (en) Rules library for sales playbooks
EP2821928A2 (en) Method and system for limiting output results in a mobile telecommunication system
US9218677B2 (en) Presenting data records based on binning and randomization
CN110659324A (en) Recursive data entry method and system
US11449493B2 (en) Persistent and configurable multidimensional data constraints

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