CN105591894B - A kind of method and apparatus that the veneer of distributed system improves data channel reliability between plate - Google Patents

A kind of method and apparatus that the veneer of distributed system improves data channel reliability between plate Download PDF

Info

Publication number
CN105591894B
CN105591894B CN201510390020.9A CN201510390020A CN105591894B CN 105591894 B CN105591894 B CN 105591894B CN 201510390020 A CN201510390020 A CN 201510390020A CN 105591894 B CN105591894 B CN 105591894B
Authority
CN
China
Prior art keywords
veneer
data
channel
message
another
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
CN201510390020.9A
Other languages
Chinese (zh)
Other versions
CN105591894A (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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201510390020.9A priority Critical patent/CN105591894B/en
Publication of CN105591894A publication Critical patent/CN105591894A/en
Application granted granted Critical
Publication of CN105591894B publication Critical patent/CN105591894B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery

Abstract

The invention discloses the methods that a kind of veneer of distributed system improves data channel reliability between plate, the veneer and another veneer are interconnected by two unidirectional the first data channel and the second data channel, by two-way interprocess communication channel transmitting-receiving protocol massages, method includes: that veneer passes through data message or detection messages of first data channel reception from another veneer for the veneer and another veneer;Veneer, which determined in the first threshold time set, does not receive data message or detection messages by first data channel, then disconnects message to another veneer by interprocess communication channel sendaisle;It will be sent datagram by interprocess communication channel to veneer with triggering another veneer, to ensure that the uninterrupted of data message forwarding.The invention discloses the devices that a kind of veneer of distributed system improves data channel reliability between plate.

Description

A kind of veneer of distributed system improve between plate the method for data channel reliability and Device
Technical field
Data are logical between improving plate the present invention relates to the veneer of communication between plates technical field more particularly to a kind of distributed system The method and apparatus of road reliability.
Background technique
Typical distributed system is as shown in Figure 1, include main control board, slave control board, interprocess communication chip, number According to chip and more than two interface boards.Physically, any two in main control board, slave control board and interface board By interprocess communication chip between veneer, using as interprocess communication channel (Interprocess Communication, IPC) channel carries out the transmission of control message;It is connected by data chip, the transmission to carry out data message as data channel. Data channel between any two veneer can be made of two one-way data channels or a bidirectional data path.
Wherein, main control board or slave control board reach interface board for message is controlled by interprocess communication channel, with Realize the control to interface board.When normal work, main control board controls interface board, and slave control board is in primary master control After plate generation problem, main control board can be just taken over to be managed to interface board.
A forwarding-table item can be saved after through Routing Protocol study to forwarding-table item for each interface board, this After sample interface board receives data message, forwarding-table item directly is searched in interface board, can realize the forwarding of data message.If When on different interface boards, data message is needed from incoming interface plate via data between plate the incoming interface and outgoing interface of data message Channel is forwarded to outgoing interface plate.
In the prior art, interprocess communication channel just can satisfy requirement using the Ethernet band width in physical of 1G;Data are logical Road is not physically identical with interprocess communication channel, for the hardware corridor specially provided, guarantees the data message of straddle Forwarding service.
When distributed system is run, the data channel failure between veneer but the interprocess communication channel between veneer are normally still The protocol massages such as Routing Protocol can be forwarded, other equipment will be considered that distributed system is still worked normally and receive without routing in network It holds back, the data channel of the failure inside such distributed system will lead to the data message forwarding in distributed system and network Failure.
Currently in order to data channel failure between veneer is solved, the intercommunity of meeting data detection channel between each interface board. If when a data channel failure, master control borad can be by reseting interface plate, to attempt to restore data channel.But it if encounters The failure of chip of data channel, this method can not prove effective, and data channel is obstructed always, during customer service just can only be constantly in It is disconnected.
Summary of the invention
In view of this, the present invention propose between a kind of veneer of distributed system improves plate the method for data channel reliability and Device, to solve the above problems.
In order to achieve the above objectives, the technical solution of the embodiment of the present invention is achieved in that
The embodiment of the present invention provides the method that a kind of veneer of distributed system improves data channel reliability between plate, described Veneer and another veneer are interconnected by two unidirectional the first data channel and the second data channel, the veneer with it is described another Veneer receives and dispatches protocol massages by two-way interprocess communication channel, which comprises
The veneer receives data message or detection messages from another veneer by first data channel;
The veneer, which determined in the first threshold time set, does not receive data message by first data channel Or detection messages, then message is disconnected to another veneer by interprocess communication channel sendaisle;It is described another to trigger One veneer will be sent datagram by the interprocess communication channel to the veneer.
Optionally, the method also includes:
It is not sent to the data message of another veneer in the second threshold time of the veneer judgement setting, then passes through Second data channel sends detection messages to another veneer.
Optionally, the method also includes:
The veneer receives the detection messages that another veneer is sent by first data channel again, then passes through Interprocess communication channel sendaisle restores message to another veneer, to trigger another veneer for data message First data channel is switched to send.
The veneer that the embodiment of the present invention also provides a kind of distributed system improves the device of data channel reliability between plate, institute It states veneer and another veneer to interconnect by two unidirectional the first data channel and the second data channel, the veneer and described another One veneer receives and dispatches protocol massages by two-way interprocess communication channel, and described device includes: control packet sending and receiving module, data Packet sending and receiving module, channel switching module;
The data message transceiver module of the veneer is received by first data channel from another veneer The data message or detection messages that data message transceiver module is sent;
The data message transceiver module of the veneer, which determined in the first threshold time set, does not pass through first data Channel reception then triggers the control packet sending and receiving module and passes through the interprocess communication channel to data message or detection messages Sendaisle disconnects the channel switching module of message to another veneer.
Optionally, it is not sent in the second threshold time of the data message transceiver module judgement setting of the veneer described The data message of the data message transceiver module of another veneer then sends detection messages to described by second data channel The data message transceiver module of another veneer.
Optionally, the data message transceiver module of the veneer is received described another again by first data channel The detection messages that the data message transceiver module of veneer is sent, then trigger the control packet sending and receiving module and pass through between the process Communication channel sendaisle restores the channel switching module of message to another veneer.
Methods and apparatus of the present invention can will be through after data channel between veneer and another veneer breaks down It is switched to by the data message that the data channel of failure is sent and is sent via interprocess communication channel, to ensure that data message What is forwarded is uninterrupted.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of distributed system;
Fig. 2 is the method schematic diagram one of data channel reliability between the raising plate in the embodiment of the present invention;
Fig. 3 is the method schematic diagram two of data channel reliability between the raising plate in the embodiment of the present invention;
Fig. 4 a~4c is the schematic diagram of the switching channel of the distributed system in the embodiment of the present invention;
Fig. 5 is the structure drawing of device of data channel reliability between the raising plate in the embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, below by way of specific embodiment and join See attached drawing, the present invention is described in detail.
The skill for causing customer service to be interrupted to solve the data channel failure between veneer existing in the prior art Art problem, the embodiment of the present invention provide the method that a kind of veneer of distributed system improves data channel reliability between plate, with The normal forwarding of data message can also be realized when data channel failure.
Wherein, it is connected by backboard between all veneers, backboard is equipped with interprocess communication chip and data chip.Often A veneer can be interface board, or master control borad.
Backboard is equipped with interprocess communication chip and data chip.And every two veneer is corresponded on interprocess communication chip and is matched It is equipped with the two-way interprocess communication channel of a transmission control message, corresponds to every two veneer configured with two on data chip The first data channel and the second data channel of unidirectional data transmission message.In this way, if one of veneer is to another veneer The first data channel to send datagram breaks down, and only will affect the transmission of the data message in this direction, can't Influence the transmission of the data message of opposite direction.
In the embodiment of the present invention shown in Fig. 2 improve plate between data channel reliability method the following steps are included:
Step 201, veneer receives data message or detection messages from another veneer by the first data channel;
Step 202, veneer, which determined in the first threshold time set, does not receive data message by the first data channel Or detection messages, then message is disconnected to another veneer by interprocess communication channel sendaisle;It will to trigger another veneer It is sent datagram by interprocess communication channel to veneer.
Send the purpose of the detection messages, i.e., when another veneer is not sent datagram whithin a period of time to veneer, Then to the veneer send detection messages, for veneer in order to data detection channel on-off whether, avoid not having whithin a period of time It sends datagram to fault misdescription caused by the veneer.
Step 203, another veneer will be sent datagram by interprocess communication channel to the veneer.
By taking application scenarios are the distributed system referred in background technique as an example, wherein veneer can be interface board or master With master control borad or slave control board.
Wherein, interprocess communication chip is slow channels, such as 1Gbps rate;Data chip is high-speed channel, 2.5Gbps/10Gbps waiting.In actual use, the interprocess communication chip or data chip can for Ethernet switching chip, PCIE (Peripheral Component Interconnect Express) exchange chip etc..
It should be noted that because interacting between main control board or slave control board and interface board is most of for control Message, the only contact of a small number of data messages, such as configuration information.In order to save resource, master control borad side to interface board side, with And the data message and control message of interface board side to master control borad side are sent via channel between a process.Such situation Under, it is physically connected only by interprocess communication chip between main control board and slave control board and interface board. Similarly, it is physically also only connected by interprocess communication chip between main control board and slave control board.This implementation Example only discuss main control board or slave control board between interface board data channel and interprocess communication channel physically For the situation of two passes, as shown in Figure 1.
More detailed step is referring to Fig. 3 and Fig. 4 a~Fig. 4 c.Fig. 4 a~Fig. 4 c shows the number between two interface boards The embodiment of channel switching is carried out when disconnecting according to channel.In Fig. 4 a~Fig. 4 c, solid line represents the transmission of data message, dotted line generation The transmission of table control message.
By taking interface board A and interface board B as an example, data channel is reliable between the veneer of the distributed system of the present embodiment improves plate The method of property the following steps are included:
Step 301, interface board B checks whether receive by the first data channel certainly within the first threshold time of setting To the interface board A data message sent or detection messages;If so, entering step 302;If it is not, entering step 303.
Wherein, the detection messages that interface board A is sent, start timing after sending datagram for interface board A, if reaching the There is not data message to be sent to interface board B after two threshold times yet, then sends and send detection messages via the first data channel To interface board B.
Detection messages belong to control message, include at least type of message field, source address (i.e. interface board A) in heading And destination address (i.e. interface board B).Interface board B receives the detection messages, just means between interface board A and interface board B Data channel it is normal.
In addition, first threshold time and second threshold time can be by user's sets itselfs.It should be noted that considering Time of data-message transmission, data channel the factors such as transmission delay influence, the second threshold time need to be less than first threshold Time.
Step 302, interface board B receive the data message or detection messages, and the data message received is forwarded.
As shown in fig. 4 a, the transmission of the data message between normal condition lower interface plate A and B and control message.Wherein, It is interface board A and B on data chip configured with two unidirectional the first data channel and the second data channel;Interprocess communication core On piece is that interface board A and B are configured with a two-way interprocess communication channel.
Step 303, interface board B disconnects message to interface board A, subsequently into step by interprocess communication channel sendaisle Rapid 304.
The data channel of b referring to fig. 4, interface board A to interface board B disconnect, and interface board B can not receive within the first threshold time The data message of interface board A, while also can not receive the detection messages of interface board A, then pass through interprocess communication channel sendaisle Message is disconnected to interface board A.
Step 304, interface board A will be sent datagram by interprocess communication channel to interface board B, subsequently into step 305。
I.e. referring to fig. 4 c, interface board B notification interface plate A, changes interface board A by data message and is sent out by interprocess communication channel It send, to guarantee the transmission of the data message when data channel breaks down.
Specifically, including at least type of message field, source address and destination address in the heading of data message; In the heading for controlling message, type of message field, function field, source address and destination address are included at least.Different controls Message processed is by function field, to realize different control functions.
For interface board A, after the channel for receiving interface board B transmission disconnects message, parsing channel is disconnected in message Source address and destination address, then detect itself whether be stored with destination address be interface board B data message, if depositing Then the data message is being issued via interprocess communication channel.
For interface board B, message is being received by interprocess communication channel, is passing through the type of message in analytic message head Field, to distinguish control message and data message.
Step 305, interface board B judges whether the detection report for receiving interface board A transmission again by the first data channel Text, if it is, entering step 306.
Step 306, interface board B restores message to interface board A, subsequently into step by interprocess communication channel sendaisle Rapid 307.
Wherein, message is disconnected for the channel in routing restoration message and abovementioned steps, includes message class in heading Type-word section and function field.The type of message of two kinds of messages is control message;As for function field, not above-mentioned control Function field in message processed, but the spare field of the function field part in original control message is had changed, and again Define the movement of this function field.
In this step, interface board A can continuously attempt to send detection messages via the data channel of the disconnection.If data After routing restoration, then the detection messages are sent to interface board B, and after the routing restoration message for receiving interface board B return, it is complete At the recovery of data channel.
Optionally, interface board can also prompt the position of user malfunction point by prompt information.User is according to oneself industry Business demand, manual operation restore data channel, such as reset data chip, replacement data chip.
307, after interface board A receives routing restoration message, the data message sent via interprocess communication channel is cut It changes to the first data channel and is sent to interface board B.
The embodiment of the invention also discloses a kind of veneer of distributed system improve plate between data channel reliability device, As shown in figure 5, veneer and another veneer are interconnected by two unidirectional the first data channel and the second data channel, veneer and another One veneer receives and dispatches protocol massages by interprocess communication channel.
The device is set on each veneer, comprising: control packet sending and receiving module, data message transceiver module, handover trigger Module;
The data message transceiver module of veneer receives the data message transmitting-receiving from another veneer by the first data channel The data message or detection messages that module is sent;
The data message transceiver module of veneer is determined in the first threshold time of setting and is not received by the first data channel To data message or detection messages, then control packet sending and receiving module is triggered by interprocess communication channel sendaisle and disconnects message To the channel switching module of another veneer;Pass through interprocess communication channel to trigger the control packet sending and receiving module of another veneer It sends datagram to the control packet sending and receiving module of veneer.
Optionally, another veneer is not sent in the second threshold time of the data message transceiver module judgement setting of veneer Data message transceiver module data message, then by the second data channel send detection messages to another veneer datagram Literary transceiver module.
Optionally, the data message transceiver module of veneer receives the datagram of another veneer by the first data channel again The detection messages that literary transceiver module is sent then trigger control packet sending and receiving module and are restored by interprocess communication channel sendaisle Data message is switched to the channel switching module of another veneer with triggering the data message transceiver module of another veneer by message First data channel is sent.
To sum up, the method and apparatus that the veneer of distributed system of the invention improves data channel reliability between plate, in list After data channel between plate and another veneer breaks down, another veneer can be sent to the data message switching of the veneer It is sent to via interprocess communication channel, to ensure that the uninterrupted of data message forwarding.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.

Claims (6)

1. the method that a kind of veneer of distributed system improves data channel reliability between plate, the veneer pass through with another veneer Two unidirectional the first data channel and the second data channel interconnection, the veneer and another veneer pass through two-way process Between communication channel receive and dispatch protocol massages, which is characterized in that the described method includes:
The veneer receives data message or detection messages from another veneer by first data channel;
The veneer, which determined in the first threshold time set, does not receive data message or inspection by first data channel Text is observed and predicted, then message is disconnected to another veneer by interprocess communication channel sendaisle;To trigger another list Plate will be sent datagram by the interprocess communication channel to the veneer.
2. the method according to claim 1, wherein the method also includes:
The data message of another veneer is not sent in the second threshold time of the veneer judgement setting, then by described Second data channel sends detection messages to another veneer.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
The veneer receives the detection messages that another veneer is sent by first data channel again, then by described Interprocess communication channel sendaisle restores message to another veneer, is switched with triggering another veneer for data message It is sent to first data channel.
4. a kind of veneer of distributed system improves the device of data channel reliability between plate, the veneer passes through with another veneer Two unidirectional the first data channel and the second data channel interconnection, the veneer and another veneer pass through two-way process Between communication channel receive and dispatch protocol massages, which is characterized in that described device include: control packet sending and receiving module, data message transmitting-receiving Module, channel switching module;
The data message transceiver module of the veneer receives the data from another veneer by first data channel The data message or detection messages that packet sending and receiving module is sent;
The data message transceiver module of the veneer, which determined in the first threshold time set, does not pass through first data channel Data message or detection messages are received, then triggers the control packet sending and receiving module and is sent by the interprocess communication channel Channel disconnects the channel switching module of message to another veneer.
5. device according to claim 4, which is characterized in that
Another veneer is not sent in the second threshold time of the data message transceiver module judgement setting of the veneer The data message of data message transceiver module then sends detection messages to another veneer by second data channel Data message transceiver module.
6. device according to claim 5, which is characterized in that
The data message transceiver module of the veneer receives the data of another veneer by first data channel again The detection messages that packet sending and receiving module is sent, then trigger the control packet sending and receiving module and sent out by the interprocess communication channel Send routing restoration message to the channel switching module of another veneer.
CN201510390020.9A 2015-07-01 2015-07-01 A kind of method and apparatus that the veneer of distributed system improves data channel reliability between plate Active CN105591894B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510390020.9A CN105591894B (en) 2015-07-01 2015-07-01 A kind of method and apparatus that the veneer of distributed system improves data channel reliability between plate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510390020.9A CN105591894B (en) 2015-07-01 2015-07-01 A kind of method and apparatus that the veneer of distributed system improves data channel reliability between plate

Publications (2)

Publication Number Publication Date
CN105591894A CN105591894A (en) 2016-05-18
CN105591894B true CN105591894B (en) 2019-03-15

Family

ID=55931137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510390020.9A Active CN105591894B (en) 2015-07-01 2015-07-01 A kind of method and apparatus that the veneer of distributed system improves data channel reliability between plate

Country Status (1)

Country Link
CN (1) CN105591894B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547277B (en) * 2017-08-29 2020-09-08 新华三技术有限公司 Method for realizing virtualization control board and network communication equipment
CN109936518B (en) * 2017-12-18 2022-02-11 迈普通信技术股份有限公司 Detection method for channel fault of switching chip and distributed rack switch

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1592132A (en) * 2003-09-01 2005-03-09 华为技术有限公司 Master stand-by inkage switching method of cascade one-board
CN101197651A (en) * 2007-12-19 2008-06-11 华为技术有限公司 Method, equipment, master control board and interface plate of communication between plates
CN101277195A (en) * 2007-03-30 2008-10-01 杭州华三通信技术有限公司 Switching network communication system, implementing method and switching unit
CN101686119A (en) * 2008-09-23 2010-03-31 华为技术有限公司 Method, device and system of communication between single boards

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094125A (en) * 2006-06-23 2007-12-26 华为技术有限公司 Exchange structure in ATCA / ATCA300 expanded exchange bandwidth
CN100541365C (en) * 2006-11-06 2009-09-16 中国科学院电工研究所 A kind of embedded real-time control system of Industrial Ethernet
CN103685980B (en) * 2013-12-20 2017-02-08 广东威创视讯科技股份有限公司 Video signal backup method and system and video signal transmission method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1592132A (en) * 2003-09-01 2005-03-09 华为技术有限公司 Master stand-by inkage switching method of cascade one-board
CN101277195A (en) * 2007-03-30 2008-10-01 杭州华三通信技术有限公司 Switching network communication system, implementing method and switching unit
CN101197651A (en) * 2007-12-19 2008-06-11 华为技术有限公司 Method, equipment, master control board and interface plate of communication between plates
CN101686119A (en) * 2008-09-23 2010-03-31 华为技术有限公司 Method, device and system of communication between single boards

Also Published As

Publication number Publication date
CN105591894A (en) 2016-05-18

Similar Documents

Publication Publication Date Title
CN101483558B (en) Method, system and apparatus for packet switching network access by network appliance
CN101018228B (en) A port convergence method and device
CN103051536A (en) Quick multicast switching method of two-layer redundant link
CN101060485B (en) Topology changed messages processing method and processing device
JP2007282153A5 (en)
CN105429814B (en) Method and equipment for protecting BFD (bidirectional forwarding detection) by using multiple board cards
CN100479411C (en) Processing method for node link switching of the distributed system and its device
CN103051534A (en) Message processing method and device
EP3242446A1 (en) Failure protection method, device and system for ring protection link
CN106533736A (en) Network device reboot method and apparatus
CN102291290A (en) Method and system for failure detection and connection of Ethernet ring network
CN101478469B (en) Method and system for RRPP loop link switching
US20110099414A1 (en) Method and Device for Operating a Network and Communication System Comprising Such Device
WO2016095344A1 (en) Link switching method and device, and line card
WO2017173946A1 (en) Data processing system providing service continuity protection
CN104506546A (en) Bidirectional forwarding detection method and device of aggregation link
CN105591894B (en) A kind of method and apparatus that the veneer of distributed system improves data channel reliability between plate
CN101964719A (en) Data processing method based on operating/standby switch of master control boards, line card and master control boards
CN102238069A (en) Data processing method and device for link switching process
WO2012097595A1 (en) Method and system for implementing shared-mesh protection
CN103944697B (en) A kind of voice dispatch system and redundancy backup method of dual link two server
CN103051482B (en) Based on a kind of port isolation of FC switch and the implementation method of recovery
CN101931569A (en) Link fault detection method for Ethernet Ring
CN106330699B (en) Multicast link switching method and device and routing equipment
CN101877657B (en) Single board main/standby switching method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant