CN106878060A - The active and standby synchronization system and method for a kind of multi-service integrated access device - Google Patents
The active and standby synchronization system and method for a kind of multi-service integrated access device Download PDFInfo
- Publication number
- CN106878060A CN106878060A CN201710019484.8A CN201710019484A CN106878060A CN 106878060 A CN106878060 A CN 106878060A CN 201710019484 A CN201710019484 A CN 201710019484A CN 106878060 A CN106878060 A CN 106878060A
- Authority
- CN
- China
- Prior art keywords
- standby
- state
- synchronization
- module
- message
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0213—Standardised network management protocols, e.g. simple network management protocol [SNMP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/22—Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0663—Performing the actions predefined by failover planning, e.g. switching to standby network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/04—Selecting arrangements for multiplex systems for time-division multiplexing
- H04Q11/0428—Integrated services digital network, i.e. systems for transmission of different types of digitised signals, e.g. speech, data, telecentral, television signals
Abstract
The invention discloses the active and standby synchronization system and method for a kind of multi-service integrated access device, it is related to Technology of Light Access Network field.The activestandby state control module of the active and standby synchronization system is used for:Activestandby state machine is safeguarded, treatment activestandby state control message notifies other modules when activestandby state changes;Batch synchronization module is used for:Treatment batch synchronization message, realizes configuration, the batch synchronization of state;Real-time synchronization module is used for:Treatment real-time synchronous message, realizes configuration, the real-time synchronization of state;Active and standby message processing module is used for:Transmission/the reception of the host-standby communication message between master and standby disk is carried out, and distributes host-standby communication message to batch synchronization module, real-time synchronization module.Adoption status machine of the present invention and message driving mechanism, configuration data and status data are separately processed, and each module need not design sync cap for respective configuration data, reduce the complexity of system, improve maintainability.
Description
Technical field
It is specifically a kind of active and standby synchronization of multi-service integrated access device the present invention relates to Technology of Light Access Network field
System and method.
Background technology
At present, PON (Passive Optical Network, EPON) technology has become the main flow of access network
Technology.In order to better profit from copper cash resource, copper networks are transformed into fiber optic network, high density, Large Copacity multi-service it is comprehensive
Close the improvement cost that access device farthest saves operator.Multi-service integrated access device can realize multiple business
Interface disc mixed insertion, various wide and narrow strip business are accessed simultaneously, meet the demand of different clients.
In order to ensure stability in use and reliability, carrier class operation is realized, each catenet equipment must possess
Masterslave switchover function, multi-service integrated access device is no exception.Masterslave switchover function requires that equipment has two pieces of main control units first,
One piece as primary, one piece used as standby.When primary main control unit breaks down, standby main control unit can take over primary main control unit after
Continuous work.
The characteristics of multi-service integrated access device is that business is flexible, integrated level is high.Before masterslave switchover, primary main control unit
Substantial amounts of configuration data and status data are synchronized to standby main control unit.And current active and standby simultaneous techniques will be matched somebody with somebody using one kind
The method that data and status data are uniformly processed is put, and each business module needs to be that respective configuration data and status data are designed
Sync cap, this mode not only increases the complexity of system, also reduces maintainability.
The content of the invention
The invention aims to overcome the shortcomings of above-mentioned background technology, there is provided a kind of multi-service integrated access device
Active and standby synchronization system and method, adoption status machine and message driving mechanism, configuration data and status data are separately processed, and respectively
Module need not design sync cap for respective configuration data, reduce the complexity of system, improve maintainability.
To achieve the above objectives, the present invention is adopted the technical scheme that:A kind of master of multi-service integrated access device is provided
Standby synchronization system, is provided with two pieces of main control units in the multi-service integrated access device, one piece as master, one piece used as standby disk;When
When master breaks down, standby disk is switched as master works on;The active and standby synchronization system is included in every piece of main control unit
Activestandby state control module, batch synchronization module, real-time synchronization module and active and standby message processing module;Activestandby state control module
Be connected with batch synchronization module, real-time synchronization module respectively, batch synchronization module, real-time synchronization module also with active and standby message at
Reason module is connected.
The activestandby state control module is used for:Safeguard activestandby state machine;Treatment activestandby state control message;When active and standby shape
When state changes, other modules are notified;The batch synchronization module is used for:Treatment batch synchronization message, realize configuration, state batch
Amount is synchronous;The real-time synchronization module is used for:Treatment real-time synchronous message, realizes configuration, the real-time synchronization of state;It is described active and standby
Message processing module is used for:The host-standby communication message between master and standby disk is carried out using active and standby message transmission/receiving interface
Send/receive, and distribute host-standby communication message to batch synchronization module, real-time synchronization module.
The present invention also provides a kind of main standby synchronous method of the multi-service integrated access device based on above-mentioned synchronization system, wraps
Include the synchronous method of master and the synchronous method of standby disk;
The synchronous method of the master is comprised the following steps:After A1, current main control unit judge this disk as master, the master
State machine is set to ready state by activestandby state control module;The batch synchronization that A2, active and standby message processing module receive standby disk is configured
After request, state machine is set to batch synchronization configuration state, the batch that batch synchronization module is configured by activestandby state control module
Synchronization process simultaneously responds standby disk;After A3, active and standby message processing module receive the batch synchronization status request of standby disk, activestandby state control
State machine is set to batch synchronization state state by molding block, and the batch synchronization that batch synchronization module carries out state is processed and responded standby
Disk;After the completion of A4, the batch synchronization of state, master sends batch synchronization state using active and standby message processing module to standby disk to be terminated
Message;State machine is set to real-time synchronization state by activestandby state control module, real-time synchronization module by real-time synchronization configure message or
Real-time synchronization status message is sent to standby disk.
The synchronous method of the standby disk is comprised the following steps:After B1, current main control unit judge this disk as standby disk, enter to master
Row registration;After succeeding in registration, state machine is set to ready state by this for the activestandby state control module of disk;B2, batch synchronization module
Batch synchronization configuring request is sent to master by active and standby message processing module;After sending successfully, activestandby state control module will
State machine is set to wait batch synchronization configuration state;B3, batch synchronization module are received from master by active and standby message processing module
Response after, activestandby state control module by state machine be set to batch synchronization configuration state, batch synchronization module configured batch
Amount synchronization process;After the completion for the treatment of, batch synchronization module sends batch synchronization state by active and standby message processing module to master
Request, after sending successfully, state machine is set to wait batch synchronization state state by activestandby state control module;B4, batch synchronization mould
Block is after active and standby message processing module receives the response from master, and it is same that state machine is set to batch by activestandby state control module
Step state state, batch synchronization module carries out the batch synchronization treatment of state;B5, active and standby message processing module receive what master was sent
After batch synchronization state end, state machine is set to real-time synchronization state by activestandby state control module, and real-time synchronization module is opened
Begin to process real-time synchronization configuration message or real-time synchronization status message that master is sent.
The beneficial effects of the present invention are:
1st, active and standby synchronization system adoption status machine of the invention and message driving mechanism realize multi-service integrated access device
Active and standby simultaneously operating, and either batch synchronization or real-time synchronization are separately to process configuration data and status data.
Specifically, activestandby state control module is used to safeguard activestandby state machine, treatment activestandby state control message, when activestandby state becomes
Other modules are notified during change;Batch synchronization module is used to process batch synchronization message, realizes configuration, the batch synchronization of state;It is real
When synchronization module be used for:Treatment real-time synchronous message, realizes configuration, the real-time synchronization of state.With it is traditional by configuration data and
The method that status data is uniformly processed is compared, and the system has maintainability higher.
2nd, active and standby message processing module is designed with active and standby synchronization system of the invention, the active and standby message processing module can profit
Transmission/the reception of the host-standby communication message between master and standby disk is carried out with active and standby message transmission/receiving interface, and is distributed active and standby
Communication information is to batch synchronization module, real-time synchronization module.During message communicating of the present invention between active and standby disk is carried out, only need
Using the active and standby message transmission/receiving interface of the active and standby message processing module of Uniting, without designing each for each module
From configuration data and status data sync cap, effectively reduce the complexity of system, further increase tieing up for system
Shield property.
Brief description of the drawings
Fig. 1 is the schematic diagram of the active and standby synchronization system of multi-service integrated access device in the embodiment of the present invention;
Fig. 2 is the state machine diagram of the main standby synchronous method of multi-service integrated access device in the embodiment of the present invention;
Fig. 3 be in the embodiment of the present invention master interact with standby disk realize configuring, the timing diagram of the batch synchronization of state;
Fig. 4 is the timing diagram that master interact the real-time synchronization for realizing configuring with standby disk in the embodiment of the present invention;
Fig. 5 is the timing diagram of the real-time synchronization that master interacts the state of realization with standby disk in the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawings and specific embodiment the present invention is described in further detail.
Shown in Figure 1, the embodiment of the present invention provides a kind of active and standby synchronization system of multi-service integrated access device, described
Two pieces of main control units are provided with multi-service integrated access device, one piece used as primary main control unit (hereinafter referred to as master), one piece of work
It is standby main control unit (hereinafter referred to as disk);When master breaks down, standby disk is switched as master works on.It is described active and standby
Synchronization system includes the activestandby state control module, batch synchronization module, real-time synchronization module and the master that are located in every piece of main control unit
Standby message processing module;Activestandby state control module is connected with batch synchronization module, real-time synchronization module respectively, batch synchronization mould
Block, real-time synchronization module are also connected with active and standby message processing module.
Wherein, activestandby state control module is used for:Safeguard activestandby state machine;Treatment activestandby state control message;When active and standby
During state change, other modules are notified;And when multi-service integrated access device has activestandby state lamp, control activestandby state lamp
Flicker.
Batch synchronization module is used for:Treatment batch synchronization message, realizes configuration, the batch synchronization of state.
Real-time synchronization module is used for:Treatment real-time synchronous message, realizes configuration, the real-time synchronization of state.
Active and standby message processing module is used for:Using active and standby message transmission/receiving interface, the master between master and standby disk is carried out
Transmission/the reception of standby communication information;And distribute host-standby communication message to batch synchronization module, real-time synchronization module.
Because two pieces of main control units in multi-service integrated access device occur the situation of switching, therefore, the present embodiment
In, the active and standby synchronization system also includes the masterslave switchover processing module in every piece of main control unit, masterslave switchover treatment mould
Block is connected with activestandby state control module, is used for:The Forced Switch order for the treatment of webmaster or order line, the place after being switched
Reason;And communicated with activestandby state control module.
Shown in Figure 2, the embodiment of the present invention also provides a kind of multi-service integrated access based on above-mentioned synchronization system and sets
Standby main standby synchronous method, including master synchronous method and the synchronous method of standby disk;
Wherein, the synchronous method of master specifically includes following steps:
After step A1, current main control unit judge this disk as master, the activestandby state control module of the master puts state machine
It is ready state.Wherein, current main control unit judge this disk as master detailed process as:After current main control unit electrifying startup, first
Another piece of state of main control unit is read, if its state is not in place or standby disk, this disk master is set to.
After step A2, the active and standby message processing module of master receive the batch synchronization configuring request to provide disk for oneself, active and standby shape
State machine is set to batch synchronization configuration state by state control module, and the batch synchronization that batch synchronization module is configured is processed and responded
Standby disk.
After step A3, the active and standby message processing module of master receive the batch synchronization status request to provide disk for oneself, active and standby shape
State machine is set to batch synchronization state state by state control module, and the batch synchronization that batch synchronization module carries out state is processed and responded
Standby disk.
After the completion of step A4, the batch synchronization of state, it is same that master sends batch using active and standby message processing module to standby disk
Step state end;State machine is set to real-time synchronization state by activestandby state control module, and real-time synchronization module is by real-time synchronization
Configuration message or real-time synchronization status message are sent to standby disk.Specifically, when master is in real-time synchronization state, when master is received
To after any configuration message from webmaster or order line, the message can be all forwarded to as real-time synchronization configuration message standby
Disk;When the state change on master (such as receive masterslave switchover processing module switch status change notification after treatment or
The notice of other business module state changes on master), master can be sent to standby disk the real-time synchronization status message.
The synchronous method of standby disk specifically includes following steps:
After step B1, current main control unit judge this disk as standby disk, registered to master;After succeeding in registration, this is for disk
State machine is set to ready state by activestandby state control module.Wherein, current main control unit judge this disk as standby disk detailed process as:
After current main control unit electrifying startup, another piece of state of main control unit is read first, if its state is master, this disk is set
It is standby disk.
Step B2, the batch synchronization module of standby disk are configured to master transmission batch synchronization by active and standby message processing module and asked
Ask;After sending successfully, state machine is set to wait batch synchronization configuration state by activestandby state control module.
It is understood that in order to the reliability that request sends, the batch synchronization module of active and standby synchronization system is effectively ensured
An overtime timer is inside provided with, after batch synchronization module is successfully transmitted batch synchronization configuring request, the time-out can be started fixed
When device, if not receiving the response message of master also after overtime timer time-out, batch synchronization module can retransmit a batch synchronization
Configuring request;If receiving the response message of master, batch synchronization module can then close overtime timer.
Step B3, standby disk batch synchronization module by the way that active and standby message processing module receives the response from master after, lead
State machine is set to batch synchronization configuration state by standby status control module, the batch synchronization treatment that batch synchronization module is configured;
After the completion for the treatment of, batch synchronization module sends batch synchronization status request by active and standby message processing module to master, sends into
After work(, state machine is set to wait batch synchronization state state by activestandby state control module.
Similarly, in step B3, after batch synchronization module is successfully transmitted batch synchronization status request, overtime timing can be started
Device, if not receiving the response message of master after overtime timer time-out also, batch synchronization module can retransmit a batch synchronization
Status request;If receiving the response message of master, batch synchronization module can then close overtime timer.
Step B4, standby disk batch synchronization module by the way that active and standby message processing module receives the response from master after, lead
State machine is set to batch synchronization state state by standby status control module, and batch synchronization module carries out the batch synchronization treatment of state.
It is main after step B5, the active and standby message processing module of standby disk receive the batch synchronization state end that master is sent
State machine is set to real-time synchronization state by standby status control module, and the real-time synchronization that real-time synchronization module start to process master is sent is matched somebody with somebody
Put message or real-time synchronization status message.
Specifically, it is shown in Figure 3, master interact with standby disk realize configuration, the batch synchronization treatment of state it is specific
Flow is:
(1) after standby disk succeeds in registration to master, state machine is set to ready state by the activestandby state control module of standby disk, is controlled
Activestandby state lamp starts flicker, and notifies that batch synchronization module starts batch synchronization configuration and processes;Batch synchronization module calls master
The active and standby message transmission interface of standby message processing module, batch synchronization configuring request is sent to master;After sending successfully, in batches together
Step module starts overtime timer, and notifies that state machine is set to wait batch synchronization configuration state by activestandby state control module;If
The response message of master is not received after timer expiry also, batch synchronization module can retransmit a batch synchronization configuring request (i.e.
Retransmission timeout).
(2) the active and standby message processing module of master is after active and standby message sink interface receives batch synchronization configuring request,
The request is distributed to the batch synchronization message queue of batch synchronization module;After batch synchronization module receives message, notify active and standby
State machine is set to batch synchronization configuration state by status control module, and calls the active and standby message transmission of active and standby message processing module to connect
Mouth sends batch synchronization configuration response message to standby disk, FTP (the File Transfer comprising master in the message
Protocol, FTP) server info.
(3) the active and standby message processing module of standby disk receives the batch synchronization that master sends and matches somebody with somebody by active and standby message sink interface
After putting response message, by the message distribution to batch synchronization message queue;After batch synchronization module receives message, time-out is closed fixed
When device, and notify activestandby state control module by state machine be set to batch synchronization configuration state;Then, batch synchronization module is according to sound
The ftp server information included in message is answered, by FTP Client from the FTP Server download configuration files of master, is preserved
And loading configuration file;After the completion of loading configuration, batch synchronization module calls the active and standby message of active and standby message processing module to send
Interface, batch synchronization status request is sent to master;After sending successfully, batch synchronization module starts overtime timer, and notifies
State machine is set to wait batch synchronization state state by activestandby state control module;If the sound of master is not received after timer expiry also
Answering message, batch synchronization module can retransmit a batch synchronization status request (Retransmission timeout).
(4) the active and standby message processing module of master is after active and standby message sink interface receives batch synchronization status request,
The request is distributed to the batch synchronization message queue of batch synchronization module;After batch synchronization module receives message, notify active and standby
State machine is set to batch synchronization state state by status control module, and calls the active and standby message transmission of active and standby message processing module to connect
Mouth sends batch synchronization status response message to standby disk.
(5) the active and standby message processing module of standby disk receives the batch synchronization shape that master is sent by active and standby message sink interface
After state response message, by the message distribution to batch synchronization message queue;After batch synchronization module receives message, time-out is closed fixed
When device, and notify that state machine is set to batch synchronization state state by activestandby state control module, then call the callback interface of itself
Treatment batch synchronization status response message.
(6) after the batch synchronization status response message of master has sent, batch synchronization module calls active and standby Message Processing mould
The active and standby message transmission interface of block sends batch synchronization state end to standby disk, and notifies activestandby state control module by shape
State machine is set to real-time synchronization state.
(7) the active and standby message processing module of standby disk receives the batch synchronization shape that master is sent by active and standby message sink interface
After state end, by the message distribution to batch synchronization message queue;After batch synchronization module receives message, active and standby shape is notified
State machine is set to real-time synchronization state by state control module;And activestandby state control module control activestandby state lamp stops flicker.
Further, shown in Figure 4, master interacts the idiographic flow for realizing that the real-time synchronization of configuration is processed with standby disk
For:
(1) after master receives any configuration message from webmaster or order line, real-time synchronization module is by calling
The active and standby message transmission interface of active and standby message processing module, real-time synchronization configuration message, real-time synchronization configuration are forwarded to standby disk
Message is to add active and standby message header on the basis of message is configured.
(2) after the active and standby message processing module of standby disk receives real-time synchronization configuration message by active and standby message sink interface,
By the real-time synchronous message queue of the message distribution to real-time synchronization module;Real-time synchronization module reads the state of standby disk in real time,
When standby plate-like state is non real-time synchronous state, then postpone to wait;When standby plate-like state is real-time synchronization state, real-time synchronization module passes through
Call at SNMP (Simple Network Management Protocol, Simple Network Management Protocol) Agent callback interfaces
Real-time synchronization configuration message in reason real-time synchronous message queue.
Further, it is shown in Figure 5, the idiographic flow that the real-time synchronization that master interacts the state of realization with standby disk is processed
For:
(1) due to the influence of external event, (masterslave switchover processing module is such as received after the state on master changes
Switch the notice of other business module state changes in the status change notification or master after treatment), real-time synchronization module
By calling the active and standby message transmission interface of active and standby message processing module, real-time synchronization status message is sent to standby disk, this is real-time
Synchronication status message is to add active and standby message header on the basis of state after change.
(2) the active and standby message processing module of standby disk is after active and standby message sink interface receives real-time synchronization status message,
By the real-time synchronous message queue of the message distribution to real-time synchronization module;Real-time synchronization module reads the state of standby disk in real time,
When standby plate-like state is non real-time synchronous state, then postpone to wait;When the state of standby disk is real-time synchronization state, real-time synchronization module is led to
The real-time synchronization status message crossed in calling business module callback interface to process real-time synchronous message queue.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from
On the premise of the principle of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as protection of the invention
Within the scope of.The content not being described in detail in this specification belongs to prior art known to professional and technical personnel in the field.
Claims (9)
1. a kind of active and standby synchronization system of multi-service integrated access device, is provided with two pieces of masters in the multi-service integrated access device
Manipulate stock quotations, one piece as master, one piece used as standby disk;When master breaks down, standby disk is switched as master works on, its feature
It is:The active and standby synchronization system includes activestandby state control module in every piece of main control unit, batch synchronization module, in real time
Synchronization module and active and standby message processing module;Activestandby state control module respectively with batch synchronization module, real-time synchronization module phase
Even, batch synchronization module, real-time synchronization module are also connected with active and standby message processing module;
The activestandby state control module is used for:Safeguard activestandby state machine;Treatment activestandby state control message;When activestandby state becomes
During change, other modules are notified;
The batch synchronization module is used for:Treatment batch synchronization message, realizes configuration, the batch synchronization of state;
The real-time synchronization module is used for:Treatment real-time synchronous message, realizes configuration, the real-time synchronization of state;
The active and standby message processing module is used for:The master between master and standby disk is carried out using active and standby message transmission/receiving interface
Transmission/the reception of standby communication information, and distribute host-standby communication message to batch synchronization module, real-time synchronization module.
2. the active and standby synchronization system of multi-service integrated access device as claimed in claim 1, it is characterised in that:It is described active and standby same
Step system also includes the masterslave switchover processing module in every piece of main control unit, the masterslave switchover processing module and activestandby state
Control module is connected, and is used for:The Forced Switch order for the treatment of webmaster or order line, the treatment after being switched;And with active and standby shape
State control module communicates.
3. the active and standby synchronization system of multi-service integrated access device as claimed in claim 1 or 2, it is characterised in that:It is described many
Activestandby state lamp is provided with service integration access device;The activestandby state control module is additionally operable to control the sudden strain of a muscle of activestandby state lamp
It is bright.
4. a kind of main standby synchronous method based on the multi-service integrated access device of active and standby synchronization system described in claim 1, its
It is characterised by:The synchronous method of synchronous method and standby disk including master;
The synchronous method of the master is comprised the following steps:
After A1, current main control unit judge this disk as master, state machine is set to ready state by the activestandby state control module of the master;
After A2, active and standby message processing module receive the batch synchronization configuring request of standby disk, activestandby state control module is by state machine
Batch synchronization configuration state is set to, the batch synchronization that batch synchronization module is configured is processed and responds standby disk;
After A3, active and standby message processing module receive the batch synchronization status request of standby disk, activestandby state control module is by state machine
Batch synchronization state state is set to, the batch synchronization that batch synchronization module carries out state is processed and responds standby disk;
After the completion of A4, the batch synchronization of state, master sends batch synchronization state knot using active and standby message processing module to standby disk
Beam message;State machine is set to real-time synchronization state by activestandby state control module, and real-time synchronization is configured message by real-time synchronization module
Or real-time synchronization status message is sent to standby disk;
The synchronous method of the standby disk is comprised the following steps:
After B1, current main control unit judge this disk as standby disk, registered to master;After succeeding in registration, this for disk activestandby state
State machine is set to ready state by control module;
B2, batch synchronization module send batch synchronization configuring request by active and standby message processing module to master;After sending successfully,
State machine is set to wait batch synchronization configuration state by activestandby state control module;
B3, batch synchronization module after active and standby message processing module receives the response from master, activestandby state control module
State machine is set to batch synchronization configuration state, the batch synchronization treatment that batch synchronization module is configured;After the completion for the treatment of, batch
Synchronization module sends batch synchronization status request, after sending successfully, activestandby state control by active and standby message processing module to master
State machine is set to wait batch synchronization state state by molding block;
B4, batch synchronization module after active and standby message processing module receives the response from master, activestandby state control module
State machine is set to batch synchronization state state, batch synchronization module carries out the batch synchronization treatment of state;
After B5, active and standby message processing module receive the batch synchronization state end that master is sent, activestandby state control module
State machine is set to real-time synchronization state, the real-time synchronization configuration message or same in real time that real-time synchronization module start to process master is sent
Step status message.
5. the main standby synchronous method of multi-service integrated access device as claimed in claim 4, it is characterised in that:The batch is same
An overtime timer is provided with step module;
On this basis, in step B2 and step B3, batch synchronization module is successfully transmitted batch synchronization configuring request/batch synchronization
After status request, the overtime timer can be started, if not receiving the response message of master after overtime timer time-out also, in batches together
Step module can retransmit a batch synchronization configuring request;If receiving the response message of master, batch synchronization module can then close super
When timer.
6. the main standby synchronous method of multi-service integrated access device as claimed in claim 4, it is characterised in that:The multi-service
Activestandby state lamp is provided with integrated access equipment;
On this basis, in step B1, after state machine is set to ready state by activestandby state control module, control activestandby state lamp is opened
Begin to flash;In step B5, after state machine is set to real-time synchronization state by activestandby state control module, control activestandby state lamp stops dodging
It is bright.
7. the main standby synchronous method of multi-service integrated access device as claimed in claim 4, it is characterised in that master and standby disk
Interaction realizes that configuration, the idiographic flow of the batch synchronization treatment of state are:
After standby disk succeeds in registration to master, state machine is set to ready state by the activestandby state control module of standby disk;Batch synchronization mould
Block calls the active and standby message transmission interface of active and standby message processing module, and batch synchronization configuring request is sent to master;Send successfully
Afterwards, notify that state machine is set to wait batch synchronization configuration state by activestandby state control module;
The active and standby message processing module of master asks this after active and standby message sink interface receives batch synchronization configuring request
It is distributed to batch synchronization module;Batch synchronization module notifies that state machine is set to batch synchronization configuration by activestandby state control module
State, and call the active and standby message transmission interface of active and standby message processing module to send batch synchronization configuration response message to standby disk, should
Ftp server information comprising master in message;
For disk after active and standby message sink interface receives the batch synchronization configuration response message that master is sent, by the message distribution
To batch synchronization module;Batch synchronization module notifies that state machine is set to batch synchronization configuration state by activestandby state control module, and
According to the ftp server information, from master download configuration file, preserve and loading configuration file;After the completion of loading configuration, batch
Amount synchronization module calls active and standby message transmission interface, and batch synchronization status request is sent to master;After sending successfully, notify active and standby
State machine is set to wait batch synchronization state state by status control module;
The request is distributed to batch synchronization mould by master after active and standby message sink interface receives batch synchronization status request
Block;Batch synchronization module notifies that state machine is set to batch synchronization state state by activestandby state control module, and calls active and standby message
Transmission interface sends batch synchronization status response message to standby disk;
For disk after active and standby message sink interface receives the batch synchronization status response message that master is sent, by the message distribution
To batch synchronization module;Batch synchronization module notifies that state machine is set to batch synchronization state state by activestandby state control module, so
The callback interface of itself is called to process batch synchronization status response message afterwards;
After the batch synchronization status response message of master has sent, batch synchronization module calls active and standby message transmission interface to standby disk
Batch synchronization state end is sent, and notifies that state machine is set to real-time synchronization state by activestandby state control module;
For disk after active and standby message sink interface receives the batch synchronization state end that master is sent, by the message distribution
To batch synchronization module;Batch synchronization module notifies that state machine is set to real-time synchronization state by activestandby state control module.
8. the main standby synchronous method of multi-service integrated access device as claimed in claim 4, it is characterised in that master and standby disk
Interaction realizes that the idiographic flow of the real-time synchronization of configuration is:
After master receives any configuration message from webmaster or order line, real-time synchronization module is by calling active and standby message
The active and standby message transmission interface of processing module, real-time synchronization configuration message is forwarded to standby disk, real-time synchronization configuration message be
Active and standby message header is added on the basis of configuration message;
After the active and standby message processing module of standby disk receives real-time synchronization configuration message by active and standby message sink interface, by the message
It is distributed to real-time synchronization module;Real-time synchronization module reads the state of standby disk in real time, when standby plate-like state is non real-time synchronous state, then
Postpone to wait;When standby plate-like state is real-time synchronization state, real-time synchronization module is processed by calling SNMP Agent callback interfaces
Real-time synchronization configures message.
9. the main standby synchronous method of multi-service integrated access device as claimed in claim 4, it is characterised in that master and standby disk
Interaction realizes that the idiographic flow of the real-time synchronization of state is:
After the state on master changes, real-time synchronization module is sent by calling active and standby message transmission interface to standby disk
Real-time synchronization status message, the real-time synchronization status message is to add active and standby message header on the basis of state after change;
The active and standby message processing module of standby disk after active and standby message sink interface receives real-time synchronization status message, by the message
It is distributed to real-time synchronization module;Real-time synchronization module reads the state of standby disk in real time, when standby plate-like state is non real-time synchronous state, then
Postpone to wait;When the state of standby disk is real-time synchronization state, real-time synchronization module is returned by calling the existing business module of standby disk
Adjust interface treatment real-time synchronization status message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710019484.8A CN106878060A (en) | 2017-01-12 | 2017-01-12 | The active and standby synchronization system and method for a kind of multi-service integrated access device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710019484.8A CN106878060A (en) | 2017-01-12 | 2017-01-12 | The active and standby synchronization system and method for a kind of multi-service integrated access device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106878060A true CN106878060A (en) | 2017-06-20 |
Family
ID=59157463
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710019484.8A Pending CN106878060A (en) | 2017-01-12 | 2017-01-12 | The active and standby synchronization system and method for a kind of multi-service integrated access device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106878060A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110086581A (en) * | 2019-05-30 | 2019-08-02 | 深圳市中航比特通讯技术有限公司 | The synchronous method and apparatus of a main prepare more data under a kind of network integration scene |
CN110661869A (en) * | 2019-09-26 | 2020-01-07 | 苏州浪潮智能科技有限公司 | Node online method, system, device, equipment and computer storage medium |
CN111093125A (en) * | 2019-12-27 | 2020-05-01 | 瑞斯康达科技发展股份有限公司 | Method, device and storage medium for realizing trunk optical fiber protection of optical line terminal |
CN111464346A (en) * | 2020-03-23 | 2020-07-28 | 珠海高凌信息科技股份有限公司 | Main and standby control board synchronization method and system based on ATCA (advanced telecom computing architecture) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1405985A (en) * | 2001-08-21 | 2003-03-26 | 华为技术有限公司 | Master-spare converting control circuit and method for realizing it |
CN1741404A (en) * | 2004-08-27 | 2006-03-01 | 华为技术有限公司 | Method for negat main spare board in communication equipment |
CN1921326A (en) * | 2006-08-29 | 2007-02-28 | 华为技术有限公司 | Method, device and system for main-standby inverting control |
CN101179366A (en) * | 2006-11-06 | 2008-05-14 | 中兴通讯股份有限公司 | Method of synchronizing master/slave data of digital subscriber line access multiplexer |
-
2017
- 2017-01-12 CN CN201710019484.8A patent/CN106878060A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1405985A (en) * | 2001-08-21 | 2003-03-26 | 华为技术有限公司 | Master-spare converting control circuit and method for realizing it |
CN1741404A (en) * | 2004-08-27 | 2006-03-01 | 华为技术有限公司 | Method for negat main spare board in communication equipment |
CN1921326A (en) * | 2006-08-29 | 2007-02-28 | 华为技术有限公司 | Method, device and system for main-standby inverting control |
CN101179366A (en) * | 2006-11-06 | 2008-05-14 | 中兴通讯股份有限公司 | Method of synchronizing master/slave data of digital subscriber line access multiplexer |
Non-Patent Citations (1)
Title |
---|
至顶网: ""高端交换机主备倒换技术"", 《至顶网》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110086581A (en) * | 2019-05-30 | 2019-08-02 | 深圳市中航比特通讯技术有限公司 | The synchronous method and apparatus of a main prepare more data under a kind of network integration scene |
CN110661869A (en) * | 2019-09-26 | 2020-01-07 | 苏州浪潮智能科技有限公司 | Node online method, system, device, equipment and computer storage medium |
CN111093125A (en) * | 2019-12-27 | 2020-05-01 | 瑞斯康达科技发展股份有限公司 | Method, device and storage medium for realizing trunk optical fiber protection of optical line terminal |
CN111093125B (en) * | 2019-12-27 | 2021-11-02 | 瑞斯康达科技发展股份有限公司 | Method, device and storage medium for realizing trunk optical fiber protection of optical line terminal |
CN111464346A (en) * | 2020-03-23 | 2020-07-28 | 珠海高凌信息科技股份有限公司 | Main and standby control board synchronization method and system based on ATCA (advanced telecom computing architecture) |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108400997A (en) | Conversation managing method, terminal, management function entity and access network node | |
CN106878060A (en) | The active and standby synchronization system and method for a kind of multi-service integrated access device | |
CN101159747B (en) | TCP concurrency multilink based communication system and method therefor | |
US20150078747A1 (en) | Optical line terminal device and implementation method thereof | |
CN107528891B (en) | Websocket-based automatic clustering method and system | |
WO2020083289A1 (en) | Device management and control method, apparatus, and storage medium | |
US9906412B2 (en) | Collaboration method and system in distributed resilient network interconnect system | |
CN111083177B (en) | Cross-domain collaborative interaction method based on collaborative gateway | |
CN105760260A (en) | Backup system and backup method | |
CN109151082A (en) | A kind of multi-connection method for building up, device and system | |
CN101009588A (en) | Method and system for configuring the distributed proxy server information | |
CN105763442B (en) | The unbroken PON system of masterslave switchover LACP aggregated links and method | |
CN102170366B (en) | Method, device and system for communicating with single board | |
CN110233851A (en) | A kind of data transmission method and device | |
CN106937265B (en) | Ship communication method and device | |
CN115866535A (en) | Method and system for realizing 5G message access by multiple protocols | |
CN105282235B (en) | A method of solution RPC upgrades unstable in double-PON port ONU | |
CN105959137A (en) | Method and device for realizing configuration data synchronization in PON system | |
CN112822080A (en) | Bus system based on SOA architecture | |
CN105516097A (en) | Mixed-architecture message system and message transmission method based on Thrift data format | |
CN109150747B (en) | Method and device for changing service bandwidth and computer readable storage medium | |
CN104993969A (en) | Asynchronous configuration OUN method, system and OLT | |
CN105210325A (en) | Ethernet passive optical network communication method, device and system | |
CN117241165B (en) | Master-slave device communication method, storage medium and electronic apparatus for fiber-to-room FTTR | |
WO2023273943A1 (en) | Onu transmission rate control method, onu, olt, electronic device, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170620 |
|
RJ01 | Rejection of invention patent application after publication |