CN107453916A - A kind of topological realization method and a kind of cloud messenger service monitor supervision platform - Google Patents

A kind of topological realization method and a kind of cloud messenger service monitor supervision platform Download PDF

Info

Publication number
CN107453916A
CN107453916A CN201710707980.2A CN201710707980A CN107453916A CN 107453916 A CN107453916 A CN 107453916A CN 201710707980 A CN201710707980 A CN 201710707980A CN 107453916 A CN107453916 A CN 107453916A
Authority
CN
China
Prior art keywords
node
topological
layer
cloud message
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710707980.2A
Other languages
Chinese (zh)
Inventor
马福建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Software Co Ltd
Original Assignee
Inspur Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Software Co Ltd filed Critical Inspur Software Co Ltd
Priority to CN201710707980.2A priority Critical patent/CN107453916A/en
Publication of CN107453916A publication Critical patent/CN107453916A/en
Pending legal-status Critical Current

Links

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/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a kind of topological realization method and a kind of cloud messenger service monitor supervision platform, this method to include:Determine mounted at least one node;Each node being directed at least one node, according to the type of the node, the generation topological node data corresponding with the node;Different types of node is directed to, generates topological side data;Using vis.js technologies and each topological node data and the topological side data, generate and show topological diagram corresponding at least one node.This programme can simplify topological realization process, improve Consumer's Experience.

Description

A kind of topological realization method and a kind of cloud messenger service monitor supervision platform
Technical field
The present invention relates to field of computer technology, more particularly to a kind of topological realization method and a kind of monitoring of cloud messenger service Platform.
Background technology
With the continuous development of cloud, cloud messenger service monitor supervision platform is increasingly favored by user.Cloud messenger service Monitor supervision platform supports the functions such as information issue and subscription, in addition, displaying and monitoring for each node topology of installation Also it is particularly important.
At present, saleable vector graphics (Scalable Vector Graphics, SVG) technology is mainly based upon to realize respectively Individual node topology.
But each node topology is realized based on SVG technologies, also need extra third party's plug-in unit to support that process is more Cumbersome, Consumer's Experience is poor.
The content of the invention
The embodiments of the invention provide a kind of topological realization method and a kind of cloud messenger service monitor supervision platform, and it is real to simplify topology Existing process, improves Consumer's Experience.
In a first aspect, the embodiments of the invention provide a kind of topological realization method, including:
Determine mounted at least one node;
Each node being directed at least one node, according to the type of the node, generation and the section The corresponding topological node data of point;
Different types of node is directed to, generates topological side data;
Using vis.js technologies and each topological node data and the topological side data, generate and show described Topological diagram corresponding at least one node.
Preferably,
Taken when external interface node, cloud message servicing load equilibrium node and cloud message at least one node be present It is engaged in three kinds of different types of nodes of node, and when the topological node data include layer where node,
The type according to the node, the generation topological node data corresponding with the node, including:
When the node is the external interface node, layer where the generation node corresponding with the node is 0 layer;
When the node is the cloud message servicing load equilibrium node, the generation node institute corresponding with the node It it is 1 layer in layer;
When the node is the cloud message service node, layer where the generation node corresponding with the node is big In equal to two layers.
Preferably,
It is described to be directed to different types of node, topological side data are generated, including:
Each described external interface node and each described cloud message servicing load equilibrium node are directed to, generates side Starting point be current external interface node i d and while terminal be current cloud message servicing load equilibrium node id it is topological while number According to;
Each described cloud message servicing load equilibrium node and each described cloud message service node are directed to, is generated While starting point be current cloud message servicing load equilibrium node id and while terminal be current cloud message service node id topology Side data.
Preferably,
It is described when the node is the cloud message service node, corresponding with the node node place layer of generation For more than or equal to two layers, including:
According to formula (1) is calculated as below, layer where node corresponding to i-th of cloud message service node is calculated;
Li=2* (N+i)/N (1)
Wherein, LiLayer where characterizing node corresponding to i-th of cloud message service node;N characterizes default each layer energy The interstitial content enough shown;/ sign rounds.
Preferably,
The topological node data, including:Layer, node are shown any in icon where id, node display Name, node It is one or more.
Preferably,
Further comprise:Click event is added for cloud message service node each described;
After the generation and showing topological diagram corresponding at least one node, further comprise:
Clicking trigger according to outside to the target cloud message service node on the topological diagram, obtains the target cloud and disappears The Topic information of service node is ceased, and the Topic information is showed into outside.
Second aspect, the embodiments of the invention provide a kind of cloud messenger service monitor supervision platform, including:Determining unit, node Data generating unit, side data generating unit and topological diagram display unit, wherein,
The determining unit, for determining mounted at least one node;
The node data generation unit, for each node being directed at least one node, according to institute State the type of node, the generation topological node data corresponding with the node;
The side data generating unit, for being directed to different types of node, generate topological side data;
The topological diagram display unit, for using vis.js technologies and each topological node data and described opening up Side data are flutterred, generates and shows topological diagram corresponding at least one node.
Preferably,
Taken when external interface node, cloud message servicing load equilibrium node and cloud message at least one node be present It is engaged in three kinds of different types of nodes of node, and when the topological node data include layer where node,
The node data generation unit, for when the node is the external interface node, generating and the section Layer where the corresponding node of point is 0 layer;When the node is the cloud message servicing load equilibrium node, generation with it is described Layer where the corresponding node of node is 1 layer;When the node is the cloud message service node, generation and the node phase Layer where corresponding node is more than or equal to two layers.
Preferably,
The side data generating unit, for being directed to each described external interface node and each described cloud message Service load balancing node, generate while starting point be current external interface node i d and while terminal be that current cloud messenger service is born Carry balanced node id topological side data;And it is directed to each described cloud message servicing load equilibrium node and each institute State cloud message service node, generate while starting point be current cloud message servicing load equilibrium node id and while terminal be current cloud Message service node id topological side data.
Preferably,
The node data generation unit, for according to formula (1) is calculated as below, calculating i-th of cloud messenger service Layer where node corresponding to node;
Li=2* (N+i)/N (1)
Wherein, LiLayer where characterizing node corresponding to i-th of cloud message service node;N characterizes default each layer energy The interstitial content enough shown;/ sign rounds.
Preferably,
The topological node data, including:Layer, node are shown any in icon where id, node display Name, node It is one or more.
Preferably,
Further comprise:Processing unit and Topic information display units, wherein,
The processing unit, for adding click event for cloud message service node each described;
The Topic information display unit, for generating and showing described at least one in the topological diagram display unit After topological diagram corresponding to node, the clicking trigger according to outside to the target cloud message service node on the topological diagram, obtain The Topic information of the target cloud message service node is taken, and the Topic information is showed into outside.
The embodiments of the invention provide a kind of topological realization method and a kind of cloud messenger service monitor supervision platform, it is determined that having pacified After at least one node of dress, by the type according to node, the generation topological node data corresponding with node, and it is directed to not The node of same type, topological side data are generated, so as to which following can utilizes vis.js technologies and each topology of generation Node data and topological side data, generate and show topological diagram, and whole topological realization process need not rely on third party's plug-in unit, but Topological map generalization and displaying are directly carried out based on vis.js technologies, therefore this programme simplifies the process of topological realization, improves Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow chart for topological realization method that one embodiment of the invention provides;
Fig. 2 is a kind of flow chart for topological realization method that another embodiment of the present invention provides;
Fig. 3 is a kind of structural representation for cloud messenger service monitor supervision platform that one embodiment of the invention provides;
Fig. 4 is a kind of structural representation for cloud messenger service monitor supervision platform that another embodiment of the present invention provides.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiments of the invention provide a kind of topological realization method, this method may comprise steps of:
Step 101:Determine mounted at least one node.
Step 102:Each node being directed at least one node, according to the type of the node, generation The topological node data corresponding with the node.
Step 103:Different types of node is directed to, generates topological side data.
Step 104:Using vis.js technologies and each topological node data and the topological side data, generation is simultaneously Show topological diagram corresponding at least one node.
In the embodiment shown in fig. 1, it is determined that after mounted at least one node, by the type according to node, The generation topological node data corresponding with node, and different types of node is directed to, topological side data are generated, so as to next Can utilizes vis.js technologies and each topological node data and the topological side data of generation, generates and shows topological diagram, Whole topological realization process directly carries out topological map generalization and exhibition without relying on third party's plug-in unit based on vis.js technologies Show, therefore this programme simplifies the process of topological realization, improves Consumer's Experience.
In an embodiment of the invention, when external interface node, cloud messenger service at least one node being present Three kinds of different types of nodes of load balancing node and cloud message service node, and the topological node data include node institute In layer,
The embodiment of the step 102, it may include:When the node is the external interface node, generation Layer where the node corresponding with the node is 0 layer;It is raw when the node is the cloud message servicing load equilibrium node It it is 1 layer into layer where the node corresponding with the node;When the node is the cloud message service node, generation and institute Layer where stating the corresponding node of node is more than or equal to two layers.
In the embodiment of the present invention, in order to intuitively show the topological diagram of each node, topological diagram is divided at least three layers, Wherein, each external interface node is shown (namely 0 layer in the embodiment of the present invention) in first layer, then cloud messenger service Load balancing node is shown (namely 1 layer in the embodiment of the present invention) in the second layer, finally due to cloud message service node Quantity is not fixed, and quantity is from 1 to thousand, therefore by the way of dynamic is added.
In an embodiment of the invention, the embodiment of the step 103, it may include:It is directed to each institute External interface node and each described cloud message servicing load equilibrium node are stated, the starting point for generating side is current external interface section Point id and while terminal be current cloud message servicing load equilibrium node id it is topological while data;And it is directed to described in each Cloud message servicing load equilibrium node and each described cloud message service node, the starting point for generating side is current cloud messenger service Load balancing node i d and while terminal be current cloud message service node id it is topological while data.
Such as it is A1, A2, A3, A4 and A5 respectively for example, share 5 external interface nodes in the embodiment of the present invention, 1 cloud Message servicing load equilibrium node, such as it is B, 10 cloud message service nodes, is respectively such as C1, C2, C3 ... C10, then corresponding Be directed to external interface node and cloud message servicing load equilibrium node, just have 5 groups of topology side data, the starting point for being respectively side is A1 id and while terminal be B id, while starting point be A2 id and while terminal be B id ..., while starting point be A5 id The id that terminal with side is B;For cloud message servicing load equilibrium node and cloud message service node, just there are 10 groups of topology side numbers According to, be respectively while starting point be B id and while terminal be C1 id, while starting point be B id and while terminal be C2's Id ..., while starting point be B id and while terminal be C10 id.
In an embodiment of the invention, it is described when the node is the cloud message service node, generation with it is described Layer where the corresponding node of node be more than or equal to two layers, including:According to formula (1) is calculated as below, i-th of cloud is calculated Layer where node corresponding to message service node;
Li=2* (N+i)/N (1)
Wherein, LiLayer where characterizing node corresponding to i-th of cloud message service node;N characterizes default each layer energy The interstitial content enough shown;/ sign rounds.
For example, the interstitial content N that can show of default each layer is 12, then for the 1st cloud message service node, then L1=2* (N+i)/N=2* (12+1)/12=2;For the 5th cloud message service node, then L5=2* (N+i)/N=2* (12+ 5)/12=2.
In an embodiment of the invention, the topological node data, including:Where id, node display Name, node Layer, node show any one or more in icon.
Wherein, node display Name can be the title of place server, moreover, in order to make user intuitively distinguish Go out different types of node, then different types of node can use different nodes to show icon.
In an embodiment of the invention, further comprise:Thing is clicked for cloud message service node addition each described Part;After the step 104, it can further comprise:According to outside to the target cloud message service node on the topological diagram Clicking trigger, obtain the Topic information of the target cloud message service node, and the Topic information is showed into outside.
In the embodiment of the present invention, thing is clicked by using vis.js technologies and for each cloud message service node increase Part, so as to which user is when clicking on any one cloud message service node on the topological diagram of displaying, it can obtain the cloud message being clicked Each Topic details of service node, and be shown, such as server name, server ip, Topic names and queue A variety of details such as text version number.
A kind of topological realization method provided in an embodiment of the present invention is described more detail below, as shown in Fig. 2 this method can be with Comprise the following steps:
Step 201:Determine mounted 116 nodes.
In the embodiment of the present invention, mounted each section can be determined by inquiring about corresponding record from database Point.For example, there are 3 external interface nodes (such as HTTP access agents node, JMS access agent sections in mounted 116 nodes Point and AMQP access agents node), 1 cloud message servicing load equilibrium node and 112 cloud message service nodes.
Step 202:For each external interface node in 116 nodes, corresponding topological node data are generated, Wherein, layer where the node in topological node data is 0 layer.
In the embodiment of the present invention, layer and node are shown where topological node data include id, node display Name, node Icon.
For example, being directed to JMS access agent nodes, the id in the topological node data of generation is the phase recorded in database Answer that id, node display Name are server name (such as JMS) where it, layer where node is 0 layer and node shows icon To be different from the preset icon of other two types nodes (in order to which user can intuitively distinguish three kinds of different types of sections Point).
Step 203:For each cloud message servicing load equilibrium node in 116 nodes, corresponding open up is generated Node data is flutterred, wherein, layer where the node in topological node data is 1 layer.
It is identical with the principle of above-mentioned steps 202, for the topological node data of cloud message servicing load equilibrium node generation In id be the corresponding id of the node is recorded in database, node display Name be server name where it (such as S129), layer where node is 1 layer and node shows that icon is the preset icon for being different from other two types nodes.
Step 204:For each cloud message service node in 116 nodes, corresponding topological node number is generated According to, wherein, layer where the node in topological node data is more than or equal to two layers.
It is identical with the principle of above-mentioned steps 202, for each in 112 cloud message service nodes, the topology of generation Id in node data be recorded in database corresponding id, node display Name be its where server name (such as S129 or 3), node show that icon is the preset icon for being different from other two types nodes, and layer where node can profit Calculated with equation below (1), for example, the interstitial content N that default each layer can be shown is 20, then for 112 clouds The 3rd in message service node, then layer where its corresponding node is L3=2* (N+i)/N=2* (20+3)/20=2.
Step 205:For each external interface node and each cloud message servicing load equilibrium node, side is generated Starting point be current external interface node i d and while terminal be current cloud message servicing load equilibrium node id it is topological while data.
In the embodiment of the present invention, for 3 external interface nodes and 1 cloud message servicing load equilibrium node, three are shared The topological side data of group, wherein, first group is:While starting point be HTTP access agent node i d and while terminal be cloud messenger service Load balancing section id;Second group is:While starting point be JMS access agent node i d and while terminal be that cloud message servicing load is equal Weighing apparatus section id;3rd group is:While starting point be AMQP access agent node i d and while terminal be cloud message servicing load equalizing section id。
Step 206:For each cloud message servicing load equilibrium node and each cloud message service node, side is generated Starting point be current cloud message servicing load equilibrium node id and while terminal be current cloud message service node id it is topological while Data.
In the embodiment of the present invention, for 1 cloud message servicing load equilibrium node and 112 cloud message service nodes, then Share 112 groups of topology side data.
Step 207:Using vis.js technologies and each topological node data and topological side data, generate and show 116 Topological diagram corresponding to individual node.
In each topological node data that above-mentioned steps 202 to step 204 generate, and above-mentioned steps 205 and step 206 After 115 groups of topology side data of generation, it is possible to 116 nodes being directed to using the generation of vis.js technologies in the embodiment of the present invention Corresponding topological diagram.
Step 208:Click event is added for each cloud message service node.
Step 209:Clicking trigger according to outside to the target cloud message service node on topological diagram, obtain target cloud and disappear The Topic information of service node is ceased, and Topic information is showed into outside.
For example, in 112 cloud message service nodes on topological diagram, what user clicked on is the 2nd layer of the 3rd cloud message Service node, then after user clicks on, the Topic details about the node can be obtained, such as included:Server name (such as S129), server ip (such as 192.168.253.1**), Topic names (such as Topic1), queue text version number are (such as 05), message queue size (such as 5.00MB), message queue free space (such as 4.99MB), accumulative write-in message total byte section be (such as 0.00MB-0.00TB), add up to read message total byte section (such as 0.00MB-0.00TB), add up write-in message total (such as 0), be tired Meter reads message total (such as 0), current message total (such as 0) and queue establishment or appointing in initialization time (such as 2017.***) Meaning is one or more.
As shown in figure 3, the embodiments of the invention provide a kind of cloud messenger service monitor supervision platform, including:Determining unit 301, Node data generation unit 302, side data generating unit 303 and topological diagram display unit 304, wherein,
The determining unit 301, for determining mounted at least one node;
The node data generation unit 302, for each node being directed at least one node, according to The type of the node, the generation topological node data corresponding with the node;
The side data generating unit 303, for being directed to different types of node, generate topological side data;
The topological diagram display unit 304, for utilizing vis.js technologies and each topological node data and institute Topological side data are stated, generates and shows topological diagram corresponding at least one node.
In an embodiment of the invention, when external interface node, cloud messenger service at least one node being present Three kinds of different types of nodes of load balancing node and cloud message service node, and the topological node data include node institute In layer,
The node data generation unit 302, for when the node is the external interface node, generation with it is described Layer where the corresponding node of node is 0 layer;When the node is the cloud message servicing load equilibrium node, generation and institute Layer where stating the corresponding node of node is 1 layer;When the node is the cloud message service node, generation and the node Layer where corresponding node is more than or equal to two layers.
In an embodiment of the invention, the side data generating unit 303, it is described to external for being directed to each Mouthful node and each described cloud message servicing load equilibrium node, generate while starting point for current external interface node i d and while Terminal be current cloud message servicing load equilibrium node id topological side data;And it is directed to each described cloud message clothes Business load balancing node and each described cloud message service node, the starting point for generating side are balanced for current cloud message servicing load Node i d and while terminal be current cloud message service node id it is topological while data.
In an embodiment of the invention, the node data generation unit 302, formula (1) is calculated as below for basis, Layer where calculating node corresponding to i-th of cloud message service node;
Li=2* (N+i)/N (1)
Wherein, LiLayer where characterizing node corresponding to i-th of cloud message service node;N characterizes default each layer energy The interstitial content enough shown;/ sign rounds.
In an embodiment of the invention, the topological node data, including:Where id, node display Name, node Layer, node show any one or more in icon.
As shown in figure 4, in an embodiment of the invention, further comprise:Processing unit 401 and the displaying of Topic information Unit 402, wherein,
The processing unit 401, for adding click event for cloud message service node each described;
The Topic information display unit 402, for being generated in the topological diagram display unit and showing described at least one After topological diagram corresponding to individual node, the clicking trigger according to outside to the target cloud message service node on the topological diagram, The Topic information of the target cloud message service node is obtained, and the Topic information is showed into outside.
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive method Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
The embodiments of the invention provide a kind of computer-readable medium, including computer executed instructions, work as storage control Computing device described in computer executed instructions when, the storage control performs the topological realization in any of the above-described embodiment Method.
The embodiments of the invention provide a kind of storage control, including:Processor, memory and bus;
The memory is used to store computer executed instructions, and the processor is connected with the memory by the bus Connect, when the storage control is run, the computer executed instructions of memory storage described in the computing device, with The storage control is set to perform the topological realization method in any of the above-described embodiment.
To sum up, each embodiment of the present invention at least has the advantages that:
1st, in embodiments of the present invention, it is determined that after mounted at least one node, the type according to node, life are passed through Into the topological node data corresponding with node, and different types of node is directed to, generates topological side data, so that next Vis.js technologies and each topological node data and the topological side data of generation can be utilized, generates and shows topological diagram, it is whole Individual topological realization process directly carries out topological map generalization and exhibition without relying on third party's plug-in unit based on vis.js technologies Show, therefore this programme simplifies the process of topological realization, improves Consumer's Experience.
2nd, in embodiments of the present invention, by the way that different types of node is carried out into layering displaying, it is easy to showing each section After the topological diagram of point, the topological relation for recognizing each node that user can be visual and clear, and this programme by based on Vis.js technologies are realized, can monitor the Topic numbers of cloud message service node and each Topic details.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity Or operation makes a distinction with another entity or operation, and not necessarily require or imply and exist between these entities or operation Any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant be intended to it is non- It is exclusive to include, so that process, method, article or equipment including a series of elements not only include those key elements, But also the other element including being not expressly set out, or also include solid by this process, method, article or equipment Some key elements.In the absence of more restrictions, by sentence " including the key element that a 〃 〃 " is limited, it is not excluded that Other identical factor in the process including the key element, method, article or equipment also be present.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in computer-readable storage medium, the program Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, is merely to illustrate the skill of the present invention Art scheme, is not intended to limit the scope of the present invention.Any modification for being made within the spirit and principles of the invention, Equivalent substitution, improvement etc., are all contained in protection scope of the present invention.

Claims (10)

  1. A kind of 1. topological realization method, it is characterised in that including:
    Determine mounted at least one node;
    Each node being directed at least one node, according to the type of the node, generation and the node phase Corresponding topological node data;
    Different types of node is directed to, generates topological side data;
    Using vis.js technologies and each topological node data and the topological side data, generate and show it is described at least Topological diagram corresponding to one node.
  2. 2. according to the method for claim 1, it is characterised in that
    When external interface node, cloud message servicing load equilibrium node and cloud messenger service section at least one node being present Three kinds of different types of nodes of point, and when the topological node data include layer where node,
    The type according to the node, the generation topological node data corresponding with the node, including:
    When the node is the external interface node, layer where the generation node corresponding with the node is 0 layer;
    When the node is the cloud message servicing load equilibrium node, layer where the generation node corresponding with the node For 1 layer;
    When the node is the cloud message service node, layer where the generation node corresponding with the node for more than etc. In two layers.
  3. 3. according to the method for claim 2, it is characterised in that
    It is described to be directed to different types of node, topological side data are generated, including:
    Each described external interface node and each described cloud message servicing load equilibrium node are directed to, generates rising for side Point for current external interface node i d and while terminal be current cloud message servicing load equilibrium node id it is topological while data;
    Each described cloud message servicing load equilibrium node and each described cloud message service node are directed to, generates side Starting point be current cloud message servicing load equilibrium node id and while terminal be current cloud message service node id it is topological while number According to.
  4. 4. according to any described method of Claims 2 or 3, it is characterised in that
    It is described when the node is the cloud message service node, corresponding with the node node place layer of generation is big In equal to two layers, including:
    According to formula is calculated as below, layer where node corresponding to i-th of cloud message service node is calculated;
    Li=2* (N+i)/N
    Wherein, LiLayer where characterizing node corresponding to i-th of cloud message service node;N characterizes default each layer and can shown Interstitial content;/ sign rounds.
  5. 5. according to the method for claim 4, it is characterised in that
    The topological node data, including:Layer, node show any one in icon where id, node display Name, node It is or a variety of;
    And/or
    Further comprise:Click event is added for cloud message service node each described;
    After the generation and showing topological diagram corresponding at least one node, further comprise:
    Clicking trigger according to outside to the target cloud message service node on the topological diagram, obtain the target cloud message clothes The Topic information of business node, and the Topic information is showed into outside.
  6. A kind of 6. cloud messenger service monitor supervision platform, it is characterised in that including:Determining unit, node data generation unit, side data Generation unit and topological diagram display unit, wherein,
    The determining unit, for determining mounted at least one node;
    The node data generation unit, for each node being directed at least one node, according to the section The type of point, the generation topological node data corresponding with the node;
    The side data generating unit, for being directed to different types of node, generate topological side data;
    The topological diagram display unit, for utilizing vis.js technologies and each topological node data and the topological side Data, generate and show topological diagram corresponding at least one node.
  7. 7. the platform according to claim 6, it is characterised in that
    When external interface node, cloud message servicing load equilibrium node and cloud messenger service section at least one node being present Three kinds of different types of nodes of point, and when the topological node data include layer where node,
    The node data generation unit, for when the node is the external interface node, generation and the node phase Layer where corresponding node is 0 layer;When the node is the cloud message servicing load equilibrium node, generation and the node Layer where corresponding node is 1 layer;When the node is the cloud message service node, generation is corresponding with the node Node where layer be more than or equal to two layers.
  8. 8. the platform according to claim 7, it is characterised in that
    The side data generating unit, for being directed to each described external interface node and each described cloud messenger service Load balancing node, generate while starting point be current external interface node i d and while terminal be that current cloud message servicing load is equal The node i that weighs d topological side data;And it is directed to each described cloud message servicing load equilibrium node and each described cloud Message service node, generate while starting point be current cloud message servicing load equilibrium node id and while terminal be current cloud message Service node id topological side data.
  9. 9. according to any described platform of claim 7 or 8, it is characterised in that
    The node data generation unit, for according to formula is calculated as below, it is corresponding to calculate i-th of cloud message service node Node where layer;
    Li=2* (N+i)/N
    Wherein, LiLayer where characterizing node corresponding to i-th of cloud message service node;N characterizes default each layer and can shown Interstitial content;/ sign rounds.
  10. 10. platform according to claim 9, it is characterised in that
    The topological node data, including:Layer, node show any one in icon where id, node display Name, node It is or a variety of;
    And/or
    Further comprise:Processing unit and Topic information display units, wherein,
    The processing unit, for adding click event for cloud message service node each described;
    The Topic information display unit, for being generated in the topological diagram display unit and showing at least one node After corresponding topological diagram, the clicking trigger according to outside to the target cloud message service node on the topological diagram, institute is obtained The Topic information of target cloud message service node is stated, and the Topic information is showed into outside.
CN201710707980.2A 2017-08-17 2017-08-17 A kind of topological realization method and a kind of cloud messenger service monitor supervision platform Pending CN107453916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710707980.2A CN107453916A (en) 2017-08-17 2017-08-17 A kind of topological realization method and a kind of cloud messenger service monitor supervision platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710707980.2A CN107453916A (en) 2017-08-17 2017-08-17 A kind of topological realization method and a kind of cloud messenger service monitor supervision platform

Publications (1)

Publication Number Publication Date
CN107453916A true CN107453916A (en) 2017-12-08

Family

ID=60492360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710707980.2A Pending CN107453916A (en) 2017-08-17 2017-08-17 A kind of topological realization method and a kind of cloud messenger service monitor supervision platform

Country Status (1)

Country Link
CN (1) CN107453916A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108712286A (en) * 2018-05-22 2018-10-26 华为技术有限公司 The determination method, apparatus and storage medium of network topology structure
CN109150602A (en) * 2018-08-16 2019-01-04 郑州云海信息技术有限公司 A kind of method, apparatus, computer storage medium and the terminal of adaptation storage equipment
CN109213559A (en) * 2018-08-30 2019-01-15 郑州云海信息技术有限公司 A kind of interface display method and device
CN113904921A (en) * 2021-10-21 2022-01-07 上海观安信息技术股份有限公司 Dynamic network topological graph generating method, system, processing equipment and storage medium based on log and graph

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100232317A1 (en) * 2009-03-11 2010-09-16 Xiangpeng Jing Method and apparatus for a wireless home mesh network with network topology visualizer
CN102546831A (en) * 2012-02-28 2012-07-04 山东大学 Dynamic display method for wireless sensor network topological diagram
CN103118127A (en) * 2013-02-22 2013-05-22 浪潮电子信息产业股份有限公司 Method for positioning topology view of virtual resource rapidly based on color and state identification

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100232317A1 (en) * 2009-03-11 2010-09-16 Xiangpeng Jing Method and apparatus for a wireless home mesh network with network topology visualizer
CN102546831A (en) * 2012-02-28 2012-07-04 山东大学 Dynamic display method for wireless sensor network topological diagram
CN103118127A (en) * 2013-02-22 2013-05-22 浪潮电子信息产业股份有限公司 Method for positioning topology view of virtual resource rapidly based on color and state identification

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108712286A (en) * 2018-05-22 2018-10-26 华为技术有限公司 The determination method, apparatus and storage medium of network topology structure
CN108712286B (en) * 2018-05-22 2020-09-18 华为技术有限公司 Method and device for determining network topology structure and storage medium
CN109150602A (en) * 2018-08-16 2019-01-04 郑州云海信息技术有限公司 A kind of method, apparatus, computer storage medium and the terminal of adaptation storage equipment
CN109213559A (en) * 2018-08-30 2019-01-15 郑州云海信息技术有限公司 A kind of interface display method and device
CN113904921A (en) * 2021-10-21 2022-01-07 上海观安信息技术股份有限公司 Dynamic network topological graph generating method, system, processing equipment and storage medium based on log and graph
CN113904921B (en) * 2021-10-21 2024-04-30 上海观安信息技术股份有限公司 Dynamic network topology graph generation method, system, processing equipment and storage medium based on log and graph

Similar Documents

Publication Publication Date Title
CN107453916A (en) A kind of topological realization method and a kind of cloud messenger service monitor supervision platform
CN109348237A (en) A kind of direct broadcasting room management method, device, server and storage medium
CN110716905B (en) Menu generation method and device, storage medium and electronic equipment
US10552521B2 (en) Analyzing a click path in a spherical landscape viewport
US9984179B2 (en) Providing building information modeling data
CN106502760B (en) A kind of virtual machine compatibility strategy visualization method and device
US11783381B2 (en) Visual inventory rules building system
CN103927216A (en) Method And System For Managing Virtual Devices
CN109087138A (en) Data processing method and system, computer system and readable storage medium storing program for executing
WO2023169521A1 (en) Field merging method and apparatus, and electronic device
EP3044748A2 (en) Strength based modeling for recommendation system
CN110363654A (en) A kind of favor information method for pushing, device and electronic equipment
CN110348725A (en) Risk policy method of adjustment, device and electronic equipment based on regional society environmental information
US9934291B2 (en) Dynamic presentation of a results set by a form-based software application
US9355481B2 (en) Dynamic visualization for optimization processes
CN109981311A (en) Scheme the implementation method and device of layout
KR20210113963A (en) Method and appartus for obtaining information
CN108959450A (en) It is a kind of popular to comment on the system of determination, method, apparatus and readable medium
CN104598554B (en) Webpage loading method and device
US9159081B2 (en) Content item type determination and selection
CN115293291A (en) Training method of ranking model, ranking method, device, electronic equipment and medium
CN116258435A (en) Logistics information display method, device, equipment, storage medium and product
CN111552715B (en) User query method and device
KR20160085332A (en) Presentation of digital content listings
CN114663242A (en) Product information interaction method, device, medium and 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171208