Terminal topological graph establishing method and device, electronic equipment and storage medium

The method and device construct a terminal topology map by calculating angles and positions of server and terminal nodes, allowing real-time monitoring and quick fault detection in visual networking systems.

CN119071168APending Publication Date: 2024-12-03VISIONVERA INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410992666.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

Existing systems struggle to effectively manage and maintain visual networking terminals, particularly in identifying faulty devices in real-time within a visual network.

Method used

A method and device for constructing a terminal topology map by drawing server and terminal nodes based on identifiers, calculating angles and positions, and connecting them to create a visual network diagram, which includes displaying status and description information, and regenerating the map when terminal connections change.

Benefits of technology

Enables real-time global viewing of terminal status and quick fault location, facilitating timely issue resolution in visual networking systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071168A_ABST
    Figure CN119071168A_ABST
Patent Text Reader

Abstract

The invention provides a terminal topological graph establishing method and device, electronic equipment and a storage medium. The method comprises the following steps: based on a server identifier of an articulated naturality web server, drawing a server node of the articulated naturality web server in a preset page; obtaining a first terminal number of first terminals having a connection relationship with the articulated naturality web server; determining a terminal included angle between terminal nodes corresponding to the first terminal based on the number of the first terminals; based on the terminal identifier of each first terminal, the terminal included angle and the first position information of the server node in the preset page, drawing the node of each first terminal in the preset page; and connecting the server node and the terminal node in the preset page to generate a terminal topological graph of the articulated naturality web. According to the method, the terminal topological graph of the articulated naturality web system can be constructed, and the state of the terminal equipment in the articulated naturality web can be globally checked in real time through the topological graph.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of topology map construction, and in particular to a method, device, electronic device and storage medium for establishing a terminal topology map. Background Art

[0002] Visual Internet is a network based on video communication technology, which can transmit various information such as video, audio, data, etc. in real time, thus realizing remote interaction, collaboration and communication.

[0003] With the widespread application of visual networking terminal devices, effective equipment management and maintenance has become a key requirement. How to view the terminal status of all visual networking terminals in real time and locate faulty terminals in the visual network is an urgent problem to be solved. Summary of the invention

[0004] In view of the above problems, embodiments of the present application are proposed to provide a method, device, electronic device and storage medium for establishing a terminal topology map that overcome the above problems or at least partially solve the above problems.

[0005] In a first aspect, an embodiment of the present application provides a method for establishing a terminal topology map, the method comprising:

[0006] Based on the server identifier of the visual networking server, a server node of the visual networking server is drawn in a preset page, wherein the server node is a topology map node of the visual networking server generated by adding a node icon of a server type and the server identifier in the preset page;

[0007] Acquire the number of first terminals of the first terminals that have a connection relationship with the visual network server;

[0008] Based on the number of the first terminals, determining a terminal angle between terminal nodes corresponding to the first terminals;

[0009] Based on the terminal identification of each first terminal, the terminal angle and the first position information of the server node in the preset page, drawing the node of each first terminal in the preset page, wherein the terminal node is a topology map node of the first terminal generated by adding a node icon of the terminal type and the terminal identification of the first terminal in the preset page;

[0010] The server node and the terminal node in the preset page are connected to generate a terminal topology diagram of the visual network.

[0011] Optionally, the determining, based on the number of the first terminals, a terminal angle between terminal nodes corresponding to the first terminals includes:

[0012] Calculating a ratio between the circumferential angle and the number of the first terminals;

[0013] Based on the ratio, a terminal angle between terminal nodes corresponding to the first terminal is determined.

[0014] Optionally, the drawing of the terminal nodes of each of the first terminals in the preset page based on the terminal identifiers of each of the first terminals, the terminal angles, and the first position information of the server node in the preset page includes:

[0015] Get the predefined node distance between the server node and the terminal node;

[0016] Based on the terminal angle, the node distance and the first position information, calculate and obtain second position information of the terminal node corresponding to each of the first terminals in the preset page;

[0017] Based on the terminal identification of each of the first terminals and the second location information, a terminal node of each of the terminals is drawn in the preset page.

[0018] Optionally, after connecting the server node and the terminal node in the preset page to generate a terminal topology diagram of the visual network, the method further includes:

[0019] Acquire terminal status information of each of the first terminals in real time;

[0020] The terminal status information is displayed at a first preset position of a terminal node of each of the first terminals on the terminal topology map.

[0021] Optionally, after connecting the server node and the terminal node in the preset page to generate a terminal topology diagram of the visual network, the method further includes:

[0022] Acquire terminal description information of each of the first terminals;

[0023] The terminal description information is displayed at a second preset position of the terminal node of each of the first terminals on the terminal topology map.

[0024] Optionally, after connecting the server node and the terminal node in the preset page to generate a terminal topology diagram of the visual network, the method further includes:

[0025] When the number of terminals connected to the visual networking server changes, obtaining the number of second terminals connected to the visual networking server;

[0026] Determining a target terminal angle between terminal nodes corresponding to the second terminals based on the number of the second terminals;

[0027] Based on the terminal identification of each second terminal, the target terminal angle and the first position information, drawing the target terminal node of each second terminal in the preset page;

[0028] The server node in the preset page is connected to the target terminal node to regenerate a terminal topology diagram of the visual network.

[0029] In a second aspect, an embodiment of the present application provides a device for establishing a terminal topology map, the device comprising:

[0030] A server node drawing module, used to draw a server node of the visual network server in a preset page based on a server identifier of the visual network server, wherein the server node is a topology map node of the visual network server generated by adding a node icon of a server type and the server identifier in the preset page;

[0031] A first quantity acquisition module, used to acquire the first terminal quantity of the first terminal having a connection relationship with the visual network server;

[0032] A terminal angle determination module, configured to determine a terminal angle between terminal nodes corresponding to the first terminal based on the number of the first terminals;

[0033] A terminal node drawing module, configured to draw a terminal node of each of the first terminals in the preset page based on the terminal identification of each of the first terminals, the terminal angle and the first position information of the server node in the preset page;

[0034] The terminal topology map establishing module is used to connect the server node and the terminal node in the preset page to generate a terminal topology map of the visual network.

[0035] Optionally, the terminal angle determination module includes:

[0036] a ratio calculation unit, configured to calculate a ratio between a circular angle and the number of the first terminals;

[0037] A terminal angle determination unit is used to determine a terminal angle between terminal nodes corresponding to the first terminal based on the ratio.

[0038] Optionally, the terminal node drawing module includes:

[0039] A node distance acquisition unit, used to acquire a predefined node distance between a server node and a terminal node;

[0040] a position information calculation unit, configured to calculate, based on the terminal angle, the node distance and the first position information, second position information of the terminal node corresponding to each of the first terminals in the preset page;

[0041] The terminal node drawing unit is used to draw the terminal node of each of the first terminals in the preset page based on the terminal identification of each of the first terminals and the second location information.

[0042] Optionally, the device further comprises:

[0043] A terminal status acquisition module, used to acquire the terminal status information of each of the first terminals in real time;

[0044] The terminal status display module is used to display the terminal status information at a first preset position of a terminal node of each of the first terminals on the terminal topology map.

[0045] Optionally, the device further comprises:

[0046] A terminal description acquisition module, used to acquire terminal description information of each of the first terminals;

[0047] The terminal description display module is used to display the terminal description information at a second preset position of the terminal node of each of the first terminals on the terminal topology map.

[0048] Optionally, the device further comprises:

[0049] A second number acquisition module, used for acquiring the second terminal number of the second terminal having a connection relationship with the visual network server when the terminal number of the terminals connected to the visual network server changes;

[0050] a target angle determination module, configured to determine a target terminal angle between terminal nodes corresponding to the second terminal based on the number of the second terminals;

[0051] a target node acquisition module, configured to draw a target terminal node of each second terminal in the preset page based on the terminal identification of each second terminal, the target terminal angle and the first position information;

[0052] A topology map establishing module is used to connect the server node in the preset page with the target terminal node to regenerate the terminal topology map of the visual network.

[0053] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0054] one or more processors; and

[0055] One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, enable the device to execute any of the above-mentioned methods for establishing a terminal topology map.

[0056] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program that enables a processor to execute any of the methods for establishing a terminal topology map described above.

[0057] The embodiments of the present application include the following advantages:

[0058] The solution provided in the embodiment of the present application is to draw the server node of the visual network server in the preset page based on the server identification of the visual network server, wherein the server node is a topology map node of the visual network server generated by adding a node icon of the server type and the server identification in the preset page. The number of first terminals of the first terminal having a connection relationship with the visual network server is obtained. Based on the number of first terminals, the terminal angle between the terminal nodes corresponding to the first terminal is determined. Based on the terminal identification of each first terminal, the terminal angle and the first position information of the visual network server in the preset page, the terminal node of each first terminal is drawn in the preset page. The server node and the terminal node in the preset page are connected to generate a terminal topology map of the visual network. The above method provided in the embodiment of the present application can realize the construction of a terminal topology map of the terminal in the visual network system. Through the terminal topology map, the status of the terminal devices in the visual network can be viewed globally in real time. At the same time, the fault can be quickly located, so that the operation and maintenance personnel can find and solve the problem in the first time. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1 A flowchart of a method for establishing a terminal topology map provided in an embodiment of the present application;

[0060] Figure 2 A flowchart of a terminal node drawing method provided in an embodiment of the present application;

[0061] Figure 3 A flowchart of a method for re-establishing a terminal topology map provided in an embodiment of the present application;

[0062] Figure 4 A schematic diagram of a terminal topology diagram provided in an embodiment of the present application;

[0063] Figure 5 A schematic diagram of a topology diagram establishment process provided in an embodiment of the present application;

[0064] Figure 6 A schematic diagram of the structure of a device for establishing a terminal topology map provided in an embodiment of the present application. DETAILED DESCRIPTION

[0065] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0066] Reference Figure 1 , shows a flowchart of the steps of a method for establishing a terminal topology map provided by an embodiment of the present application. Figure 1 As shown, the method for establishing the terminal topology map may include: step 101, step 102, step 103, step 104 and step 105.

[0067] Step 101: Based on the server identifier of the visual networking server, draw a server node of the visual networking server in a preset page, wherein the server node is a topology map node of the visual networking server generated by adding a node icon of a server type and the server identifier in the preset page.

[0068] The embodiments of the present application can be applied to a visual networking system, that is, the execution subject is a visual networking system. In this example, the visual networking system, whose full name is "visual networking real-time video exchange system", adopts the current advanced real-time high-definition video exchange technology to achieve large-scale, high-quality, real-time, bidirectional symmetrical high-definition video full exchange. The system has independent intellectual property rights, can transmit large-scale high-definition video in real time, and has features such as structural safety.

[0069] The visual network may include several visual network servers. When drawing a terminal topology diagram of terminal devices in the visual network, all visual network servers in the visual network may be obtained first, and based on the server identifiers of the visual network servers, the server nodes of the visual network servers may be drawn in the preset page. In this embodiment, for all visual network servers in the visual network, the position of each visual network server in the preset page may be determined, and the server node of each visual network server may be drawn at the corresponding position.

[0070] Among them, the server node can be a topology map node of the visual network server generated by adding a server type node icon and a server identifier in the preset page. In a specific implementation, a server type node icon can be pre-set, such as a circular box, a square box, a triangular box, etc. When drawing a server node, you can first determine the position of the server node in the preset page, and drag the server type node icon to the position, and at the same time add the server identifier of the visual network server on or next to the node icon, so that the topology map node of the visual network server, that is, the server node, can be generated.

[0071] The preset page may be a web page for drawing a terminal topology map. In this embodiment, the preset page may be, but is not limited to, a web page, an HTML page, and the like.

[0072] The server node is a graph node of the topology graph of the visual networking server drawn in the preset page. In this embodiment, the server identifier of the visual networking server can be used as the graph node identifier to draw the server node.

[0073] After drawing the server node of the visual networking server in the preset page based on the server identifier of the visual networking server, step 102 is executed.

[0074] Step 102: Obtain the number of first terminals that are connected to the visual network server.

[0075] The number of first terminals refers to the number of first terminals that have a connection relationship with the visual network server.

[0076] After all visual network servers in the visual network are determined, the first terminal quantity of the first terminal having a connection relationship with the visual network server can be obtained. In this embodiment, according to the server identifier of the visual network server, the first terminal that interacts with the visual network server, that is, the first terminal having a connection relationship with the visual network server, can be traversed from the database corresponding to the server identifier, and according to the terminal identifier of the first terminal, the first terminal quantity of the first terminal having a connection relationship with the visual network server can be determined.

[0077] After obtaining the number of first terminals that are connected to the visual network server, step 103 is executed.

[0078] Step 103: Based on the number of the first terminals, determine the terminal angles between the terminal nodes corresponding to the first terminals.

[0079] The terminal angle refers to the angle between the terminal nodes of the first terminal that has a connection relationship with the visual network server on the constructed terminal topology map.

[0080] After obtaining the first terminal number of the first terminal that has a connection relationship with the visual network server, the terminal angle between the terminal nodes corresponding to the first terminal can be determined based on the first terminal number. Specifically, the ratio between the circular angle (i.e., 360°) and the first terminal number can be calculated, and the terminal angle between the terminal nodes corresponding to the first terminal can be determined based on the ratio. For example, if the first terminal number is 3, then the ratio of 360° to 3 can be calculated, i.e., 120°, that is, the terminal angle is 120°, etc.

[0081] In practical applications, other methods can also be used to calculate the terminal angle. For example, the terminal angle between the terminal nodes corresponding to the first terminal can be manually defined. For example, if the number of first terminals is 3, and the three terminals are terminal 1, terminal 2, and terminal 3, the business personnel can define the angle between the terminal nodes corresponding to terminal 1 and terminal 2 as 90°, the angle between the terminal nodes corresponding to terminal 2 and terminal 3 as 100°, and the angle between the terminal nodes corresponding to terminal 1 and terminal 3 as 170°.

[0082] It can be understood that the above examples are merely examples listed for a better understanding of the technical solutions of the embodiments of the present application, and are not intended to be the sole limitation to the embodiments.

[0083] After the terminal angles between the terminal nodes corresponding to the first terminals are determined based on the number of first terminals, step 104 is performed.

[0084] Step 104: based on the terminal identifier of each first terminal, the terminal angle and the first position information of the server node in the preset page, draw the terminal node of each first terminal in the preset page.

[0085] The first location information is the location information of the server node corresponding to the visual network server in the preset page. The first location information may be the coordinates of the server node in the preset page.

[0086] After determining the terminal angle between the terminal nodes corresponding to the first terminals based on the number of first terminals, the terminal nodes of each first terminal can be drawn in the preset page based on the terminal identification of each first terminal, the terminal angle and the first position information of the visual network server in the preset page. That is, the topology map nodes of each first terminal are drawn in the preset page according to the terminal identification.

[0087] Among them, the terminal node can be a topology map node of the first terminal generated by adding a node icon of the terminal type and a terminal identifier of the first terminal in the preset page. In a specific implementation, the node icon of the terminal type can be pre-set, such as a circular box, a square box, a triangular box, etc. When drawing a terminal node, you can first determine the position of the terminal node in the preset page, drag the node icon of the terminal type to the position, and add the terminal identifier of the first terminal on or next to the node icon, so that the topology map node of the first terminal, that is, the terminal node, can be generated.

[0088] In a specific implementation, the position of the terminal node in the preset page can be calculated according to the preset distance between the server node and the terminal node, and then the terminal node is drawn in the preset page according to the calculated position. Figure 2 This is described in detail as follows.

[0089] Reference Figure 2 , shows a flowchart of the steps of a terminal node drawing method provided by an embodiment of the present application. Figure 2 As shown, the terminal node drawing method may include: step 201, step 202 and step 203.

[0090] Step 201: Obtain a predefined node distance between a server node and a terminal node.

[0091] In this embodiment, the node distance is the distance between the server node and the terminal node in the predefined preset page. The specific value of the node distance can be determined according to business requirements, and this embodiment does not limit this.

[0092] When drawing the terminal nodes, the predefined node distance between the server node and the terminal node can be obtained. In this embodiment, for a single visual network server, the node distances between the terminal nodes of multiple terminals connected to it and the server node of the visual network server can be equal or unequal, and this embodiment does not limit this.

[0093] After the predefined node distance between the server node and the terminal node is obtained, step 202 is executed.

[0094] Step 202: Based on the terminal angle, the node distance and the first position information, calculate and obtain the second position information of the terminal node corresponding to each of the first terminals in the preset page.

[0095] After obtaining the predefined node distance between the server node and the terminal node, the second position information of the terminal node corresponding to each first terminal in the preset page can be calculated based on the terminal angle, the node distance and the first position information. Specifically, the coordinate information of the terminal node in the preset page can be calculated based on the coordinate information corresponding to the first position information and the terminal angle and the node distance. For example, the coordinate corresponding to the first position information is (x0, y0), the number of first terminals is n (n is a positive integer), the angle between the n terminal nodes is θ, and the distance from the server node to the terminal node is r. Then, the conversion formula of the coordinates of the terminal node's position information can be: y=y0+r×cos(θ), x=x0+r×sin(θ). Among them, (x, y) is the coordinate of the terminal node in the preset page.

[0096] It can be understood that the above examples are merely examples listed for a better understanding of the technical solutions of the embodiments of the present application, and are not intended to be the sole limitation to the embodiments.

[0097] After the second position information of the terminal nodes corresponding to each first terminal in the preset page is calculated based on the terminal angle, the node distance and the first position information, step 203 is executed.

[0098] Step 203: based on the terminal identification of each of the first terminals and the second location information, draw a terminal node of each of the first terminals in the preset page.

[0099] After the second position information of the terminal node corresponding to each first terminal in the preset page is calculated based on the terminal angle, the node distance and the first position information, the terminal node of each first terminal can be drawn in the preset page based on the terminal identifier of each first terminal and the second position information. Specifically, the terminal identifier of each first terminal can be used as the graph node identifier, the graph node identifier of each first terminal can be added at the second position information, and the terminal identifier of each first terminal can be added on or next to each graph node identifier, so as to obtain the terminal node of each first terminal.

[0100] The embodiment of the present application realizes the location of the terminal nodes in the topology map and the drawing of the terminal nodes through the above-mentioned algorithm, thereby realizing the establishment of the terminal topology map in the visual network, and providing a basis for the construction of the terminal topology map.

[0101] After the terminal nodes of the respective first terminals are drawn in the preset page based on the terminal identifiers of the respective first terminals, the terminal angles and the first position information of the server node in the preset page, step 105 is executed.

[0102] Step 105: Connect the server node and the terminal node in the preset page to generate a terminal topology diagram of the visual network.

[0103] After drawing the terminal nodes of each first terminal in the preset page based on the terminal identification, terminal angle and first position information of the server node in the preset page, the server node and the terminal node in the preset page can be connected to generate a terminal topology map of the visual network. The established terminal topology map can be as follows: Figure 4 As shown in the figure, the central node is the server node, and the three nodes on the outside are the terminal nodes. The angle between the three terminal nodes is 120°. The node positions of the three terminal nodes can be calculated through the coordinates of the server node and the predefined node distance, and then the terminal nodes are drawn. Then the terminal nodes are connected to the server node, so that the following can be obtained: Figure 4 The terminal topology diagram shown in the figure.

[0104] In a specific implementation of the present application, after generating the terminal topology map, the terminal status information of each first terminal can be obtained in real time, and the terminal status information of each first terminal can be displayed at the first preset position of the terminal node of each first terminal on the terminal topology map. In this example, the terminal status information may include but is not limited to: online status, offline status, fault status, etc. In a specific implementation, each first terminal can obtain the latest terminal status information, etc. by connecting to the server in real time through a websocket.

[0105] In another specific implementation of the present application, after generating the terminal topology map, the terminal description information of each first terminal can be obtained. And the terminal description information of each first terminal is displayed at the second preset position of the terminal node of each first terminal on the terminal topology map. In this example, the terminal description information may include but is not limited to the terminal model, operator information, online status description, whether the flow threshold is exceeded, and other information.

[0106] The process of building the terminal topology map and displaying the status can be as follows: Figure 5 As shown. First, the original data of the terminal information can be processed to obtain the number of visual network supported data, and after algorithm processing, the drawn terminal nodes and server nodes are displayed on the page, and the server nodes are connected with the corresponding terminal nodes to generate the terminal topology map. Then, the latest terminal status can be obtained by connecting to the server in real time through websocket, that is, Figure 5 The terminal change information is displayed and converted into a data format supported by the visual network through data processing, and then the terminal change information is displayed in real time on the constructed terminal topology map, so that the final terminal device status can be displayed in real time through the terminal topology map.

[0107] The embodiments of the present application can realize the construction of a terminal topology map of each terminal device in the visual network system. Through the terminal topology map, the status of each terminal device in the visual network can be viewed globally in real time. At the same time, faults can be quickly located, allowing operation and maintenance personnel to discover and solve problems in the first place.

[0108] In this embodiment, when the number of terminals connected to the visual network server changes, the topology structure of the visual network server needs to be regenerated. Figure 3 This is described in detail as follows.

[0109] Reference Figure 3 , shows a flowchart of the steps of a method for re-establishing a terminal topology map provided by an embodiment of the present application. Figure 3 As shown, the method may include: step 301, step 302, step 303 and step 304.

[0110] Step 301: When the number of terminals connected to the visual networking server changes, obtain the number of second terminals that are connected to the visual networking server.

[0111] In this embodiment, when the number of terminals connected to the visual networking server changes, the number of second terminals that have a connection relationship with the visual networking server can be obtained.

[0112] Step 302: Based on the number of the second terminals, determine the target terminal angle between the terminal nodes corresponding to the second terminals.

[0113] Furthermore, the target terminal angle between the terminal nodes corresponding to the second terminal can be determined based on the number of second terminals. Specifically, the ratio between the circular angle and the number of second terminals can be calculated, and the target terminal angle can be determined based on the ratio.

[0114] After determining the target terminal angle between the terminal nodes corresponding to the second terminal based on the number of second terminals, step 303 is performed.

[0115] Step 303: based on the terminal identification of each second terminal, the target terminal angle and the first position information, draw the target terminal node of each second terminal in the preset page.

[0116] After determining the target terminal angle between the terminal nodes corresponding to the second terminal based on the number of second terminals, the target terminal node of each second terminal can be drawn in the preset page based on the terminal identification, target terminal angle and first position information of each second terminal. Specifically, the coordinates of the terminal node of each second terminal in the preset page can be determined based on the first position information, the target terminal angle and the predefined node distance, and the target terminal node of each second terminal can be drawn in the preset page based on the coordinates and the terminal identification.

[0117] After the target terminal nodes of the respective second terminals are drawn in the preset page based on the terminal identifications of the respective second terminals, the target terminal angles and the first position information, step 304 is executed.

[0118] Step 304: Connect the server node in the preset page and the target terminal node to regenerate a terminal topology diagram of the visual network.

[0119] After drawing the target terminal node of each second terminal in the preset page based on the terminal identification, target terminal angle and first position information of each second terminal, the server node and the target terminal node in the preset page can be connected to regenerate the terminal topology map of the visual network, that is, complete the reconstruction of the terminal topology map of the visual network server where the number of terminals has changed.

[0120] The method for establishing a terminal topology map provided in an embodiment of the present application draws the server node of the visual network server in a preset page based on the server identification of the visual network server, wherein the server node is a topology map node of the visual network server generated by adding a node icon of the server type and a server identification in the preset page. The number of first terminals of the first terminal having a connection relationship with the visual network server is obtained. Based on the number of first terminals, the terminal angle between the terminal nodes corresponding to the first terminal is determined. Based on the terminal identification of each first terminal, the terminal angle and the first position information of the visual network server in the preset page, the terminal node of each first terminal is drawn in the preset page. The server node and the terminal node in the preset page are connected to generate a terminal topology map of the visual network. The above method provided in an embodiment of the present application can realize the construction of a terminal topology map of the terminal in the visual network system. Through the terminal topology map, the status of the terminal devices in the visual network can be viewed globally in real time. At the same time, the fault can be quickly located, so that the operation and maintenance personnel can find and solve the problem in the first time.

[0121] It should be noted that, for the method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the described action sequence, because according to the embodiments of the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.

[0122] Reference Figure 6 , shows a schematic diagram of the structure of a device for establishing a terminal topology map provided in an embodiment of the present application. Figure 6 As shown, the terminal topology map establishing device 600 may include the following modules:

[0123] A server node drawing module 610 is used to draw a server node of the visual network server in a preset page based on a server identifier of the visual network server, wherein the server node is a topology map node of the visual network server generated by adding a node icon of a server type and the server identifier in the preset page;

[0124] A first number acquisition module 620 is used to acquire the first terminal number of the first terminal having a connection relationship with the visual network server;

[0125] A terminal angle determination module 630, configured to determine a terminal angle between terminal nodes corresponding to the first terminal based on the number of the first terminals;

[0126] A terminal node drawing module 640, configured to draw a terminal node of each of the first terminals in the preset page based on the terminal identification of each of the first terminals, the terminal angle and the first position information of the server node in the preset page;

[0127] The terminal topology map establishing module 650 is used to connect the server node and the terminal node in the preset page to generate a terminal topology map of the visual network.

[0128] Optionally, the terminal angle determination module includes:

[0129] a ratio calculation unit, configured to calculate a ratio between a circular angle and the number of the first terminals;

[0130] A terminal angle determination unit is used to determine a terminal angle between terminal nodes corresponding to the first terminal based on the ratio.

[0131] Optionally, the terminal node drawing module includes:

[0132] A node distance acquisition unit, used to acquire a predefined node distance between a server node and a terminal node;

[0133] a position information calculation unit, configured to calculate, based on the terminal angle, the node distance and the first position information, second position information of the terminal node corresponding to each of the first terminals in the preset page;

[0134] The terminal node drawing unit is used to draw the terminal node of each of the first terminals in the preset page based on the terminal identification of each of the first terminals and the second location information.

[0135] Optionally, the device further comprises:

[0136] A terminal status acquisition module, used to acquire the terminal status information of each of the first terminals in real time;

[0137] The terminal status display module is used to display the terminal status information at a first preset position of a terminal node of each of the first terminals on the terminal topology map.

[0138] Optionally, the device further comprises:

[0139] A terminal description acquisition module, used to acquire terminal description information of each of the first terminals;

[0140] The terminal description display module is used to display the terminal description information at a second preset position of the terminal node of each of the first terminals on the terminal topology map.

[0141] Optionally, the device further comprises:

[0142] A second number acquisition module, used for acquiring the second terminal number of the second terminal having a connection relationship with the visual network server when the terminal number of the terminals connected to the visual network server changes;

[0143] a target angle determination module, configured to determine a target terminal angle between terminal nodes corresponding to the second terminal based on the number of the second terminals;

[0144] a target node acquisition module, configured to draw a target terminal node of each second terminal in the preset page based on the terminal identification of each second terminal, the target terminal angle and the first position information;

[0145] A topology map establishing module is used to connect the server node in the preset page with the target terminal node to regenerate the terminal topology map of the visual network.

[0146] The terminal topology map establishment device provided in the embodiment of the present application draws the server node of the visual network server in the preset page based on the server identification of the visual network server, wherein the server node is a topology map node of the visual network server generated by adding a node icon of the server type and the server identification in the preset page. The number of first terminals of the first terminal having a connection relationship with the visual network server is obtained. Based on the number of first terminals, the terminal angle between the terminal nodes corresponding to the first terminal is determined. Based on the terminal identification of each first terminal, the terminal angle and the first position information of the visual network server in the preset page, the terminal node of each first terminal is drawn in the preset page. The server node and the terminal node in the preset page are connected to generate a terminal topology map of the visual network. The above method provided in the embodiment of the present application can realize the construction of the terminal topology map of the terminal in the visual network system. Through the terminal topology map, the status of the terminal equipment in the visual network can be viewed globally in real time. At the same time, the fault can be quickly located, which is convenient for operation and maintenance personnel to find and solve the problem in the first time.

[0147] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0148] In an embodiment of the present application, an electronic device is also provided. The electronic device may include one or more processors, and one or more machine-readable media storing instructions thereon, the instructions being, for example, application programs. When the instructions are executed by the one or more processors, the processors execute any of the above methods for establishing a terminal topology map.

[0149] In an embodiment of the present application, a non-temporary computer-readable storage medium is also provided, on which a computer program is stored, and the program can be executed by a processor of an electronic device to implement any of the above methods for establishing a terminal topology map. For example, the non-temporary computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.

[0150] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0151] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, devices, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0152] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0153] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0154] These computer program instructions can also be loaded into a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable terminal device provide for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0155] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0156] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0157] The above is a detailed introduction to the method, device, electronic device and storage medium for establishing a terminal topology map provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for establishing a terminal topology map, characterized in that: The method comprises: Based on the server identifier of the visual networking server, a server node of the visual networking server is drawn in a preset page, wherein the server node is a topology map node of the visual networking server generated by adding a node icon of a server type and the server identifier in the preset page; Acquire the number of first terminals of the first terminals that have a connection relationship with the visual network server; Based on the number of the first terminals, determining a terminal angle between terminal nodes corresponding to the first terminals; Based on the terminal identification of each first terminal, the terminal angle and the first position information of the server node in the preset page, drawing the node of each first terminal in the preset page, wherein the terminal node is a topology map node of the first terminal generated by adding a node icon of the terminal type and the terminal identification of the first terminal in the preset page; The server node and the terminal node in the preset page are connected to generate a terminal topology diagram of the visual network.

2. The method according to claim 1, characterized in that The determining, based on the first terminal quantity, a terminal angle between terminal nodes corresponding to the first terminal includes: Calculating a ratio between the circumferential angle and the number of the first terminals; Based on the ratio, a terminal angle between terminal nodes corresponding to the first terminal is determined.

3. The method according to claim 1, characterized in that The step of drawing the terminal nodes of each of the first terminals in the preset page based on the terminal identifiers of each of the first terminals, the terminal angles, and the first position information of the server node in the preset page includes: Get the predefined node distance between the server node and the terminal node; Based on the terminal angle, the node distance and the first position information, calculate and obtain second position information of the terminal node corresponding to each of the first terminals in the preset page; Based on the terminal identification of each of the first terminals and the second location information, a terminal node of each of the first terminals is drawn in the preset page.

4. The method according to claim 1, characterized in that: After connecting the server node and the terminal node in the preset page to generate a terminal topology diagram of the visual network, the method further includes: Acquire terminal status information of each of the first terminals in real time; The terminal status information is displayed at a first preset position of a terminal node of each of the first terminals on the terminal topology map.

5. The method according to claim 1, characterized in that After connecting the server node and the terminal node in the preset page to generate a terminal topology diagram of the visual network, the method further includes: Acquire terminal description information of each of the first terminals; The terminal description information is displayed at a second preset position of the terminal node of each of the first terminals on the terminal topology map.

6. The method according to claim 1, characterized in that After connecting the server node and the terminal node in the preset page to generate a terminal topology diagram of the visual network, the method further includes: When the number of terminals connected to the visual networking server changes, obtaining the number of second terminals connected to the visual networking server; Determining a target terminal angle between terminal nodes corresponding to the second terminals based on the number of the second terminals; Based on the terminal identification of each second terminal, the target terminal angle and the first position information, drawing the target terminal node of each second terminal in the preset page; The server node in the preset page is connected to the target terminal node to regenerate a terminal topology diagram of the visual network.

7. A device for establishing a terminal topology map, characterized in that: The device comprises: A server node drawing module, used to draw a server node of the visual network server in a preset page based on a server identifier of the visual network server, wherein the server node is a topology map node of the visual network server generated by adding a node icon of a server type and the server identifier in the preset page; A first quantity acquisition module, used to acquire the first terminal quantity of the first terminal having a connection relationship with the visual network server; A terminal angle determination module, configured to determine a terminal angle between terminal nodes corresponding to the first terminal based on the number of the first terminals; a terminal node drawing module, configured to draw the terminal nodes of each of the first terminals in the preset page based on the terminal identification of each of the first terminals, the terminal angle, and the first position information of the server node in the preset page, wherein the terminal node is a topology map node of the first terminal generated by adding a node icon of the terminal type and the terminal identification of the first terminal in the preset page; The terminal topology map establishing module is used to connect the server node and the terminal node in the preset page to generate a terminal topology map of the visual network.

8. The device according to claim 7, characterized in that The terminal angle determination module includes: a ratio calculation unit, configured to calculate a ratio between a circular angle and the number of the first terminals; A terminal angle determination unit is used to determine a terminal angle between terminal nodes corresponding to the first terminal based on the ratio.

9. An electronic device, characterized in that: include: one or more processors; and One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, enable the device to execute the method for establishing a terminal topology map as described in any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that: The computer program stored therein enables the processor to execute the method for establishing a terminal topology map as described in any one of claims 1 to 6.