CN105515823A - Recovery method, device and system for network element data - Google Patents

Recovery method, device and system for network element data Download PDF

Info

Publication number
CN105515823A
CN105515823A CN201510822862.7A CN201510822862A CN105515823A CN 105515823 A CN105515823 A CN 105515823A CN 201510822862 A CN201510822862 A CN 201510822862A CN 105515823 A CN105515823 A CN 105515823A
Authority
CN
China
Prior art keywords
network element
data
data recovery
recovery request
management system
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
CN201510822862.7A
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510822862.7A priority Critical patent/CN105515823A/en
Publication of CN105515823A publication Critical patent/CN105515823A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a recovery method for network element data. The method comprises following steps: the work state of a network element is detected; when a restart operation of the network element is detected, a data recovery request is sent to the network management system; backup data sent from the network management system on the basis of the data recovery request is received; the received backup data is analyzed; the analyzed backup data is stored in a database. Correspondingly, the invention also discloses a recovery device and system for network element data. By use of the method, device and system, automatic recovery of the entire network element data is realized, the work efficiency and the reliability of network element data recovery are increased.

Description

Network element data restoration methods, Apparatus and system
Technical field
The present invention relates to network communication technology field, particularly relate to a kind of network element data restoration methods, Apparatus and system.
Background technology
Current network management system manages a large amount of network element, usually can lose a large amount of CONFIG.SYSs and relevant significant data when network element exception, power-off or when restarting after closing.Existing network element data restoration methods, mainly manual by save order by the CONFIG.SYS of necessity backup be saved in flash memory, the CONFIG.SYS can transferred when network element restarts in flash memory carries out the recovery of partial configuration information.
But, because the memory space of flash memory is very limited, so necessary system configuration data can only be backed up and cannot back up whole system configuration datas and important user data, comprehensive recovery of network element data cannot be realized, and the configuration data file needing user manually to transfer backup carries out date restoring, operate the very loaded down with trivial details operating efficiency causing network element data to recover lower, ageing, the comprehensive and reliability of date restoring is not high.
Summary of the invention
Given this, the invention provides a kind of network element data restoration methods, Apparatus and system, solve the ageing, comprehensive of lower, the date restoring of efficiency that existing network element data recovers and technical problem that reliability is not high.
According to one embodiment of the invention, a kind of network element data restoration methods is provided, comprises: the operating state detecting network element; Data recovery request is sent to network management system when detecting that network element carries out reboot operation; Receive the Backup Data that described network management system sends according to described data recovery request; Resolve the described Backup Data received; And the Backup Data of parsing is saved in database.
Preferably, described network element data restoration methods also comprises: judge whether described network element data successfully recovers; Date restoring successful result is sent to described network management system when described network element data is successfully recovered; And send date restoring failure result and data recovery request when described network element data recovers unsuccessfully to network management system.
According to a further embodiment of the invention, a kind of network element data restoration methods is provided, comprises: receive the data recovery request that network element sends; And send Backup Data to described network element according to the data recovery request received.
Preferably, also comprised before the described data recovery request according to receiving sends Backup Data to described network element: described Backup Data is converted to text formatting.
According to one embodiment of the invention, provide a kind of network element processing method, described network element processing method comprises one or more above-mentioned network element data restoration methods.
According to still another embodiment of the invention, a kind of network element data recovery device is provided, comprises: detecting unit, for detecting the operating state of network element; Data recovery request transmitting element, for detecting that when described detecting unit network element sends data recovery request to network management system when carrying out reboot operation; Receiving element, for receiving the Backup Data that described network management system sends according to described data recovery request; Resolution unit, for resolving the Backup Data that described receiving element receives; And storage unit, be saved in database for the Backup Data that described resolution unit is resolved.
Preferably, described network element data recovery device also comprises date restoring judging unit and date restoring result transmitting element, described date restoring judging unit is for judging whether described network element data successfully recovers, described date restoring result transmitting element is used for sending date restoring successful result when described date restoring judging unit judges that described network element data is successfully recovered to described network management system, and send date restoring failure result when described date restoring judging unit judges that described network element data recovers unsuccessfully to described network management system, when described date restoring judging unit, described data recovery request transmitting element is also for judging that described network element data resends data recovery request to network management system when recovering unsuccessfully.
According to still another embodiment of the invention, a kind of network element data recovery device is provided, comprises: data recovery request receiving element, for receiving the data recovery request that network element sends; Backup Data transmitting element, the data recovery request for receiving according to described data recovery request receiving element sends Backup Data to described network element.
Preferably, described network element data recovery device also comprises Backup Data converting unit, for Backup Data is converted to text formatting.
According to one more embodiment of the present invention, provide a kind of electronic system, described electronic system comprises one or more above-mentioned network element data recovery devices.
The network element data restoration methods of the embodiment of the present invention provided by the invention, Apparatus and system, data recovery request is sent to network management system when detecting that described network element restarts, receive the Backup Data that described network management system sends according to described data recovery request, and described Backup Data is carried out resolving rear preservation in a database, with during conventional network elements date restoring, backup data store is manually inputted save order and carries out compared with date restoring mode in the flash memory of finite capacity, achieve the automatic recovery of all network element datas, improve intellectuality and the operating efficiency of network element data recovery, and avoid the situation causing backing up and recovering all network element datas because flash capacity is limited, improve the comprehensive and reliability that network element data recovers.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described.Apparently, the accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of network element data restoration methods in one embodiment of the invention.
Fig. 2 is the schematic flow sheet of network element data restoration methods in another embodiment of the present invention.
Fig. 3 is the schematic flow sheet of network element data restoration methods in another embodiment of the present invention.
Fig. 4 is the schematic flow sheet of network element data restoration methods in another embodiment of the present invention.
Fig. 5 is the structural representation of network element data recovery device in one embodiment of the invention.
Fig. 6 is the structural representation of network element data recovery device in another embodiment of the present invention.
Fig. 7 is the structural representation of network element data recovery device in another embodiment of the present invention.
Fig. 8 is the structural representation of network element data recovery device in another embodiment of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, more detailed description is further done to technical scheme of the present invention.Obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under the prerequisite of not making creative work, all should belong to the scope of protection of the invention.
In describing the invention, it is to be appreciated that term " first ", " second " etc. are only for describing object, and instruction or hint relative importance can not be interpreted as.In describing the invention, it should be noted that, unless otherwise clearly defined and limited, term " is connected ", " connection " should be interpreted broadly, such as, can be fixedly connected with, also can be removably connect, or connect integratedly; Can be mechanical connection, also can be electrical connection; Can be directly be connected, also indirectly can be connected by intermediary.For the ordinary skill in the art, above-mentioned term concrete meaning in the present invention can be understood in conjunction with concrete condition.In addition, in describing the invention, except as otherwise noted, the implication of " multiple " is two or more.
Describe and can be understood in flow chart or in this any process otherwise described or method, represent and comprise one or more for realizing the module of the code of the executable instruction of the step of specific logical function or process, fragment or part, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can not according to order that is shown or that discuss, comprise according to involved function by the mode while of basic or by contrary order, carry out n-back test, this should understand by embodiments of the invention person of ordinary skill in the field.
Fig. 1 is the schematic flow sheet of network element data restoration methods in one embodiment of the invention.As shown in the figure, described network element data restoration methods, comprising:
Step S101: the operating state detecting network element.
Described network element is the network element equipment in network management system, such as optical line terminal OLT (OpticalLineTerminal), optical network unit ONU (OpticalNetworkUnit) etc.Described data can be the data of any type in network element, such as system data, user data and CONFIG.SYS data etc.In the present embodiment, the software layer of described network element comprises two MIB node: dataRecoveryRequest and dataRecoveryResponse.
Described object dataRecoveryRequest, object identifier (OID, ObjectIdentification) by generate rule in dataRecoveryRequest.cfg file, object type Integer32, access module is read and write, describe network element whether restart and carry out allocation data recovering, dataRecoveryRequest (1) has been restarted for network element to be needed to be configured date restoring, undataRecoveryRequest (2) is default value, and representing that network element is not restarted does not need to be configured date restoring.
Described object dataRecoveryResponse, object identifier OID is by generate rule in dataRecoveryResponse.cfg file, object type Integer32, access module is read and write, whether description network element restarts rear date restoring successful, dataRecoverySuccess (1) represents that network element data is successfully recovered, dataRecoveryFailed (2) represents that network element data recovers unsuccessfully, and default value undataRecoveryResponse (3) expression does not carry out network element data recovery.
The software layer of described network element detects the operating state of described network element.Concrete, dataRecoveryRequest.mib file is according to generate rule dataRecoveryRequest_low.c and dataRecoveryRequest.c file in described dataRecoveryRequest.cfg file, and the call back function in described dataRecoveryRequest.c file calls dataRecoveryRequest_low.c and judges whether described network element has carried out reboot operation.If detect that described network element has carried out reboot operation, then the node state of described dataRecoveryRequest is set to dataRecoveryRequest (1), has restarted described in expression and needed to be configured date restoring; If detect that described network element does not carry out reboot operation, then the node state of described dataRecoveryRequest is set to undataRecoveryRequest (2).
Step S102: send data recovery request when detecting that network element carries out reboot operation to network management system.
Concrete, when the node state of the described dataRecoveryRequest described network element software layer being detected is dataRecoveryRequest (1), the then reset monitor CMOS macro cell data recovery request information of described network element, the data recovery request information of reset monitor CMOS macro cell is converted to trap (Trap) message and is uploaded to network management system by Simple Network Management Protocol SNMP (SimpleNetworkManagementProtocol) by the procotol proxy module of described network element.When detecting that the node state of described dataRecoveryRequest is undataRecoveryRequest (2), then do not carry out any operation.
Step S103: receive the Backup Data that described network management system sends according to described data recovery request.
In the present embodiment, after described network management system receives described data recovery request, from database, transfer all profile datas that described network element backs up in advance and be converted into .txt text formatting file, by file transfer protocol (FTP) FTP (FileTransferProtocol), described backup data files being sent to the default memory cell of described network element.With traditional by backup data store compared with the finite capacity flash memory, in this enforcement, described Backup Data is stored in advance in described network management system, described Backup Data is no longer subject to the restriction of flash capacity, all network element datas all can be carried out back-up storage, what improve that network element data recovers is comprehensive, avoids the network element data that can only back up part necessity because flash capacity is limited and the situation cannot recovering all network element datas.Meanwhile, described Backup Data is uploaded to described network management system and stores, also save the memory space of described network element, improve the safety and reliability of described Backup Data.
Step S104: resolve the described Backup Data received.
The software layer of described network element monitors in default memory cell the described Backup Data whether having reception in real time, described dataRecoveryResponse.mib file is according to generate rule dataRecoveryResponse_low.c file in dataRecoveryResponse.cfg file and dataRecoveryResponse.c file, and the call back function in dataRecoveryResponse.c file calls dataRecoveryResponse_low.c and judges whether there is described Backup Data in described default memory cell.When judging there is Backup Data in described default memory cell, by resolution rules, the described Backup Data of text formatting is resolved the Backup Data being converted to general format.
Step S105: the Backup Data of parsing is saved in database.
Concrete, by save order, the described Backup Data of resolving is saved in database, realizes described network element data and recover.After described network element restarts, just can transfer system configuration data from described database, realize the recovery of configuration data fast, described network element can normally be worked.When described network element data is successfully recovered, the node state of described dataRecoveryResponse is set to dataRecoverySuccess (1); When described network element data is successfully recovered, the node state of described dataRecoveryResponse is set to dataRecoveryFailed (2).
The network element data restoration methods of the embodiment of the present invention, data recovery request is sent to network management system when detecting that described network element restarts, receive the Backup Data that described network management system sends according to described data recovery request, and described Backup Data is carried out resolving rear preservation in a database, with during conventional network elements date restoring, backup data store is manually inputted save order and carries out compared with date restoring mode in the flash memory of finite capacity, achieve the automatic recovery of all network element datas, improve intellectuality and the operating efficiency of network element data recovery, and avoid the situation causing backing up and recovering all network element datas because flash capacity is limited, improve the comprehensive and reliability that network element data recovers.
Fig. 2 is the schematic flow sheet of network element data restoration methods in another embodiment of the present invention.As shown in the figure, described network element data restoration methods, comprising:
Step S201: the operating state detecting network element.
Step S202: send data recovery request when detecting that network element carries out reboot operation to network management system.
Step S203: receive the Backup Data that described network management system sends according to described data recovery request.
Step S204: resolve the described Backup Data received.
Step S205: the Backup Data of parsing is saved in database.
Step S206: judge whether described network element data successfully recovers.
Concrete, detect the node state of the described dataRecoveryResponse of the software layer of described network element, when the node state of described dataRecoveryResponse is dataRecoverySuccess (1), judge that described network element data is successfully recovered, when the node state of described dataRecoveryResponse is dataRecoveryFailed (2), judge that described network element data recovers unsuccessfully.
Step S207: send date restoring successful result when described network element data is successfully recovered to described network management system.
Concrete, when the node state of the described dataRecoveryResponse of the software layer of the described network element of detection is dataRecoverySuccess (1), obtain described network element data and be successfully recovered result, described network element data being successfully recovered results conversion is trap Trap message, and is sent to described network management system by Simple Network Management Protocol SNMP.
Step S208: transmission date restoring failure result and data recovery request are to network management system when described network element data recovers unsuccessfully.
Concrete, when node state dataRecoveryFailed (2) of the described dataRecoveryResponse of the software layer of the described network element of detection, obtain described network element data and recover failure result, described network element data recovery failure result and data recovery request are converted to trap Trap message, and are sent to described network management system by Simple Network Management Protocol SNMP.When described network management system receives described network element data recovery failure result and data recovery request, Backup Data can be resend further according to described data recovery request again, make described network element automatically again can attempt date restoring, improve intellectuality and the reliability of network element data recovery.
The network element data restoration methods of the embodiment of the present invention, data recovery request is sent to network management system when detecting that described network element restarts, receive the Backup Data that described network management system sends according to described data recovery request, and described Backup Data is carried out resolving rear preservation in a database, with during conventional network elements date restoring, backup data store is manually inputted save order and carries out compared with date restoring mode in the flash memory of finite capacity, achieve the automatic recovery of all network element datas, improve intellectuality and the operating efficiency of network element data recovery, and avoid the situation causing backing up and recovering all network element datas because flash capacity is limited, improve the comprehensive and reliability that network element data recovers.In addition, by judging that whether described network element data successfully recovers and to network management system feedback net metadata restoration result, when network element data recovers unsuccessfully, described NMS resends Backup Data, make described network element automatically again can attempt date restoring, improve intellectuality and the reliability of network element data recovery.
Fig. 3 is the schematic flow sheet of network element data restoration methods in another embodiment of the present invention.As shown in the figure, the network element data restoration methods of this enforcement, comprising:
Step S301: receive the data recovery request that network element sends.
Concrete, trap (Trap) message of described network element data recovery request information is received by Simple Network Management Protocol SNMP.Described data recovery request can be the transmission when carrying out reboot operation of described network element, also can send in abnormal cases by described network element.
Step S302: send Backup Data to described network element according to the data recovery request received.
In the present embodiment, after receiving described data recovery request, from database, transfer all profile datas that described network element backs up in advance, by file transfer protocol (FTP) FTP (FileTransferProtocol), described backup data files is sent to the default memory cell of described network element.
In the present embodiment, network element data recovery device sends Backup Data according to the data recovery request of user.With traditional by backup data store compared with the finite capacity flash memory, in this enforcement, described Backup Data is stored in advance in described network management system, described Backup Data is no longer subject to the restriction of flash capacity, all network element datas all can be carried out back-up storage, what improve that network element data recovers is comprehensive, avoids the network element data that can only back up part necessity because flash capacity is limited and the situation cannot recovering all network element datas.Described Backup Data is uploaded to described network management system store, also save the memory space of described network element, improve the safety and reliability of described Backup Data.Meanwhile, achieve the automatic recovery of all network element datas, improve intellectuality and the operating efficiency of network element data recovery.
Fig. 4 is the schematic flow sheet of network element data restoration methods in another embodiment of the present invention.As shown in the figure, the network element data restoration methods of this enforcement, comprising:
Step S401: receive the data recovery request that network element sends.
Step S402: described Backup Data is converted to text formatting.
Concrete, described Backup Data can be converted to .txt text formatting, improve convenience and the efficiency of the transmission of described Backup Data, improve the operating efficiency of date restoring.
Step S403: send Backup Data to described network element according to the data recovery request received.
In the present embodiment, after receiving described data recovery request, from database, transfer all profile datas that described network element backs up in advance, by file transfer protocol (FTP) FTP, described backup data files is sent to the default memory cell of described network element.
With traditional by backup data store compared with the finite capacity flash memory, in this enforcement, described Backup Data is stored in advance in described network management system, described Backup Data is no longer subject to the restriction of flash capacity, all network element datas all can be carried out back-up storage, what improve that network element data recovers is comprehensive, avoids the network element data that can only back up part necessity because flash capacity is limited and the situation cannot recovering all network element datas.Described Backup Data is uploaded to described network management system store, also save the memory space of described network element, improve the safety and reliability of described Backup Data.Meanwhile, be converted to text formatting before described Backup Data transmission, achieve the fast automatic recovery of all network element datas, improve intellectuality and the operating efficiency of network element data recovery.
Be understandable that, another embodiment of the present invention also can provide a kind of network element processing method, comprises the network element data restoration methods described in one or more above-described embodiments.
Fig. 5 is the structural representation of network element data recovery device in one embodiment of the invention.On the basis of said method embodiment, the network element data recovery device 10 of the present embodiment, comprises detecting unit 101, data recovery request transmitting element 102, receiving element 103, resolution unit 104 and storage unit 105.
Described network element is the network element equipment in network management system, such as optical line terminal OLT, optical network unit ONU etc.Described data can be the data of any type in network element, such as system data, user data and CONFIG.SYS data etc.In the present embodiment, the described detecting unit 101 of described network element comprises two MIB node: dataRecoveryRequest and dataRecoveryResponse.
Described object dataRecoveryRequest, object identifier OID is by generate rule in dataRecoveryRequest.cfg file, object type Integer32, access module is read and write, describe network element whether restart and carry out allocation data recovering, dataRecoveryRequest (1) has been restarted for network element to be needed to be configured date restoring, and undataRecoveryRequest (2) is default value, and representing that network element is not restarted does not need to be configured date restoring.
Described object dataRecoveryResponse, object identifier OID is by generate rule in dataRecoveryResponse.cfg file, object type Integer32, access module is read and write, whether description network element restarts rear date restoring successful, dataRecoverySuccess (1) represents that network element data is successfully recovered, dataRecoveryFailed (2) represents that network element data recovers unsuccessfully, and default value undataRecoveryResponse (3) expression does not carry out network element data recovery.
Described detecting unit 101, for detecting the operating state of network element.Concrete, dataRecoveryRequest.mib file is according to generate rule dataRecoveryRequest_low.c and dataRecoveryRequest.c file in described dataRecoveryRequest.cfg file, and the call back function in described dataRecoveryRequest.c file calls dataRecoveryRequest_low.c and judges whether described network element has carried out reboot operation.If described detecting unit 101 detects that described network element has carried out reboot operation, then the node state of described dataRecoveryRequest is set to dataRecoveryRequest (1), has restarted described in expression and needed to be configured date restoring; If described detecting unit 101 detects that described network element does not carry out reboot operation, then the node state of described dataRecoveryRequest is set to undataRecoveryRequest (2).
Described data recovery request transmitting element 102, for detecting that when described detecting unit 101 network element sends data recovery request to network management system when carrying out reboot operation.Concrete, when described detecting unit 101 detects that the node state of the described dataRecoveryRequest of described network element is dataRecoveryRequest (1), then the described data recovery request transmitting element 102 of described network element generates data recovery request information, the data recovery request information that described data recovery request transmitting element 102 generates is converted to trap (Trap) message by the procotol proxy module of described network element, described data recovery request transmitting element 102 is uploaded to network management system by Simple Network Management Protocol SNMP (SimpleNetworkManagementProtocol).When described detecting unit 101 detects the node state undataRecoveryRequest (2) of described dataRecoveryRequest, then do not carry out any operation.
Described receiving element 103, for receiving the Backup Data that described network management system sends according to described data recovery request.In the present embodiment, after described network management system receives described data recovery request, from database, transfer all profile datas that described network element backs up in advance and be converted into .txt text formatting file, the described receiving element 103 by file transfer protocol (FTP) FTP described backup data files being sent to described network element presets memory cell.With traditional by backup data store compared with the finite capacity flash memory, in this enforcement, described Backup Data is stored in advance in described network management system, described Backup Data is no longer subject to the restriction of flash capacity, all network element datas all can be carried out back-up storage, what improve that network element data recovers is comprehensive, avoids the network element data that can only back up part necessity because flash capacity is limited and the situation cannot recovering all network element datas.Meanwhile, described Backup Data is uploaded to described network management system and stores, also save the memory space of described network element, improve the safety and reliability of described Backup Data.
Resolution unit 104, for resolving the Backup Data that described receiving element 103 receives.The software layer of described network element is monitored described receiving element 103 in real time and is preset in memory cell the described Backup Data whether having reception, described dataRecoveryResponse.mib file is according to generate rule dataRecoveryResponse_low.c file in dataRecoveryResponse.cfg file and dataRecoveryResponse.c file, and the call back function in dataRecoveryResponse.c file calls dataRecoveryResponse_low.c and judges described receiving element 103 presets in memory cell whether have described Backup Data.When judge described receiving element 103 preset in memory cell have Backup Data time, the described Backup Data of text formatting is resolved the Backup Data being converted to general format by described resolution unit 104 by resolution rules.
Storage unit 105, is saved in database for the Backup Data of described resolution unit 104 being resolved.Concrete, the described Backup Data of resolving is saved in database by save order by described storage unit 105, realizes described network element data and recovers.After described network element restarts, just can transfer system configuration data from described database, realize the recovery of configuration data fast, described network element can normally be worked.When described network element data is successfully recovered, the node state of described dataRecoveryResponse is set to dataRecoverySuccess (1); When described network element data is successfully recovered, the node state of described dataRecoveryResponse is set to dataRecoveryFailed (2).
The network element data recovery device of the embodiment of the present invention, described data recovery request transmitting element sends data recovery request to network management system when detecting unit detects that described network element restarts, receiving element receives the Backup Data that described network management system sends according to described data recovery request, and resolution unit is preserved in a database by preserving module after described Backup Data being carried out parsing, with during conventional network elements date restoring, backup data store is manually inputted save order and carries out compared with date restoring mode in the flash memory of finite capacity, achieve the automatic recovery of all network element datas, improve intellectuality and the operating efficiency of network element data recovery, and avoid the situation causing backing up and recovering all network element datas because flash capacity is limited, improve the comprehensive and reliability that network element data recovers.
Fig. 6 is the structural representation of network element data recovery device in another embodiment of the present invention.On the basis of above-described embodiment, the network element data recovery device 10 of the present embodiment comprises date restoring judging unit 106 and date restoring result transmitting element 107 further.
Described date restoring judging unit 106, for judging whether described network element data successfully recovers.Concrete, described date restoring judging unit 106 detects the node state of the described dataRecoveryResponse of the software layer of described network element, when the node state of described dataRecoveryResponse is dataRecoverySuccess (1), described date restoring judging unit 106 judges that described network element data is successfully recovered, when the node state of described dataRecoveryResponse is dataRecoveryFailed (2), described date restoring judging unit 106 judges that described network element data recovers unsuccessfully.
Described date restoring result transmitting element 107, for sending date restoring successful result when described date restoring judging unit 106 judges that described network element data is successfully recovered to described network management system, and sending date restoring failure result when described date restoring judging unit 106 judges that described network element data recovers unsuccessfully to described network management system, when described date restoring judging unit 106, described data recovery request transmitting element 107 is also for judging that described network element data resends data recovery request to network management system when recovering unsuccessfully.
Concrete, when the node state that described date restoring judging unit 106 detects the described dataRecoveryResponse of described network element is dataRecoverySuccess (1), described date restoring result transmitting element 107 obtains described network element data and is successfully recovered result, described network element data being successfully recovered results conversion is trap Trap message, and is sent to described network management system by Simple Network Management Protocol.When described date restoring judging unit 106 detects node state dataRecoveryFailed (2) of the described dataRecoveryResponse of described network element, described date restoring result transmitting element 107 obtains described network element data and recovers failure result, described network element data recovery failure result and data recovery request are converted to trap Trap message, and are sent to described network management system by Simple Network Management Protocol SNMP.When described network management system receives described network element data recovery failure result and data recovery request, Backup Data can be resend further according to described data recovery request again, make described network element automatically again can attempt date restoring, improve intellectuality and the reliability of network element data recovery.
The network element data recovery device of the embodiment of the present invention, described data recovery request transmitting element sends data recovery request to network management system when detecting unit detects that described network element restarts, receiving element receives the Backup Data that described network management system sends according to described data recovery request, and resolution unit is preserved in a database by preserving module after described Backup Data being carried out parsing, with during conventional network elements date restoring, backup data store is manually inputted save order and carries out compared with date restoring mode in the flash memory of finite capacity, achieve the automatic recovery of all network element datas, improve intellectuality and the operating efficiency of network element data recovery, and avoid the situation causing backing up and recovering all network element datas because flash capacity is limited, improve the comprehensive and reliability that network element data recovers.In addition, judge whether described network element data successfully recovers by date restoring judging unit, and by date restoring result transmitting element to network management system feedback net metadata restoration result, when network element data recovers unsuccessfully, described NMS resends Backup Data, make described network element automatically again can attempt date restoring, improve intellectuality and the reliability of network element data recovery.
Fig. 7 is the structural representation of network element data recovery device in another embodiment of the present invention.On the basis of said method embodiment, the network element data recovery device 20 of the present embodiment, comprises data recovery request receiving element 201 and Backup Data transmitting element 202.
Data recovery request receiving element 201, for receiving the data recovery request that network element sends.Concrete, described data recovery request receiving element 201 receives trap (Trap) message of described network element data recovery request information by Simple Network Management Protocol SNMP.Described data recovery request can be the transmission when carrying out reboot operation of described network element, also can send in abnormal cases by described network element.
Described Backup Data transmitting element 202, the data recovery request for receiving according to described data recovery request receiving element 201 sends Backup Data to described network element.In the present embodiment, after described data recovery request receiving element 201 receives described data recovery request, described Backup Data transmitting element 202 transfers all profile datas that described network element backs up in advance from database, by file transfer protocol (FTP) FTP, described backup data files is sent to the default memory cell of described network element.
In the present embodiment, network element data recovery device sends Backup Data according to the data recovery request of user.With traditional by backup data store compared with the finite capacity flash memory, in this enforcement, described Backup Data is stored in advance in described network management system, described Backup Data is no longer subject to the restriction of flash capacity, all network element datas all can be carried out back-up storage, what improve that network element data recovers is comprehensive, avoids the network element data that can only back up part necessity because flash capacity is limited and the situation cannot recovering all network element datas.Described Backup Data is uploaded to described network management system store, also save the memory space of described network element, improve the safety and reliability of described Backup Data.Meanwhile, achieve the automatic recovery of all network element datas, improve intellectuality and the operating efficiency of network element data recovery.
Fig. 8 is the structural representation of network element data recovery device in another embodiment of the present invention.As shown in the figure, the network element data recovery device 20 of the present embodiment comprises data recovery request receiving element 201, Backup Data transmitting element 202 and Backup Data converting unit 203.
Described Backup Data converting unit 203, is connected with described data recovery request receiving element 201, described Backup Data can be converted to .txt text formatting, improves convenience and the efficiency of the transmission of described Backup Data, improves the operating efficiency of date restoring.
In the present embodiment, after data recovery request receiving element receives described data recovery request, Backup Data converting unit is transferred all profile datas that described network element backs up in advance and is carried out format conversion to Backup Data from database, and described backup data files is sent to the default memory cell of described network element by Backup Data transmitting element by file transfer protocol (FTP) FTP.With traditional by backup data store compared with the finite capacity flash memory, in this enforcement, described Backup Data is stored in advance in described network management system, described Backup Data is no longer subject to the restriction of flash capacity, all network element datas all can be carried out back-up storage, what improve that network element data recovers is comprehensive, avoids the network element data that can only back up part necessity because flash capacity is limited and the situation cannot recovering all network element datas.Described Backup Data is uploaded to described network management system store, also save the memory space of described network element, improve the safety and reliability of described Backup Data.Meanwhile, be converted to text formatting before described Backup Data transmission, achieve the fast automatic recovery of all network element datas, improve intellectuality and the operating efficiency of network element data recovery.
Be understandable that, another embodiment of the present invention also can provide a kind of electronic system, comprises the network element data recovery device in one or more above-described embodiments.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple step or method can with to store in memory and the software performed by suitable instruction execution system or firmware realize.Such as, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: the discrete logic with the logic gates for realizing logic function to data-signal, there is the application-specific integrated circuit (ASIC) of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. describe the specific features, structure, material or the feature that mean to describe in conjunction with this embodiment or example and are contained at least one embodiment of the present invention or example.In this manual, identical embodiment or example are not necessarily referred to the schematic representation of above-mentioned term.And the specific features of description, structure, material or feature can combine in an appropriate manner in any one or more embodiment or example.
Although illustrate and describe embodiments of the invention, those having ordinary skill in the art will appreciate that: can carry out multiple change, amendment, replacement and modification to these embodiments when not departing from principle of the present invention and aim, scope of the present invention is by claim and equivalents thereof.

Claims (10)

1. a network element data restoration methods, is characterized in that, comprising:
Detect the operating state of network element;
Data recovery request is sent to network management system when detecting that network element carries out reboot operation;
Receive the Backup Data that described network management system sends according to described data recovery request;
Resolve the described Backup Data received; And
The Backup Data of parsing is saved in database.
2. network element data restoration methods as claimed in claim 1, is characterized in that, also comprise:
Judge whether described network element data successfully recovers;
Date restoring successful result is sent to described network management system when described network element data is successfully recovered; And
When described network element data recovers unsuccessfully, transmission date restoring failure result and data recovery request are to network management system.
3. a network element data restoration methods, is characterized in that, comprising:
Receive the data recovery request that network element sends;
Backup Data is sent to described network element according to the data recovery request received.
4. network element data restoration methods as claimed in claim 3, is characterized in that, wherein also comprises before the described data recovery request according to receiving sends Backup Data to described network element: described Backup Data is converted to text formatting.
5. a network element processing method, is characterized in that, described network element processing method comprises network element data restoration methods as claimed in claim 1 or 2 and/or the network element data restoration methods as described in claim 3 or 4.
6. a network element data recovery device, is characterized in that, comprising:
Detecting unit, for detecting the operating state of network element;
Data recovery request transmitting element, for detecting that when described detecting unit network element sends data recovery request to network management system when carrying out reboot operation;
Receiving element, for receiving the Backup Data that described network management system sends according to described data recovery request;
Resolution unit, for resolving the Backup Data that described receiving element receives; And
Storage unit, is saved in database for the Backup Data of described resolution unit being resolved.
7. network element data recovery device as claimed in claim 6, it is characterized in that, also comprise date restoring judging unit and date restoring result transmitting element, described date restoring judging unit is for judging whether described network element data successfully recovers, described date restoring result transmitting element is used for sending date restoring successful result when described date restoring judging unit judges that described network element data is successfully recovered to described network management system, and send date restoring failure result when described date restoring judging unit judges that described network element data recovers unsuccessfully to described network management system, when described date restoring judging unit, described data recovery request transmitting element is also for judging that described network element data resends data recovery request to network management system when recovering unsuccessfully.
8. a network element data recovery device, is characterized in that, comprising:
Data recovery request receiving element, for receiving the data recovery request that network element sends;
Backup Data transmitting element, the data recovery request for receiving according to described data recovery request receiving element sends Backup Data to described network element.
9. network element data recovery device as claimed in claim 8, is characterized in that, also comprise Backup Data converting unit, for Backup Data is converted to text formatting.
10. an electronic system, is characterized in that, described electronic system comprises network element data recovery device as claimed in claims 6 or 7 and/or network element data recovery device as claimed in claim 8 or 9.
CN201510822862.7A 2015-11-24 2015-11-24 Recovery method, device and system for network element data Pending CN105515823A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510822862.7A CN105515823A (en) 2015-11-24 2015-11-24 Recovery method, device and system for network element data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510822862.7A CN105515823A (en) 2015-11-24 2015-11-24 Recovery method, device and system for network element data

Publications (1)

Publication Number Publication Date
CN105515823A true CN105515823A (en) 2016-04-20

Family

ID=55723482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510822862.7A Pending CN105515823A (en) 2015-11-24 2015-11-24 Recovery method, device and system for network element data

Country Status (1)

Country Link
CN (1) CN105515823A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107528872A (en) * 2016-06-22 2017-12-29 杭州海康威视数字技术股份有限公司 A kind of data reconstruction method, device and cloud storage system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1417972A (en) * 2001-10-30 2003-05-14 深圳市中兴通讯股份有限公司上海第二研究所 Method of managing transmission network via terminal
CN1852349A (en) * 2005-07-30 2006-10-25 华为技术有限公司 Method and device for processing target user data
CN101777951A (en) * 2009-12-30 2010-07-14 中兴通讯股份有限公司 Method and system for data monitoring
US20130179549A1 (en) * 2012-01-06 2013-07-11 Fiber Logic Communications, Inc. Intelligent method of building up telecommunication network
CN103248503A (en) * 2012-02-03 2013-08-14 中兴通讯股份有限公司 Method and device for configuration data backup and restore function in network management
CN104516796A (en) * 2013-09-29 2015-04-15 中兴通讯股份有限公司 Command set based network element backup and recovery method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1417972A (en) * 2001-10-30 2003-05-14 深圳市中兴通讯股份有限公司上海第二研究所 Method of managing transmission network via terminal
CN1852349A (en) * 2005-07-30 2006-10-25 华为技术有限公司 Method and device for processing target user data
CN101777951A (en) * 2009-12-30 2010-07-14 中兴通讯股份有限公司 Method and system for data monitoring
US20130179549A1 (en) * 2012-01-06 2013-07-11 Fiber Logic Communications, Inc. Intelligent method of building up telecommunication network
CN103248503A (en) * 2012-02-03 2013-08-14 中兴通讯股份有限公司 Method and device for configuration data backup and restore function in network management
CN104516796A (en) * 2013-09-29 2015-04-15 中兴通讯股份有限公司 Command set based network element backup and recovery method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
向阳等编著: "《SDH网络管理系统维护基础》", 30 September 2004, 西安电子科技大学出版社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107528872A (en) * 2016-06-22 2017-12-29 杭州海康威视数字技术股份有限公司 A kind of data reconstruction method, device and cloud storage system
CN107528872B (en) * 2016-06-22 2020-07-24 杭州海康威视数字技术股份有限公司 Data recovery method and device and cloud storage system
US10824372B2 (en) 2016-06-22 2020-11-03 Hangzhou Hikvision Digital Technology Co., Ltd. Data recovery method and device, and cloud storage system

Similar Documents

Publication Publication Date Title
CN102708018B (en) Method and system for exception handling, proxy equipment and control device
RU2495548C2 (en) Method, device and mobile communication system for providing uninterrupted service
CN110830283B (en) Fault detection method, device, equipment and system
US20140122140A1 (en) Advanced managed service customer edge router
US20140372805A1 (en) Self-healing managed customer premises equipment
EP2600565B1 (en) Disaster tolerance service system and disaster tolerance method
CN102394914A (en) Cluster brain-split processing method and device
WO2014056403A1 (en) Network switching method and device
CN111565135A (en) Method for monitoring operation of server, monitoring server and storage medium
CN101207519A (en) Version server, operation maintenance unit and method for restoring failure
CN104503861A (en) Abnormality handling method and system, agency device and control device
CN113794597B (en) Alarm information processing method, system, electronic equipment and storage medium
CN112527570B (en) I2C communication recovery method, device, equipment and computer readable storage medium
CN102646065B (en) Equipment power-on detection method and device with protection function
JP6421516B2 (en) Server device, redundant server system, information takeover program, and information takeover method
CN101854253A (en) Method for automatically recovering monitoring and storing and monitoring system thereof
CN105515823A (en) Recovery method, device and system for network element data
CN110620798A (en) Control method, system, equipment and storage medium for FTP connection
CN112099990A (en) Disaster recovery backup method, device, equipment and machine readable storage medium
CN110597672A (en) Method and device for main/standby switching of ATCA switching system
CN113824595B (en) Link switching control method and device and gateway equipment
CN112491633B (en) Fault recovery method, system and related components of multi-node cluster
CN106161061B (en) Service configuration rollback method and network equipment
CN111224803B (en) Multi-master detection method in stacking system and stacking system
CN109510867B (en) Data request processing method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160420