CN103036668A - Rack-mounted equipment tab configuration synchronization method based on a command line - Google Patents

Rack-mounted equipment tab configuration synchronization method based on a command line Download PDF

Info

Publication number
CN103036668A
CN103036668A CN2012105323768A CN201210532376A CN103036668A CN 103036668 A CN103036668 A CN 103036668A CN 2012105323768 A CN2012105323768 A CN 2012105323768A CN 201210532376 A CN201210532376 A CN 201210532376A CN 103036668 A CN103036668 A CN 103036668A
Authority
CN
China
Prior art keywords
configuration
order line
control board
attribute
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.)
Granted
Application number
CN2012105323768A
Other languages
Chinese (zh)
Other versions
CN103036668B (en
Inventor
袁可
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Taizhou Jiji Intellectual Property Operation 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 CN201210532376.8A priority Critical patent/CN103036668B/en
Publication of CN103036668A publication Critical patent/CN103036668A/en
Application granted granted Critical
Publication of CN103036668B publication Critical patent/CN103036668B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a rack-mounted equipment tab configuration synchronization method based on a command line. The rack-mounted equipment tab configuration synchronization method based on the command line is used for achieving configuration synchronization between an active main board and a standby main board, and comprises S 1each attribute of all command line nodes for achieving the configuration synchronization between the active main board and the standby main board is defined, S 2 a user inputs the command line on the active main board, S3 the active main board packages a parameter set package of the each attribute of a node of the command line which is input by the user up through calling functions to send to the standby main board, S 4 the standby main board analyses the parameter set package of the each attribute of the node of the command line in sequence and carries out the command line once through calling the functions, and S 2 is repeated. The rack-mounted equipment tab configuration synchronization method based on the command line has the advantages of being especially applicable to lot-sizing configuration of orders, simple in achievement, rapid in synchronous speed, in need of only sending one package for configuration on a large-scale and good in reliability, and effectively avoiding loss of massages.

Description

A kind of based on configuration and synchronization method between the rack-mount unit card of order line
Technical field
The present invention relates to network rack, relate in particular to a kind of based on configuration and synchronization method between the rack-mount unit card of order line.
Background technology
Rack-mount unit does not allow to occur Single Point of Faliure because network site of living in is extremely important, and equipment generally all is equipped with two master control borads, is called main control board (Master) and slave control board (Slave).
Wherein, main control board carries out service communication with outside, business board respectively as the core of control plane, the normal function of each module in the completion system; Slave control board then only as the backup of main control board, is not communicated by letter with business board with outside.When main control board broke down, system carried out active and standby switching automatically, took over the work of main control board by slave control board, guaranteed professional normal operation.Carry out masterslave switchover and must guarantee that the configuration on the active and standby plate is living, at this moment just need the method for configuration synchronization between a kind of equipment card.
Configuration and synchronization method mainly is based on the realization of function rank between the rack-mount unit card at present, when main control board is configured, directly calls the slave control board configuration function in the mode of RPC far call, thereby realizes that configuration synchronization is to slave control board.The shortcoming of this mode is to realize complexity, needs to consider the realization of various different function parameter types and number of parameters, and all needs certain adaptive Stub code for every function that participates in far call at active and standby plate, and workload is also larger.
Summary of the invention
The purpose of this invention is to provide a kind of based on configuration and synchronization method between the rack-mount unit card of order line, to overcome the realization that needs to consider various different function parameter types and number of parameters, and all need certain adaptive Stub code for every function that participates in far call at active and standby plate, workload is larger technical problem also, realizes simple.
The objective of the invention is to be achieved through the following technical solutions:
A kind of based on configuration and synchronization method between the rack-mount unit card of order line, be used for the configuration synchronization between realization main control board and the slave control board, wherein, comprise the following steps:
S1. definition is useful on each attribute of realizing the order line node that is used for configuration synchronization between described main control board and the described slave control board;
S2. the user is in order line of described main control board input;
S3. described main control board call function is encapsulated the parameter group bag of each attribute of the order line node of user input and sends to described slave control board;
S4. described slave control board parses the parameter group bag of each attribute of described order line node successively, and by call function this order line is carried out one time;
Repeat the S2 step.
Configuration and synchronization method between above-mentioned rack-mount unit card, wherein, each attribute of described order line node comprises that node name claims the character string with described order line.
Configuration and synchronization method between above-mentioned rack-mount unit card, wherein, in step S4, after described slave control board parses the parameter group bag of each attribute of described order line node, enter under this order line node according to the title of order line node by a function this order line is carried out one time.
Configuration and synchronization method between above-mentioned rack-mount unit card, wherein:
Realize based on configuration synchronization system between a kind of card, the configuration synchronization system comprises the configuration input module between described card, configuration synchronization module and intercard communication module, described configuration input module is used for the order of user's input configuration, described configuration synchronization module is used for realizing being configured to the synchronous of standby control master control borad when needs dispose synchronously, data communication between described intercard communication module is used for realizing blocking, the bottom data passage of configuration synchronization between realizing blocking;
Described main control board is encapsulated the parameter group bag of each attribute of the order line node of user input by described intercard communication module and sends to described slave control board;
Described slave control board parses successively by the parameter group bag of described configuration synchronization module with each attribute of described order line node, and by call function this order line is carried out one time.
Configuration and synchronization method between the described rack-mount unit card of above-mentioned any one, wherein, the described order line node of each bar has identical property parameters group, and the property value of the attribute that the described order line node of each bar has is different.
Compared with the prior art, beneficial effect of the present invention is:
Be particularly useful for the batch configuration order, realize that simply synchronizing speed is fast, only need send out a bag for configuration in enormous quantities and get final product, reliability is strong, effectively avoids message dropping.
Description of drawings
Fig. 1 is the schematic process flow diagram that the present invention is based on configuration and synchronization method between the rack-mount unit card of order line.
Embodiment
The invention will be further described below in conjunction with schematic diagram and concrete operations embodiment.
The present invention is a kind of based on configuration and synchronization method between the rack-mount unit card of order line, is used for the configuration synchronization between realization main control board and the slave control board, please referring to shown in Figure 1, comprises the following steps:
S1. definition is useful on each attribute of realizing the order line node that is used for configuration synchronization between main control board and the slave control board; Each bar order line node has identical property parameters group, and the property value of the attribute that each bar order line node has is different.
S2. the user is in order line of main control board input;
S3. the main control board call function is encapsulated the parameter group bag of each attribute of the order line node of user input and sends to slave control board;
S4. slave control board parses the parameter group bag of each attribute of order line node successively, and by call function this order line is carried out one time;
Repeat the S2 step.
Each attribute of order line node comprises that node name claims and the character string of order line that node title and command-line string are necessary in the attribute, and remaining attribute can be decided according to actual conditions.
In a preferred embodiment of the invention, in step S4, after slave control board parses the parameter group bag of each attribute of order line node, enter under this order line node according to the title of order line node by a function this order line is carried out one time.
The inventive method is based on configuration synchronization system realization between a kind of card, the configuration synchronization system comprises the configuration input module between card, configuration synchronization module and intercard communication module, the configuration input module is used for the order of user's input configuration, the configuration synchronization module is used for realizing being configured to the synchronous of standby control master control borad when needs dispose synchronously, data communication between the intercard communication module is used for realizing blocking, the bottom data passage of configuration synchronization between realizing blocking.
Main control board is encapsulated the parameter group bag of each attribute of the order line node of user input by the intercard communication module and sends to slave control board.Slave control board parses successively by the parameter group bag of configuration synchronization module with each attribute of order line node, and by call function this order line is carried out one time.This just is same as the user and is directly disposing this order at standby control master control borad, and especially the reliability for order the method for batch configuration is strong, realizes also simple.
The present invention is particularly useful for the batch configuration order, realizes that simply synchronizing speed is fast, only need send out a bag for configuration in enormous quantities and get final product, and reliability is strong, effectively avoids message dropping.
More than specific embodiments of the invention are described in detail, but the present invention is not restricted to specific embodiment described above, it is just as example.To those skilled in the art, any equivalent modifications and alternative also all among category of the present invention.Therefore, not breaking away from impartial conversion and the modification of having done under the spirit and scope of the present invention, all should contain within the scope of the invention.

Claims (5)

1. one kind based on configuration and synchronization method between the rack-mount unit card of order line, is used for realizing the configuration synchronization between main control board and the slave control board, it is characterized in that, comprises the following steps:
S1. definition is useful on each attribute of realizing the order line node that is used for configuration synchronization between described main control board and the described slave control board;
S2. the user is in order line of described main control board input;
S3. described main control board call function is encapsulated the parameter group bag of each attribute of the order line node of user input and sends to described slave control board;
S4. described slave control board parses the parameter group bag of each attribute of described order line node successively, and by call function this order line is carried out one time;
Repeat the S2 step.
2. configuration and synchronization method between the rack-mount unit card as claimed in claim 1 is characterized in that, each attribute of described order line node comprises that node name claims the character string with described order line.
3. configuration and synchronization method between the rack-mount unit card as claimed in claim 1, it is characterized in that, in step S4, after described slave control board parses the parameter group bag of each attribute of described order line node, enter under this order line node according to the title of order line node by a function this order line is carried out one time.
4. configuration and synchronization method between the rack-mount unit card as claimed in claim 1 is characterized in that:
Realize based on configuration synchronization system between a kind of card, the configuration synchronization system comprises the configuration input module between described card, configuration synchronization module and intercard communication module, described configuration input module is used for the order of user's input configuration, described configuration synchronization module is used for realizing being configured to the synchronous of standby control master control borad when needs dispose synchronously, data communication between described intercard communication module is used for realizing blocking, the bottom data passage of configuration synchronization between realizing blocking;
Described main control board is encapsulated the parameter group bag of each attribute of the order line node of user input by described intercard communication module and sends to described slave control board;
Described slave control board parses successively by the parameter group bag of described configuration synchronization module with each attribute of described order line node, and by call function this order line is carried out one time.
5. such as configuration and synchronization method between rack-mount unit card as described in any one in the claim 1 to 4, it is characterized in that the described order line node of each bar has identical property parameters group, the property value of the attribute that the described order line node of each bar has is different.
CN201210532376.8A 2012-12-11 2012-12-11 Configuration and synchronization method between a kind of rack-mount unit card based on order line Active CN103036668B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210532376.8A CN103036668B (en) 2012-12-11 2012-12-11 Configuration and synchronization method between a kind of rack-mount unit card based on order line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210532376.8A CN103036668B (en) 2012-12-11 2012-12-11 Configuration and synchronization method between a kind of rack-mount unit card based on order line

Publications (2)

Publication Number Publication Date
CN103036668A true CN103036668A (en) 2013-04-10
CN103036668B CN103036668B (en) 2018-01-30

Family

ID=48023187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210532376.8A Active CN103036668B (en) 2012-12-11 2012-12-11 Configuration and synchronization method between a kind of rack-mount unit card based on order line

Country Status (1)

Country Link
CN (1) CN103036668B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105007187A (en) * 2015-07-23 2015-10-28 上海斐讯数据通信技术有限公司 Distributed OLT system command line management method
CN107122630A (en) * 2017-04-26 2017-09-01 新华三技术有限公司 device authorization management method and device
CN109450679A (en) * 2018-11-01 2019-03-08 郑州云海信息技术有限公司 A kind of network information configuration method and device
CN111147400A (en) * 2019-12-04 2020-05-12 杭州迪普科技股份有限公司 Method and device for command line configuration synchronization and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1400772A (en) * 2001-08-03 2003-03-05 华为技术有限公司 Method for making data layout in communication equipment and its system
CN1992640A (en) * 2005-12-28 2007-07-04 中兴通讯股份有限公司 Data synchronization method of muti-service access unit based on switchboard background
CN101140520A (en) * 2006-09-04 2008-03-12 中兴通讯股份有限公司 Configuring load application method and system of communication apparatus
CN101183973A (en) * 2007-12-06 2008-05-21 中兴通讯股份有限公司 Method of implementing command line configuration distribution in distributed system
CN101753362A (en) * 2010-02-10 2010-06-23 中兴通讯股份有限公司 Configuring method and device of stacking virtual local area network of distributed network device
CN102780613A (en) * 2012-06-19 2012-11-14 瑞斯康达科技发展股份有限公司 Method and device for communication of boards of distributed device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1400772A (en) * 2001-08-03 2003-03-05 华为技术有限公司 Method for making data layout in communication equipment and its system
CN1992640A (en) * 2005-12-28 2007-07-04 中兴通讯股份有限公司 Data synchronization method of muti-service access unit based on switchboard background
CN101140520A (en) * 2006-09-04 2008-03-12 中兴通讯股份有限公司 Configuring load application method and system of communication apparatus
CN101183973A (en) * 2007-12-06 2008-05-21 中兴通讯股份有限公司 Method of implementing command line configuration distribution in distributed system
CN101753362A (en) * 2010-02-10 2010-06-23 中兴通讯股份有限公司 Configuring method and device of stacking virtual local area network of distributed network device
CN102780613A (en) * 2012-06-19 2012-11-14 瑞斯康达科技发展股份有限公司 Method and device for communication of boards of distributed device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105007187A (en) * 2015-07-23 2015-10-28 上海斐讯数据通信技术有限公司 Distributed OLT system command line management method
CN105007187B (en) * 2015-07-23 2018-07-24 上海斐讯数据通信技术有限公司 A kind of distribution OLT system command line management method
CN107122630A (en) * 2017-04-26 2017-09-01 新华三技术有限公司 device authorization management method and device
CN109450679A (en) * 2018-11-01 2019-03-08 郑州云海信息技术有限公司 A kind of network information configuration method and device
CN111147400A (en) * 2019-12-04 2020-05-12 杭州迪普科技股份有限公司 Method and device for command line configuration synchronization and electronic equipment
CN111147400B (en) * 2019-12-04 2022-03-01 杭州迪普科技股份有限公司 Method and device for command line configuration synchronization and electronic equipment

Also Published As

Publication number Publication date
CN103036668B (en) 2018-01-30

Similar Documents

Publication Publication Date Title
CN105306326A (en) Implementation method of integration of various industrial buses on driver
CN104065545A (en) RS485 bus communication method based on Modbus protocol and power electronic system based on communication method
CN112416969B (en) Parallel task scheduling system in distributed database
WO2015158120A1 (en) Method and apparatus for upgrading software version
CN101494551A (en) Method, apparatus and system for business cutover
CN103036668A (en) Rack-mounted equipment tab configuration synchronization method based on a command line
CN101883355A (en) Collocation method and system of terminal parameter and terminal management device
CN101867490A (en) Maintenance operation system and method
CN104899170A (en) Distributed intelligent platform management bus (IPMB) connection method and ATCA (Advanced Telecom Computing Architecture) machine frame
CN112333065B (en) Automatic opening method and device for IPRAN Ethernet private line
CN104394018A (en) Communication device and active-standby system data online exchange method for hot master control panel backup
CN107171892A (en) A kind of cross-platform data communication means and system based on QT
CN102811152A (en) Method for realizing real-time transaction and data exchange of multiple main bus network communication
CN104811403A (en) Openflow-based group table processing method and device and group table configuration unit
CN104731650A (en) Acquisition method and device for system interface call information
CN102752148B (en) Management system and management method based on network element adaption subsystem
CN103092735A (en) Method for updating node states
WO2015154588A1 (en) Serial port information transmission method, single board device and common single board
CN107181702B (en) Device for realizing RapidIO and Ethernet fusion exchange
CN103092951A (en) Conventional data exchange method and conventional data exchange system based on information presentation layers
CN107450999A (en) A kind of method and system of cluster inter-component communication
CN103051478A (en) Large-capacity telecommunication network management system as well as setting and application methods thereof
CN103501239A (en) Port state synchronization method and system and port state synchronization associated devices
CN103731501A (en) Mobile-terminal-based multi-people cooperative management method and system for backlogs
CN106657264A (en) Distributed system and data synchronization method thereof

Legal Events

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

Effective date of registration: 20201106

Address after: 318015 no.2-3167, zone a, Nonggang City, no.2388, Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Patentee after: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Guangfulin road 4855 Lane 20, No. 90

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20130410

Assignee: Hangzhou Bolian Intelligent Technology Co.,Ltd.

Assignor: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

Contract record no.: X2021330000763

Denomination of invention: A configuration synchronization method between rack equipment cards based on command line

Granted publication date: 20180130

License type: Common License

Record date: 20211117

Application publication date: 20130410

Assignee: ZHEJIANG SUPCON TECHNOLOGY Co.,Ltd.

Assignor: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

Contract record no.: X2021330000764

Denomination of invention: A configuration synchronization method between rack equipment cards based on command line

Granted publication date: 20180130

License type: Common License

Record date: 20211117

EE01 Entry into force of recordation of patent licensing contract