CN104253707B - A kind of master and backup discs multicast service synchronous method - Google Patents

A kind of master and backup discs multicast service synchronous method Download PDF

Info

Publication number
CN104253707B
CN104253707B CN201310270776.0A CN201310270776A CN104253707B CN 104253707 B CN104253707 B CN 104253707B CN 201310270776 A CN201310270776 A CN 201310270776A CN 104253707 B CN104253707 B CN 104253707B
Authority
CN
China
Prior art keywords
master
information
multicast
standby disk
standby
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
CN201310270776.0A
Other languages
Chinese (zh)
Other versions
CN104253707A (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.)
Huzhou YingLie 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 CN201310270776.0A priority Critical patent/CN104253707B/en
Publication of CN104253707A publication Critical patent/CN104253707A/en
Application granted granted Critical
Publication of CN104253707B publication Critical patent/CN104253707B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to the communications fields, more particularly to a kind of master and backup discs multicast service synchronous method, by by the configuration information of master and multicast group status information real-time synchronization to standby disk, so that the relevant information of standby disk and the relevant information of master are consistent, when master is abnormal and switches to standby disk, standby disk will not send query message to influence upstream bandwidth, the configuration information and multicast group status information of standby disk can be used directly after switching, and then the interruption of signal will not be generated, it ensure that fluency of the multicast in switching.

Description

A kind of master and backup discs multicast service synchronous method
Technical field
The present invention relates to the communications fields, and in particular to a kind of master and backup discs multicast service synchronous method.
Background technique
Continuous improvement with user to network bandwidth requirement, fiber to the home are done step-by-step.PON Important equipment of (powerlessopticalnetwork, the passive optical network) equipment as soft exchange, is divided into OLT (opticallineterminal, optical line terminal) local side apparatus and ONU(opticalnetworkunit, optical network unit) Ustomer premises access equipment.Thousands of ONU equipment can be connect below OLT, so the stability and reliability requirement to OLT are very high. The OLT device of mainstream is made of master and line card at present.It is general standby using increasing by one piece in order to guarantee the reliability of OLT device With the mode of disk, when equipment operates normally, master works, and master abnormal equipment when can not work occurs by service switching to standby With disk to guarantee that equipment works normally, to avoid causing damages.
Multicast IGMP(InternetGroupManagementProtocol) agreement is used exclusively for transmission group in a network The agreement of business is broadcast, IGMP agreement is run between host and the multicast router being connected directly with host, and host is assisted by this View tells local router to wish the information for being added and receiving some particular multicast group.
Master and standby disk all run IGMP agreement, when the user below OLT needs to be added some multicast group, can send group Report message is broadcast to master.Master according to the multicast report message received, parse multicast group information and this message from which Come on port.Master locally generates a multicast forwarding list item in this way, and contents in table includes: multicast group address, multicast group institute The virtual LAN of category, the port that the group is added.After local multicast forwarding-table item generates successfully, which is written It is driven to forwarding chip.The multicast report message equipment connected to the outlet of the OLT first line of a couplet is sent simultaneously, notifies that equipment above should OLT wishes that particular multicast group is added.OLT device in this way is when receiving multi-cast business data, according to multicast forwarding list item by multicast Business datum is forwarded to corresponding port.
When OLT does not receive the multicast report message of following user for a long time, multicast protocol will be considered that following user It has left.Or OLT receives the multicast that following user sends and leaves message, multicast protocol also will be considered that following user will be from It opens.When multicast protocol thinks that multicast group has been left in certain port, corresponding local multicast forwarding-table item and hardware are just deleted Multicast forwarding list item.
According to the content of multicast forwarding list item, active and standby multicast group information synchronizing content includes:
The multicast business important as OLT the next item up (such as video flowing) does not allow business to have interruption requirement of real-time height. IGMP(InternetGroupManagementProtocol Internet protocol) it is used exclusively for transport multicast business in a network Agreement, IGMP agreement runs between host and the multicast router being connected directly with host, and host is told by this agreement Local router wishes the information for being added and receiving some particular multicast group.The forwarding of group business stream is root in OLT device According to multicast forwarding list item in control, and multicast forwarding list item is by multicast IGMP agreement according to the multicast protocol message received Come what is generated.
The technical solution realized at present has:
A. master is synchronous with configuration holding on standby disk, when master breaks down, service switching to standby disk.But multicast turns Forwarding list item is asynchronous to standby disk, needs to re-establish multicast forwarding list item according to multicast protocol message for disk;But the technical side Configuration information is only synchronized between the master and backup discs of case, multicast forwarding list item only just re-establishes after active-standby switch.It can lead in this way It causes that multicast service long disruption occurs in active-standby switch.
B. it realizes and receives on master and backup discs hardware and publish, i.e., master and backup discs can receive identical message, but only master can To be sent out message.After the completion of standby disk startup, configuration is synchronized on standby disk by master, and at the same time sending general look into downwards Message is ask, user terminal sends up a group report message after receiving general polling message.Master and backup discs can all receive user terminal in this way Multicast protocol report message, to establish identical multicast forwarding list item.Configuration information is synchronized between program master and backup discs.Standby After disk startup, master sends multicast general polling message, and standby disk can turn according to the synchronous multicast that generates of multicast report message is received Forwarding list item.But active transmission general polling message can generate a large amount of multicast report message, influence uplink bandwidth of network, and Multicast forwarding list item needs are generated by agreement to wait for a period of time.If active-standby switch, which occurs, for this period will lead to multicast industry Business is interrupted.
(application number: 200610141012.1) disclosing a kind of master/standby control method to Chinese patent, wherein including following step Rapid: (a) data and state of host and standby host synchronize;(b) network management initiates masterslave switchover order to host, and host is to standby host Initiate masterslave switchover prompt;(c) after standby host receives masterslave switchover prompt, standby host, which checks whether, can execute masterslave switchover, i.e., standby Whether machine correctly obtains data and state, if so, standby host sends the response message for agreeing to masterslave switchover to host, standby host is switched For host, otherwise, standby host sends the response message of refusal masterslave switchover to host, and masterslave switchover is cancelled.
The invention is that the order of masterslave switchover is assigned by network management so that host and standby host switch over, so that standby host is switched For host, it is ensured that keep data and state consistency between active and standby, system can work normally after masterslave switchover, but the invention Standby machine between only synchronous configuration information, there is no synchronization multicast status protocol information, when standby machine switches over, standby disk It needs to send query message and then generates a large amount of multicast report message, influence uplink bandwidth of network, simultaneously because standby disk is not Have and generate multicast forwarding list item, casting forwarding-table item needs are generated by agreement and are waited for a period of time, if during this period of time Carry out the interruption that the switching between standby machine is easy to cause multicast service.The program is to need to initiate manually there are one defect It changes, rather than equipment according to circumstances auto switching, standby host cannot be switched in time when host breaks down in this way and leads to industry Business is interrupted.
The shortcomings that for prior art scheme, those skilled in the art mainly solve the real-time of master and backup discs multicast forwarding list item It is synchronous, multicast forwarding list item when guaranteeing standby disk startup and consistent with master, to guarantee the multicast when master and backup discs switch over Business does not generate interruption, and there is no generating a large amount of multicast report messages, and then switches the deadline and longer ask Topic.
Summary of the invention
Deficiency provides a kind of master and backup discs multicast service synchronous method to the present invention according to prior art, passes through an optical link Terminal device is synchronous to realize master and backup discs multicast service, which is made of master, standby disk and line card, master Configuration information and multicast group status information can real-time synchronization to standby disk, standby packing generates this according to the multicast group status information received It ground forwarding-table item and drives forwarding-table item and completes the synchronizing information of multicast service between master and backup discs, when abnormal switching occurs in master When to for disk, since standby disk production has local multicast forwarding list item, the interruption of business will not be generated in switching, simultaneously because Real-time synchronization multicast forwarding list item between master and backup discs, so that the multicast forwarding list item of standby disk and the multicast forwarding list item of master and backup discs are protected Hold the problem that will not unanimously generate a large amount of multicast report text.
In order to realize above technical scheme, the technical solution adopted by the present invention are as follows:
A kind of master and backup discs multicast service synchronous method is applied in optical line terminal equipment, the optical line terminal equipment Including master, standby disk and line card, which is characterized in that the master and the standby disk are for realizing real time synchronization, the letter Synchronous breath includes that configuration information is synchronous and multicast state protocol information is synchronous, to guarantee multicast when the master and standby disk switch Business does not generate interruption, comprising the following steps:
Step S1, start the standby disk, and the information that standby disk startup is completed is sent to master;
Step S2, after information of master after the completion of receiving standby disk startup, the configuration information of master is sent to standby disk The configuration information of the synchronization for carrying out configuration information, the configuration information and master that make standby disk is consistent;
Step S3, after the completion of synchronous configuration information, the information that standby disk synchronously completes configuration information feeds back to master;
Step S4, after master receives the configuration information for disk, current multicast group status information is extracted, and is encapsulated and beats It wraps and is sent to standby disk;
Step S5, its information is parsed after receiving the information of the multicast group status information from master for disk, and Local multicast forwarding-table item and driving forwarding-table item are generated in standby disk;
Step S6, standby disk notifies master after being parsed, and it is synchronous with standby disk multicast service to complete master.
Above-mentioned a kind of master and backup discs multicast service synchronous method, wherein the multicast state information includes:
1) multicast group information, the multicast group information include multicast group IP address, affiliated VLAN The Host Status of (VirtualLocalAreaNetwork, virtual LAN) and multicast;
2) port information, the port information include port be added group address, port index, port status, host most There are timer, last membership query timer and last membership query numbers by member flag, port members afterwards.
Above-mentioned master and backup discs multicast service synchronous method, wherein the master and standby disk all run internet group management association View.
According to above-mentioned master and backup discs multicast service synchronous method, wherein the standby packing is assisted according to the internet group management View generates the multicast forwarding list item.
According to above-mentioned master and backup discs multicast service synchronous method, wherein master will using master-slave communication mechanism in step S4 The multicast group status information encapsulation is packaged and is synchronized to the standby disk.
Since present invention employs above technical schemes, by the way that the configuration information of master is synchronous with multicast group status information To standby disk, standby packing generates local forwarding-table item and driving forwarding-table item according to the multicast group status information received and completes active and standby The synchronizing information of multicast service between disk, when abnormal switch to for disk occurs in master, since standby disk generation has local forwarding table , of short duration signal interruption will not be generated.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, the present invention and its feature, outer Shape and advantage will become more apparent upon.Identical label indicates identical part in all the attached drawings.Not deliberately proportionally Draw attached drawing, it is preferred that emphasis is show the gist of the present invention.
Fig. 1 is a kind of flow chart of master and backup discs multicast service synchronous method of the present invention.
Specific embodiment
A specific embodiment of the invention is further described with reference to the accompanying drawing:
The present invention provides a kind of master and backup discs multicast service synchronous method, are applied in optical line terminal equipment, the light Road terminal device includes master, standby disk and line card, master with for disk can real-time perfoming information it is synchronous, to guarantee the master Multicast service does not generate interruption when switching with standby disk, and Fig. 1 is a kind of flow chart of master and backup discs multicast service synchronous method of the present invention, The following steps are included:
Step S1, start standby disk, and the information that standby disk startup is completed is sent to master;
Step S2, after master receives the information that standby disk startup is completed, the configuration information of master is sent to standby disk, standby disk Synchronized after receiving the configuration information of master, make the configuration information of standby disk and master completion synchronize be consistent;
Step S3, after standby disk configuration information synchronously completes, the relevant configuration information of standby disk is sent to master,
Step S4, after master receives the configuration information for disk, the status information of current multicast is extracted, master-slave communication is utilized Multicast group status information is encapsulated and is packaged by mechanism, and is sent to standby disk, wherein the status information of multicast group includes:
1) multicast group information: empty including multicast group IP address, affiliated VLAN(VirtualLocal AreaNetwork Quasi- local area network), the Host Status of multicast and relevant information;
2) port information: group address, port index, port status, the last member flag of host, end including port addition There are timer, last membership query timer, last membership query numbers by mouth member.
Step S5, after standby disk receives the status information of the packing multicast group of master transmission, to multicast group status information into Row parsing, simultaneously because master and backup discs all run multicast IGMP agreement, the multicast IGMP agreement run in standby disk is according to group above Group status information is broadcast after standby disk generates multicast forwarding list item and driving forwarding-table item and generates multicast state information list, by group It broadcasts state information list and is transmitted to master.
Step S6, standby disk notifies master after being parsed, and it is synchronous with standby disk multicast service to complete master;
When master switches to standby disk due to abnormal needs, due to the configuration information and multicast group status information of master and standby Disk realizes real-time synchronization, so that the relevant information of standby disk and the relevant information of master are consistent, are abnormal and cut in master When shifting to standby disk, standby disk will not send query message to influence upstream bandwidth, and the configuration of standby disk can be used directly after switching Information and multicast group status information, and then the interruption of signal will not be generated.
In conclusion since present invention employs above technical schemes, when there is abnormal switch to for disk in master, due to Real-time synchronization configuration information and multicast protocol information between master and backup discs, when switching to standby disk, due to multicast after standby disk startup Forwarding-table item is consistent with master, to guarantee that multicast service does not interrupt, while will not be sent query message and be generated largely Multicast report message simultaneously because standby disk generation has multicast forwarding list item, be omitted and passing to influence uplink bandwidth of network It the time for needing to generate multicast forwarding list item in system technical solution by the agreement of standby disk operation, further ensures in switching The continuity of multicast service.
Presently preferred embodiments of the present invention is described above.It is to be appreciated that the invention is not limited to above-mentioned Particular implementation, devices and structures not described in detail herein should be understood as gives reality with the common mode in this field It applies;Anyone skilled in the art, without departing from the scope of the technical proposal of the invention, all using the disclosure above Methods and technical content many possible changes and modifications are made to technical solution of the present invention, or be revised as equivalent variations etc. Embodiment is imitated, this is not affected the essence of the present invention.Therefore, anything that does not depart from the technical scheme of the invention, foundation Technical spirit of the invention any simple modifications, equivalents, and modifications made to the above embodiment, still fall within the present invention In the range of technical solution protection.

Claims (3)

1. a kind of master and backup discs multicast service synchronous method is applied in optical line terminal equipment, the optical line terminal equipment packet Include master, standby disk and line card, which is characterized in that the master and the standby disk are for realizing real time synchronization, the information Synchronous includes that configuration information is synchronous and multicast group status information is synchronous, to guarantee multicast service when the master and standby disk switch Interruption is not generated, specifically includes the following steps:
Step S1, start the standby disk, and the information that standby disk startup is completed is sent to master;
Step S2, after information of master after the completion of receiving standby disk startup, the configuration information of master is sent to standby disk and is carried out The configuration information of the synchronization of configuration information, the configuration information and master that make standby disk is consistent;
Step S3, after the completion of synchronous configuration information, the information that standby disk synchronously completes configuration information feeds back to master;
Step S4, after the configuration information that master receives standby disk synchronously completes information, current multicast group status information is extracted, and will It, which is encapsulated, is packaged and communicated to standby disk;The multicast group status information is encapsulated using master-slave communication mechanism and is packaged and synchronizes by master To the standby disk;
Step S5, its information is parsed after receiving the information of the multicast group status information from master for disk, and standby Disk generates local multicast forwarding-table item and driving forwarding-table item;
Step S6, standby disk notifies master after being parsed, and it is synchronous with standby disk multicast service to complete master;
The multicast group status information includes:
1) multicast group information, the multicast group information include the Host Status of multicast group IP address, affiliated VLAN and multicast;
2) port information, the port information include port be added group address, port index, port status, host finally at Member's mark, there are timer, last membership query timer and last membership query numbers by port members.
2. master and backup discs multicast service synchronous method according to claim 1, which is characterized in that the master and standby disk are all transported Row Internet Group Management Protocol.
3. master and backup discs multicast service synchronous method according to claim 2, which is characterized in that the standby packing is according to described mutual Igmpinternet of networking generates the local multicast forwarding-table item.
CN201310270776.0A 2013-06-28 2013-06-28 A kind of master and backup discs multicast service synchronous method Active CN104253707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310270776.0A CN104253707B (en) 2013-06-28 2013-06-28 A kind of master and backup discs multicast service synchronous method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310270776.0A CN104253707B (en) 2013-06-28 2013-06-28 A kind of master and backup discs multicast service synchronous method

Publications (2)

Publication Number Publication Date
CN104253707A CN104253707A (en) 2014-12-31
CN104253707B true CN104253707B (en) 2019-06-07

Family

ID=52188274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310270776.0A Active CN104253707B (en) 2013-06-28 2013-06-28 A kind of master and backup discs multicast service synchronous method

Country Status (1)

Country Link
CN (1) CN104253707B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657168A (en) * 2015-07-27 2017-05-10 中兴通讯股份有限公司 Method, device and system for synchronizing data
CN108234358B (en) * 2017-12-29 2021-09-21 新华三技术有限公司 Multicast message transmission method, device and machine readable storage medium
CN108632125B (en) * 2018-04-23 2020-12-29 新华三技术有限公司 Multicast table item management method, device, equipment and machine readable storage medium
CN111092777B (en) * 2019-12-31 2022-11-25 杭州迪普科技股份有限公司 Method and device for learning forwarding table item

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651912A (en) * 2008-08-13 2010-02-17 华为技术有限公司 Data transmission method, device and system used in optical access network
CN101667862A (en) * 2008-09-01 2010-03-10 华为技术有限公司 Optical network system, optical network equipment and exchanging method thereof
CN101674222A (en) * 2008-09-10 2010-03-17 华为技术有限公司 Method and system for multicast switching
CN101867392A (en) * 2009-04-15 2010-10-20 中兴通讯股份有限公司 Method, equipment and system for improving type B protection switching performance
CN102035597A (en) * 2009-09-30 2011-04-27 华为技术有限公司 Method, device and system for switching between main terminal and standby terminal of passive optical network (PON)
CN102487466A (en) * 2010-12-03 2012-06-06 中兴通讯股份有限公司 Method for transmitting date in passive optical network under fully protected mode and system thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100523490B1 (en) * 2003-12-17 2005-10-24 한국전자통신연구원 Method for multicast service in ethernet passive optical network system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651912A (en) * 2008-08-13 2010-02-17 华为技术有限公司 Data transmission method, device and system used in optical access network
CN101667862A (en) * 2008-09-01 2010-03-10 华为技术有限公司 Optical network system, optical network equipment and exchanging method thereof
CN101674222A (en) * 2008-09-10 2010-03-17 华为技术有限公司 Method and system for multicast switching
CN101867392A (en) * 2009-04-15 2010-10-20 中兴通讯股份有限公司 Method, equipment and system for improving type B protection switching performance
CN102035597A (en) * 2009-09-30 2011-04-27 华为技术有限公司 Method, device and system for switching between main terminal and standby terminal of passive optical network (PON)
CN102487466A (en) * 2010-12-03 2012-06-06 中兴通讯股份有限公司 Method for transmitting date in passive optical network under fully protected mode and system thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《EPON系统中IGMP的优化实现》;梅瑜华 等;《光通信技术》;20130228(第2期);第15-17页

Also Published As

Publication number Publication date
CN104253707A (en) 2014-12-31

Similar Documents

Publication Publication Date Title
CN101336530B (en) Network system
TWI455501B (en) Methods and apparatus for extending mac control messages in epon
CN108964943B (en) Method and device for realizing IOAM packaging
CN102100039B (en) Establishing pseudowires in packet switching networks
CN104253707B (en) A kind of master and backup discs multicast service synchronous method
US9106566B2 (en) Method, apparatus and system for two-node cluster hot backup
CN101924654A (en) Point-to-multipoint service-based path switching method and system
CN101090355A (en) Label exchange route setting method, system and equipment of virtual special network channel
CN101631069A (en) Method, system and equipment for pseudo wire parameter negotiation
US20150333952A1 (en) Method and system for link switching
KR20150007623A (en) Method and appratus for protection switching in packet transport system
KR20040062336A (en) Method for controlling loopback procedure in ethernet passive optical network
CN101984591A (en) Service convergence method and system in transport-multiprotocol label switching network
CN108616455A (en) A kind of route synchronization method of single machine pile system
CN105306356A (en) Method for realizing master-slave switching of multicast routing on distributed system
CN110138631B (en) Connectivity detection method of video network tunnel and terminal equipment
CN102857399B (en) MAC address deleting method, device and system of VPLS dual homing network
TWI474682B (en) System and method for applying an extended multipoint protocol to wireless access systems
CN105306276B (en) OAM protocol encapsulating method, system and EPON based on software defined network access net
WO2013078873A1 (en) Method and device for identifying response message
CN108965027A (en) A kind of CES service nondestructive transfer approach
CN109150711A (en) The pretection switch method, apparatus and storage medium of point-to-multipoint Layer 2 Multicast business
CN102907037B (en) The method of service backup, Apparatus and system is carried out between a kind of multimachine
CN104065493A (en) Multicast switching protection method, device and system
JP2011188046A (en) Packet communication system and method for controlling packet communication apparatus

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
TR01 Transfer of patent right

Effective date of registration: 20201203

Address after: 313021 industrial function area of Donglin Town, Huzhou City, Zhejiang Province

Patentee after: ZHEJIANG YUANTE NEW MATERIAL 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
TR01 Transfer of patent right

Effective date of registration: 20211122

Address after: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Address before: 313021 industrial functional zone, Donglin Town, Huzhou City, Zhejiang Province

Patentee before: ZHEJIANG YUANTE NEW MATERIAL CO.,LTD.