CN107332793A - A kind of message forwarding method, relevant device and system - Google Patents
A kind of message forwarding method, relevant device and system Download PDFInfo
- Publication number
- CN107332793A CN107332793A CN201610278405.0A CN201610278405A CN107332793A CN 107332793 A CN107332793 A CN 107332793A CN 201610278405 A CN201610278405 A CN 201610278405A CN 107332793 A CN107332793 A CN 107332793A
- Authority
- CN
- China
- Prior art keywords
- message
- gateway
- interchanger
- gateways
- isp
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/24—Multipath
- H04L45/245—Link aggregation, e.g. trunking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- 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/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
- H04L43/0894—Packet rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/25—Routing or path finding in a switch fabric
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/25—Routing or path finding in a switch fabric
- H04L49/252—Store and forward routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/25—Routing or path finding in a switch fabric
- H04L49/253—Routing or path finding in a switch fabric using establishment or release of connections between ports
- H04L49/254—Centralised controller, i.e. arbitration or scheduling
Abstract
The embodiment of the invention discloses a kind of message forwarding method, relevant device and system, this method includes:Interchanger sends multiple messages to intended gateway, intended gateway includes the second loading interfaces for being connected to targeted internet service provider ISP the first loading interfaces and being connected with interchanger, and intended gateway is used to respectively forward the segment message in multiple messages to interchanger and target ISP respectively by the first loading interfaces and the second loading interfaces;Interchanger receives the segment message of intended gateway forwarding;The segment message received is transmitted to other gateways by interchanger, other gateways include the 3rd loading interfaces for being connected to other ISP, other gateways are used to after segment message is received segment message is transmitted into other ISP by the 3rd loading interfaces, and intended gateway and other gateways are in same gateway cluster.Using the present invention, the performance of intended gateway can be lifted.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of message forwarding method, relevant device and it is
System.
Background technology
Gateway (English:Gateway, referred to as:GW gateway, protocol converter) are also known as, it is a kind of
Serve as conversion important task computer equipment, can be applied to different communication protocol, data format or language it
Between, or even between two kinds of entirely different systems of architecture, gateway is repacked to the information received with suitable
The demand of purpose system is answered, gateway both can be used for wide area network interconnection, and can be used for local area network interconnection.
Cause the problem of network transmission is interrupted in order to avoid there are gateway fails in network transmission process, generally
Primary gateway and standby gateway can be configured by the way of two-node networking, primary gateway is by the business information of generation
Standby gateway is backuped to, the master is taken over based on the business information by standby gateway when primary gateway breaks down
With the business of gateway, it is ensured that the continuity of business in network transmission.Two-node networking includes symmetrical two-shipper group
Net and asymmetrical two-node networking, symmetrical two-node networking are as shown in figure 1, asymmetrical two-node networking such as Fig. 2
It is shown, include the first gateway 102, the second gateway 103, interchanger 101, the first net in Fig. 1 and Fig. 2
It is primary gateway to close 102, and the second gateway 103 is standby gateway, wherein, interchanger 101 is used for according to the
The working condition (failure is normal) of one gateway 102 is determined to the forwarding service message of the first gateway 102 also
It is, to the forwarding service message of the second gateway 103, use to be configured between the first gateway 102 and the second gateway 103
In the link of backup traffic information, and the heartbeat for fault detect.In asymmetrical two-node networking,
First gateway 102, which is included, to be used to service message being transferred to the first ISP (English Internet
Service Provider, referred to as:ISP the first link), the second gateway 103, which is included, to be used to pass service message
The 2nd ISP the second link is defeated by, the first gateway 102 and the second gateway 103 can not pass through the first ISP and
The common load sharings of two ISP.In symmetrical two-node networking, the first gateway 102 includes two links, its
In link be used to service message being transferred to the first ISP, another link is used to service message being transferred to the
Two ISP;Second gateway 103 is also comprising two links, and one of link is used to service message being transferred to the
One ISP, another link is used to service message being transferred to the 2nd ISP, the first gateway 102 and the second gateway 103
It is intended to set up the link being connected with each ISP.
The defect of prior art is, it is impossible on the premise of the less link being connected with each ISP is set up,
Business load is fully shared by each ISP jointly.
The content of the invention
, can be not independent the embodiment of the invention discloses a kind of message forwarding method, relevant device and system
On the premise of configuration is connected to the link of other ISP, shared jointly by other ISP and target ISP
The message forwarding task of intended gateway, lifts the performance of intended gateway.
In a first aspect, the embodiments of the invention provide a kind of message forwarding method, this method includes:
Interchanger sends multiple messages to intended gateway, and the intended gateway takes comprising targeted internet is connected to
Business provider ISP the first loading interfaces and the second loading interfaces being connected with the interchanger, the target
Gateway is used for by first loading interfaces and second loading interfaces respectively to the interchanger and described
Target ISP respectively forwards the segment message in the multiple message;
The interchanger receives the segment message of the intended gateway forwarding;
The segment message received is transmitted to other gateways by the interchanger, and other described gateways are included
Other ISP the 3rd loading interfaces are connected to, other described gateways are used for after the segment message is received
The segment message is transmitted to other described ISP, the intended gateway and institute by the 3rd loading interfaces
State other gateways and be in same gateway cluster.
By performing the above method, special link is configured between intended gateway and other gateways, when the mesh
When mark gateway receives the message of interchanger transmission, part of message is sent to target ISP, by another part
Message is sent to other gateways by the link configured, and the segment message is sent into other by other gateways
ISP so that the intended gateway can pass through on the premise of not being separately configured and being connected to the link of other ISP
Other ISP and target ISP share the task of message forwarding jointly, lift the performance of intended gateway.
With reference in a first aspect, in the first possible implementation of first aspect, the intended gateway quilt
Primary gateway is configured to, other described gateways are configured as standby gateway;The interchanger is by the institute received
State segment message to be transmitted to after other gateways, methods described also includes:
The interchanger in the intended gateway failure not to be intended gateway send message and to it is described other
Gateway sends message, so that other described gateways are forwarded the message received by the 3rd loading interfaces
To other described ISP.
With reference to the first possible implementation of first aspect or first aspect, the second of first aspect
Plant in possible implementation, the interchanger is received before the segment message of the intended gateway forwarding, institute
Stating method also includes:
The interchanger receives the running status message that other described gateways are sent, the running status message bag
At least one of in bandwidth information, load information and fault message containing other gateways, the failure letter
Cease for indicate other described gateways whether failure;
The running status message is transmitted to the intended gateway by the interchanger, so that the intended gateway
Determined to account for the multiple message by the message that second loading interfaces are sent according to the running status message
Ratio.
Second aspect, the embodiment of the present invention provides a kind of message forwarding method, and this method includes:
Multiple messages that intended gateway desampler is sent;
The intended gateway by be connected to targeted internet service provider ISP the first loading interfaces and with
The second connected loading interfaces of the interchanger, respectively forward institute to the target ISP and the interchanger respectively
State the segment message in multiple messages;The interchanger is used to the segment message received being transmitted to other nets
Close, so that other described gateways are by being connected to other ISP the 3rd loading interfaces by the portion received
Message is divided to be transmitted to other described ISP, the intended gateway and other described gateways are in same gateway cluster.
By performing the above method, special link is configured between intended gateway and other gateways, when the mesh
When mark gateway receives the message of interchanger transmission, part of message is sent to target ISP, by another part
Message is sent to other gateways by the link configured, and the segment message is sent into other by other gateways
ISP so that the intended gateway can pass through on the premise of not being separately configured and being connected to the link of other ISP
Other ISP and target ISP share the task of message forwarding jointly, lift the performance of intended gateway.
With reference to second aspect, in the first possible implementation of second aspect, the intended gateway quilt
Primary gateway is configured to, other described gateways are configured as standby gateway;The interchanger is used in the mesh
Message is not sent during mark gateway fails to other described gateways to being intended gateway transmission message.
With reference to the first possible implementation of second aspect, or second aspect, the of second aspect
It is described after multiple messages that the intended gateway desampler is sent in two kinds of possible implementations
Intended gateway is by being connected to targeted internet service provider ISP the first loading interfaces and being exchanged with described
The second connected loading interfaces of machine, respectively forward the multiple report to the target ISP and the interchanger respectively
Before segment message in text, methods described also includes:
The intended gateway receives the running status message that the interchanger is sent, and the running status message is
Other described gateways be sent to the bandwidth information comprising other gateways of the interchanger, load information and
In fault message at least one of message, the fault message be used to indicating other described gateways whether failure;
The intended gateway parses the information on other gateways in the running status, and according to solution
The information of precipitation determines to be sent to the segment message of the interchanger from the multiple message.
The third aspect, the embodiment of the present invention provides a kind of interchanger, and the interchanger includes processor, storage
Device and network interface, wherein:
The network interface is used to receive message and sends message;
The memory is used for store instruction and data;
The processor, for reading the instruction and data stored in the memory, performs following operation:
Multiple messages are sent to intended gateway by the network interface, the intended gateway includes and is connected to mesh
The second loading interfaces marked ISP ISP the first loading interfaces and be connected with the interchanger,
The intended gateway is used to exchange to described respectively by first loading interfaces and second loading interfaces
Machine and the target ISP respectively forward the segment message in the multiple message;
The segment message that the intended gateway is forwarded is received by the network interface;
The segment message received is transmitted to other gateways, other described nets by the network interface
Close comprising the 3rd loading interfaces for being connected to other ISP, other described gateways are used to receive the part
The segment message is transmitted to other described ISP, the target network by the 3rd loading interfaces after message
Close and other described gateways are in same gateway cluster.
By performing the above method, special link is configured between intended gateway and other gateways, when the mesh
When mark gateway receives the message of interchanger transmission, part of message is sent to target ISP, by another part
Message is sent to other gateways by the link configured, and the segment message is sent into other by other gateways
ISP so that the intended gateway can pass through on the premise of not being separately configured and being connected to the link of other ISP
Other ISP and target ISP share the task of message forwarding jointly, lift the performance of intended gateway.
With reference to the third aspect, in the first possible implementation of the third aspect, the intended gateway quilt
Primary gateway is configured to, other described gateways are configured as standby gateway;The processor is by the institute received
State segment message to be transmitted to after other gateways by the network interface, be additionally operable to:
In the intended gateway failure not to be intended gateway send message and by the network interface to institute
State other gateways and send message so that other described gateways by the 3rd loading interfaces by the report received
Text is transmitted to other described ISP.
With reference to the first possible implementation of the third aspect, or the third aspect, the of the third aspect
In two kinds of possible implementations, the processor receives the intended gateway by the network interface and forwarded
Segment message before, be additionally operable to:
The running status message that other described gateways are sent, the running status are received by the network interface
Message includes at least one in bandwidth information, load information and the fault message of other gateways, described
Fault message be used to indicating other described gateways whether failure;
The running status message is transmitted to the intended gateway by the network interface, so that the mesh
Mark gateway determines to account for described many by the message that second loading interfaces are sent according to the running status message
The ratio of individual message.
Fourth aspect, the embodiment of the present invention provides a kind of gateway, and the gateway is intended gateway, the target
Gateway includes processor, memory and network interface, wherein:
The network interface is used to receive message and sends message;
The memory is used for store instruction and data;
The processor, for reading the instruction and data stored in the memory, performs following operation:
The multiple messages sent by the network interface desampler;
By the network interface by being connected to targeted internet service provider ISP the first loading interfaces
The second loading interfaces being connected with the interchanger, respectively to the target ISP and each turn of the interchanger
Segment message in sending out message the multiple;The interchanger is used to the segment message received being transmitted to it
His gateway, so that other described gateways are by being connected to other ISP the 3rd loading interfaces by the institute received
State segment message and be transmitted to other described ISP, the intended gateway and other described gateways are in same gateway collection
Group.
By performing the above method, special link is configured between intended gateway and other gateways, when the mesh
When mark gateway receives the message of interchanger transmission, part of message is sent to target ISP, by another part
Message is sent to other gateways by the link configured, and the segment message is sent into other by other gateways
ISP so that the intended gateway can pass through on the premise of not being separately configured and being connected to the link of other ISP
Other ISP and target ISP share the task of message forwarding jointly, lift the performance of intended gateway.
With reference to fourth aspect, in the first possible implementation of fourth aspect, the intended gateway quilt
Primary gateway is configured to, other described gateways are configured as standby gateway;The interchanger is used in the mesh
Message is not sent during mark gateway fails to other described gateways to being intended gateway transmission message.
With reference to the first possible implementation of fourth aspect, or fourth aspect, the of fourth aspect
In two kinds of possible implementations, the processor by the network interface desampler send it is multiple
After message, the processor is by the network interface by being connected to targeted internet service provider ISP
The first loading interfaces and the second loading interfaces for being connected with the interchanger, respectively to the target ISP and
The interchanger is respectively forwarded before the segment message in the multiple message, and the processor is additionally operable to:
The running status message that the interchanger is sent, the running status report are received by the network interface
Text is sent to the bandwidth information comprising other gateways of the interchanger, load letter for other described gateways
The message of at least one in breath and fault message, the fault message is used to whether indicate other described gateways
Failure;
Parse the information on other gateways in the running status, and according to the information parsed from
Determination is sent to the segment message of the interchanger in the multiple message.
In some possible implementations of first aspect and the third aspect, at least two on the interchanger
Individual interface is configured in the way of link aggregation.
In some possible implementations of first aspect and the third aspect, the quantity of other gateways is
Multiple, each gateway in other described gateways connects different ISP.
In some possible implementations of second aspect and fourth aspect, on the intended gateway at least
Two interfaces are configured in the way of link aggregation.
5th aspect, the embodiment of the present invention provides a kind of interchanger, and the interchanger includes being used to perform this hair
The functional unit of the part or all of step of the bright any implementation of embodiment first aspect.
6th aspect, the embodiment of the present invention provides a kind of intended gateway, and the intended gateway includes being used to perform
The functional unit of the part or all of step of any implementation of second aspect of the embodiment of the present invention.
7th aspect, the embodiment of the present invention provides a kind of message forwarding system, the system include interchanger and
Intended gateway;
The interchanger is any possible reality in terms of any possible implementation of the third aspect, or the 5th
Interchanger described by existing mode;
The intended gateway be any possible implementation of fourth aspect, or the 6th aspect it is any possible
Intended gateway described by implementation;
By implementing the embodiment of the present invention, special link is configured between intended gateway and other gateways, when
When the intended gateway receives the message of interchanger transmission, part of message is sent to target ISP, will be another
Segment message is sent to other gateways by the link configured, is sent to the segment message by other gateways
Other ISP so that the intended gateway can on the premise of not being separately configured and being connected to the link of other ISP,
Share the task that message is forwarded jointly by other ISP and target ISP, lift the performance of intended gateway.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to implementing
The accompanying drawing used required in example or description of the prior art is briefly described, it should be apparent that, describe below
In accompanying drawing be some embodiments of the present invention, for those of ordinary skill in the art, do not paying wound
On the premise of the property made is worked, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram of a scenario of symmetrical two-node networking in the prior art;
Fig. 2 is the schematic diagram of a scenario of asymmetrical two-node networking in the prior art;
Fig. 3 is a kind of schematic flow sheet of message forwarding method provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of a scenario that other gateways provided in an embodiment of the present invention are a gateway;
Fig. 5 is the schematic diagram of a scenario that other gateways provided in an embodiment of the present invention are a class gateway;
Fig. 6 is a kind of structural representation of interchanger provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of intended gateway provided in an embodiment of the present invention;
Fig. 8 is the structural representation of another interchanger provided in an embodiment of the present invention;
Fig. 9 is the structural representation of another intended gateway provided in an embodiment of the present invention;
Figure 10 is a kind of structural representation of message forwarding system provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear
Chu, it is fully described by.
Fig. 3 is referred to, Fig. 3 is a kind of schematic flow sheet of message forwarding method provided in an embodiment of the present invention,
This method includes but is not limited to following steps.
Step S301:Interchanger receives the message from Intranet.
Specifically, the interchanger is connected with the gateway in the equipment and gateway cluster in Intranet, the gateway
Gateway in cluster is used to be connected to ISP to be linked into outer net;When the equipment in the Intranet is needed to outer net
When sending message, the message for first sending the needs is sent to the interchanger.Correspondingly, the interchanger is received
The message that the equipment is sent, the exchange opportunity receives multiple messages within a period of time.
Step S302:Multiple messages are transmitted to intended gateway by the interchanger.
In a kind of optional scheme, there is primary gateway and standby gateway in the gateway cluster, the standby net
Close for taking over the business on the primary gateway when the primary gateway breaks down, for example, when the primary net
The message from Intranet is sent to the primary gateway by the interchanger when closing non-failure, when the primary gateway fails
When the interchanger message from Intranet is sent to the standby gateway.The intended gateway is what is be pre-configured with
Gateway in primary gateway, the gateway cluster in addition to the intended gateway is other gateways.Can be manually pre-
The intended gateway is first configured to primary gateway, other gateways are configured to standby gateway by this.Can also be advance
It is used for electing the agreement of primary gateway for the gateway and cluster configuration, for example, Virtual Router Redundacy Protocol (English:
Virtual Router Redundancy Protocol, referred to as:VRRP) so that each net in the gateway cluster
Pass elects a primary gateway, the master elected in not primary gateway or primary gateway fails jointly
It is the intended gateway with gateway.
In another optional scheme, between each gateway in the gateway cluster for primary gateway with it is standby
With the relation of gateway, each gateway be used to receive the Intranet of interchanger forwarding message traffic and to this
The message of outer net that interchanger forwarding is received, the interchanger receives specific to which net after the message of Intranet
Close and forward the message to need the address information in the message to determine;In this programme, if the gateway
Analyzing the plurality of message according to the address information of the multiple messages received needs to be transmitted in the gateway cluster
Some gateway, then some gateway is intended gateway, for the intended gateway, in the gateway cluster
Gateway in addition to the intended gateway is other gateways;If it should be noted that the interchanger is at one section
It is interior respectively to have sent multiple messages (message for being sent to each gateway under normal circumstances is different) to multiple gateways,
So the plurality of gateway is intended gateway, for example, assuming that including gateway A, net in the gateway cluster
B and gateway C is closed, the message that the interchanger is sent to the gateway A within a period of time is message A1, message
A2 and message A3, the message for being sent to gateway B is message B1, message B2 and message B3, is sent to
Gateway C message is message C1, message C2 and message C3, then, for sending message A1, report
For literary A2 and message A3, the gateway A is intended gateway and gateway B and gateway C are other gateways,
For sending message B1, message B2 and message B3, gateway B be intended gateway and gateway A and
Gateway C is other gateways, and for sending message C1, message C2 and message C3, gateway C is
Intended gateway and gateway A and gateway B are other gateways.
Step S303:The intended gateway receives multiple messages of interchanger transmission.
Step S304:The intended gateway sends the segment message in the plurality of message to target ISP.
In embodiments of the present invention, intended gateway, which is connected to ISP mode, can be divided into two kinds, the first side
Formula is that the intended gateway is connected to ISP by other gateways in the gateway cluster, and this mode can be described as indirectly
Connection;The second way is that the intended gateway is connected to ISP but is connected to ISP path without the gateway collection
Other gateways in group, this mode can be described as being directly connected to, the intended gateway in the mode being directly connected to
There may be other network nodes between the ISP.The intended gateway is connected to by way of being directly connected to
ISP, ISP is connected to also by the mode that is indirectly connected with, but by way of being directly connected to and indirectly
The ISP that the mode of connection is connected to is different, and the ISP connected by way of being directly connected to is referred to as target ISP,
The ISP connected by way of being indirectly connected with is referred to as other ISP.
The intended gateway needs to send the multiple messages received by target ISP and other ISP,
So that target ISP and other ISP share the forwarding task of message jointly, specifically, the intended gateway can
So that any segment message in the multiple messages for receiving this calculated according to the load-balancing algorithm being pre-configured with
Target ISP is sent, and which segment message is sent to other ISP.When determining to target ISP
After the message for sending which part, the intended gateway sends the message of the part to target ISP, optionally,
Can configuration is connected to target ISP interface on the intended gateway in advance, can the interface be called first negative
Interface is carried to be made a distinction with other interfaces, then when determining to target ISP any part sent
After message, the message of the part is sent by first loading interfaces.
The intended gateway is told about below by way of step S305~S309 the report for being sent to other ISP is determined
How Wen Hou, be sent to other ISP by message.It should be noted that step S304 and step S305~S309
Execution sequencing be not restricted herein.
Step S305:The intended gateway sends the segment message in the plurality of message to the interchanger.
Specifically, because which segment message needs the intended gateway by above-mentioned load-balancing algorithm calculated
Sent to other ISP, then the intended gateway will need to be sent to the part message of other ISP first
It is sent to the interchanger.For example, the interface being connected with the interchanger can be configured on the intended gateway in advance,
Can the interface be called the second loading interfaces to be made a distinction with other interfaces, when having calculated any segment message
Need to other ISP send when, by the message of the part pass through second loading interfaces send.
Step S306:The interchanger receives the segment message of intended gateway transmission.
Specifically, interface corresponding with second loading interfaces has also been pre-configured with the interchanger, can be with
The interface is called the 4th loading interfaces, between the 4th loading interfaces and second loading interfaces formed link with
For transmitting message, the message that the intended gateway is sent by the second loading interfaces is negative by the 4th accordingly
Carry interface and be transferred to the interchanger.
Step S307:The segment message received is transmitted to other gateways by the interchanger.
Specifically, the forward-path of message has also been pre-configured with the interchanger, i.e. can pre-establish
The corresponding relation of 4th loading interfaces and other gateways, when receiving the report from the 4th loading interfaces
The message is directly forwarded into other gateways when literary.
Step S308:Other gateways receive the segment message of interchanger transmission.
In embodiments of the present invention, the internet of the 4th loading interfaces can be configured on the intended gateway in advance
Agreement (English:Internet Protocol Address, referred to as:IP) address is used as second loading interfaces
Next-hop, when message is from when needing the second loading interfaces to send, the intended gateway is sent from the second loading interfaces
Address resolution protocol (English:Address Resolution Protocol, referred to as:ARP) request message, please
Seek the corresponding media access control of the next-hop (English:Media Access Control, referred to as:MAC)
Address, after other gateway feeding back response informations where the 4th loading interfaces, the intended gateway
Message is formally sent according to the response message.
Step S309:Other gateways send the segment message received to other ISP.
Specifically, the 3rd loading interfaces for being connected to other ISP can be configured on other gateways in advance,
And the link maps relation set up between the 3rd loading interfaces and the 4th loading interfaces, link maps pass
System is as shown in table 1:
Output interface | Input interface |
4th loading interfaces | 3rd loading interfaces |
Table 1
Other gateways are received after the message from the 4th loading interfaces, not query routing but in link
The corresponding interface of the 4th loading interfaces and the ground for the next-hop being connected with the interface are searched in mapping table
Location information, then sends the message received from the 3rd loading interfaces according to the address information, by
Other ISP, therefore the message meeting naturally sent by the 3rd loading interfaces are connected in the 3rd loading interfaces
It is sent to other ISP.
It should be noted that described above " can configure on other gateways and be connected to other ISP in advance
The 3rd loading interfaces " in " connected mode of other ISP " and the intended gateway to be indirectly connected with, still
Connected mode with other gateways is to be directly connected to.The message sent to target ISP and other ISP is with existing
There is the same gateway that all have passed through in the gateway cluster of technology to repack processing (for example, carrying out agreement, number
According to the conversion of form), for example, have passed through intended gateway to the message of target ISP transmission repacks place
Reason, the intended gateway is have passed through to other ISP messages sent, or other gateways repack processing.
Optionally, the virtual link by the interchanger is configured with the gateway cluster between any two gateway,
Virtual link in the embodiment of the present invention can configure to facilitate the management of docking port in the way of link aggregation.
Before above-mentioned steps S304 and S305 is performed, other gateways can also be sent to the intended gateway
Running status message, the running status message includes bandwidth information, load information and the failure of other gateways
In information at least one of, the fault message be used to indicating other gateways whether failure, for example, with the 3rd
Whether whether failure, other gateways occur in that hardware fault etc. to the link of loading interfaces connection.The target network
Pass is received after the running status message, parses the information included in the running status message, then basis
The information parsed is sent to target ISP to determine the message of which part, and the message of which part is sent to
The interchanger.Under normal circumstances, should if the non-failure of other gateways, bandwidth are higher, it is more low to load
Intended gateway can improve the report sent by second loading interfaces more to some messages are sent the interchanger
Text accounts for the ratio of above-mentioned multiple messages.Specifically, other gateways first can send the running status message
The interchanger is given, the interchanger receives after the running status message running status message being transmitted to the mesh
Gateway is marked, for example, special virtual chain can be set up between the intended gateway, interchanger and other gateways
Road, for transmitting the running status message.Other gateways can be sent according to the timing of default time cycle
The running status message, other gateways can also detect the state of itself in good time, when the abnormal state of itself
When send the running status message, for example, the link that other ISP are connected in the 3rd loading interfaces goes out
The running status message is sent during existing failure, to inform that link occurs in that failure.Further, the operation shape
State message can be sent in the way of unicast, can also be sent in a broadcast manner.
It should be noted that when the intended gateway in the gateway cluster refers to primary gateway and other gateways refer to
Be standby gateway when, the interchanger can also judge the intended gateway whether failure, for example, by receiving it
Fault message that his equipment (such as intended gateway) is reported, (English detected by two-way converting:Bidirectional
Forwarding Detection, referred to as:BFD) mechanism detection etc. come analyze the intended gateway whether failure;If
Failure, then the interchanger, which is received, forwards the packet to other gateways after the message from Intranet, do not turn
Issue the intended gateway.
When not being primary gateway and standby gateway between the intended gateway in the gateway cluster and other gateways
Relation when, any one gateway is likely to as intended gateway in the gateway cluster, therefore the gateway cluster
In each gateway have identical configuration, identical configuration is presented as:Above-mentioned intended gateway will be received
Segment message in message is sent by the first loading interfaces, and another segment message is passed through into the second loading interfaces
Send, because second loading interfaces are connected to interchanger, the interchanger establishes the 4th loading interfaces again
With the direct link maps relation of the 3rd loading interfaces of other above-mentioned gateways, therefore the intended gateway can be with
Most segment message is sent to above-mentioned target ISP by first loading interfaces at last, and another segment message is passed through
3rd loading interfaces are sent to other above-mentioned ISP.Correspondingly, when this, other gateways also receive the interchanger
During the message of transmission, other gateways by with the intended gateway identical principle by segment message by this
Three loading interfaces are sent to other ISP, and another segment message is sent out the message by first loading interfaces
Target ISP is sent to, specific implementation can be as follows:
It can configure and also may be used in the 5th loading interfaces being connected with the interchanger, the interchanger in other gateways
To configure sixth loading interfaces corresponding with the 5th loading interfaces, the 5th loading interfaces and the 6th negative
The report that link is sent for transmitting message, other gateways by the 5th loading interfaces is formed between load interface
Text is transferred to the interchanger by the 6th loading interfaces accordingly.The interchanger has also set up the 6th load
The corresponding relation of interface and the intended gateway, when receiving the message to be sent by the 6th loading interfaces
When, the message is directly sent to the intended gateway by the interchanger, further, can be in the intended gateway
The interior corresponding relation set between the 6th loading interfaces and first loading interfaces, it is every from the 6th load
The message that interface is sent is sent by first loading interfaces, to be sent out by first loading interfaces
It is sent to target ISP.So, when other gateways receive multiple messages of interchanger transmission,
Can also be calculated by Load Sharing Algorithm any segment message need by other above-mentioned ISP (i.e. with this other
The ISP that gateway is joined directly together) send, which segment message needs to send by above-mentioned target ISP, and will need
Sent by other ISP messages sent by the 3rd loading interfaces, it would be desirable to pass through target ISP
The message of transmission is sent by the 5th loading interfaces.
It should be noted that the quantity of other gateways in the embodiment of the present invention can refer to a gateway can also
It is a class gateway, when other gateways refer to a gateway, the gateway cluster includes an intended gateway and one
Other individual gateways;When other gateways refer to a class gateway, the gateway cluster includes an intended gateway and many
Individual (two or more) other gateways, other ISP when the quantity of other gateways is multiple
Quantity is also to be multiple, for example, there are first other gateways and second other gateways in the gateway cluster, and this
The ISP that one other gateways are connected to is the first ISP, and the ISP that second other gateways are connected to is the 2nd ISP.
Fig. 4 is that other gateways refer to the schematic diagram of a scenario of a gateway, Fig. 5 be other gateways refer to a class gateway (with
Exemplified by two gateways) schematic diagram of a scenario.
Interchanger 401, intended gateway 402 and other gateways 403 are included in Fig. 4, the interchanger 401 can be with
The message that Intranet is sent is received, the intended gateway 402 and other gateways 403 can be to being each connected
ISP send message.Wherein, intended gateway 402 is configured with the first loading interfaces O1 and the second loading interfaces
The 4th loading interfaces I2 and the 6th loading interfaces I1 is configured with V2, interchanger 401, other gateways 403 are matched somebody with somebody
The 3rd loading interfaces O2 and the 5th loading interfaces V1 is equipped with, intended gateway 402 receives interchanger 401 and sent out
During the multiple messages sent, part of message is sent by the first loading interfaces O1, part of message is passed through
Second loading interfaces V2 is sent, and the interchanger 401 correspondingly receives intended gateway 402 and passes through the second load
The message that interface V2 is sent, and the message received is sent to other gateways by the 4th loading interfaces I2
403, other gateways 403 are received after the message that the interchanger 401 is sent by the 4th loading interfaces I2,
The message is sent by the 3rd loading interfaces O2.
Correspondingly, when other gateways 403 receive multiple messages of the transmission of interchanger 401, by part report
Text is sent by the 3rd loading interfaces O2, part of message is sent by the 5th loading interfaces V 1, the friendship
Change planes and 401 correspondingly receive the message that other gateways 403 are sent by the 5th loading interfaces V1, and will receive
To message intended gateway 402 is sent to by the 6th loading interfaces I1, the intended gateway 402 receives this
After the message that interchanger 401 is sent by the 6th loading interfaces I1, the message is passed through into the first loading interfaces O1
Send.
Interchanger 501, intended gateway 502 and other gateways 503 are included in Fig. 5, the interchanger 501 can be with
The message that Intranet is sent is received, the intended gateway 502 and other gateways 503 can be to being each connected
ISP send message.Wherein, intended gateway 502 is configured with interface O1, interface V21 and interface V31,
Interface I21, interface I11, interface I21, interface I22, interface I31 and interface are configured with interchanger 501
I32, other gateways 503 are configured with interface O2, interface V11 and interface V32, and other gateways 504 are configured
There is the arrow in interface O3, interface V22 and interface V12, Fig. 5 to illustrate the optional transmission path of message,
Specific how to transmit the description for being referred to be directed in Fig. 4, here is omitted.
Further, each interface described in the embodiment of the present invention is virtual interface, in Figure 5 target
Gateway 502 is connected to interchanger 501 by interface V31 and V21, in this case can be by interface V31
Configured with interface V21 in the way of link aggregation, the configuration of other gateways and the interface in interchanger 501
It is referred to the configuration mode of docking port in the intended gateway 502.
In the method described by Fig. 3, special link is configured between intended gateway and other gateways, when
When the intended gateway receives the message of interchanger transmission, part of message is sent to target ISP, will be another
Segment message is sent to other gateways by the link configured, is sent to the segment message by other gateways
Other ISP so that the intended gateway can on the premise of not being separately configured and being connected to the link of other ISP,
Share the task that message is forwarded jointly by other ISP and target ISP, lift the performance of intended gateway.
The above-mentioned method for illustrating the embodiment of the present invention, for the ease of preferably implementing the embodiment of the present invention
Such scheme, correspondingly, the device of the embodiment of the present invention is provided below.
Fig. 6 is referred to, Fig. 6 is a kind of structural representation of interchanger 60 provided in an embodiment of the present invention, please
The interchanger 60 includes processor 601, memory 602 and network interface 603, the processor 601, deposits
Reservoir 602 and network interface 603 are connected with each other by bus.
Memory 602 include but is not limited to be random access memory (RAM), read-only storage (ROM),
Erasable Programmable Read Only Memory EPROM (EPROM or flash memory) or portable read-only storage
(CD-ROM)。
Processor 601 can be one or more central processing units (Central Processing Unit, abbreviation
CPU), in the case where processor 601 is a CPU, the CPU can be monokaryon CPU, can also
It is multi-core CPU.
Network interface 603 can be wireline interface, for example Fiber Distributed Data Interface (Fiber Distributed
Data Interface, abbreviation FDDI), gigabit Ethernet (Gigabit Ethernet, abbreviation GE) interface;
Network interface 603 can also be wave point.
Memory 602 is additionally operable to the information such as storage session entry, dependent instruction and data.
Processor 601 in the interchanger 60 is used to read the program code stored in the memory 602
Afterwards, following operate is performed:
Multiple messages are sent to intended gateway by the network interface 603, the intended gateway includes connection
To targeted internet service provider ISP the first loading interfaces and the second load being connected with the interchanger
Interface, the intended gateway is used for by first loading interfaces and second loading interfaces respectively to institute
State interchanger and the target ISP respectively forwards segment message in the multiple message;
The segment message that the intended gateway is forwarded is received by the network interface 603;
The segment message received is transmitted to other gateways by the network interface 603, it is described its
His gateway includes the 3rd loading interfaces for being connected to other ISP, other described gateways be used for receive it is described
The segment message is transmitted to other described ISP, the mesh by the 3rd loading interfaces after segment message
Mark gateway and other described gateways are in same gateway cluster.
By performing aforesaid operations, special link is configured between intended gateway and other gateways, when the mesh
When mark gateway receives the message of interchanger transmission, part of message is sent to target ISP, by another part
Message is sent to other gateways by the link configured, and the segment message is sent into other by other gateways
ISP so that the intended gateway can pass through on the premise of not being separately configured and being connected to the link of other ISP
Other ISP and target ISP share the task of message forwarding jointly, lift the performance of intended gateway.
In a kind of optional scheme, the intended gateway is configured as primary gateway, other described gateway quilts
It is configured to standby gateway;The segment message received is passed through the network interface by the processor 601
603 are transmitted to after other gateways, are additionally operable to:
In the intended gateway failure not to be intended gateway send message and by the network interface 603
Message is sent to other described gateways, so that other described gateways will be received by the 3rd loading interfaces
Message be transmitted to other described ISP.
In another optional scheme, the processor 601 receives described by the network interface 603
Before the segment message of intended gateway forwarding, it is additionally operable to:
The running status message that other described gateways are sent, the operation are received by the network interface 603
State message includes at least one in bandwidth information, load information and the fault message of other gateways,
The fault message be used to indicating other described gateways whether failure;
The running status message is transmitted to the intended gateway by the network interface 603, so that institute
Intended gateway is stated to be determined to account for institute by the message that second loading interfaces are sent according to the running status message
State the ratio of multiple messages.
In another optional scheme, the quantity of other gateways is multiple, in other described gateways
Each gateway connects different ISP.
In another optional scheme, at least two interfaces are in the way of link aggregation on the interchanger
Configuration.
It should be noted that implementing for interchanger shown in Fig. 6 can also correspond to method shown in reference picture 3
The corresponding description of embodiment.
In the interchanger shown in Fig. 6, special link is configured between intended gateway and other gateways, when
When the intended gateway receives the message of the transmission of interchanger 60, part of message is sent to target ISP, will
Another segment message is sent to other gateways by the link configured, is sent out the segment message by other gateways
It is sent to other ISP so that the premise for the link for being connected to other ISP can be separately configured in the intended gateway
Under, share the task that message is forwarded jointly by other ISP and target ISP, lifting intended gateway
Performance.
Fig. 7 is referred to, Fig. 7 is a kind of structural representation of intended gateway 70 provided in an embodiment of the present invention,
Please the intended gateway 70 include processor 701, memory 702 and network interface 703, the processor 701,
Memory 702 and network interface 703 are connected with each other by bus.
Memory 702 include but is not limited to be random access memory (RAM), read-only storage (ROM),
Erasable Programmable Read Only Memory EPROM (EPROM or flash memory) or portable read-only storage
(CD-ROM)。
Processor 701 can be one or more central processing units (Central Processing Unit, abbreviation
CPU), in the case where processor 701 is a CPU, the CPU can be monokaryon CPU, can also
It is multi-core CPU.
Network interface 703 can be wireline interface, for example Fiber Distributed Data Interface (Fiber Distributed
Data Interface, abbreviation FDDI), gigabit Ethernet (Gigabit Ethernet, abbreviation GE) interface;
Network interface 703 can also be wave point.
Memory 702 is additionally operable to the information such as storage session entry, dependent instruction and data.
Processor 701 in the interchanger 70 is used to read the program code stored in the memory 702
Afterwards, following operate is performed:
The network interface 703 is used to receive message and sends message;
The memory 702 is used for store instruction and data;
The processor 701, for reading the instruction and data stored in the memory 702, is performed such as
Lower operation:
The multiple messages sent by the desampler of network interface 703;
Loaded by the network interface 703 by being connected to the first of targeted internet service provider ISP
Interface and the second loading interfaces being connected with the interchanger, respectively to the target ISP and the interchanger
Respectively forward the segment message in the multiple message;The interchanger is used to forward the segment message received
Other gateways are given, so that other described gateways will be received by being connected to other ISP the 3rd loading interfaces
The segment message be transmitted to other described ISP, the intended gateway and other described gateways are in same net
Close cluster.
By performing aforesaid operations, special link is configured between intended gateway 70 and other gateways, when this
When intended gateway 70 receives the message of interchanger transmission, part of message is sent to target ISP, will again
Part of message is sent to other gateways by the link configured, is sent the segment message by other gateways
To other ISP so that the intended gateway 70 can be before the link for being connected to other ISP be separately configured
Put, share the task that message is forwarded jointly by other ISP and target ISP, lift intended gateway
70 performance.
In a kind of optional scheme, the intended gateway is configured as primary gateway, other described gateway quilts
It is configured to standby gateway;The interchanger be used in the intended gateway failure not to be intended gateway send
Message and to other described gateways send message.
In another optional scheme, the processor 701 is received by the network interface 703 and exchanged
After multiple messages that machine is sent, the processor 701 is by the network interface 703 by being connected to mesh
The second loading interfaces marked ISP ISP the first loading interfaces and be connected with the interchanger,
Before respectively forwarding the segment message in the multiple message to the target ISP and the interchanger respectively, institute
Processor 701 is stated to be additionally operable to:
The running status message that the interchanger is sent, the operation shape are received by the network interface 703
State message is that other described gateways are sent to the bandwidth information comprising other gateways of the interchanger, born
Information carrying ceases to be used to indicate other described gateways with the message of at least one in fault message, the fault message
Whether failure;
Parse the information on other gateways in the running status, and according to the information parsed from
Determination is sent to the segment message of the interchanger in the multiple message.
In another optional scheme, at least two interfaces are with the side of link aggregation on the intended gateway
Formula is configured.
It should be noted that the implementing for intended gateway shown in Fig. 7 can also be corresponded to shown in reference picture 1
Embodiment of the method.
In the intended gateway 70 shown in Fig. 7, configure special between intended gateway 70 and other gateways
Link, when the intended gateway 70 receives the message of interchanger transmission, target is sent to by part of message
ISP, other gateways are sent to by another segment message by the link configured, by other gateways by the part
Message is sent to other ISP so that the intended gateway 70 can be connected to other ISP's not being separately configured
On the premise of link, the task that message is forwarded is shared jointly by other ISP and target ISP, lifting
The performance of intended gateway 70.
Fig. 8 is referred to, Fig. 8 is the structural representation of another interchanger 80 provided in an embodiment of the present invention,
The interchanger 80 can include receiving unit 801 and transmitting element 802, wherein, receiving unit 801 and hair
Send being described in detail as follows for unit 802.
Transmitting element 801 is used to send multiple messages to intended gateway, and the intended gateway includes and is connected to mesh
The second load marked ISP ISP the first loading interfaces and be connected with the interchanger 80 connects
Mouthful, the intended gateway is used for by first loading interfaces and second loading interfaces respectively to described
Interchanger 80 and the target ISP respectively forward the segment message in the multiple message;
Receiving unit 802 is used for the segment message for receiving the intended gateway forwarding;
The segment message received is transmitted to other gateways, other described gateway bags by transmitting element 801
Containing the 3rd loading interfaces for being connected to other ISP, other described gateways are used to receive the segment message
The segment message is transmitted to other described ISP by the 3rd loading interfaces afterwards, the intended gateway and
Other described gateways are in same gateway cluster.
By running said units, special link is configured between intended gateway and other gateways, when the mesh
When mark gateway receives the message of the transmission of interchanger 80, part of message is sent to target ISP, will be another
Segment message is sent to other gateways by the link configured, is sent to the segment message by other gateways
Other ISP so that the intended gateway can on the premise of not being separately configured and being connected to the link of other ISP,
Share the task that message is forwarded jointly by other ISP and target ISP, lift the performance of intended gateway.
In a kind of optional scheme, the intended gateway is configured as primary gateway, other described gateway quilts
It is configured to standby gateway;The segment message received is transmitted to other gateways by the transmitting element 801
Afterwards, the transmitting element 801 be used in the intended gateway failure not to be intended gateway send message
And message is sent to other described gateways, so that other described gateways will be received by the 3rd loading interfaces
To message be transmitted to other described ISP.
In another optional scheme, the receiving unit 802 receives the part of the intended gateway forwarding
Before message, the receiving unit 802 is used to receive the running status message that other described gateways are sent, institute
State in bandwidth information, load information and fault message that running status message includes other gateways at least
One, the fault message be used to indicating other described gateways whether failure;
The transmitting element 801 is additionally operable to the running status message being transmitted to the intended gateway, so that
The intended gateway determines to account for by the message that second loading interfaces are sent according to the running status message
The ratio of the multiple message.
In another optional scheme, the quantity of other gateways is multiple, in other described gateways
Each gateway connects different ISP.
In another optional scheme, at least two interfaces are with the side of link aggregation on the interchanger 80
Formula is configured.
It should be noted that the method that can also be corresponded to shown in reference picture 3 that implements of unit is implemented
The corresponding description of example.
In the interchanger 80 described by Fig. 8, special link is configured between intended gateway and other gateways,
When the intended gateway receives the message of the transmission of interchanger 80, part of message is sent to target ISP,
Another segment message is sent to other gateways by the link configured, by other gateways by the segment message
It is sent to other ISP so that the intended gateway can be before the link for being connected to other ISP be separately configured
Put, share the task that message is forwarded jointly by other ISP and target ISP, lift intended gateway
Performance.
Fig. 9 is referred to, Fig. 9 is the structural representation of another intended gateway 90 provided in an embodiment of the present invention,
The intended gateway can include receiving unit 901 and transmitting element 902, receiving unit 901 and transmitting element
902 are described in detail as follows.
Receiving unit 901 is used for multiple messages that desampler is sent;
Transmitting element 902 is used for the first loading interfaces by being connected to targeted internet service provider ISP
The second loading interfaces being connected with the interchanger, respectively to the target ISP and each turn of the interchanger
Segment message in sending out message the multiple;The interchanger is used to the segment message received being transmitted to it
His gateway, so that other described gateways are by being connected to other ISP the 3rd loading interfaces by the institute received
State segment message and be transmitted to other described ISP, the intended gateway and other described gateways are in same gateway collection
Group.
By running said units, special link is configured between intended gateway 90 and other gateways, when this
When intended gateway 90 receives the message of interchanger transmission, part of message is sent to target ISP, will again
Part of message is sent to other gateways by the link configured, is sent the segment message by other gateways
To other ISP so that the intended gateway 90 can be before the link for being connected to other ISP be separately configured
Put, share the task that message is forwarded jointly by other ISP and target ISP, lift intended gateway
90 performance.
In a kind of optional scheme, the intended gateway 90 is configured as primary gateway, other described gateways
It is configured as standby gateway;The interchanger is used in 90 failure of intended gateway not to being intended gateway
90 send message and send message to other described gateways.
In another optional scheme, the intended gateway also includes analytic unit, the receiving unit 901
After multiple messages that desampler is sent, the transmitting element 902 is taken by being connected to targeted internet
Business provider ISP the first loading interfaces and the second loading interfaces being connected with the interchanger, respectively to institute
State target ISP and before the interchanger respectively forwards the segment message in the multiple message;It is described to receive single
Member 901 is additionally operable to receive the running status message that the interchanger is sent, and the running status message is described
Other gateways are sent to the bandwidth information, load information and the failure that include other gateways of the interchanger
In information at least one of message, the fault message be used to indicating other described gateways whether failure;
The analytic unit is used to parse the information in the running status on other gateways, and root
Determine from the multiple message to be sent to the segment message of the interchanger according to the information parsed.
In another optional scheme, at least two interfaces are with link aggregation on the intended gateway 90
Mode is configured.
It should be noted that the method that can also be corresponded to shown in reference picture 3 that implements of unit is implemented
The corresponding description of example.
In the intended gateway 90 described by Fig. 9, configure special between intended gateway 90 and other gateways
Link, when the intended gateway 90 receive interchanger transmission message when, part of message is sent to mesh
ISP is marked, another segment message is sent to other gateways by the link configured, by other gateways by the portion
Message is divided to be sent to other ISP so that the intended gateway 90 can be connected to other ISP not being separately configured
Link on the premise of, share the task that message is forwarded jointly by other ISP and target ISP, carry
Rise the performance of intended gateway 90.
The above-mentioned method and apparatus for illustrating the embodiment of the present invention, for the ease of preferably implementing the present invention
The such scheme of embodiment, correspondingly, is provided below the related system of the embodiment of the present invention.
Figure 10 is referred to, Figure 10 is a kind of structural representation of message forwarding system 100 provided in an embodiment of the present invention,
The system 100 includes interchanger 1001 and intended gateway 1002, and the interchanger 1001 is to implement shown in Fig. 6
Interchanger 60 described in example or the interchanger 80 described in embodiment illustrated in fig. 8;The intended gateway is figure
The intended gateway 90 described in intended gateway 70 or embodiment illustrated in fig. 9 described in 7 illustrated embodiments.
It should be noted that implementing for the message forwarding system 100 can also be corresponded to shown in reference picture 3
Embodiment of the method corresponding description, to the phase of interchanger and intended gateway in the illustrated embodiment of and Fig. 6~9
It should describe.
In the system 100 described by Figure 10, special link is configured between intended gateway and other gateways,
When the intended gateway receives the message of interchanger transmission, part of message is sent to target ISP, will again
Part of message is sent to other gateways by the link configured, is sent the segment message by other gateways
To other ISP so that the intended gateway can on the premise of not being separately configured and being connected to the link of other ISP,
Share the task that message is forwarded jointly by other ISP and target ISP, lift the performance of intended gateway.
In summary, by implementing the embodiment of the present invention, configure special between intended gateway and other gateways
Link, when the intended gateway receive interchanger transmission message when, part of message is sent to target
ISP, other gateways are sent to by another segment message by the link configured, by other gateways by the part
Message is sent to other ISP so that the link that is connected to other ISP can be separately configured in the intended gateway
On the premise of, share the task that message is forwarded jointly by other ISP and target ISP, lift target
The performance of gateway.
One of ordinary skill in the art will appreciate that all or part of flow in above-described embodiment method is realized,
It can be by computer program to instruct the hardware of correlation to complete, described program can be stored in computer
In read/write memory medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.
And foregoing storage medium includes:ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
Above example only discloses preferred embodiment in the present invention, it is impossible to the right of the present invention is limited with this
Scope, one of ordinary skill in the art will appreciate that all or part of flow of above-described embodiment is realized, and according to
The equivalent variations that the claims in the present invention are made, still fall within and invent covered scope.
Claims (19)
1. a kind of message forwarding method, it is characterised in that including:
Interchanger sends multiple messages to intended gateway, and the intended gateway takes comprising targeted internet is connected to
Business provider ISP the first loading interfaces and the second loading interfaces being connected with the interchanger, the target
Gateway is used for by first loading interfaces and second loading interfaces respectively to the interchanger and described
Target ISP respectively forwards the segment message in the multiple message;
The interchanger receives the segment message of the intended gateway forwarding;
The segment message received is transmitted to other gateways by the interchanger, and other described gateways are included
Other ISP the 3rd loading interfaces are connected to, other described gateways are used for after the segment message is received
The segment message is transmitted to other described ISP, the intended gateway and institute by the 3rd loading interfaces
State other gateways and be in same gateway cluster.
2. according to the method described in claim 1, it is characterised in that the intended gateway is configured as primary
Gateway, other described gateways are configured as standby gateway;The interchanger is by the segment message received
It is transmitted to after other gateways, methods described also includes:
The interchanger in the intended gateway failure not to be intended gateway send message and to it is described other
Gateway sends message, so that other described gateways are forwarded the message received by the 3rd loading interfaces
To other described ISP.
3. method according to claim 1 or 2, it is characterised in that the interchanger receives the mesh
Before the segment message for marking gateway forwards, methods described also includes:
The interchanger receives the running status message that other described gateways are sent, the running status message bag
At least one of in bandwidth information, load information and fault message containing other gateways, the failure letter
Cease for indicate other described gateways whether failure;
The running status message is transmitted to the intended gateway by the interchanger, so that the intended gateway
Determined to account for the multiple message by the message that second loading interfaces are sent according to the running status message
Ratio.
4. the method according to any one of claims 1 to 3, it is characterised in that the number of other gateways
Measure to be multiple, each gateway in other described gateways connects different ISP.
5. method according to claims 1 to 4, it is characterised in that at least two on the interchanger
Interface is configured in the way of link aggregation.
6. a kind of message forwarding method, it is characterised in that including:
Multiple messages that intended gateway desampler is sent;
The intended gateway by be connected to targeted internet service provider ISP the first loading interfaces and with
The second connected loading interfaces of the interchanger, respectively forward institute to the target ISP and the interchanger respectively
State the segment message in multiple messages;The interchanger is used to the segment message received being transmitted to other nets
Close, so that other described gateways are by being connected to other ISP the 3rd loading interfaces by the portion received
Message is divided to be transmitted to other described ISP, the intended gateway and other described gateways are in same gateway cluster.
7. method according to claim 6, it is characterised in that the intended gateway is configured as primary
Gateway, other described gateways are configured as standby gateway;The interchanger is used in the intended gateway failure
Shi Buxiang is that intended gateway sends message and sends message to other described gateways.
8. the method according to claim 6 or 7, it is characterised in that the intended gateway, which is received, to be exchanged
After multiple messages that machine is sent, the intended gateway is by being connected to targeted internet service provider ISP
The first loading interfaces and the second loading interfaces for being connected with the interchanger, respectively to the target ISP and
The interchanger is respectively forwarded before the segment message in the multiple message, and methods described also includes:
The intended gateway receives the running status message that the interchanger is sent, and the running status message is
Other described gateways be sent to the bandwidth information comprising other gateways of the interchanger, load information and
In fault message at least one of message, the fault message be used to indicating other described gateways whether failure;
The intended gateway parses the information on other gateways in the running status, and according to solution
The information of precipitation determines to be sent to the segment message of the interchanger from the multiple message.
9. the method according to any one of claim 6~8, it is characterised in that the intended gateway is up to
Rare two interfaces are configured in the way of link aggregation.
10. a kind of interchanger, it is characterised in that the interchanger connects including processor, memory and network
Mouthful, wherein:
The network interface is used to receive message and sends message;
The memory is used for store instruction and data;
The processor, for reading the instruction and data stored in the memory, performs following operation:
Multiple messages are sent to intended gateway by the network interface, the intended gateway includes and is connected to mesh
The second loading interfaces marked ISP ISP the first loading interfaces and be connected with the interchanger,
The intended gateway is used to exchange to described respectively by first loading interfaces and second loading interfaces
Machine and the target ISP respectively forward the segment message in the multiple message;
The segment message that the intended gateway is forwarded is received by the network interface;
The segment message received is transmitted to other gateways, other described nets by the network interface
Close comprising the 3rd loading interfaces for being connected to other ISP, other described gateways are used to receive the part
The segment message is transmitted to other described ISP, the target network by the 3rd loading interfaces after message
Close and other described gateways are in same gateway cluster.
11. interchanger according to claim 10, it is characterised in that the intended gateway is configured as
Primary gateway, other described gateways are configured as standby gateway;The processor is by the part received
Message is transmitted to after other gateways by the network interface, is additionally operable to:
In the intended gateway failure not to be intended gateway send message and by the network interface to institute
State other gateways and send message so that other described gateways by the 3rd loading interfaces by the report received
Text is transmitted to other described ISP.
12. the interchanger according to claim 10 or 11, it is characterised in that the processor passes through
The network interface is received before the segment message of the intended gateway forwarding, is additionally operable to:
The running status message that other described gateways are sent, the running status are received by the network interface
Message includes at least one in bandwidth information, load information and the fault message of other gateways, described
Fault message be used to indicating other described gateways whether failure;
The running status message is transmitted to the intended gateway by the network interface, so that the mesh
Mark gateway determines to account for described many by the message that second loading interfaces are sent according to the running status message
The ratio of individual message.
13. the interchanger according to any one of claim 10~12, it is characterised in that other described nets
The quantity of pass is multiple, and each gateway in other described gateways connects different ISP.
14. the interchanger according to claim 10~13, it is characterised in that on the interchanger at least
There are two interfaces to be configured in the way of link aggregation.
15. a kind of gateway, it is characterised in that the gateway is intended gateway, the intended gateway includes place
Device, memory and network interface are managed, wherein:
The network interface is used to receive message and sends message;
The memory is used for store instruction and data;
The processor, for reading the instruction and data stored in the memory, performs following operation:
The multiple messages sent by the network interface desampler;
By the network interface by being connected to targeted internet service provider ISP the first loading interfaces
The second loading interfaces being connected with the interchanger, respectively to the target ISP and each turn of the interchanger
Segment message in sending out message the multiple;The interchanger is used to the segment message received being transmitted to it
His gateway, so that other described gateways are by being connected to other ISP the 3rd loading interfaces by the institute received
State segment message and be transmitted to other described ISP, the intended gateway and other described gateways are in same gateway collection
Group.
16. gateway according to claim 15, it is characterised in that based on the intended gateway is configured
With gateway, other described gateways are configured as standby gateway;The interchanger is used in intended gateway event
Message is not sent during barrier to other described gateways to being intended gateway transmission message.
17. the gateway according to claim 15 or 16, it is characterised in that the processor passes through institute
After the multiple messages for stating the transmission of network interface desampler, the processor is logical by the network interface
For crossing the first loading interfaces for being connected to targeted internet service provider ISP and being connected with the interchanger
Two loading interfaces, respectively forward the part in the multiple message to the target ISP and the interchanger respectively
Before message, the processor is additionally operable to:
The running status message that the interchanger is sent, the running status report are received by the network interface
Text is sent to the bandwidth information comprising other gateways of the interchanger, load letter for other described gateways
The message of at least one in breath and fault message, the fault message is used to whether indicate other described gateways
Failure;
Parse the information on other gateways in the running status, and according to the information parsed from
Determination is sent to the segment message of the interchanger in the multiple message.
18. the gateway according to any one of claim 15~17, it is characterised in that the intended gateway
On at least two interfaces configured in the way of link aggregation.
19. a kind of message forwarding system, it is characterised in that the system includes interchanger and intended gateway;
The interchanger is the interchanger described in any one of claim 10~14;
The intended gateway is the intended gateway described in any one of claim 15~18.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610278405.0A CN107332793B (en) | 2016-04-28 | 2016-04-28 | Message forwarding method, related equipment and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610278405.0A CN107332793B (en) | 2016-04-28 | 2016-04-28 | Message forwarding method, related equipment and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107332793A true CN107332793A (en) | 2017-11-07 |
CN107332793B CN107332793B (en) | 2020-10-16 |
Family
ID=60192428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610278405.0A Active CN107332793B (en) | 2016-04-28 | 2016-04-28 | Message forwarding method, related equipment and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107332793B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019096050A1 (en) * | 2017-11-17 | 2019-05-23 | 北京金山云网络技术有限公司 | Data transmission method, device, equipment, and readable storage medium |
CN110213161A (en) * | 2019-05-10 | 2019-09-06 | 腾讯科技(深圳)有限公司 | A kind of routing scheduling method and relevant device |
CN113507480A (en) * | 2021-07-23 | 2021-10-15 | 北京众享比特科技有限公司 | Network equipment, network gate equipment and system, and data transmission and reporting method between networks |
WO2023173993A1 (en) * | 2022-03-14 | 2023-09-21 | 杭州萤石软件有限公司 | Communication system and method based on dynamic gateway |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030009585A1 (en) * | 2001-07-06 | 2003-01-09 | Brian Antoine | Dynamic policy based routing |
CN101383778A (en) * | 2008-10-27 | 2009-03-11 | 杭州华三通信技术有限公司 | Packet transmission method based on network dual exit and exit router |
CN101964736A (en) * | 2010-10-20 | 2011-02-02 | 清华大学 | Exit network framework system of local area network |
CN102761476A (en) * | 2012-03-30 | 2012-10-31 | 杭州华三通信技术有限公司 | Load balancing method and device |
CN105359469A (en) * | 2013-03-14 | 2016-02-24 | 诺玛迪克斯公司 | Hierarchical rule-based routing system |
-
2016
- 2016-04-28 CN CN201610278405.0A patent/CN107332793B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030009585A1 (en) * | 2001-07-06 | 2003-01-09 | Brian Antoine | Dynamic policy based routing |
CN101383778A (en) * | 2008-10-27 | 2009-03-11 | 杭州华三通信技术有限公司 | Packet transmission method based on network dual exit and exit router |
CN101964736A (en) * | 2010-10-20 | 2011-02-02 | 清华大学 | Exit network framework system of local area network |
CN102761476A (en) * | 2012-03-30 | 2012-10-31 | 杭州华三通信技术有限公司 | Load balancing method and device |
CN105359469A (en) * | 2013-03-14 | 2016-02-24 | 诺玛迪克斯公司 | Hierarchical rule-based routing system |
Non-Patent Citations (1)
Title |
---|
顾清: "网络环境可靠性保障技术研究及应用", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019096050A1 (en) * | 2017-11-17 | 2019-05-23 | 北京金山云网络技术有限公司 | Data transmission method, device, equipment, and readable storage medium |
CN110213161A (en) * | 2019-05-10 | 2019-09-06 | 腾讯科技(深圳)有限公司 | A kind of routing scheduling method and relevant device |
CN113507480A (en) * | 2021-07-23 | 2021-10-15 | 北京众享比特科技有限公司 | Network equipment, network gate equipment and system, and data transmission and reporting method between networks |
CN113507480B (en) * | 2021-07-23 | 2023-10-27 | 北京众享比特科技有限公司 | Network equipment, gateway equipment and system and inter-network data transmission and reporting method |
WO2023173993A1 (en) * | 2022-03-14 | 2023-09-21 | 杭州萤石软件有限公司 | Communication system and method based on dynamic gateway |
Also Published As
Publication number | Publication date |
---|---|
CN107332793B (en) | 2020-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105765926B (en) | Configurable service broker's mapping method, device and storage medium | |
DE102011112852B4 (en) | Access network Doppelwegkonnektivität | |
CN104980349B (en) | Relay system and exchange apparatus | |
CN104506513B (en) | Fire wall flow table backup method, fire wall and firewall system | |
CN103684835B (en) | Link fault reporting method and processing method, and transmission node and primary node | |
CN106559325A (en) | Path detection method and device | |
CN102291455B (en) | Distributed cluster processing system and message processing method thereof | |
CN106656801A (en) | Method and device for redirection of forwarding path of business flow and business flow forwarding system | |
CN104579727B (en) | A kind of method and apparatus for the network connection for managing network node | |
CN101159669A (en) | Service flow switching method and apparatus | |
CN107332793A (en) | A kind of message forwarding method, relevant device and system | |
US11153185B2 (en) | Network device snapshots | |
CN105281951B (en) | Double primary apparatus conflict detection methods and the network equipment in VSU systems | |
CN103581025B (en) | Method and system for processing routing information and equipment | |
CN105656715B (en) | Method and apparatus for monitoring the state of cloud computing environment lower network equipment | |
CN109586959A (en) | A kind of method and device of fault detection | |
CN104518936B (en) | Link dynamic aggregation method and apparatus | |
US20160057043A1 (en) | Diagnostic routing system and method for a link access group | |
CN105516658B (en) | A kind of monitoring device control method and device | |
CN109246189A (en) | Network data distributing method and device, storage medium, server-side | |
CN104104596B (en) | A kind of IRF divides treating method and apparatus | |
CN106998299A (en) | The recognition methods of the network equipment, apparatus and system in data center network | |
WO2018004931A1 (en) | Techniques for virtual ethernet switching of a multi-node fabric | |
CN103188153A (en) | Bidirectional forwarding detection (BFD) message sending method and equipment on broadcast network link | |
CN110351135A (en) | Method for configuring network equipment and device in more DC |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211228 Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province Patentee after: Super fusion Digital Technology Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
TR01 | Transfer of patent right |