CN107733680B - Network map layout method and device and visualization equipment - Google Patents

Network map layout method and device and visualization equipment Download PDF

Info

Publication number
CN107733680B
CN107733680B CN201710370396.2A CN201710370396A CN107733680B CN 107733680 B CN107733680 B CN 107733680B CN 201710370396 A CN201710370396 A CN 201710370396A CN 107733680 B CN107733680 B CN 107733680B
Authority
CN
China
Prior art keywords
target
target node
nodes
node
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710370396.2A
Other languages
Chinese (zh)
Other versions
CN107733680A (en
Inventor
胡大民
秦锋剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Green Bay Network Technology Co., Ltd.
Original Assignee
Green Bay Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Green Bay Network Technology Co ltd filed Critical Green Bay Network Technology Co ltd
Publication of CN107733680A publication Critical patent/CN107733680A/en
Application granted granted Critical
Publication of CN107733680B publication Critical patent/CN107733680B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies

Abstract

The invention provides a network map layout method, a network map layout device and visualization equipment, wherein the method comprises the following steps: determining a target node and an event parameter according to the operation of a user in a network map; determining a target layout mode corresponding to the event parameter according to a preset rule; and re-laying the target nodes according to the target laying-out mode. The method provided by the invention can simplify the operation steps, improve the analysis efficiency, save the time of the user and improve the use experience of the user.

Description

Network map layout method and device and visualization equipment
Technical Field
The invention relates to the technical field of network visualization, in particular to a network map layout method, a network map layout device and visualization equipment.
Background
At present, when analyzing a network map, a user can generally use various layout algorithms to lay out nodes in the network map so as to obtain a clear display effect.
In the actual use process, the simple network map can obtain clear display effect through various layout algorithms. However, for a more complex network map, there is a certain limitation in obtaining a clear display effect through a layout algorithm. For example, if the user needs to frequently check the network relationship of a certain node in the analysis process, the user needs to select a part of nodes related to the node, and then rearrange the nodes by selecting an automatic layout button in a menu, or directly and manually drag the node and other peripheral nodes to appropriate positions to clear the network relationship of the node. In the node re-layout process, the operation steps are complicated, the time is long and the efficiency is low.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, a first objective of the present invention is to provide a network map layout method, which can simplify operation steps, improve analysis efficiency, save user time, and improve user experience.
The second purpose of the invention is to provide a network map layout device.
A third object of the invention is to propose a visualization device.
A fourth object of the invention is to propose a storage medium.
To achieve the above object, according to a first aspect of the present invention, a network map layout method is provided, including the following steps:
determining a target node and an event parameter according to the operation of a user in a network map;
determining a target layout mode corresponding to the event parameter according to a preset rule;
and re-laying the target nodes according to the target laying-out mode.
According to the network map layout method provided by the embodiment, the target node and the event parameter are determined according to the operation of the user in the network map, the target layout mode corresponding to the event parameter is determined according to the preset rule, and then the target node is rearranged according to the determined target layout mode. Therefore, the operation steps of the user are simplified, the overall efficiency is improved, the time of the user is saved, and the use experience of the user is improved.
In addition, the network map layout method proposed by the above embodiment of the present invention may further have the following additional technical features:
in an embodiment of the present invention, the re-laying out the target nodes according to the target laying-out manner includes:
and re-arranging the target node and the associated leaf node.
Optionally, in an embodiment of the present invention, before the re-laying out the target node and the associated leaf node, the method further includes:
acquiring position information of each node in the network map;
determining the position of the target node according to the position information of each node in the network map and the event parameter;
moving the target node to the location.
Optionally, in an embodiment of the present invention, the determining the location of the target node according to the location information of each node in the network graph and the event parameter includes:
determining the number of nodes to be moved and a target layout mode according to the event parameters;
determining the area of a target area according to the number of the nodes to be moved and a target layout mode;
and determining the position of the target node according to the area of the target region.
Optionally, in an embodiment of the present invention, after moving the target node to the location, the method further includes:
and updating the position of the target node according to the operation of the user on the target node.
In an embodiment of the present invention, before determining the target node and the event parameter according to the operation of the user in the network graph, the method further includes:
determining that the user performs a preset operation on the target node;
and/or determining that the user triggers a preset shortcut key when the focus is at the target node.
To achieve the above object, a second embodiment of the present invention provides a network map layout apparatus, including:
the first determining module is used for determining a target node and an event parameter according to the operation of a user in a network map;
the second determining module is used for determining a target layout mode corresponding to the event parameter according to a preset rule;
and the layout module is used for re-laying the target nodes according to the target layout mode.
The network map layout device provided in this embodiment determines a target node and an event parameter according to an operation of a user in a network map, determines a target layout mode corresponding to the event parameter according to a preset rule, and then re-lays the target node according to the determined target layout mode. Therefore, the operation steps of the user are simplified, the overall efficiency is improved, the time of the user is saved, and the use experience of the user is improved.
In addition, the network map layout apparatus provided in the above embodiment of the present invention may further have the following additional technical features:
in one embodiment of the present invention, the layout module includes:
and the re-layout unit is used for re-laying the target node and the associated leaf node.
In an embodiment of the present invention, the layout module further includes:
the acquisition unit is used for acquiring the position information of each node in the network map;
a determining unit, configured to determine a location of the target node according to location information of each node in the network graph and the event parameter;
a control unit for moving the target node to the location.
In an embodiment of the present invention, the determining unit specifically includes:
determining the number of nodes to be moved and a target layout mode according to the event parameters;
determining the area of a target area according to the number of the nodes to be moved and a target layout mode;
and determining the position of the target node according to the area of the target region.
In an embodiment of the present invention, the layout module further includes:
and the updating unit is used for updating the position of the target node according to the operation of the user on the target node.
In an embodiment of the present invention, before the determining module, the method further includes:
determining that the user performs a preset operation on the target node;
and/or determining that the user triggers a preset shortcut key when the focus is at the target node.
To achieve the above object, a third aspect of the present invention provides a visualization apparatus, including: the system comprises a processor, a memory and a display screen, wherein the display screen is used for displaying a network map; the memory is used for storing executable program codes; the processor is used for calling the program codes in the memory to realize the following technical scheme:
determining a target node and an event parameter according to the operation of a user in a network map;
determining a target layout mode corresponding to the event parameter according to a preset rule;
and re-laying the target nodes according to the target laying-out mode.
The visualization device provided by this embodiment determines the target node and the event parameter according to the operation of the user in the network map, determines the target layout mode corresponding to the event parameter according to the preset rule, and then re-lays the target node according to the determined target layout mode. Therefore, the operation steps of the user are simplified, the overall efficiency is improved, the time of the user is saved, and the use experience of the user is improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow diagram of a network map layout method according to an embodiment of the present invention;
FIG. 2 is a flow diagram of a network map layout method according to another embodiment of the present invention;
FIG. 3 is a diagram illustrating the effect of a target node re-layout process according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a network map layout apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a network map layout apparatus according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of a visualization apparatus according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The invention provides a network map layout method, which mainly aims at the problems that in the prior art, when a network map is analyzed, complicated operation steps need to be executed, the time is long, and the efficiency is low. According to the network map layout method provided by the invention, firstly, the target nodes and the event parameters are determined according to the operation of the user in the network map, then, the target layout mode corresponding to the event parameters is determined according to the preset rule, and the target nodes are rearranged according to the target layout mode, so that the operation steps are simplified, the analysis efficiency is improved, the time of the user is saved, and the use experience of the user is improved.
The network map layout method proposed by the embodiment of the present invention is described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a network map layout method according to an embodiment of the present invention.
As shown in fig. 1, the network map layout method may include the following steps:
s101, determining a target node and an event parameter according to the operation of a user in a network map.
Specifically, the network map layout method provided in this embodiment may be executed by the network map layout apparatus provided in the present invention, and the apparatus may be configured in a visualization device to implement the target node re-layout according to the requirement of a user.
The visualization device may be, but is not limited to, a computer (computer), a Personal Digital Assistant (PDA), and the like.
The target node may be a node of any one of the network maps.
Before executing S101 of the present invention, the network map layout method of the present invention further includes:
and determining that the user performs preset operation on the target node.
The preset operation may be a double-click operation, a circle-drawing operation, and the like, which is not specifically limited in this embodiment.
For example, when a double-click action of an external device (such as a mouse) on a certain node in the network graph is detected, it can be determined that the user performs a preset operation on the target node.
For another example, when it is detected that the external device performs a circling motion on a certain node in the network graph, it may be determined that the user performs a preset operation on the target node.
And/or determining that the user triggers a preset shortcut key when the focus is at the target node.
The preset shortcut key may be a single key, or a combination of any two or three keys, and the present invention is not limited to this. For example, Alt + Shift, etc.
For example, when an Alt + Shift signal is input while the external device is detected to move the cursor to a certain node in the network map so as to determine the focus on the node, it is determined that the user triggers a preset shortcut key.
Furthermore, the target node and the event parameter can be determined according to the operation of the user in the network map.
It should be noted that, a user may select any node as a target node by performing a preset operation on the node; or, when any node acquires the focus, the node can be selected as the target node by triggering the shortcut key; or, a preset shortcut key may be triggered to select a certain node as a target node while a preset operation is performed on the node.
It can be understood that when the user performs a preset operation on the target node and/or triggers a preset shortcut key, it indicates that the user performs the operation in the network graph, and further the target node and the event parameter can be determined according to the operation of the user.
The event parameter may include an event triggering manner, for example, the event parameter may be triggered by a mouse, a keyboard, a screen, or the like, which is not limited in this embodiment.
It can be understood that when the user performs different operations on the target node, the corresponding event parameters are different, and the corresponding purposes are different.
S102, determining a target layout mode corresponding to the event parameter according to a preset rule.
Specifically, in actual use, an FR (fuzzy-regrind) algorithm or a Force-guided Layout algorithm (Force-directed Layout) may be used to perform calculation based on the determined event parameters, so as to obtain a target Layout mode corresponding to the event parameters.
The FR algorithm is a layout algorithm for improving a force-guided layout algorithm, and belongs to the category of force-guided layout algorithms. It can be understood that the target layout mode corresponding to the event parameter can be quickly obtained through the algorithm, so that the corresponding target layout mode fully shows the overall structure of the network.
And obtaining a corresponding target layout mode according to the event parameters according to rules preset in the visualization equipment.
For example, when the event parameter is triggered by a mouse, the corresponding target layout manner is to layout the target node and the associated other nodes in a star manner.
The layout manner may be a star layout manner, a tree layout manner, a force guiding layout manner, and the like, which is not particularly limited in the present invention.
S103, re-arranging the target nodes according to the target arrangement mode.
Specifically, after the target layout mode corresponding to the event parameter is determined, the target nodes of the network map can be rearranged, so that a user can visually check the network relationship between the target nodes and other nodes.
For example, when the target layout manner is a star layout, the target node may be placed at a central position, and other nodes associated with the target node are distributed around the target node to form a star.
According to the network map layout method provided by the embodiment, the target nodes and the time parameters are determined according to the operation of the user in the network map, the target layout mode corresponding to the event parameters is determined according to the preset rule, and then the target nodes are rearranged according to the determined target layout mode. Therefore, the operation steps of the user are simplified, the overall efficiency is improved, the time of the user is saved, and the user is promoted.
FIG. 2 is a flow diagram of a network map layout method according to another embodiment of the present invention.
As shown in fig. 2, the network map layout method according to the embodiment of the present invention may include the following steps:
s201, determining a target node and an event parameter according to the operation of a user in a network map.
S202, determining a target layout mode corresponding to the event parameter according to a preset rule.
S203, the target node and the related leaf node are rearranged.
It should be noted that how many nodes of the network map are in the display interface of the visualization device directly affects the effect of the rearrangement between the target node and the associated leaf node. Therefore, in the actual use process, different operations can be executed according to the number of network map nodes in the display interface of the visualization device, so that the final layout can clearly and clearly show the network relationship between the target node and the associated leaf node.
In one scenario, if it is determined that there are fewer nodes of the network graph in the current display interface of the visualization device and the space between the nodes is relatively large, the target nodes and the associated leaf nodes may be directly rearranged in a target arrangement manner to obtain a network relationship graph between the target nodes and the associated leaf nodes.
In another scenario, if the number of nodes of the network map in the current display interface of the visualization device is large and each node is compactly distributed in a certain area of the display interface, the user can manually move the selected target node to a position where the space of the display interface of the visualization device is large, and then trigger automatic layout operation through a preset action to obtain a clear node network relationship result.
Or, the automatic network map layout device may determine the target node according to the operation of the user, then determine the position of the target node according to the position of the target node selected by the user and the positions of the nodes in the network map, and then re-layout the target node and the associated leaf nodes. That is, before S203, the network map layout method of the present invention further includes:
and S204, acquiring the position information of each node in the network map.
In specific implementation, the current position information of each node can be determined by looking up the data file of the network map.
S205, determining the position of the target node according to the position information and the event parameters of each node in the network map.
Specifically, the display forms of the network maps may be different due to the number of nodes in the network maps and the difference between the nodes. In the embodiment of the present application, in order to intuitively and clearly reflect the relationship between the target node and each of the other nodes in the rearranged network graph, the target node and the related leaf-type node may be "separated" from the other nodes in space.
It is understood that if the number of nodes in the network map is small, the location of the target node determined in step 205 may still be its original location. If the number of nodes in the network graph is large and the number of other nodes distributed near the target node is large, the target node can be moved out of the plurality of nodes, and the target node is taken as the center, and the target node and the leaf nodes are rearranged according to the arrangement mode corresponding to the event parameter, so that the arrangement result can clearly and concisely represent the network relationship between the target node and the associated nodes.
That is, step 205 is specifically:
determining the number of nodes to be moved and a target layout mode according to the event parameters;
determining the area of a target area according to the number of nodes to be moved and a target layout mode;
and determining the position of the target node according to the area of the target region.
The number of nodes to be moved refers to all nodes in the network graph which have direct network contact with the target node.
It should be noted that, in this embodiment, the target area refers to the size of a space required for completely displaying the target node and the node to be moved according to the target layout mode.
Specifically, after the area of the target region is determined according to the number of nodes to be moved and the target layout mode, the position of the target node can be determined according to the area of the target region.
For example, if the event parameter corresponds to an event: the target nodes and the corresponding leaf nodes are distributed in a star shape, so that the size of the space required by the display can be determined according to the number of the leaf nodes, and the suitable positions of the target nodes, such as the central position, can be determined according to the size of the space.
And S206, moving the target node to the determined position.
Specifically, after the position of the target node is determined, the target node may be moved to the position to perform rearrangement on the target node, so that the user may visually view the network relationship between the target node and other nodes.
It will be appreciated that the non-leaf node locations do not change when the target node is moved out of the network graph for re-layout.
In the embodiment of the present invention, the effect schematic diagram of the above steps S201 to S206 is shown in fig. 3. Fig. 3-a is a schematic diagram illustrating a moving position P of a target node determined according to the target node a and an event parameter, fig. 3-B is a schematic diagram illustrating a leaf-type node associated with the target node a before moving after the target node a moves to the corresponding position P, and fig. 3-C is a schematic diagram illustrating a layout effect after the target node and the associated leaf-type node are rearranged.
In a possible implementation form of this embodiment, if it is determined that the number of nodes irrelevant to the target node in the network graph is small according to the event parameter, in order to increase the speed of node layout, the node irrelevant to the target node may be removed from the area where the target node is located, and then the positions of other nodes relevant to the target node may be adjusted. This embodiment is not limited to this.
Further, in a possible implementation form of the present application, after the target node is rearranged according to the event parameter, the network map layout apparatus may still adjust the position of the target node according to the need, that is, the method may further include:
and updating the position of the target node according to the operation of the user on the target node.
Specifically, because there is a difference between the usage habits of the users, after the target node is moved to a suitable position according to the area of the target area, the users may not adapt to the target node during browsing, and the usage experience is not good. Therefore, after the target nodes are rearranged, the positions of the target nodes can be updated according to the operation of the user on the target nodes, so that the use experience of the user is improved.
It can be understood that the target node is moved to the position where the target node is used to browse by manual operation of the user, and then the target node is rearranged according to the updated position, so that the user can check the network relation between the target node and other nodes, the requirements of the user are met, and the use experience of the user is further improved.
In the network map layout method provided in this embodiment, before the target node and the associated leaf node are re-laid, the location information of each node in the network map is obtained, the location of the target node is determined according to the location information of each node and the event parameter, and then the target node is moved to the corresponding location. Therefore, the operation steps of the user are simplified, the overall efficiency is improved, the time of the user is saved, and the user experience is improved. In addition, the position of the target node can be updated according to the operation of the user, so that the user experience is further improved.
A network map layout apparatus according to an embodiment of the present invention will be described with reference to the accompanying drawings.
Fig. 4 is a schematic structural diagram of a network map layout apparatus according to an embodiment of the present invention.
Referring to fig. 4, the network map layout apparatus includes: a first determination module 10, a second determination module 20, and a layout module 30.
The first determining module 10 is configured to determine a target node and an event parameter according to an operation of a user in a network graph;
the second determining module 20 is configured to determine a target layout mode corresponding to the event parameter according to a preset rule;
the layout module 30 is configured to re-layout the target nodes according to the target layout manner.
It should be noted that, for the implementation process and the technical principle of the network map layout apparatus of this embodiment, reference is made to the foregoing explanation of the network map layout method embodiment, and details are not described here again.
In the network map layout device provided in this embodiment, a target node and an event parameter are determined according to an operation of a user in a network map, a target layout mode corresponding to the event parameter is determined according to a preset rule, and then the target node is rearranged according to the determined target layout mode. Therefore, the operation steps of the user are simplified, the overall efficiency is improved, the time of the user is saved, and the use experience of the user is improved.
Fig. 5 is a schematic structural diagram of a network map layout apparatus according to another embodiment of the present invention.
As shown in fig. 5, in the network map layout apparatus shown in fig. 5, the layout module 30 includes: an acquisition unit 31, a determination unit 32, a control unit 33.
The acquiring unit 31 is configured to acquire location information of each node in the network graph;
the determining unit 32 is configured to determine a location of a target node according to location information and event parameters of each node in the network map;
the control unit 33 is used to move the target node to the location.
As shown in fig. 5, in the network map layout apparatus shown in fig. 5, the layout module 30 includes: the cell 34 is rearranged.
The re-layout unit 34 is used to re-layout the target node and the associated leaf node.
It should be noted that, for the implementation process and the technical principle of the network map layout apparatus of this embodiment, reference is made to the foregoing explanation of the network map layout method embodiment, and details are not described here again.
In the network map layout device provided in this embodiment, a target node and an event parameter are determined according to an operation of a user in a network map, a target layout mode corresponding to the event parameter is determined according to a preset rule, and then the target node is rearranged according to the determined target layout mode. Therefore, the operation steps of the user are simplified, the overall efficiency is improved, the time of the user is saved, and the use experience of the user is improved.
In order to implement the above embodiments, the present invention further provides a visualization apparatus.
Fig. 6 is a schematic structural diagram of a visualization apparatus according to an embodiment of the present invention.
Referring to fig. 6, the visualization apparatus may include: the system comprises a processor 101, a memory 102 and a display screen 103, wherein the display screen 103 is used for displaying a network map; the memory 102 is used for storing executable program code; the processor 101 is used for calling the program code in the memory 102 to implement the following technical scheme:
determining a target node and an event parameter according to the operation of a user in a network map;
determining a target layout mode corresponding to the event parameter according to a preset rule;
and re-laying the target nodes according to the target laying-out mode.
It should be noted that the foregoing explanation of the embodiment of the network map layout method is also applicable to the visualization device of the embodiment, and the implementation principle thereof is similar and will not be described herein again.
In the visualization apparatus provided in this embodiment, the target node and the event parameter are determined according to an operation of a user in the network graph, a target layout mode corresponding to the event parameter is determined according to a preset rule, and then the target node is rearranged according to the determined target layout mode. Therefore, the operation steps of the user are simplified, the overall efficiency is improved, the time of the user is saved, and the use experience of the user is improved.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (14)

1. A network map layout method is characterized by comprising the following steps:
determining a target node and an event parameter according to the operation of a user in a network map; the event parameters comprise event triggering modes, wherein the event triggering modes comprise mouse triggering, keyboard triggering and screen triggering;
determining a target layout mode corresponding to the event parameter according to a preset rule; the target layout mode comprises a star layout mode, a tree layout mode and a force guide layout mode;
according to the target layout mode, the target node and other nodes related to the target node are rearranged; when the number of nodes which are not associated with the target node in the network graph is smaller than a first threshold value, removing the area where the target node is located from the unassociated nodes; when the number of the nodes in the network map is lower than a second threshold value and the distance between adjacent nodes is larger than a third threshold value, directly utilizing a target layout mode to carry out re-layout on the target node and the other associated nodes so as to obtain a network relationship graph between the target node and the other associated nodes; when the number of the nodes in the network map is not lower than a second threshold value and the distance between adjacent nodes is not larger than a third threshold value, determining a target position of the target node according to a position selected by a user and the position of each node in the network map, moving the target node to the target position, and adjusting the positions of other related nodes by using a target layout mode.
2. The method of claim 1, wherein said re-laying out the target node and other nodes associated with the target node according to the target layout style comprises:
and re-arranging the target node and the associated leaf node.
3. The method of claim 2, wherein prior to said re-laying out said target node and associated leaf nodes, further comprising:
acquiring position information of each node in the network map;
determining the position of the target node according to the position information of each node in the network map and the event parameter;
moving the target node to the location.
4. The method of claim 3, wherein the determining the location of the target node according to the location information of each node in the network graph and the event parameter comprises:
determining the number of nodes to be moved and a target layout mode according to the event parameters;
determining the area of a target area according to the number of the nodes to be moved and a target layout mode;
and determining the position of the target node according to the area of the target region.
5. The method of claim 3 or 4, wherein after said moving said target node to said location, further comprising:
and updating the position of the target node according to the operation of the user on the target node.
6. The method according to any one of claims 1-4, wherein before determining the target node and the event parameter according to the user's operation in the network graph, further comprising:
determining that the user performs a preset operation on the target node;
and/or determining that the user triggers a preset shortcut key when the focus is at the target node.
7. A network map layout apparatus, comprising:
the first determining module is used for determining a target node and an event parameter according to the operation of a user in a network map; the event parameters comprise event triggering modes, wherein the event triggering modes comprise mouse triggering, keyboard triggering and screen triggering;
the second determining module is used for determining a target layout mode corresponding to the event parameter according to a preset rule; the target layout mode comprises a star layout mode, a tree layout mode and a force guide layout mode;
the layout module is used for re-laying the target node and other nodes related to the target node according to the target layout mode; when the number of nodes which are not associated with the target node in the network graph is smaller than a first threshold value, removing the area where the target node is located from the unassociated nodes; when the number of the nodes in the network map is lower than a second threshold value and the distance between adjacent nodes is larger than a third threshold value, directly utilizing a target layout mode to carry out re-layout on the target node and the other associated nodes so as to obtain a network relationship graph between the target node and the other associated nodes; when the number of the nodes in the network map is not lower than a second threshold value and the distance between adjacent nodes is not larger than a third threshold value, determining a target position of the target node according to a position selected by a user and the position of each node in the network map, moving the target node to the target position, and adjusting the positions of other related nodes by using a target layout mode.
8. The apparatus of claim 7, wherein the placement module comprises:
and the re-layout unit is used for re-laying the target node and the associated leaf node.
9. The apparatus of claim 8, wherein the placement module further comprises:
the acquisition unit is used for acquiring the position information of each node in the network map;
a determining unit, configured to determine a location of the target node according to location information of each node in the network graph and the event parameter;
a control unit for moving the target node to the location.
10. The apparatus according to claim 9, wherein the determining unit specifically includes:
determining the number of nodes to be moved and a target layout mode according to the event parameters;
determining the area of a target area according to the number of the nodes to be moved and a target layout mode;
and determining the position of the target node according to the area of the target region.
11. The apparatus of claim 9 or 10, wherein the layout module further comprises:
and the updating unit is used for updating the position of the target node according to the operation of the user on the target node.
12. The apparatus of any of claims 7-10, wherein the determining module is preceded by:
determining that the user performs a preset operation on the target node;
and/or determining that the user triggers a preset shortcut key when the focus is at the target node.
13. A visualization device, comprising: the system comprises a processor, a memory and a display screen, wherein the display screen is used for displaying a network map; the memory is used for storing executable program codes; the processor is used for calling the program codes in the memory to realize the following technical scheme:
determining a target node and an event parameter according to the operation of a user in a network map; the event parameters comprise event triggering modes, wherein the event triggering modes comprise mouse triggering, keyboard triggering and screen triggering;
determining a target layout mode corresponding to the event parameter according to a preset rule; the target layout mode comprises a star layout mode, a tree layout mode and a force guide layout mode;
re-laying the target nodes according to the target laying-out mode; when the number of nodes which are not associated with the target node in the network graph is smaller than a first threshold value, removing the area where the target node is located from the unassociated nodes; when the number of the nodes in the network map is lower than a second threshold value and the distance between adjacent nodes is larger than a third threshold value, directly utilizing a target layout mode to carry out re-layout on the target node and the other associated nodes so as to obtain a network relationship graph between the target node and the other associated nodes; when the number of the nodes in the network map is not lower than a second threshold value and the distance between adjacent nodes is not larger than a third threshold value, determining a target position of the target node according to a position selected by a user and the position of each node in the network map, moving the target node to the target position, and adjusting the positions of other related nodes by using a target layout mode.
14. A computer-readable storage medium storing an application program which, when executed by a processor, implements the network graph placement method of any of claims 1 to 6.
CN201710370396.2A 2017-05-19 2017-05-23 Network map layout method and device and visualization equipment Active CN107733680B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710359037 2017-05-19
CN2017103590377 2017-05-19

Publications (2)

Publication Number Publication Date
CN107733680A CN107733680A (en) 2018-02-23
CN107733680B true CN107733680B (en) 2021-06-08

Family

ID=61201436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710370396.2A Active CN107733680B (en) 2017-05-19 2017-05-23 Network map layout method and device and visualization equipment

Country Status (1)

Country Link
CN (1) CN107733680B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108919669B (en) * 2018-09-11 2022-04-29 深圳和而泰数据资源与云技术有限公司 Intelligent home dynamic decision method and device and service terminal
CN111061921B (en) * 2019-12-04 2020-10-30 智器云南京信息科技有限公司 Image layout implementation method, system, terminal equipment and storage medium
CN111464338B (en) * 2020-03-16 2022-10-18 安天科技集团股份有限公司 Step-by-step layout method and system for complex network topology

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834735A (en) * 2009-03-11 2010-09-15 北京启明星辰信息技术股份有限公司 Display method and display device of large-scale network node topological structure
CN103197931A (en) * 2013-03-28 2013-07-10 深圳桑菲消费通信有限公司 Interface layout method and interface layout device based on touch screen
CN104317520A (en) * 2014-10-23 2015-01-28 小米科技有限责任公司 Method and device for processing contents of display area
CN105120054A (en) * 2015-06-25 2015-12-02 努比亚技术有限公司 Information processing method and mobile terminal
CN105426499A (en) * 2015-11-25 2016-03-23 成都数联铭品科技有限公司 Implementation method of data visualization
CN105988816A (en) * 2015-03-05 2016-10-05 北京邮电大学 Regulation method and device of software interface layout
CN106485399A (en) * 2016-09-22 2017-03-08 东软集团股份有限公司 The exhibiting method of flow monitoring figure and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834735A (en) * 2009-03-11 2010-09-15 北京启明星辰信息技术股份有限公司 Display method and display device of large-scale network node topological structure
CN103197931A (en) * 2013-03-28 2013-07-10 深圳桑菲消费通信有限公司 Interface layout method and interface layout device based on touch screen
CN104317520A (en) * 2014-10-23 2015-01-28 小米科技有限责任公司 Method and device for processing contents of display area
CN105988816A (en) * 2015-03-05 2016-10-05 北京邮电大学 Regulation method and device of software interface layout
CN105120054A (en) * 2015-06-25 2015-12-02 努比亚技术有限公司 Information processing method and mobile terminal
CN105426499A (en) * 2015-11-25 2016-03-23 成都数联铭品科技有限公司 Implementation method of data visualization
CN106485399A (en) * 2016-09-22 2017-03-08 东软集团股份有限公司 The exhibiting method of flow monitoring figure and device

Also Published As

Publication number Publication date
CN107733680A (en) 2018-02-23

Similar Documents

Publication Publication Date Title
US20240061543A1 (en) Application window divider control for window layout management
JP5803910B2 (en) Region recommendation device, region recommendation method and program
JP6594534B2 (en) Text information processing method and device
KR101408168B1 (en) Apparatus and method for providing graphic user interface
CN107733680B (en) Network map layout method and device and visualization equipment
US20170269823A1 (en) Control Display Method and Device, and Terminal
CN107066188B (en) A kind of method and terminal sending screenshot picture
CN109254823B (en) Method for switching multi-level nested paging view elements, memory and terminal
JP4571234B2 (en) Operation support apparatus and method
CN110624241A (en) Information processing method and device, electronic equipment and storage medium
CN115174733A (en) Interface display method, device and equipment
CN108905203B (en) Information processing method, information processing apparatus, storage medium, and electronic apparatus
CN109432775A (en) A kind of multi-screen display method and device of map
JP2008217640A (en) Item selection device by tree menu, and computer program
CN110032296B (en) Method and device for determining virtual object in terminal, terminal and storage medium
CN103257782A (en) Method and system for title bar path navigation of mobile device
KR20180061691A (en) Device and method to control based on voice
CN107832337B (en) Page returning method, device and equipment
KR101459447B1 (en) Method for selecting items using a touch screen and system thereof
CN107111418B (en) Icon displacement with minimal disruption
CN106227406A (en) The display packing of application icon and device
JP2017146958A (en) User interface information providing device, user interface change device, user interface information providing method, user interface change method, and program
CN108920266A (en) program switching method, intelligent terminal and computer readable storage medium
US9635170B2 (en) Apparatus and method for controlling terminal to expand available display region to a virtual display space
CN111813307B (en) Application program display method and device and electronic equipment

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190830

Address after: 100192 Dongsheng Science Park, Zhongguancun, 66 Xixiaokou Road, Haidian District, Beijing

Applicant after: Green Bay Network Technology Co., Ltd.

Address before: 100089 Beijing Haidian District Xixiaokou Road 66 Zhongguancun Dongsheng Science Park B-6 Building B 5 floors

Applicant before: Grass count language (Beijing) Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant