CN103731251A - Rack-mounted equipment card synchronization system and synchronization method thereof - Google Patents

Rack-mounted equipment card synchronization system and synchronization method thereof Download PDF

Info

Publication number
CN103731251A
CN103731251A CN201210388589.8A CN201210388589A CN103731251A CN 103731251 A CN103731251 A CN 103731251A CN 201210388589 A CN201210388589 A CN 201210388589A CN 103731251 A CN103731251 A CN 103731251A
Authority
CN
China
Prior art keywords
synchronous
standby
card
mib
rack
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
CN201210388589.8A
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 CN201210388589.8A priority Critical patent/CN103731251A/en
Publication of CN103731251A publication Critical patent/CN103731251A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a rack-mounted equipment card synchronization system and a synchronization method of the system. The method includes the following steps that first, an MIB of a main synchronization end is set up based on an snmp protocol, and a set-up parameter is generated; second, the set-up parameter is packaged into a parameter message and sent to a standby synchronization end; third, the parameter message is received at the standby synchronization end and unpackaged to obtain the set-up parameter; fourth, based on the snmp protocol, an MIB of the standby synchronization end is set up according to the set-up parameter. The invention further discloses the rack-mounted equipment card synchronization system using the synchronization method. According to the system and method, transmitting of synchronization information between a main control card and a standby control card is simplified in a message mode, a specified protocol does not need to be developed neither at the two ends of the main control card nor the two ends of the standby control card, a large number of function codes need to be added, neither, and therefore the work for setting the synchronization method is reduced, and a large amount of development and debugging work is not needed any more.

Description

Rack-mount unit card synchro system and synchronous method thereof
Technical field
The present invention relates to a kind of rack-mount unit card synchro system and synchronous method thereof.
Background technology
Rack-mount unit is all comprised of polylith plug-in card, wherein generally comprises main control card, standby control card, and miscellaneous service card.Main control card is the interface card that user controls, all configuration orders are all issued to each service card by main control card, in addition, the configuration on main control card also needs to be synchronized to standby control simultaneously and blocks, to can in time standby control card be switched to main control card use and not affect business when the active/standby control card of generation is switched.So, for rack-mount unit, be configured between main control card and service card and synchronizeing between active/standby control card is a very crucial technical essential.Below unification is called main synchronous end by configuration originating end, and configuration synchronization end is called to standby synchronously end.
Between general card, simultaneous techniques comprises RPC(remote procedure call protocol) realize and Agentx(expansion snmp(Simple Network Management Protocol) agency, be an agreement of expansion snmp Agent Definition) realize etc.
Wherein RPC realizes and realizes function far call flexibly by the mode of RPC remote procedure call, when main synchronous end is configured, directly in the mode of RPC far call, calls standby synchronous end configuration function, thereby realizes configuration synchronization to standby synchronous end.The shortcoming of this mode is: realize complexity, need to consider the realization of various different function parameter types and number of parameters, and at active/standby synchronous end, all need certain adaptation code for every function that participates in far call, so workload is also larger.
The method of synchronization of Agentx agreement is the synchronous realization based on snmp, and under this method of synchronization, all user commands are all based on MIB(management information bank) exploitation, on main control card and service card, safeguard identical MIB storehouse.When main synchronous end issues configuration, configuration order can be converted into the snmp protocol operation for MIB.Active/standby synchronous end is realized the agency mechanism of snmp by Agentx agreement, the snmp operation meeting of main so synchronous end is acted on behalf of and sent to standby synchronous end by Agentx, and standby synchronous end is carried out the snmp operation consistent with main synchronous end, thereby realizes configuration synchronization.The shortcoming of this implementation is: need to develop Agentx agreement, in addition, agency mechanism has also increased the complexity of processing.
Summary of the invention
The technical problem to be solved in the present invention is the complexity in order to overcome the synchronization realizing method of active/standby control card in prior art, need the defect of a large amount of exploitations and debugging work, a kind of rack-mount unit card synchro system and synchronous method thereof are provided, by message mode, simplify the transmission of the synchronizing information between active/standby control card, so simplified synchronous realization between active/standby control card.
The present invention solves above-mentioned technical problem by following technical proposals:
The synchronous method that the invention provides a kind of rack-mount unit card, is characterized in, the synchronous method of described rack-mount unit card comprises the following steps:
S 1, a main synchronous end MIB based on snmp agreement, arrange, and generate a parameters;
S 2, described parameters is encapsulated as to a parameter message, and be sent to a standby synchronous end;
S 3, in described standby synchronous termination, receive described parameter message and unpack and obtain described parameters;
S 4, based on snmp agreement by the MIB of described standby synchronous end according to described parameters setting.
Wherein the present invention will need synchronously holding as master configuration synchronization to other equipment cards in rack-mount unit card, will as standby, synchronously be held by synchronous equipment card.The parameters of the snmp protocol configuration MIB of main synchronous end is sent to described standby synchronous end in the mode of message, the parameters of the snmp agreement of standby synchronous end based in message configures MIB in mode similarly, thereby realizes configuration synchronous of main synchronous end and standby synchronous end.
And the parameter message that obtains of encapsulation can adopt in prior art encapsulation format arbitrarily in the present invention, the present invention does not limit the encapsulation format of described parameter message.
In addition, in rack-mount unit card, the configuration of MIB all completes by snmp agreement at present, so no longer illustrate the flow process arranging between described MIB and snmp agreement herein.
Preferably, described step S 1for:
Based on snmp agreement, lead the MIB of synchronous end according to a configuration-direct setting, and generate described parameters.
Preferably, described step S 1for:
Configuration function snmpSet based on snmp agreement, the MIB of main synchronous end arranges according to described configuration-direct, and generates described parameters.
So wherein said configuration function snmpSet is that in existing snmp agreement, default configuration function is no longer described in detail herein.
Preferably, described step S 4for:
Configuration function snmpSet based on snmp agreement, arranges the described standby synchronous MIB holding according to described parameters.
Preferably, described parameter message comprises described standby synchronous end address information and described parameters.
By standby synchronous address information of holding in described parameter message, can make the synchronous end of winner know the object of transmission when sending, and also make described standby synchronously end confirm whether the message receiving is the message of issuing oneself, so it is accurate to guarantee that message sends.
Preferably, the MIB of the synchronous end of described master and standby synchronous end is identical.
When the synchronous end of described master is identical with the standby synchronous MIB holding, can make the synchronous end of winner identical with the standby synchronous synchronous configuration operation of holding.If when the synchronous end of described master has part identical with the MIB of standby synchronous end, only same section can be realized synchronous configuration operation.
The present invention also provides a kind of rack-mount unit card synchro system, is characterized in, described rack-mount unit card synchro system comprises that one for receiving main control card and a standby control card of configuration-direct;
Wherein said main control card is held as master is synchronous, and described standby control blocked as holding for synchronous, and uses synchronously end and the setting for the synchronous MIB holding of the synchronous described master of synchronous method as above.
Rack-mount unit card synchro system of the present invention to standby control card, is used the configuration synchronization of main control card and not traffic affecting operation thereby can be in time when main control card and standby control card occurring switch will standby control card switch to main control card.
Preferably, described rack-mount unit card synchro system also comprises one or more service cards, and described main control card configures the operating state of each service card.
Described service card is the equipment card of realizing miscellaneous service in rack-mount unit card, and service card described in prior art is all by main control card control, so be no longer described in detail herein.
Meeting on the basis of this area general knowledge, above-mentioned each optimum condition, can combination in any, obtains the preferred embodiments of the invention.
Positive progressive effect of the present invention is:
Rack-mount unit card synchro system of the present invention and synchronous method thereof, by message mode, simplify the transmission of the synchronizing information between active/standby control card, so now active/standby control card two ends all do not need to develop specific agreement, also a large amount of function code need to not increased, thereby reduced the work of setting synchronous method, therefore also no longer needed a large amount of exploitations and debugging work.
Accompanying drawing explanation
Fig. 1 is the structural representation of the rack-mount unit card synchro system of preferred embodiment of the present invention.
Fig. 2 is the flow chart of the synchronous flow process of the active/standby control card of preferred embodiment of the present invention.
Embodiment
Mode below by embodiment further illustrates the present invention, but does not therefore limit the present invention among described scope of embodiments.
The rack-mount unit card synchro system of the present embodiment comprises a main control card 1, standby control card 2 and a service card 3 as shown in Figure 1, and the rack-mount unit card synchro system of the present embodiment can also adopt the service card more with other business functions according to practical business demand in addition.And described main control card 1 can service control card 3 operating state.
Between the main control card 1 of the present embodiment and standby control card 2 is synchronously the synchronous realization based on snmp agreement, all configuration-directs are the MIB exploitation based on main control card 1 and standby control card 2 all, and the main control card 1 of configuration synchronization safeguards that with standby control card 2 identical MIB storehouse and identical snmp agreement realize.Because the MIB based on snmp arranges, be all to call same configuration function snmpSet, so calling configuration function snmpSet place at all this in the present embodiment goes back call function snmpSet_Syn and realizes package message, be that function snmpSet_Syn is packaged into the parameter of function snmpSet a message and sends to the other end after function snmpSet finishes local configuration described in the present embodiment, after the other end is received message, call function snmpSet_Rcv unpacks and calls equally execution function snmpSet by the form of parameter encapsulation, be that described function snmpSet_Rcv realizes the function of separating packet voice, can complete the configuration synchronization between main control card 1 and standby control card 2.The present embodiment flow process is simple, does not need extra exploitation and debugging work, only need to write the parameter package of snmpSet and unpack function snmpSet_Syn and snmpSet_Rcv.
So as shown in Figure 2, the synchronous flow process of rack-mount unit card of the present embodiment is as follows: wherein said main control card 1 is as main synchronous end, and described standby control card 2 is as standby synchronous end.
Step 1, the configuration function snmpSet based on snmp agreement, the MIB of main synchronous end arranges according to described configuration-direct, and generates described parameters.
Step 2, described function snmpSet_Syn is encapsulated as a parameter message by described parameters, and is sent to a standby synchronous end.And described parameter message comprises described standby synchronous address information and the described parameters of holding.
By standby synchronous address information of holding in described parameter message, can make the synchronous end of winner know the object of transmission when sending, and also make described standby synchronously end confirm whether the message receiving is the message of issuing oneself, so it is accurate to guarantee that message sends.
Step 3, receives described parameter message in described standby synchronous termination, and described function snmpSet_Rcv unpacks and obtains described parameters.
Step 4, the configuration function snmpSet based on snmp agreement, arranges the described standby synchronous MIB holding according to described parameters.
Be all final operations of all carrying out corresponding MIB by the configuration function snmpSet of same snmp of configuration order of user of main synchronous end in the present embodiment; Standby synchronous end also provides the realization with the on all four snmpSet of main synchronous end and corresponding each MIB.By snmpSet_Syn function encapsulation parameters and standby synchronous end address information, the call parameters that is about to all snmpSet is packaged into packet by set form in addition, and sends to standby synchronous end; Function snmpSet_Rcv resolves the packet being generated by snmpSet_Syn, resolves and be reduced into the parameters of snmpSet, then by these parameters, calls snmpSet function, realizes this locality of configuration and carries out with synchronous.
Although more than described the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is limited by appended claims.Those skilled in the art is not deviating under the prerequisite of principle of the present invention and essence, can make various changes or modifications to these execution modes, but these changes and modification all fall into protection scope of the present invention.

Claims (8)

1. a synchronous method for rack-mount unit card, is characterized in that, the synchronous method of described rack-mount unit card comprises the following steps:
S 1, a main synchronous end MIB based on snmp agreement, arrange, and generate a parameters;
S 2, described parameters is encapsulated as to a parameter message, and be sent to a standby synchronous end;
S 3, in described standby synchronous termination, receive described parameter message and unpack and obtain described parameters;
S 4, based on snmp agreement by the MIB of described standby synchronous end according to described parameters setting.
2. synchronous method as claimed in claim 1, is characterized in that, described step S 1for:
Based on snmp agreement, lead the MIB of synchronous end according to a configuration-direct setting, and generate described parameters.
3. synchronous method as claimed in claim 2, is characterized in that, described step S 1for:
Configuration function snmpSet based on snmp agreement, the MIB of main synchronous end arranges according to described configuration-direct, and generates described parameters.
4. synchronous method as claimed in claim 3, is characterized in that, described step S 4for:
Configuration function snmpSet based on snmp agreement, arranges the described standby synchronous MIB holding according to described parameters.
5. synchronous method as claimed in claim 1, is characterized in that, address information and described parameters that described parameter message comprises described standby synchronous end.
6. the synchronous method as described in any one in claim 1-5, is characterized in that, the MIB of the synchronous end of described master and standby synchronous end is identical.
7. a rack-mount unit card synchro system, is characterized in that, described rack-mount unit card synchro system comprises that one for receiving main control card and a standby control card of configuration-direct;
Wherein said main control card is as main synchronous end, and described standby control card is as standby synchronous end, and uses the synchronous described main synchronous end of synchronous method as described in any one in claim 1-6 and the setting of the standby MIB synchronously holding.
8. rack-mount unit card synchro system as claimed in claim 7, is characterized in that, described rack-mount unit card synchro system also comprises one or more service cards, and described main control card configures the operating state of each service card.
CN201210388589.8A 2012-10-12 2012-10-12 Rack-mounted equipment card synchronization system and synchronization method thereof Pending CN103731251A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210388589.8A CN103731251A (en) 2012-10-12 2012-10-12 Rack-mounted equipment card synchronization system and synchronization method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210388589.8A CN103731251A (en) 2012-10-12 2012-10-12 Rack-mounted equipment card synchronization system and synchronization method thereof

Publications (1)

Publication Number Publication Date
CN103731251A true CN103731251A (en) 2014-04-16

Family

ID=50455189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210388589.8A Pending CN103731251A (en) 2012-10-12 2012-10-12 Rack-mounted equipment card synchronization system and synchronization method thereof

Country Status (1)

Country Link
CN (1) CN103731251A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079440A (en) * 2014-07-24 2014-10-01 上海斐讯数据通信技术有限公司 Synchronous configuration method of primary equipment and stand-by equipment and SNMP (Simple Network Management Protocol) system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1219057A (en) * 1997-11-04 1999-06-09 通用仪器公司 Asynchronous and information exchange between communication parts by using network management operation and controlling examples
CN1257365A (en) * 1998-11-27 2000-06-21 日本电气株式会社 Method and device for database synchronisation in network management system
CN1523814A (en) * 2003-02-18 2004-08-25 华为技术有限公司 Equipment and method for managing network apparatus
CN101242302A (en) * 2008-03-12 2008-08-13 华为技术有限公司 Data synchronization method, device and system
CN101572624A (en) * 2009-01-04 2009-11-04 四川川大智胜软件股份有限公司 Cross-platform cross-method SNMP extension MIB realization method
CN102223255A (en) * 2011-07-05 2011-10-19 迈普通信技术股份有限公司 Method and system for quickly synchronizing information of network management system and network equipment based on simple network management protocol (SNMP)

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1219057A (en) * 1997-11-04 1999-06-09 通用仪器公司 Asynchronous and information exchange between communication parts by using network management operation and controlling examples
CN1257365A (en) * 1998-11-27 2000-06-21 日本电气株式会社 Method and device for database synchronisation in network management system
CN1523814A (en) * 2003-02-18 2004-08-25 华为技术有限公司 Equipment and method for managing network apparatus
CN101242302A (en) * 2008-03-12 2008-08-13 华为技术有限公司 Data synchronization method, device and system
CN101572624A (en) * 2009-01-04 2009-11-04 四川川大智胜软件股份有限公司 Cross-platform cross-method SNMP extension MIB realization method
CN102223255A (en) * 2011-07-05 2011-10-19 迈普通信技术股份有限公司 Method and system for quickly synchronizing information of network management system and network equipment based on simple network management protocol (SNMP)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079440A (en) * 2014-07-24 2014-10-01 上海斐讯数据通信技术有限公司 Synchronous configuration method of primary equipment and stand-by equipment and SNMP (Simple Network Management Protocol) system
CN104079440B (en) * 2014-07-24 2018-04-10 上海斐讯数据通信技术有限公司 The method and SNMP systems that a kind of host apparatus synchronously configures with stand-by equipment

Similar Documents

Publication Publication Date Title
CN103312528B (en) A kind of heartbeat message sending method and user terminal
CN104253767A (en) Virtual shard network implementing method and switch
CN103338488A (en) Network switching method, terminal, controller, gateway and system
CN101867505A (en) Network simulation method and device
US20200383055A1 (en) Signal processing method and apparatus
CN108270733A (en) A kind of method and system for managing smart machine
CN110941665A (en) Data synchronization method, data synchronization device and data synchronization equipment between nodes
CN109639534A (en) A kind of method, apparatus and computer storage medium of test network transmission performance
CN105306276A (en) Software defined network based OAM protocol encapsulation method and system, and Ethernet passive optical network (EPON) access network
KR20220125737A (en) Communication methods, devices and systems
CN109286536B (en) Interface testing method and device
CN103731251A (en) Rack-mounted equipment card synchronization system and synchronization method thereof
CN105430670B (en) Flux monitoring method, device and system in Packet Transport Network
CN102820992A (en) Processing method and device of data packets
CN103607242B (en) The cut-in method of a kind of RRU and equipment
CN102291686B (en) Emergency short message group sending method and system, centralized control center and short message group sender
JP6616184B2 (en) Data transmission method and apparatus
CN102497306A (en) Method for realizing data transmission of distribution network substation and system thereof
CN105763380B (en) A kind of network management data acquisition methods and device
CN104518928A (en) Method and system for transmission of remote image messages through RPR (resilient packet ring) network
CN104079440A (en) Synchronous configuration method of primary equipment and stand-by equipment and SNMP (Simple Network Management Protocol) system
CN105721101B (en) A kind of method and device for realizing civil aviaton's Message processing
CN103166847A (en) Method and device for ensuring graceful restart
CN103701888A (en) Information publishing system and information publishing method on basis of micro base stations
CN110784365A (en) Standby device of station control layer and entity device of transformer substation and automatic online method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate 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: 20140416