CN103036668B - Configuration and synchronization method between a kind of rack-mount unit card based on order line - Google Patents

Configuration and synchronization method between a kind of rack-mount unit card based on order line Download PDF

Info

Publication number
CN103036668B
CN103036668B CN201210532376.8A CN201210532376A CN103036668B CN 103036668 B CN103036668 B CN 103036668B CN 201210532376 A CN201210532376 A CN 201210532376A CN 103036668 B CN103036668 B CN 103036668B
Authority
CN
China
Prior art keywords
order line
control board
configuration
attribute
main control
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.)
Active
Application number
CN201210532376.8A
Other languages
Chinese (zh)
Other versions
CN103036668A (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

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses configuration and synchronization method between a kind of rack-mount unit card based on order line, for realizing the synchronization of the configuration between main control board and slave control board, comprises the following steps:S1. all each attributes for being used to configure synchronous order line node being used to realize between the main control board and the slave control board are defined;S2. user inputs an order line in the main control board;S3. the parameter group encapsulating of each attribute for the order line node that user inputs is loaded and is sent to the slave control board by the main control board call function;S4. the slave control board parses the parameter group bag of each attribute of the order line node successively, and is performed the order line one time by call function;Repeat S2 steps.Present invention is particularly suitable for batch configuration order, realizes that simply synchronizing speed is fast, and only a bag need to be sent out for high-volume configuration, highly reliable, effectively avoids message dropping.

Description

Configuration and synchronization method between a kind of rack-mount unit card based on order line
Technical field
The present invention relates to synchronization side is configured between network rack, more particularly to a kind of rack-mount unit card based on order line Method.
Background technology
Rack-mount unit does not allow Single Point of Faliure occur, equipment is typically all equipped with because residing network site is extremely important Two pieces of master control borads, are referred to as main control board(Master)And slave control board(Slave).
Wherein, core of the main control board as control plane, service communication is carried out with outside, business board respectively, completed The normal function of each module in system;And slave control board is then only used as the backup of main control board, do not have with outside and business board There is communication.When main control board breaks down, system carries out active-standby switch automatically, and main control board is taken over by slave control board Work, ensure the normal operation of business.Carry out the configuration that masterslave switchover must assure that on active and standby plate be it is the same, at this moment With regard to needing to configure synchronous method between a kind of equipment card.
Configuration and synchronization method is mainly based upon the realization of function rank between rack-mount unit card at present, and main control board is carried out During configuration, slave control board configuration function is directly called in a manner of RPC far calls, so as to realize that configuration is synchronized to standby master Control plate.The shortcomings that this mode is to realize complicated, it is necessary to consider the realization of various different functions parameter types and number of parameters, and And it is required for certain adaptation Stub codes in active and standby plate for the function of every participation far call, workload is also larger.
The content of the invention
It is an object of the invention to provide configuration and synchronization method between a kind of rack-mount unit card based on order line, is needed with overcoming Consider the realization of various different functions parameter types and number of parameters, and for every function for participating in far call in master Slave board is required for certain adaptation Stub codes, workload also larger technical problem, realizes simple.
The purpose of the present invention is achieved through the following technical solutions:
Configuration and synchronization method between a kind of rack-mount unit card based on order line, for realizing main control board and standby master The configuration controlled between plate is synchronous, wherein, comprise the following steps:
S1. define all synchronous for configuring between the main control board and the slave control board for realizing Each attribute of order line node;
S2. user inputs an order line in the main control board;
S3. the parameter group encapsulating of each attribute for the order line node that the main control board call function inputs user Load and be sent to the slave control board;
S4. the slave control board parses the parameter group bag of each attribute of the order line node successively, and The order line is performed one time by call function;
Repeat S2 steps.
Configuration and synchronization method between above-mentioned rack-mount unit card, wherein, each attribute of the order line node includes knot The character string of point title and the order line.
Configuration and synchronization method between above-mentioned rack-mount unit card, wherein, in step s 4, the slave control board is by the life After making the parameter group Packet analyzing of each attribute of row node come out, entered by a function according to the title of order line node The order line is performed one time under the order line node.
Configuration and synchronization method between above-mentioned rack-mount unit card, wherein:
Synchronization system is configured between based on one kind blocking to realize, synchronization system is configured between the card includes configuration input module, matches somebody with somebody Synchronization module and intercard communication module are put, the configuration input module is used for user and inputs configuration order, described to configure synchronous mould Block is used to realize the synchronization for being configured to standby control master control borad when needing synchronous configure, and the intercard communication module is used between realization card Data communication, realize card between configure synchronous bottom data passage;
The each attribute for the order line node that the main control board is inputted user by the intercard communication module Parameter group encapsulating, which loads, is sent to the slave control board;
The slave control board is by the synchronization module that configures by the parameter group of each attribute of the order line node Bag parses successively, and is performed the order line one time by call function.
Configuration and synchronization method between rack-mount unit card described in above-mentioned any one, wherein, each order line node With identical property parameters group, the property value of attribute possessed by each order line node is different.
Compared with the prior art, the beneficial effects of the present invention are:
The batch configuration that is particularly suitable for use in order, realize that simply synchronizing speed is fast, only a bag need to be sent out for high-volume configuration , it is highly reliable, effectively avoid message dropping.
Brief description of the drawings
Fig. 1 is the schematic process flow diagram of configuration and synchronization method between the rack-mount unit card of the invention based on order line.
Embodiment
With reference to schematic diagram and concrete operations embodiment, the invention will be further described.
Configuration and synchronization method between a kind of rack-mount unit card based on order line of the present invention, for realize main control board and Configuration between slave control board is synchronous, refer to shown in Fig. 1, comprises the following steps:
S1. define it is all be used for realize between main control board and slave control board be used for configure synchronous order line knot Each attribute of point;Each order line node has identical property parameters group, belongs to possessed by each order line node Property property value it is different.
S2. user inputs an order line in main control board;
S3. main control board call function loads the parameter group encapsulating of each attribute for the order line node that user inputs To be sent to slave control board;
S4. slave control board parses the parameter group bag of each attribute of order line node successively, and passes through calling Function performs the order line one time;
Repeat S2 steps.
Each attribute of order line node includes the character string of node title and order line, node title and life in attribute It is necessary to make line character string, and remaining attribute can be depending on actual conditions.
In a preferred embodiment of the invention, in step s 4, slave control board is by each attribute of order line node After parameter group Packet analyzing comes out, entered by a function according to the title of order line node under the order line node and order this Order row performs one time.
The inventive method is realized based on configuration synchronization system between a kind of card, and synchronization system is configured between card includes configuration input Module, synchronization module and intercard communication module are configured, configuration input module is used for user and inputs configuration order, configures synchronization module The synchronization of standby control master control borad is configured to for being realized when needing synchronous configuration, intercard communication module is used to realize the data between card Communication, realize and configure synchronous bottom data passage between blocking.
The parameter group bag of each attribute for the order line node that main control board is inputted user by intercard communication module It is encapsulated and is sent to slave control board.Slave control board is by configuring synchronization module by the ginseng of each attribute of order line node Array bag parses successively, and is performed the order line one time by call function.This is just same as user directly in standby control Master control borad is configured with the order, especially for batch configuration order this method it is highly reliable, realize it is also simple.
Present invention is particularly suitable for batch configuration order, realizes that simply synchronizing speed is fast, only needs to send out for high-volume configuration One bag, it is highly reliable, effectively avoid message dropping.
The specific embodiment of the present invention is described in detail above, but the present invention is not restricted to tool described above Body embodiment, it is intended only as example.To those skilled in the art, any equivalent modifications and replacement are also all in the present invention Category among.Therefore, made impartial conversion and modification without departing from the spirit and scope of the invention, should all cover In the scope of the present invention.

Claims (3)

  1. A kind of 1. configuration and synchronization method between rack-mount unit card based on order line, for realizing main control board and standby master control Configuration between plate is synchronous, it is characterised in that comprises the following steps:
    S1. define it is all be used for realize between the main control board and the slave control board be used for configure synchronous life Make each attribute of row node;
    S2. user inputs an order line in the main control board;
    S3. the parameter group encapsulation of each attribute for the order line node that the main control board call function inputs user Get up and be sent to the slave control board;
    S4. the slave control board parses the parameter group bag of each attribute of the order line node successively, and passes through Call function performs the order line one time;
    Repeat to S2 steps;Each attribute of the order line node includes the character string of node title and the order line;
    In step S4, after the slave control board comes out the parameter group Packet analyzing of each attribute of the order line node, Entered by a function according to the title of order line node under the order line node and perform the order line one time.
  2. 2. configuration and synchronization method between the rack-mount unit card as described in claim 1, it is characterised in that:
    Synchronization system is configured between based on one kind blocking to realize, synchronization system is configured between the card includes configuration input module, and configuration is same Module and intercard communication module are walked, the configuration input module is used for user and inputs configuration order, and the configuration synchronization module is used The synchronization for being configured to standby control master control borad is realized when synchronous configuration is being needed, the intercard communication module is used to realize the number between card According to communication, realize and configure synchronous bottom data passage between blocking;
    The parameter of each attribute for the order line node that the main control board is inputted user by the intercard communication module Group encapsulating, which loads, is sent to the slave control board;
    The slave control board by it is described configuration synchronization module by the parameter group bag of each attribute of the order line node according to It is secondary to parse, and performed the order line one time by call function.
  3. 3. configuration and synchronization method between the rack-mount unit card as described in any one in claim 1 to 2, it is characterised in that each Order line node described in bar has identical property parameters group, the property value of attribute possessed by each order line node It 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 CN103036668A (en) 2013-04-10
CN103036668B true 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)

Families Citing this family (4)

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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992640A (en) * 2005-12-28 2007-07-04 中兴通讯股份有限公司 Data synchronization method of muti-service access unit based on switchboard background
CN101183973A (en) * 2007-12-06 2008-05-21 中兴通讯股份有限公司 Method of implementing command line configuration distribution in distributed system
CN102780613A (en) * 2012-06-19 2012-11-14 瑞斯康达科技发展股份有限公司 Method and device for communication of boards of distributed device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1155201C (en) * 2001-08-03 2004-06-23 华为技术有限公司 Method for making data layout in communication equipment and its system
CN100472445C (en) * 2006-09-04 2009-03-25 中兴通讯股份有限公司 Configuring load application method and system of communication apparatus
CN101753362B (en) * 2010-02-10 2014-04-30 中兴通讯股份有限公司 Configuring method and device of stacking virtual local area network of distributed network device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992640A (en) * 2005-12-28 2007-07-04 中兴通讯股份有限公司 Data synchronization method of muti-service access unit based on switchboard background
CN101183973A (en) * 2007-12-06 2008-05-21 中兴通讯股份有限公司 Method of implementing command line configuration distribution in distributed system
CN102780613A (en) * 2012-06-19 2012-11-14 瑞斯康达科技发展股份有限公司 Method and device for communication of boards of distributed device

Also Published As

Publication number Publication date
CN103036668A (en) 2013-04-10

Similar Documents

Publication Publication Date Title
CN107766132A (en) Multi-task scheduling method, application server and computer-readable recording medium
CN103036668B (en) Configuration and synchronization method between a kind of rack-mount unit card based on order line
CN100536414C (en) Automatic test system and method based on network stack system
CN104363278A (en) Mass terminal communication access system
CN105407138B (en) Configuration file loading method and device, communication equipment
US9906412B2 (en) Collaboration method and system in distributed resilient network interconnect system
CN109274603A (en) Interconnecting method and device between heterogeneous protocol data based on software definition
CN106878060A (en) The active and standby synchronization system and method for a kind of multi-service integrated access device
CN109218086B (en) Method and system for constructing switching network
CN112416969A (en) Parallel task scheduling system in distributed database
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
CN106549842A (en) A kind of time triggered protocol bus network on-line loaded configuration and monitoring method
CN102263633A (en) Clock synchronization method and stacking controller for switch stacking system
CN116233200B (en) Electric energy meter communication method and system based on subsequent frame dynamic registration
CN113067833A (en) Collaborative configuration service method and related components
CN104065499B (en) Master control borad, main preparation system, information backup method and device
CN104298636A (en) Embedded communication service system
CN103297992A (en) Achievement system of high-level protocol stack in LTE terminal tester based on TTCN-3
CN109687985B (en) Automatic configuration method and system for process level network of transformer substation
CN109151910A (en) A kind of radio resource management method and device
CN102820992A (en) Processing method and device of data packets
CN103246497B (en) A kind of real time data method for parallel processing based on Data Placement
CN1992640B (en) Data synchronization method of muti-service access unit based on switchboard background
CN103501239A (en) Port state synchronization method and system and port state synchronization associated devices

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