A method, device, equipment and medium for visualizing multi-dimensional enterprise relationships

By drawing a tree structure display diagram and combining Angular and AntV engines, the multi-dimensional requirements and computing performance problems of enterprise relationship display in the existing technology are solved, and multi-dimensional intuitive enterprise relationship display and convenient operation forms are realized.

CN116150159BActive Publication Date: 2025-08-22INSPUR GENERSOFT CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310232596.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-09
Publication Date
2025-08-22
Estimated Expiration
2043-03-09

AI Technical Summary

Technical Problem

The existing enterprise relationship visualization solution cannot meet the display of a large number of corporate holding structures and management structures, and the relationship matrix calculation is complex, resulting in the impact of query performance and real-time performance, and it is impossible to provide multi-dimensional and intuitive enterprise relationship display.

Method used

By drawing a tree structure display diagram, using the Angular front-end framework to display enterprise relationships with the AntV visualization engine, combining property rights, management and control relationship trees, it supports multi-dimensional query and caches enterprise information, and optimizes recursive matching to improve performance.

Benefits of technology

It realizes multi-dimensional intuitive enterprise relationship display, provides convenient operation forms, improves query performance and display efficiency, and solves the multi-dimensional display and computing performance problems of enterprise relationship data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116150159B_ABST
    Figure CN116150159B_ABST
Patent Text Reader

Abstract

The present invention provides a method, apparatus, device and readable medium for visualizing enterprise relationships in multiple dimensions. The method includes: drawing a tree structure display diagram based on the relationships and enterprise information between each enterprise, and displaying the tree structure display diagram on a display terminal; associating each enterprise in the tree structure display diagram with enterprise information so that a user can view the enterprise information in the tree structure display diagram; in response to receiving an instruction to query enterprise information on the display terminal, querying all enterprise information and caching all enterprise information to a server; parsing the instruction to query enterprise information, and displaying the enterprise information of the enterprise corresponding to the instruction. By using the solution of the present invention, the need for multi-dimensional display of enterprise relationship data and the performance problem of enterprise relationship-related calculations can be solved, a multi-dimensional and intuitive enterprise relationship display form and a convenient operation form can be provided, an excellent display and query solution can be provided, and performance of use can be guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and more particularly to a method, apparatus, device, and readable medium for visualizing enterprise relationships in multiple dimensions. Background Art

[0002] State-owned assets, large groups, and other property rights involve a large number of enterprises with complex and diverse relationships. It is difficult to visually observe the relationships between enterprises and some statistical information from the data. Therefore, a suitable visualization solution is needed to intuitively present enterprise relationships. Existing equity penetration diagrams mainly focus on the capital contribution, control, and investment of a single enterprise. On the one hand, they cannot meet the needs of displaying a large number of enterprise holding structures and management structures, and on the other hand, they cannot meet the needs of data query and analysis at multiple levels. Existing solutions define different enterprise relationship matching methods, which do not directly reflect the enterprise map of enterprise capital contribution, holding, and management relationships. On the one hand, the resulting relationship matrix is ​​a primitive graph, which cannot be displayed in large quantities using an intuitive tree structure. Moreover, when the relationship matrix is ​​visualized graphically, if there are too many nodes, it will be very messy. On the other hand, the calculation method of matching relationships in these solutions is complex, which will significantly affect the performance or real-time performance of queries. Summary of the Invention

[0003] In view of this, the purpose of the embodiments of the present invention is to propose a method, device, equipment and readable medium for visualizing multi-dimensional enterprise relationships. By using the technical solution of the present invention, it is possible to solve the needs of multi-dimensional display of enterprise relationship data and the performance problems of enterprise relationship-related calculations, provide a multi-dimensional intuitive enterprise relationship display form and a convenient operation form, provide excellent display and query solutions, and ensure the performance of use.

[0004] Based on the above objectives, one aspect of an embodiment of the present invention provides a method for visualizing enterprise relationships in multiple dimensions, including the following steps:

[0005] Draw a tree structure display diagram based on the relationship between each enterprise and enterprise information, and display the tree structure display diagram on the display terminal;

[0006] Associating each enterprise in the tree structure display diagram with enterprise information so that a user can view the enterprise information in the tree structure display diagram;

[0007] In response to receiving an instruction to query enterprise information on the display terminal, query all enterprise information and cache all enterprise information in the server;

[0008] Parse the instructions for querying enterprise information and display the enterprise information of the enterprise corresponding to the instructions.

[0009] According to one embodiment of the present invention, drawing a tree structure display diagram based on the relationship between each enterprise and enterprise information includes:

[0010] Obtain enterprise information of each enterprise in the database and set the root node according to the relationship between enterprises;

[0011] In response to determining that the number of levels of the tree structure is greater than 0, matching child nodes of each level in the tree structure according to the relationship between the enterprises;

[0012] In response to the child nodes of each layer not being repeated and not being repeated with the child nodes of other layers, matching child nodes are arranged in the tree structure.

[0013] According to one embodiment of the present invention, the tree structure display diagram includes a property rights relationship tree generated by shareholding relationships, a management relationship tree generated by reporting management relationships, and a control relationship tree generated by major investment relationships.

[0014] According to one embodiment of the present invention, drawing a tree structure display diagram based on the relationship between each enterprise and enterprise information includes:

[0015] The property rights relationship tree is matched with the lower-level child nodes by the investment list;

[0016] The management relationship tree is composed of upper-level management units matching lower-level child nodes;

[0017] The control relationship tree is matched by the main investor to the subordinate child nodes.

[0018] According to one embodiment of the present invention, displaying the tree structure display diagram on the display terminal includes:

[0019] Use the Angular front-end framework and AntV visualization engine to display the tree structure diagram.

[0020] According to one embodiment of the present invention, displaying the tree structure display diagram on the display terminal includes:

[0021] Other areas outside the display area are semi-transparent, and the background of the display area is the ink-colored top-level unit name. The display area can be zoomed in and out using the mouse wheel. Click on the blank space to move the tree structure display diagram. Hovering the mouse over a node in the tree structure will display the brief information of the corresponding enterprise. Left-click on a node to expand or collapse the child nodes. Right-click on a node to open the menu.

[0022] According to one embodiment of the present invention, drawing a tree structure display diagram based on the relationship between each enterprise and enterprise information includes:

[0023] The tree structure display diagram uses a simple enterprise name and the enterprise's unified social credit code for double matching during recursive generation;

[0024] The number of recursive layers and the list of parent nodes are used as recursive parameters, and the maximum number of recursions is set to ten;

[0025] In response to finding that the current node already exists in the upper-level list, the number of recursive levels is cleared to zero;

[0026] In response to the recursion level being cleared to zero or having no lower-level nodes, it is determined that the recursion end condition is met.

[0027] Another aspect of an embodiment of the present invention further provides a device for visualizing enterprise relationships in multiple dimensions, the device comprising:

[0028] A drawing module is configured to draw a tree structure display diagram based on the relationship between each enterprise and the enterprise information, and display the tree structure display diagram on the display terminal;

[0029] an association module configured to associate each enterprise in the tree structure display diagram with enterprise information so that a user can view the enterprise information in the tree structure display diagram;

[0030] A query module, the query module is configured to query all enterprise information and cache all enterprise information in the server in response to receiving an instruction to query enterprise information on the display terminal;

[0031] The display module is configured to parse the instruction for querying enterprise information and display the enterprise information of the enterprise corresponding to the instruction.

[0032] Another aspect of the embodiments of the present invention further provides a computer device, the computer device comprising:

[0033] at least one processor; and

[0034] The memory stores computer instructions that can be run on the processor, and when the instructions are executed by the processor, the steps of any of the above methods are implemented.

[0035] Another aspect of the embodiments of the present invention further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of any one of the above methods are implemented.

[0036] The present invention has the following beneficial technical effects: the method for visualizing enterprise relationships in multiple dimensions provided by the embodiment of the present invention draws a tree structure display diagram based on the relationship between each enterprise and enterprise information, and displays the tree structure display diagram on the display end; associates each enterprise in the tree structure display diagram with the enterprise information so that the user can view the enterprise information in the tree structure display diagram; in response to receiving an instruction to query enterprise information on the display end, queries all enterprise information and caches all enterprise information to the server; parses the instruction to query enterprise information, and displays the enterprise information of the enterprise corresponding to the instruction. The technical solution can solve the need for multi-dimensional display of enterprise relationship data and the performance problem of enterprise relationship-related calculations, can provide a multi-dimensional intuitive enterprise relationship display form and a convenient operation form, can provide excellent display and query solutions, and ensure performance of use. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can be obtained based on these drawings without paying any creative work.

[0038] Figure 1 is a schematic flow chart of a method for visualizing enterprise relationships in multiple dimensions according to one embodiment of the present invention;

[0039] Figure 2 A schematic diagram of an apparatus for visualizing enterprise relationships in multiple dimensions according to an embodiment of the present invention;

[0040] Figure 3 is a schematic diagram of a computer device according to one embodiment of the present invention;

[0041] Figure 4 FIG. 1 is a schematic diagram of a computer-readable storage medium according to an embodiment of the present invention. DETAILED DESCRIPTION

[0042] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention are further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0043] Based on the above objectives, a first aspect of an embodiment of the present invention provides an embodiment of a method for visualizing enterprise relationships in multiple dimensions. Figure 1 Shown is a schematic flow chart of the method.

[0044] like Figure 1 As shown in , the method may include the following steps:

[0045] S1 draws a tree structure diagram based on the relationships and enterprise information between enterprises and displays it on the display. This invention addresses the need for multi-dimensional display of enterprise relationship data and the performance issues associated with enterprise relationship-related calculations. It is primarily divided into front-end display and back-end query. The front-end display utilizes the Angular front-end framework and the AntV visualization engine. Angular utilizes Web Workers and server-side rendering, offering superior performance. Based on RxJS, Immutable.js, and other push models, it can adapt to massive data demands. AntV is a comprehensive visualization engine with high customizability to meet various display needs. The map display utilizes the OpenLayers development library, which utilizes HTML5's latest rendering technologies, Canvas 2D and WebGL, for exceptional performance. The drawn tree structure is displayed on the front-end. The display interface allows for multiple selection buttons to display different aspects of the display. A tree structure type selection button group can be set to select the dimensions of the enterprise management tree structure. The tree structure dimensions are categorized into property rights trees generated by shareholding relationships, management trees generated by reporting management relationships, and control trees generated by major investment relationships. You can set a tree structure distribution type selection button group, choosing whether the tree structure is distributed vertically or horizontally. Both distribution types have square nodes, and the connecting lines are cubic curves. You can also set a Save Image button to save the currently displayed tree structure as an image and download it. You can also set a unit selection box, allowing you to select different top-level units when there are multiple top-level units. You can also set a query area, which supports automatic matching and filling when entering queries. You can also choose whether to display parent levels in the query results. The display area displays the tree structure. The rest of the area, except for the display area, is semi-transparent to maximize the display range. The background of the display area is the ink-colored top-level unit name. The display area can be zoomed in and out using the mouse wheel. Clicking blank areas moves the tree. Hovering over a tree node displays a company summary card. Left-clicking a node expands and collapses child nodes. Right-clicking a node opens a menu. The node menu includes 1) View basic company information, 2) View statistics, 3) Expand all sub-nodes with one click, and 4) Expand all sub-nodes from now on. Clicking on a corresponding menu will pop up the corresponding dialog box or load the corresponding relationship tree. The annotation area indicates the different meanings of different nodes. In order to avoid performance problems caused by data loading, only the top-level unit list, the company name list, and the tree nodes of the top-level units and the first-level units are loaded initially, and the loading of data is bound to the expansion of the nodes. When clicking a node to expand the lower level, it is determined whether the lower level needs to be loaded. If necessary, the next level structure of the relationship tree is loaded.

[0046] S2 associates each enterprise in the tree structure display diagram with enterprise information so that the user can view the enterprise information in the tree structure display diagram. Clicking on each node in the tree structure display diagram can display detailed information of the enterprise corresponding to the node.

[0047] In response to receiving a request to query enterprise information on the display, S3 queries all enterprise information and caches it on the server. A query area is provided on the display page, allowing users to enter the desired enterprise information. During the initial query of the enterprise information database, all enterprise information is queried at once, avoiding recursive queries that can cause performance issues, and caching it on the application server. Permissions are controlled by the relevant data scope of the query, and the cache key for the query results contains the client session information.

[0048] S4 parses the command to query company information and displays the corresponding company information. After caching all company information on the server, it displays the information requested by the user. Querying all company information is only performed on the first query. Subsequent queries for company information can directly display the corresponding company information based on the server cache.

[0049] By using the technical solution of the present invention, the need for multi-dimensional display of enterprise relationship data and the performance issues of enterprise relationship-related calculations can be solved, a multi-dimensional and intuitive enterprise relationship display form and a convenient operation form can be provided, and excellent display and query solutions can be provided to ensure performance.

[0050] In a preferred embodiment of the present invention, drawing a tree structure display diagram based on the relationship between each enterprise and the enterprise information includes:

[0051] Obtain enterprise information of each enterprise in the database and set the root node according to the relationship between enterprises;

[0052] In response to determining that the number of levels of the tree structure is greater than 0, matching child nodes of each level in the tree structure according to the relationship between the enterprises;

[0053] In response to the child nodes of each layer not being repeated and not being repeated with the child nodes of other layers, matching child nodes are arranged in the tree structure.

[0054] In a preferred embodiment of the present invention, the tree structure display diagram includes a property rights relationship tree generated by shareholding relationships, a management relationship tree generated by reporting management relationships, and a control relationship tree generated by major investment relationships.

[0055] In a preferred embodiment of the present invention, drawing a tree structure display diagram based on the relationship between each enterprise and the enterprise information includes:

[0056] The property rights relationship tree is matched with the lower-level child nodes by the investment list;

[0057] The management relationship tree is composed of upper-level management units matching lower-level child nodes;

[0058] The control relationship tree is matched by the main investor to the subordinate child nodes.

[0059] In a preferred embodiment of the present invention, displaying the tree structure display diagram on the display terminal includes:

[0060] Use the Angular front-end framework and AntV visualization engine to display the tree structure diagram.

[0061] In a preferred embodiment of the present invention, displaying the tree structure display diagram on the display terminal includes:

[0062] Other areas outside the display area are semi-transparent, and the background of the display area is the ink-colored top-level unit name. The display area can be zoomed in and out using the mouse wheel. Click on the blank space to move the tree structure display diagram. Hovering the mouse over a node in the tree structure will display the brief information of the corresponding enterprise. Left-click on a node to expand or collapse the child nodes. Right-click on a node to open the menu.

[0063] In a preferred embodiment of the present invention, drawing a tree structure display diagram based on the relationship between each enterprise and the enterprise information includes:

[0064] The tree structure display diagram uses a simple enterprise name and the enterprise's unified social credit code for double matching during recursive generation;

[0065] The number of recursive layers and the list of parent nodes are used as recursive parameters, and the maximum number of recursions is set to ten;

[0066] In response to finding that the current node already exists in the upper-level list, the number of recursive levels is cleared to zero;

[0067] In response to the recursion level being cleared or the absence of lower-level nodes, the recursion termination condition is determined to have been met. To address performance issues with tree structure generation, the tree structure is recursively generated using a simple enterprise name and the enterprise's unified social credit code for dual matching. To avoid situations such as data non-standardization or illegal circular shareholding that prevent the recursion from terminating and resulting in an infinite loop, the recursion level and the current parent node list are used as recursion parameters. The maximum number of recursions is set to ten. If the current node is found to already exist in the parent node list, the recursion level is cleared to zero. The recursion termination condition is met when the recursion level is cleared to zero or there are no lower-level nodes.

[0068] User queries also include queries for statistical information. To address performance issues with statistical information queries, queries no longer use recursion in the database. All raw data required for statistics are queried and cached at one time, and corresponding statistical data are generated in conjunction with the existing tree structure. Since the property rights relationship tree itself has duplicate nodes, attention must be paid to data deduplication to ensure the accuracy of the statistical data.

[0069] By using the technical solution of the present invention, the need for multi-dimensional display of enterprise relationship data and the performance issues of enterprise relationship-related calculations can be solved, a multi-dimensional and intuitive enterprise relationship display form and a convenient operation form can be provided, and excellent display and query solutions can be provided to ensure performance.

[0070] It should be noted that those skilled in the art will understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The above-mentioned program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM). The embodiment of the above-mentioned computer program can achieve the same or similar effects as any of the corresponding aforementioned method embodiments.

[0071] In addition, the method disclosed in the embodiment of the present invention can also be implemented as a computer program executed by a CPU, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the CPU, the above functions defined in the method disclosed in the embodiment of the present invention are performed.

[0072] Based on the above purpose, the second aspect of the embodiment of the present invention provides a device for visualizing enterprise relationships in multiple dimensions, such as Figure 2 As shown, the apparatus 200 includes:

[0073] A drawing module is configured to draw a tree structure display diagram based on the relationship between each enterprise and the enterprise information, and display the tree structure display diagram on the display terminal;

[0074] an association module configured to associate each enterprise in the tree structure display diagram with enterprise information so that a user can view the enterprise information in the tree structure display diagram;

[0075] A query module, the query module is configured to query all enterprise information and cache all enterprise information in the server in response to receiving an instruction to query enterprise information on the display terminal;

[0076] The display module is configured to parse the instruction for querying enterprise information and display the enterprise information of the enterprise corresponding to the instruction.

[0077] Based on the above objectives, a third aspect of an embodiment of the present invention provides a computer device. Figure 3 FIG. 1 is a schematic diagram of an embodiment of a computer device provided by the present invention. Figure 3 As shown, the embodiment of the present invention includes the following apparatus: at least one processor 21; and a memory 22, wherein the memory 22 stores computer instructions 23 that can be executed on the processor, and when the instructions are executed by the processor, the following method is implemented:

[0078] Draw a tree structure display diagram based on the relationship between each enterprise and enterprise information, and display the tree structure display diagram on the display terminal;

[0079] Associating each enterprise in the tree structure display diagram with enterprise information so that a user can view the enterprise information in the tree structure display diagram;

[0080] In response to receiving an instruction to query enterprise information on the display terminal, query all enterprise information and cache all enterprise information in the server;

[0081] Parse the instructions for querying enterprise information and display the enterprise information of the enterprise corresponding to the instructions.

[0082] In a preferred embodiment of the present invention, drawing a tree structure display diagram based on the relationship between each enterprise and the enterprise information includes:

[0083] Obtain enterprise information of each enterprise in the database and set the root node according to the relationship between enterprises;

[0084] In response to determining that the number of levels of the tree structure is greater than 0, matching child nodes of each level in the tree structure according to the relationship between the enterprises;

[0085] In response to the child nodes of each layer not being repeated and not being repeated with the child nodes of other layers, matching child nodes are arranged in the tree structure.

[0086] In a preferred embodiment of the present invention, the tree structure display diagram includes a property rights relationship tree generated by shareholding relationships, a management relationship tree generated by reporting management relationships, and a control relationship tree generated by major investment relationships.

[0087] In a preferred embodiment of the present invention, drawing a tree structure display diagram based on the relationship between each enterprise and the enterprise information includes:

[0088] The property rights relationship tree is matched with the lower-level child nodes by the investment list;

[0089] The management relationship tree is composed of upper-level management units matching lower-level child nodes;

[0090] The control relationship tree is matched by the main investor to the subordinate child nodes.

[0091] In a preferred embodiment of the present invention, displaying the tree structure display diagram on the display terminal includes:

[0092] Use the Angular front-end framework and AntV visualization engine to display the tree structure diagram.

[0093] In a preferred embodiment of the present invention, displaying the tree structure display diagram on the display terminal includes:

[0094] Other areas outside the display area are semi-transparent, and the background of the display area is the ink-colored top-level unit name. The display area can be zoomed in and out using the mouse wheel. Click on the blank space to move the tree structure display diagram. Hovering the mouse over a node in the tree structure will display the brief information of the corresponding enterprise. Left-click on a node to expand or collapse the child nodes. Right-click on a node to open the menu.

[0095] In a preferred embodiment of the present invention, drawing a tree structure display diagram based on the relationship between each enterprise and the enterprise information includes:

[0096] The tree structure display diagram uses a simple enterprise name and the enterprise's unified social credit code for double matching during recursive generation;

[0097] The number of recursive layers and the list of parent nodes are used as recursive parameters, and the maximum number of recursions is set to ten;

[0098] In response to finding that the current node already exists in the upper-level list, the number of recursive levels is cleared to zero;

[0099] In response to the recursion level being cleared to zero or having no lower-level nodes, it is determined that the recursion end condition is met.

[0100] Based on the above objectives, a fourth aspect of an embodiment of the present invention provides a computer-readable storage medium. Figure 4 FIG. 1 is a schematic diagram of an embodiment of a computer-readable storage medium provided by the present invention. Figure 4 As shown, the computer readable storage medium 31 stores a computer program 32 that performs the following method when executed by a processor:

[0101] Draw a tree structure display diagram based on the relationship between each enterprise and enterprise information, and display the tree structure display diagram on the display terminal;

[0102] Associating each enterprise in the tree structure display diagram with enterprise information so that a user can view the enterprise information in the tree structure display diagram;

[0103] In response to receiving an instruction to query enterprise information on the display terminal, query all enterprise information and cache all enterprise information in the server;

[0104] Parse the instructions for querying enterprise information and display the enterprise information of the enterprise corresponding to the instructions.

[0105] In a preferred embodiment of the present invention, drawing a tree structure display diagram based on the relationship between each enterprise and the enterprise information includes:

[0106] Obtain enterprise information of each enterprise in the database and set the root node according to the relationship between enterprises;

[0107] In response to determining that the number of levels of the tree structure is greater than 0, matching child nodes of each level in the tree structure according to the relationship between the enterprises;

[0108] In response to the child nodes of each layer not being repeated and not being repeated with the child nodes of other layers, matching child nodes are arranged in the tree structure.

[0109] In a preferred embodiment of the present invention, the tree structure display diagram includes a property rights relationship tree generated by shareholding relationships, a management relationship tree generated by reporting management relationships, and a control relationship tree generated by major investment relationships.

[0110] In a preferred embodiment of the present invention, drawing a tree structure display diagram based on the relationship between each enterprise and the enterprise information includes:

[0111] The property rights relationship tree is matched with the lower-level child nodes by the investment list;

[0112] The management relationship tree is composed of upper-level management units matching lower-level child nodes;

[0113] The control relationship tree is matched by the main investor to the subordinate child nodes.

[0114] In a preferred embodiment of the present invention, displaying the tree structure display diagram on the display terminal includes:

[0115] Use the Angular front-end framework and AntV visualization engine to display the tree structure diagram.

[0116] In a preferred embodiment of the present invention, displaying the tree structure display diagram on the display terminal includes:

[0117] Other areas outside the display area are semi-transparent, and the background of the display area is the ink-colored top-level unit name. The display area can be zoomed in and out using the mouse wheel. Click on the blank space to move the tree structure display diagram. Hovering the mouse over a node in the tree structure will display the brief information of the corresponding enterprise. Left-click on a node to expand or collapse the child nodes. Right-click on a node to open the menu.

[0118] In a preferred embodiment of the present invention, drawing a tree structure display diagram based on the relationship between each enterprise and the enterprise information includes:

[0119] The tree structure display diagram uses a simple enterprise name and the enterprise's unified social credit code for double matching during recursive generation;

[0120] The number of recursive layers and the list of parent nodes are used as recursive parameters, and the maximum number of recursions is set to ten;

[0121] In response to finding that the current node already exists in the upper-level list, the number of recursive levels is cleared to zero;

[0122] In response to the recursion level being cleared to zero or having no lower-level nodes, it is determined that the recursion end condition is met.

[0123] In addition, the method disclosed in the embodiment of the present invention can also be implemented as a computer program executed by a processor, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the above functions defined in the method disclosed in the embodiment of the present invention are performed.

[0124] In addition, the above method steps and system units can also be implemented using a controller and a computer-readable storage medium for storing a computer program that enables the controller to implement the above steps or unit functions.

[0125] It will also be appreciated by those skilled in the art that the various exemplary logic blocks, modules, circuits and algorithmic steps described in conjunction with the disclosure herein can be implemented as electronic hardware, computer software or a combination of the two. In order to clearly illustrate this interchangeability of hardware and software, a general description has been given of the functions of various schematic components, blocks, modules, circuits and steps. Whether this function is implemented as software or hardware depends on specific applications and the design constraints imposed on the entire system. Those skilled in the art can implement the function in various ways for each specific application, but this implementation decision should not be interpreted as causing a departure from the disclosed scope of the embodiments of the present invention.

[0126] In one or more exemplary designs, the function can be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the function can be stored as one or more instructions or codes on a computer-readable medium or transmitted via a computer-readable medium. Computer-readable media include computer storage media and communication media, and the communication media include any media that helps to transmit a computer program from one location to another. The storage medium can be any available medium that can be accessed by a general or special-purpose computer. As an example and not limitation, the computer-readable medium can include RAM, ROM, EEPROM, CD-ROM or other optical disk storage devices, magnetic disk storage devices or other magnetic storage devices, or any other medium that can be used to carry or store the required program code in the form of instructions or data structures and can be accessed by a general or special-purpose computer or a general or special-purpose processor. In addition, any connection can be appropriately referred to as a computer-readable medium. For example, if a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwaves are used to send software from a website, server, or other remote source, the above-mentioned coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwaves are all included in the definition of medium. As used herein, disk and disc include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and 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.

[0127] The above are exemplary embodiments disclosed in the present invention, but it should be noted that various changes and modifications may be made without departing from the scope of the embodiments disclosed in the claims. The functions, steps and / or actions of the method claims according to the disclosed embodiments described herein do not need to be performed in any particular order. In addition, although the elements disclosed in the embodiments of the present invention may be described or required in individual form, they may also be understood as multiple unless expressly limited to the singular.

[0128] It should be understood that, as used herein, the singular forms "a" and "an" are intended to include the plural forms as well, unless the context clearly supports an exception. It should also be understood that, as used herein, "and / or" is intended to include any and all possible combinations of one or more of the associated listed items.

[0129] The serial numbers of the embodiments disclosed in the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0130] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or may be accomplished by a program instructing the relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk, or an optical disk, etc.

[0131] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the disclosure of the embodiments of the present invention (including the claims) is limited to these examples. Within the spirit of the embodiments of the present invention, the technical features of the above embodiments or different embodiments may be combined, and there are many other variations of different aspects of the above embodiments of the present invention, which are not provided in detail for the sake of simplicity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention should be included in the scope of protection of the embodiments of the present invention.

Claims

1. A method for visualizing enterprise relationships in multiple dimensions, characterized by: The following steps are involved: Draw a tree structure diagram based on the relationships and enterprise information between each enterprise, and use the Angular front-end framework and AntV visualization engine to display the tree structure diagram on the display end; Associating each enterprise in the tree structure display diagram with enterprise information so that a user can view the enterprise information in the tree structure display diagram; In response to receiving an instruction to query enterprise information on the display terminal, query all enterprise information and cache all enterprise information in the server; Parse the instructions for querying enterprise information and display the enterprise information corresponding to the instructions; Drawing a tree structure display diagram based on the relationship between each enterprise and enterprise information includes: The tree structure display diagram uses a simple enterprise name and the enterprise's unified social credit code for double matching during recursive generation; The number of recursive layers and the list of parent nodes are used as recursive parameters, and the maximum number of recursions is set to ten; In response to finding that the current node already exists in the upper-level list, the number of recursive levels is cleared to zero; In response to the number of recursion levels being cleared to zero or the number of lower-level nodes being absent, determining that a recursion termination condition is met; The tree structure display diagram includes the property rights relationship tree generated by the shareholding relationship, the management relationship tree generated by the reporting management relationship, and the control relationship tree generated by the main investment relationship; Drawing a tree structure display diagram based on the relationship between each enterprise and enterprise information includes: The property rights relationship tree is matched with the lower-level child nodes by the investment list; The management relationship tree is composed of upper-level management units matching lower-level child nodes; The control relationship tree is matched by the main investor to the subordinate child nodes.

2. The method according to claim 1, characterized in that Drawing a tree structure display diagram based on the relationship between each enterprise and enterprise information includes: Obtain enterprise information of each enterprise in the database and set the root node according to the relationship between enterprises; In response to determining that the number of levels of the tree structure is greater than 0, matching child nodes of each level in the tree structure according to the relationship between the enterprises; In response to the child nodes of each layer not being repeated and not being repeated with the child nodes of other layers, matching child nodes are arranged in the tree structure.

3. The method according to claim 1, characterized in that Displaying the tree structure diagram on the display terminal includes: Other areas outside the display area are semi-transparent, and the background of the display area is the ink-colored top-level unit name. The display area can be zoomed in and out using the mouse wheel. Click on the blank space to move the tree structure display diagram. Hovering the mouse over a node in the tree structure will display the brief information of the corresponding enterprise. Left-click on a node to expand or collapse the child nodes. Right-click on a node to open the menu.

4. A device for visualizing enterprise relationships in multiple dimensions, characterized in that: The device comprises: A drawing module configured to draw a tree structure display diagram based on the relationship between each enterprise and enterprise information, and display the tree structure display diagram on a display terminal using the Angular front-end framework and the AntV visualization engine; an association module configured to associate each enterprise in the tree structure display diagram with enterprise information so that a user can view the enterprise information in the tree structure display diagram; a query module, the query module being configured to query all enterprise information and cache all enterprise information in a server in response to receiving an instruction to query enterprise information on the display terminal; A display module configured to parse an instruction for querying enterprise information and display enterprise information corresponding to the instruction; The drawing module is also configured as follows: when recursively generating a tree structure display diagram, a simple enterprise name and a unified social credit code of the enterprise are used for double matching; the number of recursive layers and the parent node list are used as recursive parameters, and the maximum number of recursions is stipulated to be ten times; in response to discovering that the current node already exists in the parent list, the number of recursive layers is cleared to zero; in response to the number of recursive layers being cleared to zero or there being no lower-level nodes, it is determined that the recursive end condition is met; the tree structure display diagram includes a property rights relationship tree generated by a shareholding relationship, a management relationship tree generated by a reporting management relationship, and a control relationship tree generated by a major investment relationship; the property rights relationship tree is matched with lower-level child nodes by the investment list; the management relationship tree is matched with lower-level child nodes by the upper-level management unit; and the control relationship tree is matched with lower-level child nodes by the major investor.

5. A computer device, characterized in that: include: at least one processor; as well as A memory storing computer instructions executable on the processor, wherein the instructions, when executed by the processor, implement the steps of the method according to any one of claims 1 to 3.

6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.

Citation Information

Patent Citations

  • An enterprise tree spectrogram display method based on market subject credit data

    CN109829034A