CN102447582A - Resource synchronization method and device - Google Patents

Resource synchronization method and device Download PDF

Info

Publication number
CN102447582A
CN102447582A CN2011104584357A CN201110458435A CN102447582A CN 102447582 A CN102447582 A CN 102447582A CN 2011104584357 A CN2011104584357 A CN 2011104584357A CN 201110458435 A CN201110458435 A CN 201110458435A CN 102447582 A CN102447582 A CN 102447582A
Authority
CN
China
Prior art keywords
resource
changes
network element
webmaster
positional information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011104584357A
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
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2011104584357A priority Critical patent/CN102447582A/en
Publication of CN102447582A publication Critical patent/CN102447582A/en
Priority to PCT/CN2012/087532 priority patent/WO2013097719A1/en
Pending legal-status Critical Current

Links

Images

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

Abstract

The invention discloses a resource synchronization method and device. The method comprises the following steps that: a webmaster receives the position information of resources changed in network element equipment; and the webmaster synchronously updates resources corresponding to the resources which are locally stored and are changed according to the position information. According to the resource synchronization method and device, the technical problem of the resource waste of a webmaster server and the network element equipment because all resource configuration data on the network element are obtained by the webmaster in the prior art to synchronize the same network element can be solved, the resource synchronization efficiency is improved, and physical resource consumption is reduced.

Description

Resource synchronization method and device
Technical field
The present invention relates to the communications field, in particular to a kind of resource synchronization method and device.
Background technology
Telecommunications network resource handling is used for the various physical resources of operator, line resource, channel resource and circuit resource are managed.The network element device of access device, frame, machine frame, veneer, port and, optical network unit (Optical Network Unit abbreviates ONU as) etc. belongs to physical resource.Network resource management is a most important parts in the communication network operation support system; Network resource management system is the basis that telecommunication network operators is carried out network operation, service dispense, the network optimization and the network planning, and the various O&M activities of telecommunication network operators all are to launch around Internet resources.When network physical resource status and information changed, resource management system needed in time upgrade telecom network resource, fed back up-to-date resource information in real time to guarantee the Internet resources system, thereby guaranteed the accuracy of other O&M activity data.
The network element managing system (calls network management system or webmaster in the following text; Abbreviate EMS as) be the system of direct managed network element equipment, as shown in Figure 1, network management system is connected with NE management through southbound interface; Through northbound interface and operator's tension management support system (Operation Support System; Abbreviate OSS as) butt joint, when resource status or information changed, network management system was collected the change information of resource earlier through southbound interface; Then, through northbound interface notice resource system resource status and information are upgraded again.
According to ITU-T definition G.902; Access Network (Access Network; Abbreviate AN as) be by SNI (Service Node Interface; Abbreviate SNI as) and associated user's network interface a series of transmission entities such as (User Network Interface abbreviate UNI as) formed, Access Network is one provides the implementation system that transmits the required transmission bearing capacity of telecommunication service.
Access Network generally need possess the ability that use local management instrument carries out local management; For example; In equipment beginning; The deployment engineer uses local beginning tool software (for example, LCT software or Telnet that the equipment supplier provides) to carry out the initial configuration of equipment to the equipment, and initialization beginning configuration comprises the configuration of some basic resources.The hardware resource configuration of equipment mainly comprises the frame of equipment, the configuration of machine frame and integrated circuit board; When equipment breaks down; When safeguarding at the scene, the attendant need use the local management instrument to sign in to the modification that equipment carries out local configuration; These local maintenances need feed back in network management system and the resource management system the modification of configuration data of device in time, only in this way could guarantee the data accuracy that resource-based O&M is movable.In the relevant criterion of TMF, also requirement has been proposed for resource promptness and accuracy; Such as in TMF 517, pointing out in the NGOSS framework; Inventory OS; The feature operation system (Operating System abbreviates OS as) that Discovery OS etc. are relevant need possess the function that reports resource updates notification message (Inventory update notifications).
At present; The access device that the equipment supplier of main flow provides all adopts Simple Network Management Protocol (SNMP) to manage; Snmp protocol is based on udp protocol; Use Simple Network Management Protocol (Simple Network Management Protocol abbreviates SNMP as) to carry out synchronously generally speaking or to gather the efficient of resource data information all lower.And Access Network is the network towards the end user, and mostly NE quantity is the most typical characteristic of access network element.With EPON (Passive Optical Network abbreviates PON as) is example, the EPON of general medium-scale, and, the data of optical line terminal (Optical Line Terminal abbreviates OLT as) network element just can reach more than 1,000.In order to guarantee the accuracy of resource data; Mainly be through the regular implementation strategy of source synchronous is set on network management system in the prior art; Regularly obtain all resource distribution data through this policy network guard system, thereby guarantee the consistency of the resource information of network management system and network element device from the synchronous network element of all network elements of the whole network.Yet,, also expended NM server and a large amount of physical resource of network element device simultaneously because the efficient of the therefore this source synchronous that network element is the employing snmp protocol to be managed is lower.
To above-mentioned problem, effective solution is not proposed as yet at present.
Summary of the invention
The invention provides a kind of resource synchronization method and device; To solve at least in the prior art since the mode that adopts webmaster to obtain all the resource distribution data on the network element carry out with network element synchronously, and the technical problem of the wasting of resources of NM server that causes and network element device.
According to an aspect of the present invention, a kind of resource synchronization method is provided, has comprised: webmaster receives the positional information of the resource that changes in the network element device; Webmaster upgrades the corresponding resource of the resource with changing of this locality storage according to positional information synchronously.
Preferably, webmaster carries out synchronous updating steps according to positional information to the corresponding resource of the resource with changing of this locality storage and comprises: webmaster judges on the position that positional information is indicated in network element device whether have the resource that changes; If there is not the resource that changes, then webmaster is deleted the configuration parameter of the corresponding resource of local resource with changing of storing.
Preferably; After on the position of webmaster judgement positional information indication in network element device, whether having the resource that changes; Resource synchronization method also comprises: if there is the resource that changes, then webmaster upgrades the configuration parameter of the corresponding resource of the resource with changing of this locality storage synchronously.
Preferably, webmaster carries out synchronous updating steps to the configuration parameter of the corresponding resource of the resource with changing of this locality storage and comprises: webmaster judges whether the configuration parameter of the resource that local existence and the resource that changes are corresponding; If there is the configuration parameter of the resource corresponding with the resource that changes, the configuration parameter of the resource that then webmaster will be corresponding with the resource that changes is updated to the configuration parameter of the resource that changes; If there is not the configuration parameter of the resource corresponding with the resource that changes, then webmaster is stored the configuration parameter of the resource that changes in this locality.
Preferably, before webmaster received the positional information of the resource that changes in the network element device, resource synchronization method also comprised: network element device detects whether there is the resource that changes; If there is the resource that changes, then network element device obtains the positional information of the resource that changes; Network element device sends to webmaster with the positional information of the resource that changes.
Preferably, the network element device step of obtaining the positional information of the resource that changes comprises: network element device with the positional information of all resources that change according to the sequence of event that changes in updating form; Network element device comprises the step that the positional information of the resource that changes sends to webmaster: network element device is configured the updating form that will carry positional information when upgrading at needs and sends to webmaster.
According to a further aspect in the invention, a kind of source synchronous device is provided, has been arranged in webmaster, having comprised: receiving element is used for receiving the positional information of the resource that network element device changes; Lock unit is used for according to positional information the corresponding resource of the resource with changing of this locality storage being upgraded synchronously.
Preferably, lock unit comprises: judge module is used for judging on the position of network element device positional information indication whether have the resource that changes; Removing module is used for when not having the resource that changes, the configuration parameter of the resource that the resource with changing of the local storage of deletion is corresponding.
Preferably, lock unit also comprises: update module, be used for when the resource that existence changes, and the configuration parameter of the corresponding resource of the resource with changing of this locality storage is upgraded synchronously.
Preferably, update module comprises: judge submodule, be used to judge whether the local configuration parameter that has the resource corresponding with the resource that changes; Updating submodule is used for when judging the configuration parameter that has the resource corresponding with the resource that changes, and the configuration parameter of resource that will be corresponding with the resource that changes is updated to the configuration parameter of the resource that changes; Sub module stored is used for when judging the configuration parameter that does not have the resource corresponding with the resource that changes, the configuration parameter of the resource that storage changes in this locality.
According to another aspect of the invention, another kind of source synchronous device is provided, has been arranged in network element device, having comprised: detecting unit is used to detect whether have a resource that changes; Acquiring unit is used for when the resource that existence changes, obtaining the positional information of the resource that changes; Transmitting element is used for the positional information of the resource that changes is sent to webmaster.
Preferably, acquiring unit comprises: acquisition module, be used for positional information with all resources that change according to the sequence of event that changes to updating form; Transmitting element comprises: sending module is used for being configured the updating form that will carry positional information when upgrading at needs and sends to webmaster.
In the present invention, webmaster obtains the renewal configuration information of the resource that changes according to the positional information of the resource that changes that network element device sends to this network element device, thereby has realized the source synchronous of increment difference mode.Because only need carry out the synchronous renewal of resource to the resource that changes; Thereby solved in the prior art since the mode that adopts webmaster to obtain all resource distribution data on the network element carry out with network element synchronously; And the technical problem of the wasting of resources of NM server that causes and network element device; Improve the efficient of source synchronous, reduced the consumption of physical resource.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the structural representation according to the NMS of correlation technique;
Fig. 2 is a kind of preferred structure block diagram according to the source synchronous device that is arranged in webmaster of the embodiment of the invention;
Fig. 3 is a kind of preferred structure block diagram according to the source synchronous device that is arranged in network element device of the embodiment of the invention;
Fig. 4 is a kind of preferred structure block diagram according to the lock unit of the embodiment of the invention;
Fig. 5 is the another kind of preferred structure block diagram according to the lock unit of the embodiment of the invention;
Fig. 6 is a kind of preferred structure block diagram according to the update module of the embodiment of the invention;
Fig. 7 is a kind of preferred structure block diagram according to the acquiring unit of the embodiment of the invention;
Fig. 8 is a kind of preferred flow charts according to the resource synchronization method of the embodiment of the invention;
Fig. 9 is the another kind of preferred flow charts according to the resource synchronization method of the embodiment of the invention.
Embodiment
Hereinafter will and combine embodiment to specify the present invention with reference to accompanying drawing.Need to prove that under the situation of not conflicting, embodiment and the characteristic among the embodiment among the application can make up each other.
Embodiment 1
The invention provides a kind of preferred source synchronous system; This source synchronous system comprises: the source synchronous device and the source synchronous device that is arranged in webmaster that are arranged in network element device; Wherein, The source synchronous device that is arranged in webmaster is as shown in Figure 2, comprising: receiving element 202 is used for receiving the positional information of the resource that network element device changes; Lock unit 204 is used for according to positional information the corresponding resource of the resource with changing of this locality storage being upgraded synchronously.
The source synchronous device that is arranged in network element device is as shown in Figure 3, comprising: detecting unit 302 is used to detect whether have a resource that changes; Acquiring unit 304 is used for when the resource that existence changes, obtaining the positional information of the resource that changes; Transmitting element 306 is used for the positional information of the resource that changes is sent to webmaster.
In above-mentioned preferred implementation, webmaster obtains the renewal configuration information of the resource that changes according to the positional information of the resource that changes that network element device sends to this network element device, thereby has realized the source synchronous of increment difference mode.Because only need carry out the synchronous renewal of resource to the resource that changes; Thereby solved in the prior art since the mode that adopts webmaster to obtain all resource distribution data on the network element carry out with network element synchronously; And the technical problem of the wasting of resources of NM server that causes and network element device; Improve the efficient of source synchronous, reduced the consumption of physical resource.Further; In above-mentioned preferred implementation, webmaster is checked resource, and the resource that changes is write down and obtain its corresponding position information; Thereby guaranteed webmaster can realize through the mode of increment difference resource synchronously; Improved the efficient of source synchronous, network element device only need write down the positional information of the resource that changes and need not write down the data of whole variations, thereby reduce the burden of network element device.
In a preferred embodiment of the invention, as shown in Figure 4, lock unit 204 comprises: judge module 402 is used for judging on the position of network element device positional information indication whether have the resource that changes; Removing module 404 is used for when not having the resource that changes, the configuration parameter of the resource that the resource with changing of the local storage of deletion is corresponding.In above-mentioned preferred implementation; At webmaster when to network element device, inquiring about corresponding resource updates information according to positional information; If the corresponding resource of this positional information not on the discovery network element device; Then show and deleted this resource on the network element device, thereby webmaster is also deleted this configuration information of resource of self, realized the synchronous of resource information.
In a preferred embodiment of the invention,, as shown in Figure 5 based on device shown in Figure 4; Lock unit 204; Also comprise: update module 502, be used for when the resource that existence changes, the configuration parameter of the corresponding resource of the resource with changing of this locality storage is upgraded synchronously.In above-mentioned preferred implementation, when detecting the resource that also has the address information correspondence on the network element device, webmaster carries out synchronous renewal to this configuration information of resource of this this locality.
In a preferred embodiment of the invention, as shown in Figure 6, update module 502 comprises: judge submodule 602, be used to judge whether the local configuration parameter that has the resource corresponding with the resource that changes; Updating submodule 604 is used for when judging the configuration parameter that has the resource corresponding with the resource that changes, and the configuration parameter of resource that will be corresponding with the resource that changes is updated to the configuration parameter of the resource that changes; Sub module stored 606 is used for when judging the configuration parameter that does not have the resource corresponding with the resource that changes, the configuration parameter of the resource that storage changes in this locality.In above-mentioned preferred implementation; When detecting under the situation that has the address information corresponding resource information on the network element device; Webmaster checks local whether corresponding resource is arranged, if having then utilize the resource allocation information in the network element device to substitute the local configuration information of resource of giving, if do not exist; Then webmaster in this locality again opening space preserve the resource that increases newly with and configuration information, thereby guaranteed the synchronous renewal of resource.
In a preferred embodiment of the invention, as shown in Figure 7 based on device shown in Figure 3, acquiring unit 304 comprises: acquisition module 702, be used for positional information with all resources that change according to the sequence of event that changes to updating form; Transmitting element 306 comprises: sending module 704 is used for being configured the updating form that will carry positional information when upgrading at needs and sends to webmaster.In above-mentioned preferred implementation; Network element device with positional information according to the sequence of event that changes in updating form, updating form is issued webmaster, help positional information and corresponding temporal information that webmaster obtains resource updates; And be easy to realize, reduced operation complexity.
Embodiment 2
Based on the preferred source synchronous device shown in Fig. 1-7, the present invention also provides a kind of preferred resource synchronization method, and is as shown in Figure 8, and these method concrete steps comprise:
S802: webmaster receives the positional information of the resource that changes in the network element device;
S804: webmaster upgrades the corresponding resource of the resource with changing of this locality storage according to positional information synchronously.
In above-mentioned preferred implementation, webmaster obtains the renewal configuration information of the resource that changes according to the positional information of the resource that changes that network element device sends to this network element device, thereby has realized the source synchronous of increment difference mode.Because only need carry out the synchronous renewal of resource to the resource that changes; Thereby solved in the prior art since the mode that adopts webmaster to obtain all resource distribution data on the network element carry out with network element synchronously; And the technical problem of the wasting of resources of NM server that causes and network element device; Improve the efficient of source synchronous, reduced the consumption of physical resource.
Resource waste in order to reduce to source synchronous; The present invention improves from the step that network element device obtains the renewal configuration information of the resource that changes according to positional information webmaster; In a preferred embodiment of the invention, webmaster carries out synchronous updating steps according to positional information to the corresponding resource of the resource with changing of this locality storage and comprises: webmaster judges on the position that positional information is indicated in network element device whether have the resource that changes; If there is not the resource that changes, then webmaster is deleted the configuration parameter of the corresponding resource of local resource with changing of storing.If there is the resource that changes, then webmaster upgrades the configuration parameter of the corresponding resource of the resource with changing of this locality storage synchronously.In above-mentioned preferred implementation; At webmaster when to network element device, inquiring about corresponding resource updates information according to positional information; If the corresponding resource of this positional information not on the discovery network element device; Then show and deleted this resource on the network element device, thereby webmaster is also deleted this configuration information of resource of self, realized the synchronous of resource information.When detecting the resource that also has the address information correspondence on the network element device, webmaster carries out synchronous renewal to this configuration information of resource of this this locality.
In a preferred embodiment of the invention, webmaster carries out synchronous updating steps to the configuration parameter of the corresponding resource of the resource with changing of this locality storage and comprises: webmaster judges whether the configuration parameter of the resource that local existence and the resource that changes are corresponding; If there is the configuration parameter of the resource corresponding with the resource that changes, the configuration parameter of the resource that then webmaster will be corresponding with the resource that changes is updated to the configuration parameter of the resource that changes; If there is not the configuration parameter of the resource corresponding with the resource that changes, then webmaster is stored the configuration parameter of the resource that changes in this locality.In above-mentioned preferred implementation; When detecting under the situation that has the address information corresponding resource information on the network element device; Webmaster checks local whether corresponding resource is arranged, if having then utilize the resource allocation information in the network element device to substitute the local configuration information of resource of giving, if do not exist; Then webmaster in this locality again opening space preserve the resource that increases newly with and configuration information, thereby guaranteed the synchronous renewal of resource.
The position of the resource that how to obtain to change for webmaster, the present invention also provides preferred implementation, comprising: network element device detects whether there is the resource that changes; If there is the resource that changes, then network element device obtains the positional information of the resource that changes; Network element device sends to webmaster with the positional information of the resource that changes.In above-mentioned preferred implementation; Webmaster is checked resource; The resource that changes is write down and obtains its corresponding position information, thus guaranteed webmaster can realize through the mode of increment difference resource synchronously, improved the efficient of source synchronous; Network element device only need write down the positional information of the resource that changes and need not write down the data of whole variations, thereby reduce the burden of network element device.
In a preferred embodiment of the invention, determine whether to be configured renewal through following steps: network element device detects whether arrive reporting constantly of config update, reports constantly if arrive, and then confirms as and need be configured renewal; Perhaps network element device detects and whether receives the config update request message that webmaster sends, if receive the config update request message, then confirms as and need be configured renewal.
The positional information of the resource that changes for better record, in a preferred embodiment of the invention, network element device with the positional information of all resources that change according to the sequence of event that changes in updating form; Network element device is configured the updating form that will carry positional information when upgrading at needs and sends to webmaster.In above-mentioned preferred implementation; Network element device with positional information according to the sequence of event that changes in updating form, updating form is issued webmaster, help positional information and corresponding temporal information that webmaster obtains resource updates; And be easy to realize, reduced operation complexity.
Embodiment 3
The invention provides a kind of preferred embodiment and come further the present invention to be made an explanation, but it should be noted that the preferred embodiment just limits the present invention in order better to describe the present invention, not constitute improperly.
In this preferred embodiment, provide a kind of and carried out between network management system and the network element device with the incremental mode method and apparatus of isochronous resources information and state quickly and efficiently based on snmp protocol.In order to achieve the above object, the technical scheme of the present invention's employing is following:
1) when resource changes; Network element device is noted the more specific location information of resource; Rather than write down all variations, and this method is very simple for the realization of network element device, and network element device is tentatively resolved order in the porch of resource distribution operational order; The configuration object of recording configuration order, the i.e. positional information of resource.Preferably, can on original command process flow process, increase positional information and the record position information that the resource updates proxy module is used to be responsible for parsing resource with network element device.Preferably; Can between network element device and network management system, define the positional information representation model of the synchronous resource of various needs; When certain resource distribution or state change; Network element device can write down the positional information of the resource that changes, and webmaster can parse the particular location of the resource that changes according to positional information, thereby realizes that needs are carried out synchronous resource to carry out synchronously.
2) network element device upgrades all resource distributions according in sequence of event to a updating form, when needs are configured renewal, initiatively send the SNMP Trap that requires to Update Information and gives network management system, requires network management system to carry out the synchronization of data renewal.
3) when the network management system discovery need be carried out source synchronous; Adopt increment difference mode to carry out synchronously; Here the so-called incremental difference similarities and differences step is meant that network management system only handles the resource data that takes place to upgrade, and need not handle all resources of network element.
In this preferred embodiment, the effect of each module mainly is:
Network element device is treated isochronous resources location storage district: in the Nonvolatile memory devices of network element device, preserve and wait for the synchronous resource location information record of network management system; Same resource location information has only a record, and resource location information externally provides the external interface of increase, deletion and inquiry.Preferably, externally module or device call when increasing interface increase resource location information record, and system judges automatically whether current storage has had identical record, if identical record is arranged, then need not preserve this and record in the memory block; Because network element treats that isochronous resources location storage district can not unconfined preservation resource location information; Therefore; Preferred technology realizes it being when needing synchronous record number greater than certain specific value; When the increase record interface is invoked, just no longer increase this record again, and how many network management systems can judging whether and need carry out the synchronous of all resource datas to network element device through the entries number.
Network element device resource updates proxy module: when all resource distribution increases, deletion and retouching operation to equipment; Adopt the configuration operation of local mode or adopt long-range webmaster to be configured operation no matter be; After receiving, network element device all need give the resource updates proxy module with the configuration order forwards; The resource updates proxy module is resolved the resource object in the configuration order, and the resource object positional information is increased to the location storage district that network element is treated isochronous resources.Consider the resource updates operation of initiating through webmaster; After network element device returns to the network management configuration success; Webmaster can upgrade resource data automatically, and said module need not to write down this positional information, in a preferred embodiment of the invention; Whether the resource updates proxy module can dispose need all note all configuration changes, and IP address that the resource updates proxy module can be initiated according to order or protocol type judge whether that needs note configuration change.
Network element device resource updates trigger module: regularly read the record number of treating isochronous resources location storage district; When finding record is arranged; Send the synchronous message of request through SNMP Trap and give network management system; Preferably, can the record number also be issued network management system as accessory information in Trap message.
Network management system Trap receiver module: be responsible for receiving the Trap message of all network element devices transmissions of being managed, judge if source synchronous request Trap message is transmitted to network management system resource updates processing module and carries out the source synchronous processing.
Network management system resource updates processing module: after receiving source synchronous message, target network element is carried out source synchronous.
The synchronous flow process of network management system is as shown in Figure 9, may further comprise the steps:
S902: network management system Trap receiver module parses network element IP address information according to reported by network element equipment source synchronous request Trap message, again this IP address information is transmitted to network management system resource updates processing module and carries out the synchronous of resource;
S904: network management system resource updates processing module starts the source synchronous that source synchronous thread task is carried out target network element;
S906: in source synchronous thread task, send SNMP and operate to treating that synchronous network element obtains the record of the positional information of the isochronous resources that remains of treating isochronous resources location storage district on the network element device;
S908: start regular device in the source synchronous thread task; Wait for fixed time T; Here the purpose that begins simultaneous operation that waits for a period of time is to treat synchronous resource location information in order to let this network management system other network management system in addition have time enough to get access to, and this method is optional technology, and iff connects a network management system; Here then do not need the stand-by period, directly carry out following step.Preferably, in order to let a plurality of webmasters not obtain data at the same time, the value of T can be one less than 30 seconds random value.
S910: judge all quantity that need the position of synchronous resource to write down of obtaining from network element device in the source synchronous thread task,, carry out S912, otherwise then carry out S914. if greater than specific quantity N
S912: then use the method for traditional source synchronous to carry out source synchronous, accomplish synchronously the back and delete all synchronous resource location record, process ends treated of storing on the network element.
S914: from resource location information record, obtain next bar resource location A, use SNMP to operate and obtain the corresponding resource distribution data message of resource location A on the network element.
S916: judge, but the corresponding data record of resource A is arranged on the webmaster according to SNMP operation return results, then carry out S918,, then transfer to carry out S920 if successfully get access to the data of resource A on the network element if the resource A that reads is sky.
S918: the expression resource is deleted on network element device, also deletes the data of resource A on the network management data storehouse, then carries out S926.
S920: judge on the webmaster whether relevant resource information has been arranged,, then carry out S922, otherwise then carry out S924 if having.
S922: upgrade the information of the resource A in the network management system, then carry out S926.
S924: increase new resource data A and record in the network management system.
S926: send SNMP and operate, treat the record of the resource A that isochronous resources location storage district is corresponding on the deletion network element device to network element device;
S928: judge whether all resource records to be accomplished synchronously, if process ends then,, then then carry out S914, all accomplish synchronously up to all resource locations if not.
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for explanation and explains the present invention, and be not used in qualification the present invention; Preferred embodiment is based on the instance of the source synchronous of PON equipment.
Preferably, at first define the information expressing method of resource, PON equipment needs synchronous resource to comprise global resource (the various bandwidth template configuration of ONU; Overall situation VLAN configuration etc.), veneer resource, port resource (comprising the PON mouth); (the ONU resource comprises the version of ONU to the ONU resource; Title, the line configuring under the ONU, the business configuration of ONU and the UNI mouth configuration under the ONU etc.).Agreement is used " Global " expression global resource; Use " frame number-veneer number " expression veneer resource, such as the resource modifying of " 2-3 " expression to No. 3 veneers under No. 2 machine frames; Use " frame number-veneer number-port numbers " expression PON mouth resource; Use " frame number-veneer number-port numbers-ONU number " expression ONU resource, need be such as " 2-3-4-5 " expression to No. 2 machine frames, No. 3 PON plates, the resource distribution under No. 4 PON mouths, No. 5 ONU is carried out synchronously.
Next defines various SNMP interface operable mutual between network management system and the network element device:
1) the Trap message MIB interface of reported by network element equipment " request resource is synchronous ";
2) network management system is obtained and is remained synchronous resource location information MIB interface on the network element device;
3) treat isochronous resources location storage area resource positional information record MIB interface on the network management system deletion network element device;
4) the SNMP MIB interface of the synchronous global resource of network management system, veneer resource, port resource, ONU resource; If webmaster and network element have defined (the Managemeng Information Base of the MIB here in traditional source synchronous; Abbreviate MIB as) interface, need not here to re-define again.
Definition treats that isochronous resources memory block, definition memory are a formation on the network element device, and each element in the formation is the data of a character string type, and the formation maximum length is 255, when queue length greater than 255 the time, no longer insert record.
Increase network element device resource updates proxy module on the network element device; All are at first received by the network element agency through the operational order that telnet or the long-range local interface that perhaps uses network element device to provide to the operational order of network element resources of SNMP mode carry out, and then issue other each module.
Practical implementation flow process and step on the network element device are following:
After network element device receives the resource modifying operation; The resource object of resource updates proxy module parse operation treats in the formation of isochronous resources memory block that with this resource object insertion judging whether in the time of insertion has had identical target resource object in the formation; If have, then do not carry out any operation.
Whether network element device starts source synchronous inspection timer, whenever once have resource need carry out synchronously at a distance from inspection in 10 minutes, if there is resource to need synchronously, then sends " request resource is synchronous " Trap message and gives NM server, notifies it to carry out source synchronous.
When network element device receives NM server deletion when treating the order of isochronous resources record, with resource record deletion corresponding in the tabulation.
Network management system is upgraded the handling process of its Trap receiver module; In Trap interface handling process, increase the step of " request resource is synchronous " Trap message of resolving network element device; After the Trap message of " request resource is synchronous " that receive reported by network elements, the IP address of network element is sent to network management system resource updates processing module carry out concrete network element resources Synchronous Processing.Network management system increases network management system resource updates processing module; In this module, at first start a main thread; Be responsible for receiving the source synchronous request message that the Trap module sends, and the source synchronous request of all network elements is managed, distribute thread to carry out the synchronous of concrete network element resources; Create the thread pool of 100 threads simultaneously, be used to carry out the source synchronous of each network element.Network management system generate at random one greater than 10 less than 30 random number Timer0 as the delay time parameter.
The step of carrying out source synchronous based on above-mentioned network management system comprises:
S1, Trap receiver module receive network element device " source synchronous request ", parse the IP address of Trap source network element and send message and carry out the source synchronous operation for the resource updates processing module;
S2, the resource updates processing module receives the source synchronous request that the Trap receiver module is sent, start one independently thread carry out the source synchronous of objectives network element;
S3 sends SNMP GetNext operation and obtains the isochronous resources positional information that remains that target network element equipment is treated isochronous resources location storage district;
S4: in the concrete thread of source synchronous, start a regular device, wait for the Timer0 time, timer time is to just carrying out following steps;
S5: the record quantity of the resource that the needs that judgement is obtained are synchronous, if more than or equal to 255, then use all synchronous method of traditional all resources to carry out source synchronous, process ends, otherwise execution in step S6;
S6: according to the resource location information data of in S3, obtaining; Particular type according to resource; Use SNMP to operate and obtain corresponding resource distribution details on the network element; If being " Global ", resource location information then obtains the global resource information on the network element device, if veneer then obtains the concrete veneer resource information on the network element.Data according to having stored on the result of the data of obtaining from network element and the webmaster are compared:
1) if successfully get access to the detailed data of target resource on the network element, then judges on the webmaster whether related resource information has been arranged,, record in the network management system otherwise increase new resource data if having then upgrade the target resource information in the network management system.
2) if the target resource that reads is for there being the data record of this target resource on the sky webmaster, the expression resource has been deleted at network element device, also deletes the target resource data on the network management data storehouse.
S7: send SNMP Set and operate, treat the resource location record that isochronous resources location storage district is corresponding on the deletion network element device to network element device.
From above description, can find out that the present invention has realized following technique effect:
The present invention is employed in the method for transmitting increment and difference resource location information between network management system and the network element device; Make that network management system can be efficiently and accomplish timely the increment resource of network element device is carried out local synchronization; This method has effectively overcome the inefficient problem of traditional source synchronous, and the present invention is network management system can in time in time report the change in resources notice to upper layer NMS a fundamental sum prerequisite; The method that the present invention simultaneously adopts is to utilize between webmaster and the network element existing mechanics of communication to carry out source synchronous fully; Need not between network management system and the network element device increases the high efficiency synchronous that negative complicated protocol development just can be accomplished resource, and the method and apparatus that the present invention adopts is easily in network element device and network management system deploy and enforcement.
Obviously, it is apparent to those skilled in the art that above-mentioned each module of the present invention or each step can realize with the general calculation device; They can concentrate on the single calculation element; Perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element; Thereby; Can they be stored in the storage device and carry out, and in some cases, can carry out step shown or that describe with the order that is different from here by calculation element; Perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. a resource synchronization method is characterized in that, comprising:
Webmaster receives the positional information of the resource that changes in the network element device;
Said webmaster is according to said positional information upgrading with the corresponding resource of the said resource that changes this locality storage synchronously.
2. method according to claim 1 is characterized in that, said webmaster carries out synchronous updating steps according to said positional information to the resource corresponding with the said resource that changes of this locality storage and comprises:
Said webmaster judges on the position of the indication of positional information described in the said network element device whether have the said resource that changes;
If there is not the said resource that changes, the configuration parameter of the resource corresponding of the local storage of then said webmaster deletion with the said resource that changes.
3. method according to claim 2 is characterized in that, after said webmaster judges on the position of the indication of positional information described in the said network element device, whether have the said resource that changes, also comprises:
If there is the said resource that changes, then said webmaster upgrades the configuration parameter of the resource corresponding with the said resource that changes of this locality storage synchronously.
4. method according to claim 3 is characterized in that, said webmaster carries out synchronous updating steps to the configuration parameter of the resource corresponding with the said resource that changes of this locality storage and comprises:
Said webmaster judges whether the local configuration parameter that has the resource corresponding with the said resource that changes;
If there is the configuration parameter of the resource corresponding with the said resource that changes, the configuration parameter of the resource that then said webmaster will be corresponding with the said resource that changes is updated to the configuration parameter of the said resource that changes;
If there is not the configuration parameter of the resource corresponding with the said resource that changes, the configuration parameter of then said webmaster said resource that changes of storage in this locality.
5. method according to claim 1 is characterized in that, before webmaster receives the positional information of the resource that changes in the network element device, also comprises:
Said network element device detects whether there is the resource that changes;
If there is the resource that changes, then said network element device obtains the positional information of the said resource that changes;
Said network element device sends to said webmaster with the positional information of the said resource that changes.
6. method according to claim 5 is characterized in that,
The step that said network element device obtains the positional information of the said resource that changes comprises:
Said network element device with the positional information of all resources that change according to the sequence of event that changes in updating form;
Said network element device comprises the step that the positional information of the said resource that changes sends to said webmaster:
Said network element device sends to said webmaster with the said updating form that carries positional information when needs are configured renewal.
7. a source synchronous device is characterized in that, is arranged in webmaster, comprising:
Receiving element is used for receiving the positional information of the resource that network element device changes;
Lock unit is used for according to said positional information upgrading synchronously with the corresponding resource of the said resource that changes this locality storage.
8. device according to claim 7 is characterized in that, said lock unit comprises:
Judge module is used to judge on the position of the indication of positional information described in the said network element device whether have the said resource that changes;
Removing module is used for when not having the said resource that changes, the configuration parameter of the resource corresponding with the said resource that changes of the local storage of deletion.
9. device according to claim 8 is characterized in that, said lock unit also comprises:
Update module is used for when having the said resource that changes, and the configuration parameter of the resource corresponding with the said resource that changes of this locality storage is upgraded synchronously.
10. device according to claim 9 is characterized in that, said update module comprises:
Judge submodule, be used to judge whether the local configuration parameter that has the resource corresponding with the said resource that changes;
Updating submodule is used for when judging the configuration parameter that has the resource corresponding with the said resource that changes, and the configuration parameter of resource that will be corresponding with the said resource that changes is updated to the configuration parameter of the said resource that changes;
Sub module stored is used for when judging the configuration parameter that does not have the resource corresponding with the said resource that changes, the configuration parameter of the said resource that changes of storage in this locality.
11. a source synchronous device is characterized in that, is arranged in network element device, comprising:
Detecting unit is used to detect whether have a resource that changes;
Acquiring unit is used for when the resource that existence changes, obtaining the positional information of the said resource that changes;
Transmitting element is used for the positional information of the said resource that changes is sent to webmaster.
12. device according to claim 11 is characterized in that,
Said acquiring unit comprises:
Acquisition module, be used for positional information with all resources that change according to the sequence of event that changes to updating form;
Said transmitting element comprises:
Sending module is used for when needs are configured renewal, the said updating form that carries positional information being sent to said webmaster.
CN2011104584357A 2011-12-31 2011-12-31 Resource synchronization method and device Pending CN102447582A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2011104584357A CN102447582A (en) 2011-12-31 2011-12-31 Resource synchronization method and device
PCT/CN2012/087532 WO2013097719A1 (en) 2011-12-31 2012-12-26 Method and apparatus for resources synchronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104584357A CN102447582A (en) 2011-12-31 2011-12-31 Resource synchronization method and device

Publications (1)

Publication Number Publication Date
CN102447582A true CN102447582A (en) 2012-05-09

Family

ID=46009689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104584357A Pending CN102447582A (en) 2011-12-31 2011-12-31 Resource synchronization method and device

Country Status (2)

Country Link
CN (1) CN102447582A (en)
WO (1) WO2013097719A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013097719A1 (en) * 2011-12-31 2013-07-04 中兴通讯股份有限公司 Method and apparatus for resources synchronization
CN103874104A (en) * 2012-12-10 2014-06-18 北京信威通信技术股份有限公司 Method enabling network manager to be compatible across equipment functions and versions adaptively
CN105515707A (en) * 2015-11-25 2016-04-20 上海斐讯数据通信技术有限公司 Synchronization method and system of optical network unit information in passive optical network
CN105939210A (en) * 2015-12-30 2016-09-14 杭州迪普科技有限公司 Method and device for managing managed equipment
CN107197042A (en) * 2017-07-04 2017-09-22 郑州云海信息技术有限公司 A kind of resource synchronization method and device
CN111629018A (en) * 2019-02-28 2020-09-04 Oppo广东移动通信有限公司 Resource synchronization method, device, equipment and storage medium
CN111726379A (en) * 2019-03-20 2020-09-29 华为技术有限公司 Communication method and device
CN112650576A (en) * 2021-01-22 2021-04-13 百度在线网络技术(北京)有限公司 Resource scheduling method, device, equipment, storage medium and computer program product
CN113473270A (en) * 2021-05-28 2021-10-01 中盈优创资讯科技有限公司 Method and device for automatically detecting and cleaning network equipment garbage configuration
WO2021233322A1 (en) * 2020-05-19 2021-11-25 中兴通讯股份有限公司 Synchronization method, apparatus and device for recording data, and storage medium
CN114710500A (en) * 2022-03-31 2022-07-05 中国建设银行股份有限公司 Data management method and device, electronic equipment and computer storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115269207B (en) * 2022-09-29 2022-12-23 浙江省公众信息产业有限公司无线运营分公司 Method and system for allocating resources to vCPE network element

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1482767A (en) * 2002-09-13 2004-03-17 华为技术有限公司 Method for realtime synchronisation of net element and telecommunication system
CN101340316A (en) * 2008-08-22 2009-01-07 中兴通讯股份有限公司 Method and apparatus for uploading network metadata to network management database
CN101447895A (en) * 2009-01-12 2009-06-03 华为技术有限公司 Collocation method for synchronizing network management and network element and device thereof
CN101588269A (en) * 2009-06-17 2009-11-25 中兴通讯股份有限公司 Method and system for automatically uploading configuration data of device to gateway
CN102104857A (en) * 2009-12-16 2011-06-22 华为技术有限公司 Charging method and communication system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447582A (en) * 2011-12-31 2012-05-09 中兴通讯股份有限公司 Resource synchronization method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1482767A (en) * 2002-09-13 2004-03-17 华为技术有限公司 Method for realtime synchronisation of net element and telecommunication system
CN101340316A (en) * 2008-08-22 2009-01-07 中兴通讯股份有限公司 Method and apparatus for uploading network metadata to network management database
CN101447895A (en) * 2009-01-12 2009-06-03 华为技术有限公司 Collocation method for synchronizing network management and network element and device thereof
WO2010078748A1 (en) * 2009-01-12 2010-07-15 华为技术有限公司 Method and device for synchronizing the configurations of the network management and the network element
CN101588269A (en) * 2009-06-17 2009-11-25 中兴通讯股份有限公司 Method and system for automatically uploading configuration data of device to gateway
CN102104857A (en) * 2009-12-16 2011-06-22 华为技术有限公司 Charging method and communication system

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013097719A1 (en) * 2011-12-31 2013-07-04 中兴通讯股份有限公司 Method and apparatus for resources synchronization
CN103874104A (en) * 2012-12-10 2014-06-18 北京信威通信技术股份有限公司 Method enabling network manager to be compatible across equipment functions and versions adaptively
CN103874104B (en) * 2012-12-10 2017-06-30 北京信威通信技术股份有限公司 A kind of method of webmaster self adaptation compatible equipment function and version
CN105515707A (en) * 2015-11-25 2016-04-20 上海斐讯数据通信技术有限公司 Synchronization method and system of optical network unit information in passive optical network
CN105515707B (en) * 2015-11-25 2018-07-06 上海斐讯数据通信技术有限公司 A kind of synchronous method and system of optical network unit in passive optical network information
CN105939210B (en) * 2015-12-30 2019-03-15 杭州迪普科技股份有限公司 Manage the method and device of managed device
CN105939210A (en) * 2015-12-30 2016-09-14 杭州迪普科技有限公司 Method and device for managing managed equipment
CN107197042B (en) * 2017-07-04 2020-02-14 郑州云海信息技术有限公司 Resource synchronization method and device
CN107197042A (en) * 2017-07-04 2017-09-22 郑州云海信息技术有限公司 A kind of resource synchronization method and device
CN111629018A (en) * 2019-02-28 2020-09-04 Oppo广东移动通信有限公司 Resource synchronization method, device, equipment and storage medium
CN111629018B (en) * 2019-02-28 2022-07-08 Oppo广东移动通信有限公司 Resource synchronization method, device, equipment and storage medium
CN111726379A (en) * 2019-03-20 2020-09-29 华为技术有限公司 Communication method and device
CN111726379B (en) * 2019-03-20 2021-11-19 华为技术有限公司 Communication method and device
US11963034B2 (en) 2019-03-20 2024-04-16 Huawei Technologies Co., Ltd. Communication method and apparatus
WO2021233322A1 (en) * 2020-05-19 2021-11-25 中兴通讯股份有限公司 Synchronization method, apparatus and device for recording data, and storage medium
CN112650576A (en) * 2021-01-22 2021-04-13 百度在线网络技术(北京)有限公司 Resource scheduling method, device, equipment, storage medium and computer program product
CN112650576B (en) * 2021-01-22 2023-12-29 百度在线网络技术(北京)有限公司 Resource scheduling method, device, equipment, storage medium and computer program product
CN113473270A (en) * 2021-05-28 2021-10-01 中盈优创资讯科技有限公司 Method and device for automatically detecting and cleaning network equipment garbage configuration
CN114710500A (en) * 2022-03-31 2022-07-05 中国建设银行股份有限公司 Data management method and device, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
WO2013097719A1 (en) 2013-07-04

Similar Documents

Publication Publication Date Title
CN102447582A (en) Resource synchronization method and device
CN101414925B (en) Method, system and apparatus for configuring optical network terminal
EP2106064B1 (en) Method, device and system of distributing service
CN100407648C (en) Shared resources in a multi manager environment
CN108259215B (en) Equipment management method and device
CN101595689B (en) Change of subscriber information in a multi-chassis network access environment
CN101447895A (en) Collocation method for synchronizing network management and network element and device thereof
CN102377679B (en) Method for realizing link discovery and management in FTTX access system
US8059558B2 (en) Configuration preprocessor language
US10505637B2 (en) Service processing method and apparatus and optical line terminal
CN100479367C (en) Program arranging method and system based on distributing network
CN101540700A (en) Configuration linkage method, system, terminal and network equipment management server
CN102480321A (en) Method and system for managing relevant parameters of home gateway in GPON (Gigabit Passive Optical Network) system
CN101242302A (en) Data synchronization method, device and system
WO2015117296A1 (en) Optical network system and management method
WO2019196844A1 (en) Ason service model implementation method, apparatus and device, and storage medium
CN101227236A (en) Method for automatic synchronization of optical network unit management data in Ethernet passive optical network
US20150172125A1 (en) Self-configuring transport network
CN101534155B (en) Method and system for transmitting services
CN103248419A (en) ONU (optical network unit), OLT (optical line terminal), D type PON (passive optical network) protecting system and method
CN104079428A (en) System and method for managing configuration information conflicts
CN107026753B (en) Method and system for distributing and downloading software version in passive optical network
WO2022127535A1 (en) Dynamic message management apparatus and method, and system, device and storage medium
KR100495330B1 (en) System and method for managing and controlling of ethernet passive optical access network
CN101425980A (en) Method and apparatus for assisted managing arbitrary broadcast group in communication network device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120509

WD01 Invention patent application deemed withdrawn after publication