CN105930118B - Method and system for drawing network topological graph of splicing wall system - Google Patents

Method and system for drawing network topological graph of splicing wall system Download PDF

Info

Publication number
CN105930118B
CN105930118B CN201610240692.6A CN201610240692A CN105930118B CN 105930118 B CN105930118 B CN 105930118B CN 201610240692 A CN201610240692 A CN 201610240692A CN 105930118 B CN105930118 B CN 105930118B
Authority
CN
China
Prior art keywords
equipment
dragging
wall system
instruction
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610240692.6A
Other languages
Chinese (zh)
Other versions
CN105930118A (en
Inventor
苗军飞
覃俊
张志强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vtron Technologies Ltd
Original Assignee
Vtron Technologies 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 Vtron Technologies Ltd filed Critical Vtron Technologies Ltd
Priority to CN201610240692.6A priority Critical patent/CN105930118B/en
Publication of CN105930118A publication Critical patent/CN105930118A/en
Application granted granted Critical
Publication of CN105930118B publication Critical patent/CN105930118B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1446Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display display composed of modules, e.g. video walls
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

Abstract

A method and a system for drawing a network topological graph of a splicing wall system are provided, the method comprises the following steps: acquiring configuration data, wherein the configuration data comprises equipment information of each equipment and a connection relation between each equipment, and the equipment information comprises equipment identification and equipment type; according to the equipment type of each equipment, creating display primitives corresponding to each equipment respectively, generating connecting lines among the equipment with the connection relation, and obtaining a network topological graph of the spliced wall system, wherein the connecting lines comprise broken line points; when an editing instruction is received, correspondingly adjusting the network topological graph of the spliced wall system according to the editing instruction; when a storage instruction is received, storing interface element data of the adjusted network topological graph of the spliced wall system, wherein the interface element data comprises: coordinate information of a display primitive of each device, information of a device to which each connection line is connected, and position coordinate information of a polyline point of each connection line. The embodiment of the invention improves the convenience of equipment maintenance in the spliced wall system.

Description

Method and system for drawing network topological graph of splicing wall system
Technical Field
The invention relates to the technical field of spliced walls, in particular to a method and a system for drawing a network topological graph of a spliced wall system.
Background
With the development of the spliced wall technology, especially the development and application of large spliced walls, the number of devices in a spliced wall system is more and more, the connection relationship between the devices is more and more complex, in order to effectively maintain and manage the device connection relationship of the spliced wall system, a more advanced mode which appears at present is to draw a network topology diagram of the spliced wall system through software, and maintain and manage the connection relationship between the devices of the spliced wall system based on the drawn network topology diagram. However, at present, the network topology map for the spliced wall system is drawn for a specific spliced wall system, a new network topology map needs to be redrawn every time maintenance and management are performed, adaptive adjustment cannot be performed, the previously drawn network topology map cannot be applied to a subsequent maintenance process, and due to the characteristic that the number of devices of the spliced wall system is large, the device connection is complex, the layout is disordered, and further the maintenance of the connection relationship between the devices is difficult.
Disclosure of Invention
Based on this, an object of the embodiments of the present invention is to provide a method and a system for drawing a network topology map of a splicing wall system, which can maintain equipment in the splicing wall system relatively simply, and improve convenience of equipment maintenance in the splicing wall system.
In order to achieve the purpose, the embodiment of the invention adopts the following technical scheme:
a method for drawing a network topological graph of a splicing wall system comprises the following steps:
acquiring configuration data, wherein the configuration data comprises equipment information of each equipment and a connection relation between each equipment, and the equipment information comprises equipment identification and equipment type;
creating display primitives corresponding to each device according to the device type of each device, and generating connecting lines between devices with connection relations according to the connection relations to obtain a network topological graph of the spliced wall system, wherein the connecting lines comprise broken line points;
when an editing instruction is received, correspondingly adjusting the network topological graph of the spliced wall system according to the editing instruction;
when a storage instruction is received, storing interface element data of the adjusted network topological graph of the spliced wall system, wherein the interface element data comprises: coordinate information of a display primitive of each device, information of a device to which each connection line is connected, and position coordinate information of a polyline point of each connection line.
A system for drawing a network topological graph of a splicing wall system comprises:
the device comprises a configuration information acquisition module, a configuration information acquisition module and a configuration information processing module, wherein the configuration information acquisition module is used for acquiring configuration data, the configuration data comprises equipment information of each equipment and a connection relation between each equipment, and the equipment information comprises equipment identification and equipment type;
the topological graph creating module is used for creating display primitives corresponding to each device according to the device type of each device, generating connecting lines between the devices with the connection relation according to the connection relation and obtaining a network topological graph of the spliced wall system, wherein the connecting lines comprise broken line points;
the editing and adjusting module is used for correspondingly adjusting the network topological graph of the spliced wall system according to the editing instruction when the editing instruction is received;
the layout storage module is used for storing the interface element data of the network topology map of the spliced wall system after being adjusted by the editing and adjusting module when receiving a storage instruction, and the interface element data comprises: coordinate information of a display primitive of each device, information of a device to which each connection line is connected, and position coordinate information of a polyline point of each connection line.
According to the scheme of the embodiment of the invention, the simple and vivid graphical topological graph is utilized to solve the problems of lack of cognition on the type, the quantity and the configuration of equipment and difficulty in maintenance in a large spliced wall system, the equipment in the spliced wall system can be maintained simply, and the convenience in equipment maintenance in the spliced wall system is improved.
Drawings
FIG. 1 is a schematic flow chart illustrating a method for drawing a network topology of a tiled wall system according to an embodiment of the present invention;
FIG. 2 is a network topology of an integral tiled wall system in one specific example;
FIG. 3 is a schematic diagram of a partial enlargement of a network topology of a tiled wall system in a specific example;
FIG. 4 is a schematic diagram of an overall reduction of a network topology of a tiled wall system in one particular example;
FIG. 5 is a diagram illustrating editing of connection lines in one particular example;
FIG. 6 is a diagram illustrating stretching of display elements of a device in one particular example;
fig. 7 is a schematic structural diagram of a system for drawing a network topology of a tiled wall system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the detailed description and specific examples, while indicating the scope of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
Fig. 1 is a schematic flow chart illustrating a method for drawing a network topology of a tiled wall system according to an embodiment of the present invention, where as shown in fig. 1, the method in the embodiment includes:
step S101: acquiring configuration data, wherein the configuration data comprises equipment information of each equipment and a connection relation between each equipment, and the equipment information comprises equipment identification and equipment type;
step S102: creating display primitives corresponding to each device according to the device type of each device, and generating connecting lines between devices with connection relations according to the connection relations to obtain a network topological graph of the spliced wall system, wherein the connecting lines comprise broken line points;
step S103: when an editing instruction is received, correspondingly adjusting the network topological graph of the spliced wall system according to the editing instruction;
step S104: when a storage instruction is received, storing interface element data of the adjusted network topological graph of the spliced wall system, wherein the interface element data comprises: coordinate information of a display primitive of each device, information of a device to which each connection line is connected, and position coordinate information of a polyline point of each connection line.
According to the scheme of the embodiment of the invention, the simple and vivid graphical topological graph is utilized to solve the problems of lack of cognition on the type, the quantity and the configuration of equipment and difficulty in maintenance in a large spliced wall system, the equipment in the spliced wall system can be maintained simply, and the convenience in equipment maintenance in the spliced wall system is improved.
As shown in fig. 1, before acquiring the configuration data, the method may further include:
step S100: and the function of changing the shape of the connecting line by double-click is deleted by acquiring the connecting line acquisition port for connecting the end point and the middle break point.
Therefore, the function of changing the shape of the connecting line by removing double-click of the connecting line is achieved, meanwhile, due to the fact that the function of the folding line point is added in the connecting line, the pattern of the connecting line can be clearly stored, when the connecting line is applied next time, the stored pattern of the connecting line cannot be changed, the layout of the arranged and stored topological graph can be conveniently and repeatedly used, and convenience are achieved.
The following is described in detail with reference to one specific example thereof.
When the scheme of the invention is implemented, a connecting line acquisition port for acquiring the connecting end point and the middle break point needs to be designed, and the function of changing the shape of the connecting line by double-clicking is deleted through the connecting line acquisition port, namely the function of changing the shape of the connecting line by double-clicking in the existing drawing software is removed. Meanwhile, the port is obtained through the connecting line, the broken line points of the connecting line can be set, when the port is configured for the first time, the functions of the broken line points of the connecting line are added, and the specific positions of the broken line points do not need to be fixed. For a straight connecting line, the broken line and the two ends of the connecting line are located on the same straight line. In specific implementation, the deletion of the function of changing the shape of the connecting line by double-clicking and the setting of the broken line point of the connecting line are realized by modifying the open source mapgraph code.
It should be noted that, for a scenario in which the embodiment of the present invention is used for the first time, it may be necessary to implement the above-mentioned function of deleting the double-click to change the shape of the connection line and set the polyline point of the connection line, and for the above-mentioned mode of the present invention, which has been adopted to delete the function of changing the shape of the connection line and set the polyline point of the connection line, the subsequent processing procedure may be directly executed.
Based on the method of the embodiment of the invention, when software for drawing the network topological graph of the spliced wall system is opened, the existing configuration data is automatically obtained from the database. When the database stores the configuration data saved before, the configuration data saved last time is obtained, and when the database does not store the configuration data, the default configuration data can be used.
The acquired configuration data may include device information of each device and a connection relationship between each device. The device information of the device may include various types of data such as device identification, device type, device name, device network address, device model, device physical address, and the like. Based on the device identification, the drawn network topology map can distinguish different devices.
And then, creating display primitives corresponding to the devices respectively according to the device types of the devices, generating connecting lines between the devices with the connection relationship according to the connection relationship, and obtaining a network topology diagram of the spliced wall system, wherein each connecting line comprises broken line points, and the starting point and the destination point of each connecting line are associated with or connected with the corresponding starting node (namely the display primitive of one device with the connection relationship) and the corresponding destination node (namely the display primitive of the other device with the connection relationship with the starting node). In one particular example, it may be that a display primitive of a device is created and displayed in the JFrame panel of swing.
When creating display primitives corresponding to each device, the device name of the device may also be displayed at the relevant position of the display primitive corresponding to the device, so as to distinguish different devices from each other in terms of names. On the other hand, the created and displayed display elements of each device may be corresponding pictures of each device, that is, the display elements of the device may be real pictures of the device, so that different devices can be visually distinguished based on the pictures directly.
The network topological graph of the spliced wall system can be edited and adjusted, and when the network topological graph of the spliced wall system is specifically edited, an editing instruction can be received, and the network topological graph of the spliced wall system can be correspondingly adjusted according to the editing instruction. In a specific example, the editing instruction may include at least one of a dragging instruction, a stretching instruction, an enlarging instruction, a reducing instruction, a restoring instruction, and a resetting instruction when the network topology of the tiled wall system needs to be edited. By taking the network topology diagram of the integral spliced wall system in a specific example shown in fig. 2 as an example, the following description is given by taking several editing instructions therein as an example.
Taking the editing instruction as an enlargement instruction as an example, the adjustment corresponding to the enlargement instruction may include: in the process of dragging and amplifying the selected range, judging whether the amplification ratio of the position coordinate of the selected range after dragging and amplifying relative to the position coordinate before dragging and amplifying is larger than an amplification ratio threshold value, if so, continuing to execute the dragging and amplifying operation, otherwise, stopping executing the dragging and amplifying operation. By the limitation of the magnification ratio threshold value, the magnified topological graph is not overlarge, and the display primitives can be clearly displayed and watched by a user. Wherein, the amplification ratio threshold value can be set according to actual needs.
The enlargement instruction may be received through a set related control for receiving the enlargement instruction, or may be received during the dragging enlargement process, and the selected enlargement range (i.e., the selected range) may be an entire network topology map or a part of the network topology map. A schematic diagram of a partial enlargement of the network topology of the split wall system in one specific example is shown in fig. 3.
Taking the editing instruction as a zoom-out instruction as an example, the adjusting corresponding to the zoom-out instruction may include: in the process of dragging and reducing the selected range, judging whether the magnification ratio of the position coordinate of the selected range after dragging and reducing relative to the position coordinate before dragging and reducing is larger than a reduction ratio threshold value, if so, continuing to execute dragging and reducing operation, otherwise, stopping executing the dragging and reducing operation. By limiting the reduction scale threshold, the reduced topological graph is not too small, and the display primitives can be clearly displayed and watched by a user. The scaling threshold may be set according to actual needs.
The reduction instruction may be received through a set related control for receiving the reduction instruction, or may be received during the dragging reduction process, and the selected reduction range (i.e., the selected range) may be an entire network topology map or a part of the network topology map. A schematic diagram of the overall reduction of the network topology of the split wall system in one specific example is shown in fig. 4.
Taking the editing instruction as the dragging instruction as an example, the object for which the dragging instruction is directed may be a specific display primitive, an overall network topology, a certain connection line, a polyline point of a certain connection line, or the like.
Take the broken line point of dragging the connecting wire as an example, above-mentioned dragging instruction includes broken line point and drags the instruction, and at this moment, the adjustment that drags the instruction with broken line point and corresponds can include: and moving the selected broken line point to the dragged target position, and updating the position coordinate information of the broken line point of the connecting line.
By taking the schematic diagram of editing the connection line in one specific example shown in fig. 5 as an example, in the process of editing the connection line, the polyline point shown in fig. 5 (i.e., the small square shown in fig. 5) may be dragged, and the polyline point may be dragged to an appropriate position, and by moving the position of the polyline point, the position of the polyline point of the connection line may be changed, and thus the shape of the connection line may be changed. As shown in fig. 5, the turning angle of the connecting line determined based on the polyline point may be 90 degrees. In addition, the number of the polygonal line points may be one or two or more, depending on actual needs.
Taking an editing instruction as an example for stretching, fig. 6 shows a schematic diagram of stretching a display primitive of an apparatus in a specific example, as shown in fig. 6, position coordinates of four vertices may be changed by dragging the four vertices of the display primitive, so that stretching of the display primitive of the apparatus may be implemented, and a display state of the display primitive of the apparatus may be changed.
Taking the edit instruction as the recovery instruction as an example, after receiving the recovery instruction, the network topology map may be recovered to the state when it was created for the first time, or the network topology map may be recovered to the state before the last edit, and the specific state to which the network topology map is recovered may be set according to actual needs.
Taking the editing instruction as a reset instruction as an example, after the reset instruction is received, the network topology can be restored to the default layout state.
It should be noted that the above-mentioned various editing instructions may be received through the corresponding control, or may be received in other manners, for example, by clicking a right button to select reception, or receiving the editing instructions during dragging.
And after the editing is finished, if the edited network topology graph needs to be stored, the network topology graph is used for subsequent repeated use. When a storage instruction is received, storing the interface element data of the adjusted network topology map of the splicing wall system, wherein the stored interface element data may include: coordinate information of a display primitive of each device, information of a device to which each connection line is connected, and position coordinate information of a polyline point of each connection line. The coordinate information of the display primitive of the device may specifically include start coordinate information, height information, and width information of the device primitive.
Based on the network address of the device, the state of the device may also be monitored, where the monitoring process may be performed at any time after the network topology map exists, for example, after the network topology map is obtained in step S102, during the process of editing the network topology map in step S103, after the network topology map is saved in step S104, and the like.
Therefore, the method of this embodiment may further include: and monitoring the state of each device according to the device network address of the device.
The mode of monitoring the state of the device may adopt various possible modes, and the following description is given by combining two of them.
In one of the monitoring modes, a state monitoring request may be sent to the device according to a device network address of the device, a state monitoring response returned by the device according to the state monitoring request is received, and when the state monitoring response includes information that the device has a fault, the state of the device is marked as a fault state in a network topology diagram of the tiled wall system.
In another monitoring mode, a state monitoring request is sent to the device according to a device network address of the device, a state monitoring response returned by the device according to the state monitoring request is received, when the state monitoring response returned by the device is not received within a preset time period after the state monitoring request is sent, the device is judged to have a fault, and the state of the device is marked as a fault state in a network topology map of the spliced wall system.
Those skilled in the art can understand that the two monitoring modes can exist simultaneously, and as long as any one of the conditions is met, the device can be judged to be in fault, and the state of the device is marked as a fault state in the network topology map of the spliced wall system.
Therefore, after the equipment fails, the position of the failed equipment and the type of the failed equipment can be quickly positioned by combining the type of the equipment and the physical position of the equipment, and the problem of failure is quickly solved.
Based on the same idea as the method, an embodiment of the present invention further provides a system for drawing a network topology map of a splicing wall system, and fig. 7 shows a schematic structural diagram of the system for drawing a network topology map of a splicing wall system according to an embodiment of the present invention.
As shown in fig. 7, the system in the present embodiment includes:
a configuration information obtaining module 701, configured to obtain configuration data, where the configuration data includes device information of each device and a connection relationship between the devices, and the device information includes a device identifier and a device type;
a topology map creating module 702, configured to create display primitives corresponding to each device according to the device type of each device, and generate a connection line between devices having a connection relationship according to the connection relationship, so as to obtain a network topology map of the splicing wall system, where the connection line includes a broken line point;
the editing and adjusting module 703 is configured to, when an editing instruction is received, correspondingly adjust the network topology map of the splicing wall system according to the editing instruction;
a layout saving module 704, configured to, when receiving a saving instruction, store interface element data of the network topology map of the splicing wall system adjusted by the editing and adjusting module, where the interface element data includes: coordinate information of a display primitive of each device, information of a device to which each connection line is connected, and position coordinate information of a polyline point of each connection line.
The interface element data saved by the layout saving module 704 may include: coordinate information of a display primitive of each device, information of a device to which each connection line is connected, and position coordinate information of a polyline point of each connection line. The coordinate information of the display primitive of the device may specifically include start coordinate information, height information, and width information of the device primitive.
According to the scheme of the embodiment of the invention, the simple and vivid graphical topological graph is utilized to solve the problems of lack of cognition on the type, the quantity and the configuration of equipment and difficulty in maintenance in a large spliced wall system, the equipment in the spliced wall system can be maintained simply, and the convenience in equipment maintenance in the spliced wall system is improved.
As shown in fig. 7, the system in this embodiment may further include:
and the function configuration module 700 is configured to delete the function of changing the shape of the connecting line by double-clicking through the connecting line acquisition port for acquiring the connecting end point and the intermediate break point.
Therefore, the function of changing the shape of the connecting line by removing double-click of the connecting line is achieved, meanwhile, due to the fact that the function of the folding line point is added in the connecting line, the pattern of the connecting line can be clearly stored, when the connecting line is applied next time, the stored pattern of the connecting line cannot be changed, the layout of the arranged and stored topological graph can be conveniently and repeatedly used, and convenience are achieved. In specific implementation, the deletion of the function of changing the shape of the connecting line by double-clicking and the setting of the broken line point of the connecting line are realized by modifying the open source mapgraph code.
In a specific example, the device information may further include a device name, and in this case, when the topology creation module 702 creates the display primitives corresponding to the respective devices, the device name of the device may further be displayed at a position related to the display primitive corresponding to the device. So that it is possible to facilitate the distinction of different devices by name.
In addition, the display primitives of each device created and displayed by the topology map creation module 702 may be corresponding pictures of each device, that is, the display primitives of the device may be real pictures of the device, so that different devices can be visually distinguished based on the pictures directly.
When the editing adjustment module 703 performs editing adjustment, different editing modes may be provided in different technical application scenarios, so that different editing adjustment sub-modules may be included and applied. Fig. 7 illustrates the edit adjusting module 703 including an enlarging module 7031, a reducing module 7032, and a dragging module 7033. It will be understood by those skilled in the art that other edit adjustment sub-modules may be provided for other edit adjustment functions.
The enlarging module 7031 is configured to, when the enlarging instruction is received, determine, in the process of performing dragging and enlarging on the selected range, whether an enlargement ratio of the position coordinate after the dragging and enlarging on the selected range with respect to the position coordinate before the dragging and enlarging is greater than an enlargement ratio threshold, if yes, continue to perform the dragging and enlarging operation, and otherwise, stop performing the dragging and enlarging operation.
The reducing module 7032 is configured to, when the reduction instruction is received, determine, in a process of dragging and reducing the selected range, whether an enlargement ratio of the position coordinate after the selected range is dragged and reduced with respect to the position coordinate before the selected range is dragged and reduced is greater than a reduction ratio threshold, if yes, continue to perform the dragging and reducing operation, and otherwise, stop performing the dragging and reducing operation.
Taking the polyline point of the connecting line as an example, the dragging instruction includes a polyline point dragging instruction, and at this time, the dragging module 7033 is configured to, when receiving the polyline point dragging instruction, move the selected polyline point to the dragged target position, and update the position coordinate information of the polyline point of the connecting line.
In a specific example, the device information may further include a device network address, and as shown in fig. 7, the system in this embodiment may further include: the state monitoring module 705 is configured to monitor a state of each device according to a device network address of the device. The monitoring process may be performed at any time, for example, after the network topology is obtained, during the process of editing the network topology, after the network topology is saved, and the like.
The mode of monitoring the state of the device may adopt various possible modes, and the following description is given by combining two of them.
In one monitoring mode, the state monitoring module 705 may send a state monitoring request to the device according to the device network address of the device, receive a state monitoring response returned by the device according to the state monitoring request, and mark the state of the device as a failure state in the network topology map of the tiled wall system when the state monitoring response includes information that the device has a failure.
In another monitoring mode, the state monitoring module 705 may send a state monitoring request to the device according to a device network address of the device, receive a state monitoring response returned by the device according to the state monitoring request, determine that the device has a fault when the state monitoring response returned by the device is not received within a preset time period after the state monitoring request is sent, and mark the state of the device as a fault state in a network topology map of the tiled wall system.
Those skilled in the art can understand that the two monitoring modes can exist simultaneously, and as long as any one of the conditions is met, the device can be judged to be in fault, and the state of the device is marked as a fault state in the network topology map of the spliced wall system.
Therefore, after the equipment fails, the position of the failed equipment and the type of the failed equipment can be quickly positioned by combining the type of the equipment and the physical position of the equipment, and the problem of failure is quickly solved.
Other technical features of the system according to the embodiment of the present invention may be the same as those of the method embodiments described above, and are not described in detail herein.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (6)

1. A method for drawing a network topological graph of a splicing wall system is characterized by comprising the following steps:
acquiring stored configuration data, wherein the configuration data comprises equipment information of each equipment and a connection relation between each equipment, and the equipment information comprises equipment identification and equipment type;
creating display primitives corresponding to each device according to the device type of each device, and generating connecting lines between devices with connection relations according to the connection relations to obtain a network topological graph of the spliced wall system, wherein the connecting lines comprise broken line points; the broken line point is positioned at any point of the connecting line, and can move, and the connecting shape can be changed by moving the broken line point;
when an editing instruction is received, correspondingly adjusting the network topological graph of the spliced wall system according to the editing instruction;
when a storage instruction is received, storing the interface element data of the adjusted network topological graph of the spliced wall system, and reusing the stored data, wherein the interface element data comprises: coordinate information of a display primitive of each device, information of a device to which each connection line is connected, and position coordinate information of a polyline point of each connection line;
before obtaining the configuration data, the method further comprises the following steps: the function of changing the shape of the connecting line by double-clicking is deleted;
the editing instruction comprises at least one of a dragging instruction, a stretching instruction, a zooming-in instruction, a zooming-out instruction, a restoring instruction and a resetting instruction;
the adjustment corresponding to the zoom-in instruction includes: in the process of dragging and amplifying the selected range, judging whether the amplification ratio of the position coordinate of the selected range after dragging and amplifying relative to the position coordinate before dragging and amplifying is larger than an amplification ratio threshold value or not, if so, continuing to execute dragging and amplifying operation, otherwise, stopping executing the dragging and amplifying operation;
the adjustment corresponding to the zoom-out instruction includes: in the process of dragging and reducing the selected range, judging whether the magnification ratio of the position coordinate of the selected range after dragging and reducing relative to the position coordinate before dragging and reducing is larger than a reduction ratio threshold value, if so, continuing to execute dragging and reducing operation, otherwise, stopping executing the dragging and reducing operation;
the dragging instruction comprises a broken line point dragging instruction, and the adjustment corresponding to the broken line point dragging instruction comprises the following steps: moving the selected broken line point to the dragged target position, and updating the position coordinate information of the broken line point of the connecting line;
before obtaining the configuration data, the method further comprises the following steps:
the function of changing the shape of the connecting line by double-click is deleted by acquiring a port through a connecting line for acquiring a connecting end point and a middle break point;
the device information further includes a device network address, and the drawing method further includes: monitoring the state of each device according to the device network address of the device;
wherein the monitoring of the state of the device comprises at least one of:
according to the equipment network address of the equipment, sending a state monitoring request to the equipment, receiving a state monitoring response returned by the equipment according to the state monitoring request, and when the state monitoring response contains information that the equipment has a fault, marking the state of the equipment as a fault state in a network topology map of the spliced wall system;
according to the equipment network address of the equipment, sending a state monitoring request to the equipment, receiving a state monitoring response returned by the equipment according to the state monitoring request, judging that the equipment has a fault when the state monitoring response returned by the equipment is not received within a preset time period after the state monitoring request is sent, and marking the state of the equipment as a fault state in a network topological graph of the spliced wall system.
2. The method for drawing the network topology map of the spliced wall system according to claim 1, comprising at least one of the following items:
the equipment information also comprises equipment names, and when display primitives corresponding to the equipment are created, the equipment names of the equipment are also displayed at the relevant positions of the display primitives corresponding to the equipment;
the coordinate information of the display primitives of each device comprises initial coordinate information, height information and width information of the device primitives;
the display graphics primitives of each device are pictures of the corresponding device respectively;
the equipment information also comprises an equipment model and a physical position where the equipment is located;
and generating display primitives of the equipment in the JFrame panel of the swing.
3. A system for drawing a network topological graph of a splicing wall system is characterized by comprising:
the device comprises a configuration information acquisition module, a configuration information acquisition module and a configuration information processing module, wherein the configuration information acquisition module is used for acquiring stored configuration data, the configuration data comprises equipment information of each equipment and a connection relation between each equipment, and the equipment information comprises equipment identification and equipment type;
the topological graph creating module is used for creating display primitives corresponding to each device according to the device type of each device, generating connecting lines between the devices with the connection relation according to the connection relation and obtaining a network topological graph of the spliced wall system, wherein the connecting lines comprise broken line points; the broken line point is positioned at any point of the connecting line, and can move, and the connecting shape can be changed by moving the broken line point;
the editing and adjusting module is used for correspondingly adjusting the network topological graph of the spliced wall system according to the editing instruction when the editing instruction is received;
the layout storage module is used for storing the interface element data of the network topology map of the spliced wall system after being adjusted by the editing and adjusting module when receiving a storage instruction, and reusing the stored data, wherein the interface element data comprises: coordinate information of a display primitive of each device, information of a device to which each connection line is connected, and position coordinate information of a polyline point of each connection line;
the function configuration module is used for deleting the function of changing the shape of the connecting line by double-click;
the editing and adjusting module comprises at least one of an amplifying module, a reducing module and a dragging module;
the amplifying module is used for judging whether the amplification ratio of the position coordinate after the selected range is dragged and amplified relative to the position coordinate before the selected range is dragged and amplified is larger than an amplification ratio threshold value or not in the process of dragging and amplifying the selected range when an amplifying instruction is received, if so, continuing to execute dragging and amplifying operation, and otherwise, stopping executing the dragging and amplifying operation;
the zooming-out module is used for judging whether the zooming-in proportion of the position coordinate of the selected range after being dragged and zoomed out relative to the position coordinate before being dragged and zoomed out is larger than a zooming-out proportion threshold value or not when a zooming-out instruction is received and the selected range is dragged and zoomed out, if so, continuing to execute dragging and zooming-out operation, otherwise, stopping executing dragging and zooming-out operation;
the dragging module is used for moving the selected broken line point to a dragged target position and updating the position coordinate information of the broken line point of the connecting line when a broken line point dragging instruction is received;
further comprising:
the function configuration module is used for acquiring a port by acquiring a connecting line connecting an end point and a middle break point and deleting the function of changing the shape of the connecting line by double-click;
the device information further includes a device network address;
the system further comprises: the state monitoring module is used for monitoring the state of the equipment according to the equipment network address of each equipment;
the mode of monitoring the state of the equipment by the state monitoring module comprises at least one of the following two items:
according to the equipment network address of the equipment, sending a state monitoring request to the equipment, receiving a state monitoring response returned by the equipment according to the state monitoring request, and when the state monitoring response contains information that the equipment has a fault, marking the state of the equipment as a fault state in a network topology map of the spliced wall system;
according to the equipment network address of the equipment, sending a state monitoring request to the equipment, receiving a state monitoring response returned by the equipment according to the state monitoring request, judging that the equipment has a fault when the state monitoring response returned by the equipment is not received within a preset time period after the state monitoring request is sent, and marking the state of the equipment as a fault state in a network topological graph of the spliced wall system.
4. The system for drawing a network topology map of a tiled wall system according to claim 3, comprising at least one of:
the device information also comprises device names, and the topological graph creating module also displays the device names of the devices at the relevant positions of the display primitives corresponding to the devices when creating the display primitives corresponding to the devices respectively;
the topological graph creating module generates display primitives of the equipment in a JFrame panel of the swing.
5. A storage medium having stored thereon a computer program, wherein the program, when executed by a processor, is adapted to implement a method of mapping a network topology of a tiled wall system according to any of claims 1-2.
6. A terminal device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, the processor implementing the method for drawing the network topology of the tiled wall system according to any of claims 1-2 when executing the program.
CN201610240692.6A 2016-04-15 2016-04-15 Method and system for drawing network topological graph of splicing wall system Active CN105930118B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610240692.6A CN105930118B (en) 2016-04-15 2016-04-15 Method and system for drawing network topological graph of splicing wall system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610240692.6A CN105930118B (en) 2016-04-15 2016-04-15 Method and system for drawing network topological graph of splicing wall system

Publications (2)

Publication Number Publication Date
CN105930118A CN105930118A (en) 2016-09-07
CN105930118B true CN105930118B (en) 2020-07-21

Family

ID=56838343

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610240692.6A Active CN105930118B (en) 2016-04-15 2016-04-15 Method and system for drawing network topological graph of splicing wall system

Country Status (1)

Country Link
CN (1) CN105930118B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109348290A (en) * 2018-10-12 2019-02-15 北京凯视达科技有限公司 Control method, apparatus, readable storage medium storing program for executing and the electronic equipment of video playing
CN109783568A (en) * 2018-12-29 2019-05-21 咪咕文化科技有限公司 A kind of generation method of network topological diagram, device and storage medium
CN110932941B (en) * 2019-12-12 2021-08-17 深圳创维数字技术有限公司 Cloud screen connection state detection method, server and storage medium
CN112637522A (en) * 2020-11-27 2021-04-09 西安诺瓦星云科技股份有限公司 Signal source switching method and device of display system, storage medium and processor
CN112612685B (en) * 2020-12-24 2023-01-06 威创集团股份有限公司 Processor alarm message processing method, device, terminal and storage medium
CN112817683A (en) * 2021-03-02 2021-05-18 深圳市东微智能科技股份有限公司 Control method, control device and medium for topological structure configuration interface

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1747404A (en) * 2005-10-14 2006-03-15 杭州华为三康技术有限公司 Network topological graph updation and management
CN101931982A (en) * 2010-08-18 2010-12-29 北京星网锐捷网络技术有限公司 Network failure positioning method and device
CN103984750A (en) * 2014-05-28 2014-08-13 中铁十局集团有限公司 B/S (Browser/Server) framework model based topological graph generation method
CN104573158A (en) * 2013-10-24 2015-04-29 中兴通讯股份有限公司 Pattern amplifying method and device in topological graph

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7315985B1 (en) * 2002-12-31 2008-01-01 Emc Corporation Methods and apparatus for managing network resources using a network topology view
JP3997231B2 (en) * 2005-01-26 2007-10-24 キヤノン株式会社 Display control apparatus and display control method
CN101526890B (en) * 2009-03-30 2011-01-05 昆山龙腾光电有限公司 Position mapping method of display units of tiled display wall and device
WO2012134537A1 (en) * 2011-03-25 2012-10-04 Hewlett-Packard Development Company, L.P. Network topology discovery
CN104616207B (en) * 2015-01-27 2018-01-09 中国科学院计算机网络信息中心 Power network topology visualization system and method
CN104992670B (en) * 2015-07-07 2018-04-06 西安诺瓦电子科技有限公司 Splice bright concealed wire compensation method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1747404A (en) * 2005-10-14 2006-03-15 杭州华为三康技术有限公司 Network topological graph updation and management
CN100372308C (en) * 2005-10-14 2008-02-27 杭州华三通信技术有限公司 Network topological graph updation and management
CN101931982A (en) * 2010-08-18 2010-12-29 北京星网锐捷网络技术有限公司 Network failure positioning method and device
CN104573158A (en) * 2013-10-24 2015-04-29 中兴通讯股份有限公司 Pattern amplifying method and device in topological graph
CN103984750A (en) * 2014-05-28 2014-08-13 中铁十局集团有限公司 B/S (Browser/Server) framework model based topological graph generation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
大屏拼接技术在巡考领域的应用;江勇等;《中国公共安全(综合版)》;20120615(第8期);第137-139页 *

Also Published As

Publication number Publication date
CN105930118A (en) 2016-09-07

Similar Documents

Publication Publication Date Title
CN105930118B (en) Method and system for drawing network topological graph of splicing wall system
US10147398B2 (en) Display control method and device
CN107577750B (en) Method and system for drawing navigation data vector intersection
US20150294488A1 (en) Graph generating device, graph generating method and graph generating program
US10466877B2 (en) Method and device for selecting entity in drawing
JPH1074251A (en) Object editing method, object editing system and recording medium
CN103793178B (en) Vector graph editing method of touch screen of mobile device
US20140033173A1 (en) Generating Layouts for Graphs of Data Flow Applications
CN108897826B (en) Method, system and storage medium for quickly generating banner picture
CN110413161A (en) Arrrangement method, device and electronic equipment
CN112838937B (en) Processing method and system for custom network topology
CN110618815A (en) Construction method of industrial system network topological graph
EP3062247B1 (en) Method and device for magnifying graphic within topology diagram, and computer storage medium
CN114020582A (en) Configuration method and device for monitoring page and computer readable storage medium
JP2013130872A (en) Map image providing system, map image providing method and program
CN113538465A (en) Automatic dividing method and device for regular and irregular polygon areas and storage medium
CN112085814A (en) Electronic map display method, device, equipment and readable storage medium
JP3763383B2 (en) Polygon drawing apparatus, polygon drawing method, and computer-readable recording medium recording a polygon drawing program
WO2016139805A1 (en) Programmable logic controller engineering tool and programmable logic controller engineering tool program
CN112394893B (en) Visual screen matching method, device and system and computer readable medium
CN115270251B (en) BIM-based dynamic association method, system and medium for in-situ labeling of longitudinal ribs
CN111611782B (en) Connection point generation method and device
CN111429541B (en) Graphic erasing method and device
CN113325977B (en) Dynamic configuration and map display method for energy equipment relationship
CN110930857B (en) Method and device for drawing scattered points

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant