CN107547219A - The display of frame picture, processing method and processing device, display system - Google Patents

The display of frame picture, processing method and processing device, display system Download PDF

Info

Publication number
CN107547219A
CN107547219A CN201610475022.2A CN201610475022A CN107547219A CN 107547219 A CN107547219 A CN 107547219A CN 201610475022 A CN201610475022 A CN 201610475022A CN 107547219 A CN107547219 A CN 107547219A
Authority
CN
China
Prior art keywords
data
specified
real time
frame picture
specified parts
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610475022.2A
Other languages
Chinese (zh)
Inventor
陶长顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
Nanjing ZTE New Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing ZTE New Software Co Ltd filed Critical Nanjing ZTE New Software Co Ltd
Priority to CN201610475022.2A priority Critical patent/CN107547219A/en
Priority to PCT/CN2017/086386 priority patent/WO2017219832A1/en
Publication of CN107547219A publication Critical patent/CN107547219A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a kind of display of frame picture, processing method and processing device, display system.Wherein, the above method includes:The specified data that the server is sent are received, wherein, the specified data are that the component information of the specified parts prestored to the real time data of specified parts in equipment and the server is combined the data formed after encapsulation;The frame picture of the equipment is shown according to the specified data.By the present invention, solve the problems, such as in correlation technique that static images can not reflect equipment state in real time, and then the state of equipment can not only be reflected in real time on frame picture, while the effect of unit status in equipment can also be reflected in real time.

Description

The display of frame picture, processing method and processing device, display system
Technical field
The present invention relates to communication network management field, in particular to a kind of display of frame picture, processing Method and device, display system.
Background technology
Basic function of the frame picture as network management system, main function be the part of appliance in frame with Visual graphical interfaces shows user, allows users to the operation shape current to equipment and equipment State is got information about.
Frame picture is main or based on the realization of C/S network management systems structure among correlation technique, that is, passes through The mode of client embodies.Although functionally more powerful but whole system is also very too fat to move, it is difficult to suitable The demand for answering government and enterprises to net.The frame picture of WEB forms is a kind of emerging frame picture display mode, but It is often fairly simple compared to the frame picture in traditional network management, while the device type supported is also fewer, Typically low-end switch, implementation are often to provide the picture of an equipment, and for one A little high-end interchangers or router, because equipment is complicated, veneer is more, according to the difference of business The veneer of insertion is also different, does not just apply to the mode for providing picture in this case;And pictorial manner The running situation of equipment can not be accurately reflected, such as user can not be known by a static picture Equipment which current interface in road is which interface of connection is to disconnect again, and which current interface has alarm Etc..Therefore, for utilizing static images can not reflect equipment shape when showing frame picture in correlation technique The problem of state, also without a kind of relatively good solution method.
The content of the invention
The embodiments of the invention provide a kind of display of frame picture, processing method and processing device, display system, So that equipment state can not be reflected when at least solving the problems, such as that static images show frame picture in correlation technique.
According to one embodiment of present invention, there is provided a kind of display methods of frame picture, including:Connect The specified data that the server of specified parts is sent in receiving unit, wherein, the specified data is to institutes State real time data and the component information of specified parts that the server prestores is combined The data formed after encapsulation;The frame picture of the equipment is shown according to the specified data.
Alternatively, show that the frame picture of the equipment includes according to the specified data:Specified described Data are plotted in the frame picture, and the frame picture is shown in WEB page.
Alternatively, the specified data are plotted in the frame picture, and shown in WEB page Show the frame picture, including:The tree-shaped of data is specified described in searching loop in the WEB page Node, and the component information in the specified data draws the machine in the WEB page Frame figure and/or in the frame picture to the specified parts carry out stick picture disposing.
Alternatively, menu function corresponding with the specified parts is provided with the WEB page.
Alternatively, the specified data comprise at least one of:Each specifying part in the equipment Relative coordinate between part, specified parts size, specified parts index, specified parts pattern and specify Component tag.
Alternatively, the real time data comprises at least one of:Specified parts index, and specify Unit status.
Alternatively, the specified data are JavaScript object notation JSON data, described to specify Data are combined encapsulation in the following manner:The component information of specified parts is carried in described real-time In data, and the real time data for being loaded with the component information is packaged according to JSON forms.
Alternatively, the real time data is obtained by one below mode:Assisted by simple network management View SNMP or network configuration protocol NETCONF obtains from the equipment;Or, pass through Java Database connection JDBC obtains from database.
Alternatively, after the frame picture of the equipment is shown according to the specified data, methods described Also include:Receive the warning information that the server is sent;According to the warning information, to the finger Determine part to be rendered.
Alternatively, the warning information comprises at least one of:Alarm ID, for indicating Need the positional information of specified parts alerted;Alert grade:For indicating to need the specifying part alerted Part renders grade.
Alternatively, the specified parts comprise at least one of:Frame, groove position, unit, Port, power supply, fan.
According to another embodiment of the invention, there is provided a kind of processing method of frame picture, including: The real time data of specified parts in receiving device;According to the real time data, with the institute prestored The component information for stating specified parts is combined encapsulation, is formed and specifies data;Sent to the client The specified data, wherein, the specified data are used for the frame picture for showing the equipment.
Alternatively, the specified data comprise at least one of:Each specifying part in the equipment Relative coordinate between part, specified parts size, specified parts index, specified parts pattern and specify Component tag.
Alternatively, the real time data comprises at least one of:Specified parts index, and specify Unit status.
Alternatively, the specified data are JavaScript object notation JSON data, according to described Real time data, the component information of the specified parts with prestoring are combined encapsulation, including: The component information of specified parts is carried in the real time data, and according to JSON forms to loading The real time data for having the component information is packaged.
Alternatively, the real time data is obtained by one below mode:Assisted by simple network management View SNMP or NETCONF obtains from the equipment;Or, JDBC is connected by Java databases Obtained from database.
Alternatively, methods described also includes:Sent a warning message to the client, wherein, it is described Warning information is used to indicate that the client renders the specified parts.
Alternatively, the warning information comprises at least one of:Alarm ID, for indicating Need the positional information of specified parts alerted;Alert grade:For indicating to need the specifying part alerted Part renders grade.
Alternatively, the specified parts comprise at least one of:Frame, groove position, unit, Port, power supply, fan.
According to still a further embodiment, there is provided a kind of display device of frame picture, including: First receiving module, the specified data sent for receiving the server, wherein, the specified number According to the specified parts prestored for the real time data to specified parts in equipment and the server Component information is combined the data formed after encapsulation;Display module, shown according to the specified data The frame picture of the equipment.
Alternatively, the display module, it is additionally operable to the specified data being plotted in the frame picture, And the frame picture is shown in WEB page.
Alternatively, the display module includes:Traversal Unit, for being followed in the WEB page Ring travels through the tree-shaped node of the JSON data;Image-drawing unit, for being specified according to institute according to described Component information in data draws the frame picture in the WEB page and/or in the frame picture In to the specified parts carry out stick picture disposing.
Alternatively, menu function corresponding with the specified parts is provided with the WEB page.
Alternatively, the display device also includes:Acquisition module, for by way of one below Obtain the real time data:By Simple Network Management Protocol SNMP or NETCONF from described Obtained in equipment;Or, JDBC is connected by Java databases and obtained from database.
Alternatively, described device also includes:Second receiving module, for receiving the server push Warning information;Rendering module, it is right in the WEB page for according to the warning information The specified parts are rendered.
According to still a further embodiment, there is provided a kind of processing unit of frame picture, including: Receiving module, the real time data for specified parts in receiving device;Processing module, for according to institute Real time data is stated, the component information of the specified parts with prestoring is combined encapsulation, is formed Specify data;Sending module, for sending the specified data to the client, wherein, it is described Data are specified to be used for the frame picture for showing the equipment.
Alternatively, the specified data are JavaScript object notation JSON data, the processing Module also includes:Loading unit, it is described real-time for the component information of the specified parts to be carried in In data;Encapsulation unit, for according to JSON forms to being loaded with the real-time number of the component information According to being packaged.
Alternatively, described device also includes:Alarm module, for sending alarm letter to the client Breath, wherein, the warning information is used to indicate that client renders the specified parts.
According to still another embodiment of the invention, there is provided a kind of display system of frame picture, including: Including server, client and equipment, wherein, the client, for receiving the server hair The specified data sent;And the frame picture of the equipment is shown according to the specified data;The server, For receiving the real time data of specified parts in the equipment;According to the real time data, with depositing in advance The component information of the specified parts of storage is combined encapsulation, forms the specified data;To described Client sends the specified data;The equipment, for providing the real time data.
Alternatively, the client, it is additionally operable to receive the warning information that the server is sent, to institute Specified parts are stated to be rendered.The server, it is additionally operable to send the alarm letter to the client Breath.
According to still another embodiment of the invention, a kind of storage medium is additionally provided.The storage medium is set It is set to the program code that storage is used to perform following steps:
S11, the specified data that the server is sent are received, wherein, the specified data is pair set The part for the specified parts that the real time data of standby middle specified parts and the server prestore Information is combined the data formed after encapsulation;
S12, the frame picture of the equipment is shown according to the specified data.
Alternatively, above-mentioned storage medium is also configured to the program code that storage is used to perform following steps:
S21, receive the warning information that the server is sent;
S22, according to the warning information, the specified parts are rendered.
According to still a further embodiment, another storage medium is additionally provided.The storage medium It is arranged to the program code that storage is used to perform following steps:
S11, the real time data of specified parts in receiving device;
S12, according to the real time data, the component information of the specified parts with prestoring is entered Row assembled package, formed and specify data;
S13, the specified data are sent to the client, wherein, the specified data are used to show Show the frame picture of the equipment.
Alternatively, above-mentioned storage medium is also configured to the program code that storage is used to perform following steps:
S21, sent a warning message to the client, wherein, the warning information is used to indicate visitor Family end renders to the specified parts.
By the present invention, because the frame picture of display is the reality using specified parts in assembled package equipment When the component information of the specified parts that prestores of data and the server after data, therefore, Can solve the problems, such as that static images can not reflect equipment state in real time in correlation technique, so that can not only The state of reflection equipment, while unit status in equipment can also be reflected in real time in real time on frame picture.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the one of the application Part, schematic description and description of the invention are used to explain the present invention, not formed to this hair Bright improper restriction.In the accompanying drawings:
Fig. 1 is a kind of the hard of the terminal of the display methods of frame picture according to embodiments of the present invention Part structured flowchart;
Fig. 2 is a kind of flow chart of the display methods of frame picture according to embodiments of the present invention;
Fig. 3 is a kind of data hierarchy figure of specified parts according to embodiments of the present invention;
Fig. 4 is the schematic diagram that a kind of WEB page according to embodiments of the present invention is shown;
Fig. 5 is the flow chart of the display methods of another frame picture according to embodiments of the present invention;
Fig. 6 is a kind of flow chart of the processing method of frame picture according to embodiments of the present invention;
Fig. 7 is the flow chart of the processing method of another frame picture according to embodiments of the present invention;
Fig. 8 is a kind of structured flowchart one of the display device of frame picture according to embodiments of the present invention;
Fig. 9 is the structured flowchart two of the display device of another frame picture according to embodiments of the present invention;
Figure 10 is the structured flowchart three of the display device of another frame picture according to embodiments of the present invention;
Figure 11 is the structured flowchart four of the display device of another frame picture according to embodiments of the present invention;
Figure 12 is a kind of structured flowchart one of the processing unit of frame picture according to embodiments of the present invention;
Figure 13 is the structured flowchart two of the processing unit of another frame picture according to embodiments of the present invention;
Figure 14 is the structured flowchart three of the processing unit of another frame picture according to embodiments of the present invention;
Figure 15 is a kind of structural representation of the display system of frame picture according to embodiments of the present invention.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that In the case where not conflicting, the feature in embodiment and embodiment in the application can be mutually combined.
It should be noted that the term in description and claims of this specification and above-mentioned accompanying drawing " first ", " second " etc. be for distinguishing similar object, without for describe specific order or Precedence.
Embodiment 1
The embodiment of the method that the embodiment of the present application 1 is provided can mobile terminal, terminal or Performed in the similar arithmetic unit of person.Exemplified by running on computer terminals, Fig. 1 is of the invention real Apply a kind of hardware block diagram of the terminal of the display methods of frame picture of example.As shown in figure 1, Terminal 10 can include one or more (one is only shown in figure) processor 102 (processing Device 102 can include but is not limited to Micro-processor MCV or PLD FPGA etc. place Manage device), the memory 104 for data storage and the transmitting device 106 for communication function. It will appreciated by the skilled person that the structure shown in Fig. 1 is only to illustrate, it is not to above-mentioned The structure of electronic installation causes to limit.For example, terminal 10 may also include than shown in Fig. 1 More either less components have the configuration different from shown in Fig. 1.
Memory 104 can be used for the software program and module of storage application software, and such as present invention is implemented Programmed instruction/module corresponding to the display methods of frame picture in example, processor 102 are stored by running Software program and module in memory 104, so as to perform at various function application and data Reason, that is, realize above-mentioned method.Memory 104 may include high speed random access memory, may also include non- Volatile memory, such as one or more magnetic storage device, flash memory or other are non-volatile Solid-state memory.In some instances, memory 104 can further comprise relative to processor 102 Remotely located memory, these remote memories can pass through network connection to terminal 10. The example of above-mentioned network includes but is not limited to internet, intranet, LAN, mobile radio communication And combinations thereof.
Transmitting device 106 is used to data are received or sent via a network.Above-mentioned network is specific Example may include the wireless network that the communication providerses of terminal 10 provide.In an example, Transmitting device 106 includes a network adapter (Network Interface Controller, NIC), It can be connected so as to be communicated with internet by base station with other network equipments.In an example In, transmitting device 106 can be radio frequency (Radio Frequency, RF) module, and it is used to pass through Wireless mode is communicated with internet.
A kind of display side for the frame picture for running on above computer terminal is provided in the present embodiment Method, Fig. 2 are a kind of flow charts of the display methods of frame picture according to embodiments of the present invention, such as Fig. 2 Shown, the flow comprises the following steps:
It is pointed out that the specified parts occurred in following examples can be at least through one below Mode embody:Frame, groove position, unit, port, power supply, fan.Among certain equipment other More commonly used part is also within the protection domain of the present embodiment.Simultaneously client can support for Interchanger, the equipment such as router or other transmission equipments (optical transmission device and packet transmission apparatus) Frame picture is shown.
Step S202, the specified data that the server is sent are received, wherein, the specified data The specified parts prestored for the real time data to specified parts in equipment and the server Component information be combined the data that are formed after encapsulation;
Alternatively, real time data is obtained by one below mode:Pass through simple NM network management SNMP Or network configuration protocol NFTCONF obtains from the equipment;Or, connected by Java databases JDBC is met to obtain from database.
Specifically, obtaining among above-mentioned process of real time, first choice needs to judge the network-like of equipment State.If the current network state of equipment is online, MIB is read by snmp protocol Obtained in (Management Information Base, management information bank) direct slave unit (so that Exemplified by snmp protocol), and update the data the data in storehouse.And the if current network state of equipment For it is offline when, then pass through JDBC (connection of Java Data Base Connectivity, java database) Obtained from database.Therefore, the real time data obtained in the present embodiment can not only be supported to online The display of equipment rack figure, while can also the compatible display to off-line device frame picture.
Alternatively, above-mentioned real time data comprises at least one of them:Frame real time data, machine frame are real-time Data, veneer real time data, port real time data, power supply real time data, fan real time data.
Specifically, veneer real time data includes:Board type, the slot number that veneer takes, veneer shape The information such as state, single board edition.Meanwhile board type in veneer real time data and veneer account for Slot number can determine that equipment slots position is real by veneer.
Specifically, port real time data comprises at least one of:Port index, port name, Port status, port type, port electro optic properties, port speed.
Specifically, power supply real time data comprises at least one of:Power supply indexes, power supply status, The information such as electric source modes, power, power supply group number.
Specifically, fan real time data comprises at least one of:Fan indexes, fan-status, Rotation speed of the fan, fan mode, fan group number.
Alternatively, above-mentioned component information is in the server according to hierarchical relationship, the equipment of configuration In relative coordinate (for example, the coordinate of subassembly relative to father's part) between each specified parts, specify Component sizes, specified parts index, specified parts pattern and specified parts label.Wherein, top Component information is typically with XML (Extensible Markup Language, extensible markup language) Form be stored among server, naturally it is also possible to using other relatively common text formattings.
Specifically, for veneer, in addition 25 to the above information, the component information of veneer also includes: Board type, veneer name, and the port information of lower extension.For port, except above-mentioned letter Beyond breath, the component information of port also includes:Port is relative to the coordinate for corresponding to veneer.
Alternatively, when specified data are JavaScript object notation JSON data, the specified number According to being combined encapsulation in the following manner:The component information of the specified parts is carried in the reality When data in, and the real time data for being loaded with the component information is packaged according to JSON forms.
Specifically, Fig. 3 is a kind of data hierarchy figure of specified parts according to embodiments of the present invention.Such as Shown in Fig. 3, on-hook frame under frame, and machine frame following can hang a multiple miscellaneous parts, including:Groove Position/veneer, power supply group or fan group;Groove position can hang pilot trench position/subcard below;Veneer following can be hung One or more ports;Subcard can also hang port down;Power supply group following can hang one or more power supplys; Fan group can be with next or multiple extension fans.Server can according to the data hierarchy in Fig. 3, Above-mentioned real time information is combined with above-mentioned component information.For example, first combine real time data and the portion of machine frame Part information, but in the real time data and component information of combination fan group, last recombinant fan group The real time data and component information of each fan.Specific combination is as follows:According to above-mentioned data Hierarchical structure, server can be indexed according to the part in above-mentioned real time data, believed to corresponding part Part index corresponding to loading in breath.For veneer, server can be according to above-mentioned real time data In board type, the loading monoboard information and groove position corresponding to being added to is worked as into corresponding component information In.And if groove position does not have veneer, then then handled according to vacant slot.Similar, pilot trench position It can also be loaded with subcard by the load mode of above-mentioned veneer.
Step S204, the frame picture of the equipment is shown according to the specified data.
It is alternatively possible to the frame picture of display device in the following manner:The specified data are drawn In the frame picture, and the frame picture is shown in WEB page.
Alternatively, in the WEB page JSON data described in searching loop tree-shaped node, And the component information in the specified data drawn in the WEB page frame picture and/ Or stick picture disposing is carried out to the specified parts in the frame picture.
Specifically, during each tree-shaped node among searching loop JSON data, client according to The coordinate position of each part, component sizes are drawn in WEB page in equipment.
Specifically, for the bigger part of some dimensional structures, such as machine frame, power supply group, fan Group etc., then it is applied to directly be drawn on the painting canvas of WEB page.And for some size knots The parts such as the smaller part of structure, such as port, power supply, fan, then it is applied to part passing through patch The mode of figure is pasted onto in WEB page.It is that the addition of each part is different according to the unit status of each part Background colour., can be by setting different textures respectively for same but different types of part Since distinguish.Such as the Ethernet interface and optical port in port, it can set respectively corresponding to Ethernet interface The textures of port first textures of port second corresponding with optical port make a distinction.According to above-mentioned drafting and textures Mixing painting mode, can reduce server needs the picture file quantity that stores, meanwhile, with When family amplification uses frame picture, the distortion of image will not be also caused.
Alternatively, menu function corresponding with the specified parts is provided with the WEB page.
Specifically, menu function corresponding to specified parts comprise at least it is following at least one:Display Facility information, display port information, power information is shown, show fan information, query performance, look into Ask alarm, masterslave switchover, board resetting, close port, unlatching port.Meanwhile in order to make Server response menu function enters, it is necessary to distribute resID respectively for the specified parts in each equipment Row difference.Server can determine the operation to specified parts according to the resID received.For example, Data hierarchy in Fig. 3, resID forms can be configured to:Shelf number-frame number- Slot number-port numbers.When user is by WEB page actions menu column, the right button menu of obtaining widget, When the menu function option of B ports is closed in selection, server will be received corresponding to closing B ends The resID of mouth, according to the resID, server issues the order for closing designated port to designated equipment.
Fig. 4 is the schematic diagram that a kind of WEB page according to embodiments of the present invention is shown.Such as Fig. 4 institutes Show, 3 main regions are mainly included in WEB page, be respectively:Main viewing area, Legend area and toolbar.
Wherein, main viewing area is mainly used in display according to the frame picture for specifying data to draw.In equipment Specified parts, according to the data hierarchy in Fig. 3 and specified data are drawn respectively and/or textures Among main viewing area.
Legend area is mainly used in providing the description of the icon used in main viewing area and color.It is above-mentioned Icon is used to identify corresponding specified parts, is easy to user to distinguish specified parts different in equipment.And Color is used for identification-state information, is easy to user to know the running status of specified parts in time and use feelings Condition.
Toolbar, for providing user to frame graphic operation.Including at least one of:Selection, Amplification, reduce, export, refreshing, display legend.Also include a menu bar in toolbar simultaneously. Wherein, menu bar provides menu function corresponding with specified parts.
Among the embodiment of the present invention, additionally provide another kind and run on above computer terminal or have With the method for the mobile terminal of above computer terminal similar structures.Fig. 5 is according to embodiments of the present invention Another frame picture display methods flow chart, as shown in figure 5, the flow is except including Fig. 2 Outside central Overall Steps, also comprise the following steps:
S502, receive the warning information that the server is sent;
Alternatively, warning information comprise at least it is following wherein:Alarm ID, for indicating to need to alert Specified parts positional information;Alert grade:The specified parts alerted for indicating needs render Grade.
Alternatively, warning information is sent to client by server by alerting monitoring and alarm pushing End.Specific processing mode is as follows:
Alarm is monitored
Specifically, the definition that alarm is monitored is, and the warning information that the push of server receiving platform comes, bag Include following operation:Server monitors the alarm event triggered by platform in real time first, and analyzes alarm thing Alarm data among part.Then, server is distributed alarm data by alarm data distributor Session instance to each frame picture.During monitoring, alarm data distributor can travel through all processing The frame picture session instance of active state, it is self-defined that the alarm event that platform is passed to is adapted to frame picture Alarm data example.After this, alarm data distributor calls the announcement configured in frame picture business It is alert to support, the position in frame picture where obtaining alarm data, complete monitoring action.
Alarm pushing
Specifically, the definition of alarm pushing sends out the warning information listened to from platform alarm for server Be sent to the WEB page of client, meanwhile, when receiving warning information, client by based on The warning information on backstage is sent to client by the server push technology Comet of HTTP length links in real time End, so as to avoid the transmission request that warning information is constantly refreshed on client foreground.It is applied to simultaneously Above-mentioned alarm pushing process can be represented by following code:
Wherein addListener is used for monitoring meta channels message, and subscribe subscribes to common logical Road message.Server is according to URL (Uniform Resource Locator, the unified money for subscribing to message Source finger URL) write corresponding processing class.
S504, according to the warning information, the specified parts are rendered in WEB page.
Specifically, in the present embodiment render refer in frame picture correspond to specified parts drawing Or need to be highlighted on the part of reflection state in textures, such as coloring or mark.Such as When being rendered by coloring, if a power supply in power supply group can not normal work.It is so objective Family end is entered after the warning information of server transmission is received in WEB page for the power unit Row coloring, user can pass through right button menu queries current alarm information.So WEB page is with regard to energy Alarm cause caused by enough reflecting the working condition and state of power supply.In addition, according to warning information Alarm grade can also reflect the order of severity to go wrong.For example, to alarm grade be it is serious, It is rendered to red;It is main to alert grade, is rendered to orange;It is secondary to alert grade, is rendered Yellowly;Alarm grade is warning, is rendered to light blue.
By above-mentioned steps, can solve static images in correlation technique can not reflect equipment state in real time The problem of.So as to which the state of equipment can not only be reflected in real time on frame picture, while can also be anti-in real time Mirror unit status in equipment.
Through the above description of the embodiments, those skilled in the art can be understood that root The mode of required general hardware platform can be added by software according to the method for above-described embodiment to realize, when So can also be by hardware, but the former is more preferably embodiment in many cases.Based on such reason Solution, the part that technical scheme substantially contributes to prior art in other words can be with soft The form of part product embodies, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, CD) in, including some instructions are make it that a station terminal equipment (can To be mobile phone, computer, server, or network equipment etc.) perform each embodiment institute of the present invention The method stated.
Embodiment 2
The embodiment of the method that the embodiment of the present application 2 is provided can mobile terminal, terminal or Performed in the similar arithmetic unit of person.Exemplified by running on computer terminals, Fig. 6 is according to this hair A kind of flow of the processing method of frame picture of bright embodiment.As shown in fig. 6, the flow is including as follows Step:
It is pointed out that the specified parts occurred in following examples can be at least through one below Mode embody:Frame, groove position, unit, port, power supply, fan.Among certain equipment other More commonly used part is also within the protection domain of the present embodiment.Simultaneously client can support for Interchanger, the equipment such as router or other transmission equipments (optical transmission device and packet transmission apparatus) Frame picture is shown.
Step S602, the real time data of specified parts in receiving device;
Alternatively, real time data is obtained by one below mode:Pass through Simple Network Management Protocol SNMP or NETCONF obtains from the equipment;Or, JDBC is connected by Java databases Obtained from database.
Specifically, obtaining among above-mentioned process of real time, first choice needs to judge the network-like of equipment State.If the current network state of equipment is online, MIB is read by snmp protocol Obtained in (Management Information Base, management information bank) direct slave unit (so that Exemplified by snmp protocol), and update the data the data in storehouse.And if current network state be from During line, then by JDBC (connection of Java Data Base Connectivity, java database) from number According to being obtained in storehouse.Therefore, the real time data obtained in the present embodiment can not only be supported to online equipment The display of frame picture, while can also the compatible display to off-line device frame picture.
Alternatively, above-mentioned real time data comprises at least one of:Frame real time data, machine frame Real time data, veneer real time data, port real time data, power supply real time data, fan real time data.
Specifically, veneer real time data includes:Board type, the slot number that veneer takes, veneer shape The information such as state, single board edition.Meanwhile board type in veneer real time data and veneer account for Slot number can determine that equipment slots position is real by veneer.
Specifically, port real time data comprises at least one of:Port index, port name, Port status, port type, port electro optic properties, port speed.
Specifically, power supply real time data comprises at least one of:Power supply indexes, power supply status, The information such as electric source modes, power, power supply group number.
Specifically, fan real time data comprises at least one of:Fan indexes, fan-status, Rotation speed of the fan, fan mode, fan group number.
Step S604, according to the real time data, with the part of the specified parts prestored Information is combined encapsulation, is formed and specifies data;
Alternatively, above-mentioned component information is in the server according to hierarchical relationship, the equipment of configuration In relative coordinate (for example, the coordinate of subassembly relative to father's part) between each specified parts, specify Component sizes, specified parts index, specified parts pattern and specified parts label.Wherein, top Component information is typically with XML (Extensible Markup Language, extensible markup language) Form be stored among server, naturally it is also possible to using other relatively common text formattings.
Specifically, for veneer, in addition 25 to the above information, the component information of veneer also includes: Board type, veneer name, and the port information of lower extension.For port, except above-mentioned letter Beyond breath, the component information of port also includes:Port is relative to the coordinate for corresponding to veneer.
Alternatively, the specified data are JavaScript object notation JSON data, according to described Real time data, the component information of the specified parts with prestoring are combined encapsulation, including: The component information of the specified parts is carried in the real time data, and according to JSON forms pair The real time data for being loaded with the component information is packaged.
Specifically, as shown in figure 3, on-hook frame under frame, and machine frame following can hang one it is multiple other Part, including:Groove position/veneer, power supply group or fan group;Groove position can hang pilot trench position/subcard below; Veneer following can hang one or more ports;Subcard can also hang port down;Power supply group following can hang one Individual or multiple power supplys;Fan group can be with next or multiple extension fans.Server can be according in Fig. 3 Data hierarchy, above-mentioned real time information is combined with above-mentioned component information.For example, first combination machine The real time data and component information of frame, but in the real time data and component information of combination fan group, most Afterwards in recombinant fan group each fan real time data and component information.Specific combination is such as Under:According to above-mentioned data hierarchy, server can index according to the part in above-mentioned real time data, The part index corresponding to loading into corresponding component information.For veneer, server can root According to the board type in above-mentioned real time data, loading monoboard information and added into corresponding component information To among corresponding groove position.And if groove position does not have veneer, then then handled according to vacant slot. Similar, pilot trench position can also be loaded with subcard by the load mode of above-mentioned veneer.
Step S606, the specified data are sent to the client, wherein, the specified data For showing the frame picture of the equipment.
Among the embodiment of the present invention, additionally provide another kind and run on above computer terminal or have With the method for the mobile terminal of above computer terminal similar structures.Fig. 7 is according to embodiments of the present invention Another frame picture processing method flow chart, as shown in fig. 7, the flow except including Outside S602-S606, also comprise the following steps:
S702, sent a warning message to the client, wherein, the warning information is used to indicate institute Client is stated to render the specified parts.
Alternatively, warning information comprise at least it is following wherein:Alarm ID, for indicating to need to alert Specified parts positional information;Alert grade:The specified parts alerted for indicating needs render Grade.
Alternatively, warning information is sent to client by server by alerting monitoring and alarm pushing End.Specific processing mode is as follows:
Alarm is monitored
Specifically, the definition that alarm is monitored is, and the warning information that the push of server receiving platform comes, bag Include following operation:Server monitors the alarm event triggered by platform in real time first, and analyzes alarm thing Alarm data among part.Then, server is distributed alarm data by alarm data distributor Session instance to each frame picture.During monitoring, alarm data distributor can travel through all processing The frame picture session instance of active state, it is self-defined that the alarm event that platform is passed to is adapted to frame picture Alarm data example.After this, alarm data distributor calls the announcement configured in frame picture business It is alert to support, the position in frame picture where obtaining alarm data, complete monitoring action.
Alarm pushing
Specifically, the definition of alarm pushing sends out the warning information listened to from platform alarm for server The WEB page of client is sent to, meanwhile, when receiving warning information, the backstage of client leads to The server push technology Comet based on HTTP length links is crossed to send the warning information on backstage in real time To client, so as to avoid the transmission request that client constantly refreshes warning information.Apply simultaneously It can be represented in above-mentioned alarm pushing process by following code:
Wherein addListener is used for monitoring meta channels message, and subscribe subscribes to common logical Road message.Server is according to URL (Uniform Resource Locator, the unified money for subscribing to message Source finger URL) write corresponding processing class.
Specifically, in the present embodiment render refer in frame picture correspond to specified parts drawing Or need to be highlighted on the part of reflection state in textures, such as coloring or mark.Such as When being rendered by coloring, if a power supply in power supply group can not normal work.It is so objective Family end is entered after the warning information of server transmission is received in WEB page for the power unit Row coloring, user can pass through right button menu queries current alarm information.So WEB page is with regard to energy Enough reflect power supply can not alarm cause caused by normal operating conditions and state.In addition, root The order of severity to go wrong can also be reflected according to the alarm grade of warning information.For example, to alerting grade It is serious, is rendered to red;It is main to alert grade, is rendered to orange;Alarm grade is time Want, render yellowly;Alarm grade is warning, is rendered to light blue.
By above-mentioned steps, can solve static images in correlation technique can not react real time reaction equipment The problem of state.So as to implement to reflect the state of equipment on frame picture.Simultaneously can also be anti- Mirror the state of part in equipment.
Through the above description of the embodiments, those skilled in the art can be understood that root The mode of required general hardware platform can be added by software according to the method for above-described embodiment to realize, when So can also be by hardware, but the former is more preferably embodiment in many cases.Based on such reason Solution, the part that technical scheme substantially contributes to prior art in other words can be with soft The form of part product embodies, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, CD) in, including some instructions are make it that a station terminal equipment (can To be mobile phone, computer, server, or network equipment etc.) perform each embodiment institute of the present invention The method stated.
Embodiment 3
A kind of display device of frame picture is additionally provided in the present embodiment, and the device is above-mentioned for realizing Embodiment and preferred embodiment, repeating no more for explanation was carried out.As used below, Term " module " can realize the combination of the software and/or hardware of predetermined function.Although following examples Described device is preferably realized with software, but hardware, or the combination of software and hardware Realize to be also what may and be contemplated.
It is pointed out that the specified parts occurred in following examples can be at least through one below Mode embody:Frame, groove position, unit, port, power supply, fan.Among certain equipment other More commonly used part is also within the protection domain of the present embodiment.Simultaneously client can support for Interchanger, the equipment such as router or other transmission equipments (optical transmission device and packet transmission apparatus) Frame picture is shown.
Fig. 8 is a kind of structured flowchart one of the display device of frame picture according to embodiments of the present invention, such as Shown in Fig. 8, the device includes:First receiving module 82 and display module 84.
First receiving module 82, the specified data sent for receiving the server, wherein, it is described That specifies data to prestore the real time data of specified parts in equipment and the server specifies The component information of part is combined the data formed after encapsulation;
Alternatively, above-mentioned real time data comprises at least one of them:Frame real time data, machine frame are real-time Data, veneer real time data, port real time data, power supply real time data, fan real time data.Can Selection of land, above-mentioned component information is, in the server according to hierarchical relationship, respectively refers in the equipment of configuration Determine the relative coordinate (for example, the coordinate of subassembly relative to father's part) between part, specified parts are big Small, specified parts index, specified parts pattern and specified parts label.Wherein, upper member is believed Breath is typically in the form of XML (Extensible Markup Language, extensible markup language) It is stored among server, naturally it is also possible to using other relatively common text formattings
Display module 84, be connected to the first receiving module 82, show according to the specified data described in The frame picture of equipment.
Alternatively, the display module 84, it is additionally operable to the specified data being plotted in the frame picture In, and the frame picture is shown in WEB page.
Alternatively, menu function corresponding with the specified parts is provided with the WEB page.
Specifically, menu function corresponding to specified parts comprises at least one of:Display device Information, display port information, power information is shown, show fan information, query performance, inquiry is accused It is alert, masterslave switchover, board resetting, close port, unlatching port.Meanwhile in order to make service Device responds menu function, it is necessary to which distributing resID respectively for the specified parts in each equipment carries out area Not.Server can determine the operation to specified parts according to the resID received.ResID forms can To be arranged to:Shelf number-frame number-slot number-port numbers.When user is operated by WEB page Menu bar or in part right button menu, when the menu function option of B ports is closed in selection, server It will receive corresponding to the resID for closing B ports, according to the resID, server is to designated equipment Issue the order for closing designated port.
Fig. 9 is the structured flowchart two of the display device of another frame picture according to embodiments of the present invention, As shown in figure 9, in addition to display device module all in comprising Fig. 8, the display module is also Including:Traversal Unit 92 and image-drawing unit 94.
Traversal Unit 92, for specifying the tree-shaped of data described in the searching loop in the WEB page Node;
Image-drawing unit 94, Traversal Unit 92 is connected to, for the part in the specified data Information is drawn the frame picture in the WEB page and/or specified in the frame picture to described Part carries out stick picture disposing.
Optionally, during each tree-shaped node among searching loop JSON data, image-drawing unit 84 According to the coordinate position of each part in equipment, component sizes are drawn in WEB page.
Specifically, for the bigger part of some dimensional structures, such as machine frame, power supply group, fan Group etc., then it is applied to directly be drawn on the painting canvas of WEB page.And for some size knots The parts such as the smaller part of structure, such as port, power supply, fan, then it is applied to part passing through patch The mode of figure is pasted onto in WEB page.It is that the addition of each part is different according to the unit status of each part Background colour., can be by setting different textures respectively for same but different types of part Since distinguish.Such as the Ethernet interface and optical port in port, it can set respectively corresponding to Ethernet interface The textures of port first textures of port second corresponding with optical port make a distinction.According to above-mentioned drafting and textures Mixing painting mode, can reduce server needs the picture file quantity that stores, meanwhile, with When family amplification uses frame picture, the distortion of image will not be also caused.
Figure 10 is the structured flowchart three of the display device of another frame picture according to embodiments of the present invention, As shown in Figure 10, in addition to display device module all in comprising Fig. 8, in addition to:Obtain Module 1002.
Acquisition module 1002, the first receiving module 82 is connected to, for by way of one below Obtain the real time data:By Simple Network Management Protocol SNMP or NETCONF from described Obtained in equipment;Or, JDBC is connected by Java databases and obtained from database.
Alternatively, obtaining among above-mentioned process of real time, first choice needs to judge the network-like of equipment State.If the current network state of equipment is online, MIB is read by snmp protocol Obtained in (Management Information Base, management information bank) direct slave unit (so that Exemplified by snmp protocol), and update the data the data in storehouse.And if current network state be from During line, then by JDBC (connection of Java Data Base Connectivity, java database) from number According to being obtained in storehouse.Therefore, the real time data obtained in the present embodiment can not only be supported to online equipment The display of frame picture, while can also the compatible display to off-line device frame picture.
Figure 11 is the structured flowchart four of the display device of another frame picture according to embodiments of the present invention, As shown in figure 11, in addition to display device module all in comprising Fig. 8, in addition to:Receive Module 1102 and rendering module 1104.
Second receiving module 1102, is connected to display module 84, for receiving the server push Warning information;
Alternatively, warning information comprise at least it is following wherein:Alarm ID, for indicating to need to alert Specified parts positional information;Alert grade:The specified parts alerted for indicating needs render Grade.
Alternatively, warning information is sent to second by server by alerting monitoring and alarm pushing Receiving module 1102.Specific processing mode is as follows:
Alarm is monitored
Specifically, the definition that alarm is monitored is, and the warning information that the push of server receiving platform comes, bag Include following operation:Server monitors the alarm event triggered by platform in real time first, and analyzes alarm thing Alarm data among part.Then, server is distributed alarm data by alarm data distributor Session instance to each frame picture.During monitoring, alarm data distributor can travel through all processing The frame picture session instance of active state, it is self-defined that the alarm event that platform is passed to is adapted to frame picture Alarm data example.After this, alarm data distributor calls the announcement configured in frame picture business It is alert to support, the position in frame picture where obtaining alarm data, complete monitoring action.
Alarm pushing
Specifically, the definition of alarm pushing sends out the warning information listened to from platform alarm for server The WEB page of client is sent to, specifically, when receiving warning information, the second receiving module 1102 are sent out warning information by being grown the server push technology Comet of link based on HTTP in real time Client is given, so as to avoid the transmission request that client constantly refreshes warning information.
Rendering module 1104, the second receiving module 1102 is connected to, for according to the warning information, The specified parts are rendered in the WEB page.
Alternatively, in the present embodiment render refer in frame picture correspond to specified parts drawing Or need to be highlighted on the part of reflection state in textures, such as coloring or mark.Such as When being rendered by coloring, if a power supply in power supply group can not normal work.It is so objective Family end is entered after the warning information of server transmission is received in WEB page for the power unit Row coloring, user can pass through right button menu queries current alarm information.So WEB page is with regard to energy Enough reflect power supply can not alarm cause caused by normal operating conditions and state.In addition, root The order of severity to go wrong can also be reflected according to the alarm grade of warning information.For example, to alerting grade It is serious, is rendered to red;It is main to alert grade, is rendered to orange;Alarm grade is time Want, render yellowly;Alarm grade is warning, is rendered to light blue.
It should be noted that above-mentioned modules can be realized by software or hardware, for The latter, it can be accomplished by the following way, but not limited to this:Above-mentioned module is respectively positioned on same processor In;Or the form of above-mentioned modules in any combination is located in different processors respectively.
Embodiment 4
A kind of processing unit of frame picture is additionally provided in the present embodiment, and the device is above-mentioned for realizing Embodiment and preferred embodiment, repeating no more for explanation was carried out.As used below, Term " module " can realize the combination of the software and/or hardware of predetermined function.Although following examples Described device is preferably realized with software, but hardware, or the combination of software and hardware Realize to be also what may and be contemplated.
Figure 12 is a kind of structured flowchart one of the processing unit of frame picture according to embodiments of the present invention, As shown in figure 12, the device includes:Receiving module 1202, processing module 1204 and sending module 1206。
Receiving module 1202, the real time data for specified parts in receiving device;
Alternatively, above-mentioned real time data comprises at least one of:Frame real time data, machine frame Real time data, veneer real time data, port real time data, power supply real time data, fan real time data.
Processing module 1204, for according to the real time data, with the specified parts prestored Component information be combined encapsulation, formed and specify data;
Alternatively, above-mentioned component information is in the server according to hierarchical relationship, the equipment of configuration In relative coordinate (for example, the coordinate of subassembly relative to father's part) between each specified parts, specify Component sizes, specified parts index, specified parts pattern and specified parts label.Wherein, top Component information is typically with XML (Extensible Markup Language, extensible markup language) Form be stored among server, naturally it is also possible to using other relatively common text formattings.
Sending module 1206, for sending the specified data to the client, wherein, the finger Fixed number is according to the frame picture for being used to show the equipment.
Figure 13 is the structured flowchart two of the processing unit of another frame picture according to embodiments of the present invention, As shown in figure 13, in addition to display device module all in comprising Figure 12, processing module is also wrapped Include:
Loading unit 1302, for the component information of specified parts to be carried in the real time data;
Loading unit 1302 can according to the data hierarchy in Fig. 3, by above-mentioned real time information with Above-mentioned component information combination.For example, the real time data and component information of machine frame are first combined, but in group The real time data and component information of fan group are closed, each fan is real-time in last recombinant fan group Data and component information.Specific combination is as follows:According to above-mentioned data hierarchy, server It can be indexed according to the part in above-mentioned real time data, the portion corresponding to loading into corresponding component information Part indexes.For veneer, server can arrive according to the board type in above-mentioned real time data In corresponding component information among loading monoboard information and groove position corresponding to being added to.And if groove position does not have If having veneer, then then handled according to vacant slot.Similar, pilot trench position can also pass through with subcard The load mode of above-mentioned veneer is loaded.
Encapsulation unit 1304, for according to JSON forms to being loaded with the real-time number of the component information According to being packaged.
Figure 14 is the structured flowchart three of the processing unit of another frame picture according to embodiments of the present invention, As shown in figure 14, in addition to display device module all in comprising Figure 12, in addition to:Alarm Module 1402.
Alarm module 1402, for being sent a warning message to the client, wherein, the alarm letter Cease for indicating that client renders to the specified parts.
Alternatively, warning information comprises at least one of:Alarm ID, for indicating to need The positional information of the specified parts of alarm;Alert grade:The specified parts alerted for indicating needs Render grade.
Alternatively, warning information is sent to client by server by alerting monitoring and alarm pushing End.Specific processing mode is as follows:
Alarm is monitored
Specifically, the definition that alarm is monitored is, the alarm that the push of the receiving platform of alarm module 1402 comes Information, including following operation:Alarm module 1402 monitors the alarm thing triggered by platform in real time first Part, and analyze the alarm data among alarm event.Then, alarm module 1402 is by alerting number According to distributor, alarm data is distributed to the session instance of each frame picture.During monitoring, alarm Data distributor can travel through the frame picture session instance of all processing active states, the announcement that platform is passed to Alert event is adapted to the customized alarm data example of frame picture.After this, alarm data distributor The alarm configured in frame picture business is called to support, the position in frame picture where obtaining alarm data, Complete monitoring action.
Alarm pushing
Specifically, the announcement that the definition of alarm pushing will listen to for alarm module 1402 from platform alarm Alert information is sent to client, specifically, when receiving warning information, client by based on The warning information on backstage is sent to client by the server push technology Comet of HTTP length links in real time End, so as to avoid the transmission request that client constantly refreshes warning information.
Alternatively, rendering and refer to painting corresponding to specified parts in frame picture in the present embodiment Need to be highlighted on the part of reflection state in figure or textures, such as coloring or mark.Example When such as being rendered by coloring, if a power supply in power supply group can not normal work.So Client is the power unit in WEB page after the warning information of server transmission is received Coloured, user can pass through right button menu queries current alarm information.So WEB page is just Can reflect power supply can not alarm cause caused by normal operating conditions and state.In addition, The order of severity to go wrong can also be reflected according to the alarm grade of warning information.For example, to alarm etc. Level is serious, is rendered to red;It is main to alert grade, is rendered to orange;Alerting grade is Secondary, render yellowly;Alarm grade is warning, is rendered to light blue.
It should be noted that above-mentioned modules can be realized by software or hardware, for The latter, it can be accomplished by the following way, but not limited to this:Above-mentioned module is respectively positioned on same processor In;Or the form of above-mentioned modules in any combination is located in different processors respectively.
Embodiment 5
A kind of display system of frame picture is additionally provided in the present embodiment, and the device is above-mentioned for realizing Embodiment and preferred embodiment, repeating no more for explanation was carried out.
Figure 15 is a kind of structural representation of the display system of frame picture according to embodiments of the present invention, As shown in figure 15, the system includes:Client 1502, server 1504 and equipment 1506.
Client 1502, the specified data sent for receiving the server 1504;And according to institute State the frame picture that specified data show the equipment;
Alternatively, above-mentioned component information is according to hierarchical relationship, the institute of configuration in server 1504 The relative coordinate (for example, the coordinate of subassembly relative to father's part) in equipment between each specified parts is stated, Specified parts size, specified parts index, specified parts pattern and specified parts label.Wherein, Upper member information is typically with XML (Extensible Markup Language, extensible markup language Speech) form be stored among server 1504, naturally it is also possible to using other relatively common texts This form.
It is alternatively possible to the frame picture of display device in the following manner:The specified data are drawn In the frame picture, and the frame picture is shown in WEB page.
Alternatively, in the WEB page JSON data described in searching loop tree-shaped node, And the real time data of the specified parts in the data formed after the assembled package is described The frame picture is drawn in WEB page and/or the specified parts are pasted in the frame picture Figure processing.
Specifically, during each tree-shaped node among searching loop JSON data, client 1502 According to the coordinate position of each part in equipment, component sizes are drawn in WEB page.
Specifically, for the bigger part of some dimensional structures, such as machine frame, power supply group, fan Group etc., then it is applied to directly be drawn on the painting canvas of WEB page.And for some size knots The parts such as the smaller part of structure, such as port, power supply, fan, then it is applied to part passing through patch The mode of figure is pasted onto in WEB page.It is that the addition of each part is different according to the unit status of each part Background colour., can be by setting different textures respectively for same but different types of part Since distinguish.Such as the Ethernet interface and optical port in port, it can set respectively corresponding to Ethernet interface The textures of port first textures of port second corresponding with optical port make a distinction.According to above-mentioned drafting and textures Mixing painting mode, can reduce server 1504 needs the picture file quantity that stores, meanwhile, When user's amplification uses frame picture, the distortion of image will not be also caused.
Alternatively, menu function corresponding with the specified parts is provided with the WEB page.
Server 1504, for receiving the real time data of specified parts in the equipment;According to the reality When data, the component informations of the specified parts with prestoring is combined encapsulation, described in formation Specify data;The specified data are sent to the client 1502;
Alternatively, above-mentioned real time data comprises at least one of them:Frame real time data, machine frame are real-time Data, veneer real time data, port real time data, power supply real time data, fan real time data.Can Selection of land, the specified data are JavaScript object notation JSON data, according to the number in real time According to, the component information of the specified parts with prestoring is combined encapsulation, including:Will with institute The component information corresponding to real time data is stated to be carried in the real time data, and according to JSON lattice Formula is packaged to the real time data for being loaded with the component information.
Specifically, server 1504 can be according to the data hierarchy in Fig. 3, will be above-mentioned real-time Information combines with above-mentioned component information.For example, the real time data and component information of machine frame are first combined, so And each fan in the real time data and component information of combination fan group, last recombinant fan group Real time data and component information.Specific combination is as follows:According to above-mentioned data hierarchy, Server 1504 can index according to the part in above-mentioned real time data, into corresponding component information Part corresponding to loading indexes.For veneer, server 1504 can be according to above-mentioned number in real time Board type in, loading monoboard information and groove position corresponding to being added into corresponding component information It is central.And if groove position does not have veneer, then then handled according to vacant slot.Similar, pilot trench Position can also be loaded with subcard by the load mode of above-mentioned veneer.
Equipment 1506, for providing the real time data to the client 1502.
The display system of another frame picture according to embodiments of the present invention, wherein:
The client 1502, it is additionally operable to receive the warning information that the server 1504 is sent, it is right The specified parts are rendered;
Alternatively, in the present embodiment render refer in frame picture correspond to specified parts drawing Or need to be highlighted on the part of reflection state in textures, such as coloring or mark.Such as When being rendered by coloring, if a power supply in power supply group can not normal work.It is so objective Family end is entered after the warning information of server transmission is received in WEB page for the power unit Row coloring, user can pass through right button menu queries current alarm information.So WEB page is with regard to energy Enough reflect power supply can not alarm cause caused by normal operating conditions and state.In addition, root The order of severity to go wrong can also be reflected according to the alarm grade of warning information.For example, to alerting grade It is serious, is rendered to red;It is main to alert grade, is rendered to orange;Alarm grade is time Want, render yellowly;Alarm grade is warning, is rendered to light blue.
Client alternatively, believed alarm by alerting monitoring and alarm pushing by server 1504 Breath is sent to client 1502.Specific processing mode is as follows:
Alarm is monitored
Specifically, the definition that alarm is monitored is, the alarm letter that the push of the receiving platform of server 1504 comes Breath, including following operation:Server 1504 monitors the alarm event triggered by platform in real time first, And analyze the alarm data among alarm event.Then, server 1504 is distributed by alarm data Device, alarm data is distributed to the session instance of each frame picture.During monitoring, alarm data point Hair device can travel through the frame picture session instance of all processing active states, the alarm event that platform is passed to It is adapted to the customized alarm data example of frame picture.After this, alarm data distributor calls machine The alarm configured in frame figure business is supported, the position in frame picture where obtaining alarm data, completes prison Listen action.
Alarm pushing
Specifically, the alarm that the definition of alarm pushing will listen to for server 1504 from platform alarm Information is sent to the WEB page of client 1502, and specifically, server 1504 is receiving announcement During alert information, client based on HTTP by growing the push technology Comet linked by the alarm on backstage Information is sent to the foreground of client 1502 in real time, so as to avoid the continuous scrubbing brush of client 1502 The transmission request of new warning information.
Embodiment 6
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, on State storage medium and can be configured to the program code that storage is used to perform following steps:
S21, the specified data that the server is sent are received, wherein, the specified data is pair set The part for the specified parts that the real time data of standby middle specified parts and the server prestore Information is combined the data formed after encapsulation;
S12, the frame picture of the equipment is shown according to the specified data.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:
S21, receive the warning information that the server is sent;
S22, according to the warning information, the specified parts are rendered.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, only Read memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with Jie of store program codes Matter.
Alternatively, in the present embodiment, processor is held according to the program code stored in storage medium It is about to the specified data to be plotted in the frame picture, and the frame is shown in WEB page Figure.
Alternatively, in the present embodiment, processor is held according to the program code stored in storage medium Row specifies the tree-shaped node of data in the WEB page described in searching loop, and according to the finger Component information of the fixed number in draws the frame picture and/or in the frame in the WEB page Stick picture disposing is carried out to the specified parts in figure.
Alternatively, in the present embodiment, processor is held according to the program code stored in storage medium Row obtains real time data by simple NM network management SNMP or NFTCONF agreements from the equipment; Or, JDBC is connected by Java databases real time data is obtained from database.
Alternatively, the specific example in the present embodiment may be referred to above-described embodiment and optional embodiment Described in example, the present embodiment will not be repeated here.
Embodiment 7
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, on State storage medium and can be configured to the program code that storage is used to perform following steps:
S11, the real time data of specified parts in receiving device;
S12, according to the real time data, the component information of the specified parts with prestoring is entered Row assembled package, formed and specify data;
S13, the specified data are sent to the client, wherein, the specified data are used to show Show the frame picture of the equipment.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:
S21, sent a warning message to the client, wherein, the warning information is used to indicate institute Client is stated to render the specified parts.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, only Read memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with Jie of store program codes Matter.
Alternatively, in the present embodiment, processor is held according to the program code stored in storage medium The component information for being about to the specified parts is carried in the real time data, and according to JSON forms The real time data for being loaded with the component information is packaged.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step It can be realized with general computing device, they can be concentrated on single computing device, or It is distributed on the network that multiple computing devices are formed, alternatively, they be able to can be held with computing device Capable program code realizes, it is thus possible to be stored in storage device by computing device Lai Perform, and in some cases, can be shown or described to be performed different from order herein Step, they are either fabricated to each integrated circuit modules respectively or by multiple moulds in them Block or step are fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any spy Fixed hardware and software combines.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for For those skilled in the art, the present invention can have various modifications and variations.All essences in the present invention God any modification, equivalent substitution and improvements made etc., should be included in the present invention with principle Protection domain within.

Claims (30)

  1. A kind of 1. display methods of frame picture, it is characterised in that including:
    The specified data that the server is sent are received, wherein, the specified data are to equipment The part for the specified parts that the real time data of middle specified parts and the server prestore Information is combined the data formed after encapsulation;
    The frame picture of the equipment is shown according to the specified data.
  2. 2. according to the method for claim 1, it is characterised in that according to the specified number Include according to the frame picture for showing the equipment:
    The specified data are plotted in the frame picture, and institute is shown in WEB page State frame picture.
  3. 3. according to the method for claim 2, it is characterised in that by the specified data It is plotted in the frame picture, and the frame picture is shown in WEB page:
    The tree-shaped node of specified data described in searching loop in the WEB page, and according to Component information in the specified data drawn in the WEB page frame picture and/ Or stick picture disposing is carried out to the specified parts in the frame picture.
  4. 4. according to the method for claim 2, it is characterised in that at described WEB pages Menu function corresponding with the specified parts is provided with face.
  5. 5. according to the method for claim 1, it is characterised in that the specified data are extremely Include one of less:Relative coordinate in the equipment between each specified parts, specifying part Part size, specified parts index, specified parts pattern and specified parts label.
  6. 6. the method stated according to claim 1, it is characterised in that the real time data is at least Including one of:Specified parts index, specified parts state.
  7. 7. according to the method for claim 1, it is characterised in that the specified data are JavaScript object notation JSON data, the specified data carry out group in the following manner Close encapsulation:
    The component information of the specified parts is carried in the real time data, and according to JSON forms are packaged to the real time data for being loaded with the component information.
  8. 8. according to the method for claim 1, it is characterised in that the real time data is led to One below mode is crossed to obtain:
    By Simple Network Management Protocol SNMP or network configuration protocol NETCONF from described Obtained in equipment;Or,
    JDBC is connected by Java databases to obtain from database.
  9. 9. method according to any one of claim 1 to 8, it is characterised in that After showing the frame picture of the equipment according to the specified data, methods described also includes:
    Receive the warning information that the server is sent;
    According to the warning information, the specified parts are rendered.
  10. 10. according to the method for claim 9, it is characterised in that the warning information is extremely Include one below less:
    Alarm ID, the positional information of the specified parts alerted for indicating needs;
    Grade is alerted, the specified parts alerted for indicating needs render grade.
  11. 11. according to the method for claim 1, it is characterised in that the specified parts are extremely Include one of less:
    Frame, groove position, unit, port, power supply, fan.
  12. A kind of 12. processing method of frame picture, it is characterised in that including:
    The real time data of specified parts in receiving device;
    According to the real time data, the component information of the specified parts with prestoring is carried out Assembled package, formed and specify data;
    The specified data are sent to the client, wherein, the specified data are used to show The frame picture of the equipment.
  13. 13. according to the method for claim 12, it is characterised in that the specified data Including at least one of:Relative coordinate in the equipment between each specified parts, specify Component sizes, specified parts index, specified parts pattern and specified parts label.
  14. 14. the method stated according to claim 12, it is characterised in that the real time data is extremely Include one of less:Specified parts index, specified parts state.
  15. 15. the method stated according to claim 12, it is characterised in that the specified data are JavaScript object notation JSON data, according to the real time data, with prestoring The component information of the specified parts is combined encapsulation, including:
    The component information of the specified parts is carried in the real time data, and according to JSON forms are packaged to the real time data for being loaded with the component information.
  16. 16. according to the method for claim 12, it is characterised in that the real time data Obtained by one below mode:
    By Simple Network Management Protocol SNMP or network configuration protocol NETCONF from described Obtained in equipment;Or,
    JDBC is connected by Java databases to obtain from database.
  17. 17. according to the method described in any one of claim 12 to 16, it is characterised in that institute Stating method also includes:
    Sent a warning message to the client, wherein, the warning information is described for indicating Client renders to the specified parts.
  18. 18. the method stated according to claim 17, it is characterised in that the warning information is extremely Include one of less:
    Alarm ID, the positional information of the specified parts alerted for indicating needs;
    Alert grade:The specified parts alerted for indicating needs render grade.
  19. 19. the method according to any one of claim 12 to 18, it is characterised in that The specified parts comprise at least one of:
    Frame, groove position, unit, port, power supply, fan.
  20. A kind of 20. display device of frame picture, it is characterised in that including:
    First receiving module, the specified data sent for receiving the server, wherein, institute Specified data are stated to be prestored to the real time data of specified parts in equipment and the server The component informations of specified parts be combined the data that are formed after encapsulation;
    Display module, the frame picture of the equipment is shown according to the specified data.
  21. 21. device according to claim 20, it is characterised in that the display module, It is additionally operable to the specified data being plotted in the frame picture, and is shown in WEB page The frame picture.
  22. 22. device according to claim 21, it is characterised in that the display module Including:
    Traversal Unit, for specifying the tree of data described in the searching loop in the WEB page Shape node;
    Image-drawing unit, for the component information in the specified data at described WEB pages The frame picture is drawn on face and/or textures are carried out to the specified parts in the frame picture Processing.
  23. 23. device according to claim 21, it is characterised in that at described WEB pages Menu function information corresponding with the specified parts is provided with face.
  24. 24. device according to claim 20, it is characterised in that the display device Also include:
    Acquisition module, for obtaining the real time data by way of one below:Pass through letter Single Network Management Protocols SNMP or network configuration protocol NETCONF obtain from the equipment Take;Or, JDBC is connected by Java databases and obtained from database.
  25. 25. device according to claim 20, it is characterised in that described device is also wrapped Include:
    Second receiving module, for receiving the warning information of the server push;
    Rendering module, for according to the warning information, to described in the WEB page Specified parts are rendered.
  26. A kind of 26. processing unit of frame picture, it is characterised in that including:
    Receiving module, the real time data for specified parts in receiving device;
    Processing module, for according to the real time data, with the specified parts prestored Component information be combined encapsulation, formed and specify data;
    Sending module, for sending the specified data to the client, wherein, the finger Fixed number is according to the frame picture for being used to show the equipment.
  27. 27. device according to claim 26, it is characterised in that the specified data For JavaScript object notation JSON data, the processing module also includes:
    Loading unit, for the component information with the specified parts to be carried in into the number in real time In;
    Encapsulation unit, for according to JSON forms to being loaded with the real-time number of the component information According to being packaged.
  28. 28. device according to claim 26, it is characterised in that described device is also wrapped Include:
    Alarm module, for being sent a warning message to the client, wherein, the alarm letter Cease for indicating that client renders to the specified parts.
  29. 29. a kind of display system of frame picture, including server, client and equipment, its It is characterised by,
    The client, the specified data sent for receiving the server;And according to described Data are specified to show the frame picture of the equipment;
    The server, for receiving the real time data of specified parts in the equipment;According to institute Real time data is stated, the component information of the specified parts with prestoring is combined encapsulation, Form the specified data;The specified data are sent to the client;
    The equipment, for providing the real time data.
  30. 30. system according to claim 29, it is characterised in that
    The client, it is additionally operable to receive the warning information that the server is sent, to the finger Determine part to be rendered;
    The server, it is additionally operable to send the warning information to the client.
CN201610475022.2A 2016-06-24 2016-06-24 The display of frame picture, processing method and processing device, display system Pending CN107547219A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610475022.2A CN107547219A (en) 2016-06-24 2016-06-24 The display of frame picture, processing method and processing device, display system
PCT/CN2017/086386 WO2017219832A1 (en) 2016-06-24 2017-05-27 Rack diagram display and processing method and apparatus, display system, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610475022.2A CN107547219A (en) 2016-06-24 2016-06-24 The display of frame picture, processing method and processing device, display system

Publications (1)

Publication Number Publication Date
CN107547219A true CN107547219A (en) 2018-01-05

Family

ID=60783800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610475022.2A Pending CN107547219A (en) 2016-06-24 2016-06-24 The display of frame picture, processing method and processing device, display system

Country Status (2)

Country Link
CN (1) CN107547219A (en)
WO (1) WO2017219832A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111404916A (en) * 2020-03-11 2020-07-10 杭州迪普科技股份有限公司 System and method for actively defending network attack

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143178B (en) * 2021-12-03 2024-06-04 中电信数智科技有限公司 Alarm root-cause positioning visualization method and device combined with TR069 protocol

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585342A (en) * 2004-06-01 2005-02-23 中兴通讯股份有限公司 Frame facility visual method for network gating system
US20090271725A1 (en) * 2008-04-24 2009-10-29 Fred Dirla System and Method for Rack management and Capacity Planning
CN103220325A (en) * 2012-01-23 2013-07-24 国际商业机器公司 Acquiring information dynamically regarding a hardware component in the cloud computing system while on the floor of the data center
CN104683147A (en) * 2015-01-27 2015-06-03 加弘科技咨询(上海)有限公司 Hardware management method and system for large-scale data centre

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585342A (en) * 2004-06-01 2005-02-23 中兴通讯股份有限公司 Frame facility visual method for network gating system
US20090271725A1 (en) * 2008-04-24 2009-10-29 Fred Dirla System and Method for Rack management and Capacity Planning
CN103220325A (en) * 2012-01-23 2013-07-24 国际商业机器公司 Acquiring information dynamically regarding a hardware component in the cloud computing system while on the floor of the data center
CN104683147A (en) * 2015-01-27 2015-06-03 加弘科技咨询(上海)有限公司 Hardware management method and system for large-scale data centre

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111404916A (en) * 2020-03-11 2020-07-10 杭州迪普科技股份有限公司 System and method for actively defending network attack

Also Published As

Publication number Publication date
WO2017219832A1 (en) 2017-12-28

Similar Documents

Publication Publication Date Title
US6650347B1 (en) Heirarchical GUI representation for web based network management applications
US6295527B1 (en) Real-time user-defined creation of network device information collections
US7689918B2 (en) Graphical indicator for the multiplexed display of line graph information
US8996668B2 (en) Method and system for storing configuration information for network nodes in a network management system
CN111314107B (en) Automatic networking system and method based on internet service
US8352620B2 (en) Displaying a network topology map with a reduced number of objects
US20040155899A1 (en) Method and system for presenting an arrangement of management devices operable in a managed network
US20050091356A1 (en) Method and machine-readable medium for using matrices to automatically analyze network events and objects
CN110247784A (en) The method and apparatus for determining network topology structure
US9331902B2 (en) Apparatus and method providing unified network management
US20150370848A1 (en) System and method for managing data integrity in electronic data storage
CN104410538A (en) Network topological structure management method and system
CN107819602A (en) Customer flow distribution method and system
WO2022100723A1 (en) Network fault diagnosis method and apparatus, and computer device and readable medium
US11736338B2 (en) Network management apparatus, method, and program
CN107547219A (en) The display of frame picture, processing method and processing device, display system
US20080267145A1 (en) Methods and Apparatus for Managing Wireless Networks Using Geographical-Level and Site-Level Visualization
CN107018166A (en) Service showing method and terminal
CN101404595B (en) Network bridge uplink port identification
CN104753695A (en) Discovery and real-time display system and method for SDN (Software Defined Network) network topology
US20140298183A1 (en) Communication system management apparatus, methods, and interfaces
CN106612207B (en) The management-control method and device of ethernet device RSTP information
CN112135302B (en) Control method and device for base station topology information and computer readable storage medium
EP2355409B1 (en) Network management device
US20080065756A1 (en) Method and system for presenting network devices on a display screen of a network management system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right

Effective date of registration: 20180425

Address after: No. 55, Nanshan District science and technology road, Nanshan District, Shenzhen, Guangdong

Applicant after: ZTE Corporation

Address before: 210012 No. 68, Bauhinia Road, Ningnan street, Yuhuatai District, Nanjing, Jiangsu

Applicant before: Nanjing Zhongxing Software Co., Ltd.

TA01 Transfer of patent application right
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180105

RJ01 Rejection of invention patent application after publication