CN108270689A - A kind of method and device for realizing service connection - Google Patents
A kind of method and device for realizing service connection Download PDFInfo
- Publication number
- CN108270689A CN108270689A CN201810022663.1A CN201810022663A CN108270689A CN 108270689 A CN108270689 A CN 108270689A CN 201810022663 A CN201810022663 A CN 201810022663A CN 108270689 A CN108270689 A CN 108270689A
- Authority
- CN
- China
- Prior art keywords
- network
- service
- network gateway
- data packet
- sent
- 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
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
- H04L47/125—Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention proposes a kind of method for realizing service connection, and applied to network gateway, the wide area network network interface of the network gateway connects different service providers respectively;Including:When detecting that the network delay of WAN mouths of connection first service provider is more than given threshold, resource management server is accessed, confirms the dormant network gateway that the WAN mouths of connection first service provider are in idle condition;To dormant network gateway transmission bandwidth lease request information;When the bandwidth for receiving the transmission of dormant network gateway leases confirmation message, service request data packet to be sent is sent to dormant network gateway by connecting the WAN mouths of second service provider, dormant network gateway is made to pass through service request data packet to be sent and connects the WAN mouths of first service provider and is sent to destination server.The area load that above-mentioned technical proposal realizes network gateway is balanced, reduces the business load of congestion network gateway, user's business demand is made to be protected.
Description
Technical field
The present invention relates to technical field of the computer network more particularly to a kind of method and devices for realizing service connection.
Background technology
In home network, generally using router as home networking gateway, pass through router wide area network (Wide Area
Network, WAN) mouth access Internet Service Provider (Internet Service Provider, ISP) network, it realizes and uses
The service connection of family terminal and outer net.When user initiates multiple concurrent services, due to the limitation of outlet bandwidth, network can be caused
Gateway, i.e. router WAN mouthfuls of congestions influence customer service connection.
It is proposed double WAN mouthfuls of routers in order to improve the service accessibility of network gateway, in industry, two of router
WAN mouthfuls are respectively connected to different ISP networks.When user initiates service connection by above-mentioned double WAN mouthfuls of routers, customer service
Link is connect with outer net between sharing two WAN mouthfuls of net, thus mitigates business load WAN mouthfuls single, avoids occurring WAN mouthfuls
Congestion.
For router is WAN mouthfuls single, although when Client-initiated portfolio is constant, the business quantitative change that undertakes
It is few, but due to ISP infrastructure etc., when user's initiation portfolio is bigger, the bandwidth of link may be still between net
Customer service demand cannot be met, at this time or the situation that the service response time is long or business can not connect can occur.
Invention content
The defects of based on the above-mentioned prior art and deficiency, the present invention propose a kind of method and device for realizing service connection,
It can realize that the area load of network gateway is balanced, while maximally utilizing network gateway bandwidth resources, reduce congestion network
The business load of gateway makes user's business demand be protected.
In order to achieve the above object, the following technical solutions are proposed by the present invention:
A kind of method for realizing service connection, applied to network gateway, the wide area network network interface of the network gateway connects respectively
Meet different service providers;This method includes:
When the network delay for the wide area network network interface for detecting the network gateway connection first service provider is more than setting
During threshold value, resource management server is accessed, according to the network matter of each network gateway stored in the resource management server
Information is measured, confirms and connects the dormant network gateway that the wide area network network interface of the first service provider is in idle condition;
To the dormant network gateway transmission bandwidth lease request information;The bandwidth lease request information is used to ask to lead to
The wide area network network interface for crossing the dormant network gateway connection first service provider establishes service connection with destination server;
When the bandwidth for receiving the dormant network gateway transmission leases confirmation message, by service request number to be sent
The dormant network gateway is sent to by connecting the wide area network network interface of second service provider according to packet, makes the dormant network net
It closes and the service request data packet to be sent is sent to institute by connecting the wide area network network interface of the first service provider
State destination server.
Preferably, it is described by service request data packet to be sent by connecting the wide area network network interface of second service provider
The idle network gateway is sent to, including:
Obtain the net-work parameter information of the dormant network gateway;
Believed according to the net-work parameter information of the dormant network gateway and the network parameter of the equipment of initiating business request
Breath confirms eight tuple mapping relations between outer net and the network gateway;
According to the eight tuples mapping relations, the routing parameter information of service request data packet to be sent is configured;
According to the routing parameter information, the service request data packet to be sent is provided by connecting second service
The wide area network network interface of quotient is sent to the dormant network gateway.
Preferably, this method further includes:
Receive the business that the dormant network gateway is sent by connecting the wide area network network interface of the second service provider
Response data packet;Wherein described service response data packet is the net that the dormant network gateway connects the first service provider
What mouth was received, the service response data packet that the destination server responds the service request of the network gateway and feeds back.
A kind of method for realizing service connection, applied to network gateway, monitoring connects not the network gateway respectively in real time
The network quality of each wide area network network interface of same service provider, and the network quality information of monitoring is sent to resource management
Server;This method includes:
When the bandwidth lease request information for receiving the transmission of congestion network gateway, it is confirmed whether that network bandwidth can be leased
To the congestion network gateway;Wherein, the bandwidth lease request information connects first for asking to pass through the network gateway
The wide area network network interface of service provider establishes service connection with destination server;
When confirmation can lease network bandwidth to the congestion network gateway, to the congestion network gateway transmission bandwidth
Lease confirmation message;
Receive the service request that the congestion network gateway is sent by connecting the wide area network network interface of second service provider
Data packet, and by the service request data packet by connect the wide area network network interface of the first service provider be sent to it is described
Destination server.
Preferably, it is described by the service request data packet by connecting the wide area network network interface of the first service provider
The destination server is sent to, including:
According to the routing parameter information of the service request data packet, the service request data packet is passed through described in connection
The wide area network network interface of first service provider is sent to the destination server;Wherein, the routing parameter information is gathered around to be described
What stifled network gateway was configured for the service request data packet, the information of the routing parameter comprising the service request data packet.
Preferably, this method further includes:
Receive what the destination server was sent, the service response data packet of the corresponding service request data packet, and will
The service response data packet is sent to the congestion mesh network by connecting the wide area network network interface of the second service provider
It closes.
A kind of device for realizing service connection, applied to network gateway, the wide area network network interface of the network gateway connects respectively
Meet different service providers;The device includes:
Detection process unit, for when the wide area network network interface for detecting the network gateway connection first service provider
When network delay is more than given threshold, resource management server is accessed, it is each according to what is stored in the resource management server
The network quality information of network gateway confirms and connects the sky that the wide area network network interface of the first service provider is in idle condition
Not busy network gateway;
Request transmitting unit, for the dormant network gateway transmission bandwidth lease request information;The bandwidth is leased
Solicited message connects the wide area network network interface and target of the first service provider for request by the dormant network gateway
Server establishes service connection;
Data packet transmitting element, for when receiving the bandwidth that the dormant network gateway sends and leasing confirmation message,
Service request data packet to be sent is sent to the dormant network by connecting the wide area network network interface of second service provider
Gateway makes the dormant network gateway pass through the service request data packet to be sent and connects the first service provider
Wide area network network interface be sent to the destination server.
Preferably, the data packet transmitting element provides service request data packet to be sent by connecting second service
When the wide area network network interface of quotient is sent to the idle network gateway, it is specifically used for:
Obtain the net-work parameter information of the dormant network gateway;According to the net-work parameter information of the dormant network gateway
And the net-work parameter information of the equipment of initiating business request, confirm that the eight tuples mapping between outer net and the network gateway is closed
System;According to the eight tuples mapping relations, the routing parameter information of service request data packet to be sent is configured;According to the road
By parameter information, the service request data packet to be sent is sent by connecting the wide area network network interface of second service provider
To the dormant network gateway.
Preferably, which further includes:
Data packet receiving unit, for receiving the dormant network gateway by connecting the wide of the second service provider
The service response data packet that domain net network interface is sent;Wherein described service response data packet is described in the dormant network gateway connection
What the network interface of first service provider was received, the destination server responds the service request of the network gateway and feeds back
Service response data packet.
A kind of device for realizing service connection, applied to network gateway, which includes:
Processing unit is monitored, for monitoring the net for connecting each wide area network network interface of different service providers respectively in real time
Network quality, and the network quality information of monitoring is sent to resource management server;
Requesting processing, for when receiving the bandwidth lease request information that congestion network gateway is sent, confirmation to be
The no network bandwidth that can lease is to the congestion network gateway;Wherein, the bandwidth lease request information passes through institute for request
The wide area network network interface for stating network gateway connection first service provider establishes service connection with destination server;
Confirmation unit is asked, for when confirmation can lease network bandwidth to the congestion network gateway, being gathered around to described
Stifled network gateway transmission bandwidth leases confirmation message;
First retransmission unit, for receiving the congestion network gateway by connecting the wide area network net of second service provider
Mouthful service request data packet sent, and by the service request data packet by connecting the wide area of the first service provider
Net network interface is sent to the destination server.
Preferably, the data packet forwarding unit provides the service request data packet by connecting the first service
When the wide area network network interface of quotient is sent to the destination server, it is specifically used for:
According to the routing parameter information of the service request data packet, the service request data packet is passed through described in connection
The wide area network network interface of first service provider is sent to the destination server;Wherein, the routing parameter information is gathered around to be described
What stifled network gateway was configured for the service request data packet, the information of the routing parameter comprising the service request data packet.
Preferably, which further includes:
Second retransmission unit, for receiving the destination server transmission, the industry of the corresponding service request data packet
Business response data packet, and the service response data packet is sent by connecting the wide area network network interface of the second service provider
To the congestion network gateway.
When indivedual wide area network network interfaces of the technical solution of the present invention in more wide area network network interface network gateways get congestion, pass through
Bandwidth is leased to dormant network gateway, service request data packet is sent to destination server by the bandwidth detour leased, from
And realize service connection.The area load that above-mentioned technical proposal realizes network gateway is balanced, maximally utilizes network gateway
While bandwidth resources, the business load of congestion network gateway is reduced, user's business demand is made to be protected.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention, for those of ordinary skill in the art, without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow diagram of method for realizing service connection provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another method for realizing service connection provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of the method for another realization service connection provided in an embodiment of the present invention;
Fig. 4 is a kind of structure diagram of device for realizing service connection provided in an embodiment of the present invention;
Fig. 5 is the structure diagram of another device for realizing service connection provided in an embodiment of the present invention;
Fig. 6 is the process schematic of realization service request data packet detour forwarding provided in an embodiment of the present invention;
Fig. 7 is the process schematic of realization service response data packet detour forwarding provided in an embodiment of the present invention.
Specific embodiment
Technical solution of the embodiment of the present invention be suitable for have multiple wide area network network interfaces network gateway realize with server it
Between service connection application scenarios.Using technical solution of the embodiment of the present invention, the net for having multiple wide area network network interfaces can be made
Network diagram closes the service connection smoothly realized when congestion occurs for wide area network network interface with server.
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of method for realizing service connection, this method is applied to network gateway, specially
The network gateway of congestion occurs for wide area network network interface, and shown in Figure 1, this method includes:
When the network delay for the wide area network network interface for detecting the network gateway connection first service provider is more than setting
During threshold value, perform step S101, access resource management server, according to each network stored in the resource management server
The network quality information of gateway confirms and connects the idle net that the wide area network network interface of the first service provider is in idle condition
Network diagram closes;
Specifically, above-mentioned network gateway, refers to have multiple wide area network network interfaces, i.e. network gateway WAN mouthfuls multiple, example
Such as has the router of 2 or WAN mouthfuls multiple.Each WAN mouthfuls of above-mentioned network gateway are respectively connected to different Internet services
Provider ISP.
The network quality information of above-mentioned network gateway, each WAN mouthfuls of the network quality including network gateway.
Congestion network gateway can be by accessing resource management server, the resolving resource directly from resource management server
The network quality information of each network gateway of management server storage;It can also be by accessing resource management server, from money
Request obtains the data list for the network quality information for storing each network gateway in source control server, please by local parsing
The data list asked obtains the network quality information of each network gateway.
S102, to the dormant network gateway transmission bandwidth lease request information;The bandwidth lease request information is used for
Request connects the wide area network network interface of the first service provider by the dormant network gateway and destination server establishes industry
Business connection;
Specifically, above-mentioned bandwidth lease request information, for asking to connect first service offer by dormant network gateway
The wide area network network interface of quotient establishes service connection with destination server, that is, borrows dormant network gateway connection first service provider
The network bandwidth of wide area network network interface establishes service connection with destination server.It is above-mentioned to establish service connection, it specifically includes business
Request data package is sent to destination server.
In the bandwidth lease request information, the amount of bandwidth for asking to lease is further included.Congestion network gateway is as needed
The size of service request data packet sent by the WAN mouths of congestion, calculates the amount of bandwidth for needing to lease, then will need to rent
The amount of bandwidth information borrowed is added in bandwidth lease request information, is sent to dormant network gateway.
When the wide area network network interface of congestion network gateway connection first service provider gets congestion, congestion network gateway to
The dormant network gateway confirmed sends solicited message, and request connects above-mentioned first service provider by dormant network gateway
Wide area network network interface establishes service connection with destination server.
When receiving the bandwidth that the dormant network gateway sends and leasing confirmation message, step S103 is performed, will be pending
The service request data packet sent is sent to the dormant network gateway by connecting the wide area network network interface of second service provider, makes
The dormant network gateway is by the service request data packet to be sent by connecting the wide area of the first service provider
Net network interface is sent to the destination server.
Specifically, since congestion has occurred in the WAN mouths of congestion network gateway connection first service provider, this hair
Bright embodiment setting, congestion network gateway should will pass through the first clothes of connection originally by the WAN mouths of connection second service provider
It is engaged in the service request data packet that WAN mouths of provider is sent, is sent to dormant network gateway, then the is connected by dormant network gateway
The service request data packet is sent to destination server by the WAN mouths of one service provider.
The above process is realized is sent to destination server by dormant network gateway detour by service request data packet, so as to
Realize service connection.The area load that above-mentioned technical proposal realizes network gateway is balanced, maximally utilizes network gateway band
While wide resource, the business load of congestion network gateway is reduced, user's business demand is made to be protected.
The technological thought of technical solution of the embodiment of the present invention is, when some in the network gateway for having multiple wide area network network interfaces
When congestion occurs for wide area network network interface, service request data packet is sent to the free time by other wide area network network interfaces of the network gateway
Network gateway, service request data packet is transmitted to destination server by idle network gateway, so as to pass through alternative link
Realize service connection.
The embodiment of the invention also discloses with it is shown in FIG. 1 realize service connection method it is corresponding, applied to the free time
The method of the realization service connection of network gateway, it is shown in Figure 2, it is disclosed by the embodiments of the present invention to be applied to network gateway, tool
Body is the method for the realization service connection of dormant network gateway, including:
When the bandwidth lease request information for receiving the transmission of congestion network gateway, perform that step S201, be confirmed whether can
To lease network bandwidth to the congestion network gateway;Wherein, the bandwidth lease request information passes through the net for request
Network diagram connection connects the wide area network network interface of first service provider and destination server establishes service connection;
Specifically, when dormant network gateway receives the bandwidth lease request information of congestion network gateway transmission, check
Whether requested WAN mouthfuls of congestion network gateway of confirmation is idle and according to the request band carried in bandwidth lease request information
Wide size information confirms whether idle bandwidth WAN mouthfuls requested is enough, that is, confirms idle bandwidth WAN mouthfuls requested
Whether the requested amount of bandwidth of congestion network gateway is more than.If requested WAN mouthfuls of congestion network gateway is idle, and its
Idle bandwidth is more than the requested amount of bandwidth of congestion network gateway, then confirms that can lease network bandwidth gives congestion mesh network
It closes;Otherwise network bandwidth cannot be leased by, which confirming, gives congestion network gateway.
When confirm can lease network bandwidth to the congestion network gateway when, perform step S202, to the congestion net
Network diagram, which closes transmission bandwidth, leases confirmation message;
Specifically, when dormant network gateway confirms the WAN mouths that can lease connection first service provider by checking
When network bandwidth gives above-mentioned congestion network gateway, send broadband to above-mentioned congestion network gateway and lease confirmation message, i.e., to congestion
Network gateway, which sends information, which informs, can lease network bandwidth.
S203, the business that the congestion network gateway is sent by connecting the wide area network network interface of second service provider is received
Request data package, and the service request data packet is sent to by connecting the wide area network network interface of the first service provider
The destination server.
Specifically, dormant network gateway receives congestion network gateway by connecting the wide area network net of second service provider
After the service request data packet that mouth is sent, believed according to congestion network gateway for the routing parameter that the service request data packet is configured
Breath, destination server is sent to by the service request data packet by connecting the wide area network network interface of first service provider.
When indivedual WAN mouthfuls in more WAN mouthfuls of network gateways of technical solution of the embodiment of the present invention get congestion, by sky
Not busy network gateway leases bandwidth, and service request data packet is sent to destination server by the bandwidth detour leased, so as to real
Service connection is showed.The area load that above-mentioned technical proposal realizes network gateway is balanced, maximally utilizes network gateway bandwidth
While resource, the business load of congestion network gateway is reduced, user's business demand is made to be protected.
The method of realization service connection that the embodiment of the present invention proposes, is when the network gateway for having multiple wide area network network interfaces
Indivedual wide area network network interfaces when there is congestion, realize detour service connection by the idle bandwidth of dormant network gateway.Above-mentioned industry
Business connection realization process is that the process of service connection is realized by congestion network gateway and the interaction of dormant network gateway.With reference to upper
Fig. 1 and the method shown in Fig. 2 for realizing service connection are stated, the realization service connection disclosed in the embodiment of the present invention is discussed in detail
Method.
It is appreciated that technical solution of the embodiment of the present invention is realized by two network gateway interactions, and for ease of description, this hair
Bright embodiment is distinguished with congestion network gateway and dormant network gateway.The sheet of above-mentioned dormant network gateway and congestion network gateway
Matter or network gateway, and the variation of the portfolio according to its carrying, network gateway are gathered around as dormant network gateway and conduct
The role of stifled network gateway is can be changed.I.e. network gateway can be used as congestion network gateway, by other conducts
The idle bandwidth resource of the network gateway of dormant network gateway realizes service connection, can also be used as dormant network gateway, assists
Other network gateways as congestion network gateway realize service connection.
It should be noted that the network gateway that the embodiment of the present invention is above-mentioned, refers to have multiple wide area network network interfaces, i.e., it is multiple
WAN mouthfuls of network gateway, such as have the router of 2 or WAN mouthfuls multiple.Each WAN mouthfuls of above-mentioned network gateway connect respectively
Enter different Internet Service Provider ISP.
The embodiment of the present invention is set, above-mentioned network gateway auto-real-time monitoring network quality WAN mouthfuls each, and will monitoring
Network quality information be sent to resource management server, have resource management server storage.Arbitrary network gateway can lead to
Access resource management server is crossed, inquires arbitrary WAN mouthfuls of network quality of arbitrary network network gateway.
It is shown in Figure 3, the embodiment of the present invention propose realization service connection method have including:
When congestion network gateway detects that the network delay of the wide area network network interface of connection first service provider is more than setting
During threshold value, perform step S301, access resource management server, according to each network gateway stored in resource management server
Network quality information, confirm and connect the dormant network net that the WAN network of above-mentioned first service provider is in idle condition
It closes;
Specifically, above-mentioned congestion network gateway, refers to detect that itself WAN mouthfuls of network delay is more than the net of given threshold
Network diagram closes, that is, the network gateway to get congestion.The embodiment of the present invention detects connection first service provider with network gateway
For WAN mouthfuls get congestion, the method for realizing service connection of proposition of the embodiment of the present invention is introduced, at this point, above-mentioned connection first
The network delay of the wide area network network interface of service provider is more than the network gateway of given threshold, becomes congestion network gateway.
The network quality information of above-mentioned network gateway, each WAN mouthfuls of the network quality including network gateway.
Congestion network gateway can be by accessing resource management server, the resolving resource directly from resource management server
The network quality information of each network gateway of management server storage;It can also be by accessing resource management server, from money
Request obtains the data list for the network quality information for storing each network gateway in source control server, please by local parsing
The data list asked obtains the network quality information of each network gateway.
After the network quality information for confirming each network gateway, setting of the embodiment of the present invention, congestion network gateway according to
The network quality information of each network gateway is further confirmed in above-mentioned each network gateway, connects first service provider
The WAN mouthfuls of network gateways being in idle condition, i.e. dormant network gateway.
Since the communication link between congestion network gateway and first service provider gets congestion, then can influence to pass through company
Connect the service connection of the WAN of first service provider.The technical solution proposed using the embodiment of the present invention, at this time by other nets
The bandwidth of WAN mouths that network diagram pass is connect with first service provider realizes service connection, therefore congestion network gateway should first really
Recognize in other network gateways, the network gateway of the WAN mouth free time of connection first service provider.
For example, it is assumed that there are two WAN mouthfuls by network gateway X:WAN mouthfuls of A and WAN mouthfuls of B, WAN mouthfuls of A and WAN mouthfuls of B connect fortune respectively
Seek quotient A and operator B.When the WAN mouths B of network gateway X gets congestion and cannot be established by the communication link between operator B
During service connection, network gateway X confirms the network gateway Y of the WAN mouth B free time of connection operator B according to above-mentioned technical proposal, with
Phase realizes service connection by the communication link between WAN the mouth B and operator B of network gateway Y.
S302, congestion network gateway are to dormant network gateway transmission bandwidth lease request information;
Specifically, above-mentioned bandwidth lease request information, for asking to connect first service offer by dormant network gateway
The wide area network network interface of quotient establishes service connection with destination server, that is, borrows dormant network gateway connection first service provider
The network bandwidth of wide area network network interface establishes service connection with destination server.It is above-mentioned to establish service connection, it specifically includes business
Request data package is sent to destination server.
In the bandwidth lease request information, the amount of bandwidth for asking to lease is further included.Congestion network gateway is as needed
The size of service request data packet sent by the WAN mouths of congestion, calculates the amount of bandwidth for needing to lease, then will need to rent
The amount of bandwidth information borrowed is added in bandwidth lease request information, is sent to dormant network gateway.
When the wide area network network interface of congestion network gateway connection first service provider gets congestion, congestion network gateway to
The dormant network gateway confirmed sends solicited message, and request connects above-mentioned first service provider by dormant network gateway
Wide area network network interface establishes service connection with destination server.
When dormant network gateway receives the bandwidth lease request information of congestion network gateway transmission, execution step S303,
Network bandwidth can be leased by, which being confirmed whether, gives congestion network gateway;
Specifically, when dormant network gateway receives the bandwidth lease request information of congestion network gateway transmission, check
Whether requested WAN mouthfuls of congestion network gateway of confirmation is idle and according to the request band carried in bandwidth lease request information
Wide size information confirms whether idle bandwidth WAN mouthfuls requested is enough, that is, confirms idle bandwidth WAN mouthfuls requested
Whether the requested amount of bandwidth of congestion network gateway is more than.If requested WAN mouthfuls of congestion network gateway is idle, and its
Idle bandwidth is more than the requested amount of bandwidth of congestion network gateway, then confirms that can lease network bandwidth gives congestion mesh network
It closes;Otherwise network bandwidth cannot be leased by, which confirming, gives congestion network gateway.
When the confirmation of dormant network gateway can lease network bandwidth to congestion network gateway, dormant network gateway performs step
Rapid S304, confirmation message is leased to congestion network gateway transmission bandwidth;
Specifically, when dormant network gateway confirms the WAN mouths that can lease connection first service provider by checking
When network bandwidth gives above-mentioned congestion network gateway, send broadband to above-mentioned congestion network gateway and lease confirmation message, i.e., to congestion
Network gateway, which sends information, which informs, can lease network bandwidth.
When the bandwidth that congestion network gateway receives the transmission of dormant network gateway leases confirmation message, step is performed
S305, the net-work parameter information for obtaining dormant network gateway;
Specifically, the net-work parameter information of above-mentioned dormant network gateway, in particular to IP address, the end of dormant network gateway
The information such as slogan.When there is congestion due to the WAN mouths for connecting first service provider when congestion network gateway, to dormant network net
The WAN mouths of the connection first service provider of pass lease network bandwidth, therefore, in order to which congestion network gateway is made to lease dormant network
Service request data packet clearly can be sent to sky by the WAN mouths of gateway connection first service provider when establishing service connection
The WAN mouths of not busy network gateway connection first service provider, the IP for the above-mentioned dormant network gateway that congestion network gateway obtains
Location, in particular to first service provider connect the public affairs of the WAN mouths distribution of first service provider for above-mentioned dormant network gateway
Net IP address.
S306, congestion network gateway are according to the net-work parameter information of dormant network gateway and the equipment of initiating business request
Net-work parameter information, confirm eight tuple mapping relations between outer net and congestion network gateway;
Specifically, the net-work parameter information of the equipment of above-mentioned initiating business request, in particular to congestion network gateway Intranet
The information such as IP address, the port numbers of the equipment of middle initiating business request.
Eight tuple mapping relations between above-mentioned outer net and congestion network gateway, specifically include information as shown in Table 1:
Table 1
Wherein, IP address (private ip of the old source IP address for the equipment of congestion network gateway Intranet initiating business request
Location);Old source TCP/UDP ports are the local TCP/UDP port numbers of the equipment;New source IP address is distributed for first service provider
To the IP address of the public network IP address of congestion network gateway, i.e. the WAN mouths of congestion network gateway connection first service provider;Newly
Source TCP/UDP port numbers are the idle port number that congestion network gateway is locally generated;Old purpose IP address is Website server
The destination server IP address of IP address, i.e. service request;New purpose IP address distributes to idle net for first service provider
The IP address of the WAN mouths of the public network IP address that network diagram closes, i.e. dormant network gateway connection first service provider.
S307, congestion network gateway are configured pending according to eight tuple mapping relations between outer net and congestion network gateway
The routing parameter information of the service request data packet sent;
Specifically, eight tuple mapping relations of the congestion network gateway according to itself and outer net, by setting for initiating business request
The old source of service request data packet (the service request data packet for being sent to the destination server of the business of foundation) that preparation is sent
IP address, old purpose IP address, old source port number are changed to new source IP address, new purpose IP address and new port numbers, as above-mentioned
Routing parameter information is configured in service request data packet.
S308, congestion network gateway, please by the business according to the routing parameter information of service request data packet to be sent
Data packet is asked to be sent to dormant network gateway by connecting the wide area network network interface of second service provider;
Specifically, after routing parameter information is configured for service request data packet to be sent, congestion network gateway will be upper
It states service request data packet to be sent and is sent to dormant network gateway by connecting the WAN mouths of second service provider, i.e., it is logical
Cross the WAN mouths for being different from above-mentioned connection first service provider other WAN mouthfuls are sent to dormant network gateway.Due to above-mentioned industry
The new purpose IP address of business request data package distributes to the public network IP address of dormant network gateway for first service provider, therefore
It is above-mentioned that service request data packet is sent to dormant network gateway is specially to be sent to the connection first service of dormant network gateway
The WAN mouths of provider.
S309, dormant network gateway receive congestion network gateway and are sent out by connecting the wide area network network interface of second service provider
The service request data packet sent, and by the service request data packet of reception by connecting the wide area network network interface of first service provider
It is sent to destination server;
Specifically, dormant network gateway receives congestion network gateway by connecting the wide area network net of second service provider
After the service request data packet that mouth is sent, believed according to congestion network gateway for the routing parameter that the service request data packet is configured
Breath, destination server is sent to by the service request data packet by connecting the wide area network network interface of first service provider.
Dormant network gateway leads to service request data packet according to the routing parameter information of the service request data packet of reception
The wide area network network interface for crossing connection first service provider is sent to the detailed process of destination server and is:
Dormant network gateway then establishes ten tuples of itself and outer net according to the routing parameter information of service request data packet
Mapping relations, the ten tuples mapping relations are specifically as shown in table 2:
Table 2
Wherein, old source IP address/source port number in the routing parameter information of service request data packet by extracting;New source IP
Location distributes to the public network IP address of dormant network gateway for first service provider, i.e. first service provider distributes to idle net
Network diagram connection connects the public network IP address of the WAN mouths of first service provider;Old purpose IP address is the distribution of second service provider
To the public network IP address of dormant network gateway, i.e. second service provider distributes to dormant network gateway connection second service and provides
The public network IP address of the WAN mouths of quotient;New purpose IP address is the IP address of destination server, and new purpose IP address is operator A
Distribute to the public network IP address of gateway X;Inbound port A/ exit ports B is meant that service request data packet is connected by dormant network gateway
The WAN mouths for meeting second service provider are transferred to, and are produced by the WAN mouths of connection first service provider (assuming that the first clothes of connection
The WAN mouths of business provider are port B, and the WAN mouths of connection second service provider are port A).
Dormant network gateway is according to above-mentioned ten tuples mapping relations, by service request data packet by being provided with first service
Communication link between quotient is sent to destination server, it is thus achieved that by service request data packet from congestion network gateway detour
Destination server is sent to, that is, realizes service connection.
The processing procedure of above-mentioned steps S305~S309 can be found in shown in Fig. 6.A network interfaces hair between congestion gateway and ISP1
Congestion is given birth to, script congestion gateway is wished to be sent to the service request data packet of ISP1 by A network interfaces, can not be sent.According to this
Inventive embodiments technical solution, congestion gateway lease bandwidth to idle gateway, it is desirable to by idle gateway by service request data
Packet is sent to ISP1.When the confirmation of idle gateway can lease bandwidth to congestion gateway, congestion gateway passes through the B between ISP2
Service request data packet is sent to idle gateway by network interface, and service request data packet is sent to by idle gateway by A network interfaces again
ISP1, it is achieved thereby that the detour service request data packet from congestion gateway to ISP1 is sent.
Generally, when the network equipment sends service request data packet to destination server, after establishing service connection, target clothes
Business device can also return to service response data packet.Since service request data packet is to be passed through by congestion network gateway by dormant network
Gateway bandwidth detour is sent to destination server, therefore the embodiment of the present invention is set, and destination server is confirming and congestion net
Network diagram close between downlink it is unimpeded in the case of, service response data packet can be transmitted directly to congestion network gateway,
Such case is conventional service response process, and the embodiment of the present invention does not do specific introduction.If destination server and congestion net
Network diagram close between downlink congestion, then destination server business is returned to by the uplink of above-mentioned service request data packet
Response data packet, i.e. service response data packet are sent to congestion network gateway by dormant network gateway detour.This is and this hair
The service implementation method that bright embodiment proposes below is specifically introduced the process to corresponding service response processing method.
When the link congestion between destination server and congestion network gateway, destination server is by service response data packet
It is sent to the dormant network gateway of forwarding service request data package.
Correspondingly, dormant network gateway performs step S310, receives what destination server was sent, corresponding above-mentioned service request
The service response data packet of data packet, and service response data packet is sent out by connecting the wide area network network interface of second service provider
Give congestion network gateway;
Specifically, after the service response data packet for receiving destination server transmission, dormant network gateway establishes such as table 3
Ten shown tuple mapping relations:
Table 3
Wherein, old source IP address is the IP address of destination server;Old purpose IP address is that second service provider is empty
The public network IP address of not busy network gateway distribution, i.e. second service provider connect second service provider for dormant network gateway
The public network IP address of WAN mouthfuls of distribution;Old source TCP/UDP ports are the TCP/UDP ports of destination server;New source IP address is the
Two service providers are the public network IP address of dormant network gateway distribution, i.e. second service provider connects for dormant network gateway
The public network IP address of the WAN mouths distribution of second service provider;It is congestion network that new purpose IP address, which is first service provider,
The public network IP address of gateway distribution, i.e. first service provider connect the WAN mouths of first service provider for congestion network gateway
The public network IP address of distribution;New source TCP/UDP ports are the idle port number that congestion network gateway is locally generated;Inbound port B/
Exit port A is meant that service response data packet is transferred to by the WAN mouths of dormant network gateway connection first service provider, and by
The WAN mouths of connection second service provider, which produce, (assuming that the WAN mouths of connection first service provider are port B, connects the second clothes
The WAN mouths of business provider are port A).
Dormant network gateway carries service response data packet by connecting second service according to above-mentioned ten tuples mapping relations
Congestion network gateway is sent to for the WAN mouths of quotient.
S311, congestion network gateway receive dormant network gateway and are sent out by connecting the wide area network network interface of second service provider
The service response data packet sent.
Specifically, after congestion network gateway receives the service response data packet of dormant network gateway transmission, such as table 4 is established
Eight shown tuple mapping relations:
Table 4
Wherein, old source IP address is the public network IP address that second service provider is the distribution of dormant network gateway, as empty
The IP address of the WAN mouths distribution of not busy network gateway connection second service provider;Old purpose IP address is first service provider
WAN mouths distribution for the public network IP address of congestion network gateway distribution, as congestion network gateway connection first service provider
IP address;Old source port number is the idle port number that dormant network gateway is locally generated;New source IP address is first service
Provider is the public network IP address of congestion network gateway distribution, as the WAN of congestion network gateway connection first service provider
The IP address of mouth distribution;New purpose IP address is (privately owned for the IP address of the equipment of congestion network gateway Intranet initiating business request
IP address);New source TCP/UDP ports are the idle TCP/UDP port numbers that congestion network gateway is locally generated.
Congestion network gateway is provided service response data packet by connection first service according to above-mentioned eight tuples mapping relations
The equipment that the wide area network network interface of quotient is sent to initiating business request.
The processing procedure of above-mentioned steps S310~S311 can be found in shown in Fig. 7.A network interfaces hair between congestion gateway and ISP1
Congestion is given birth to, then the server of ISP1 connections can not be by the A networks between ISP1 and congestion gateway by service response data packet
It is sent to congestion gateway.According to the bandwidth leasing method that the embodiment of the present invention proposes, server is upper along service request data packet
Path is passed, then service response data packet is fed back into congestion gateway.As shown in fig. 7, server first passes through ISP1 and idle gateway
A network interfaces service response data packet is sent to idle gateway, then idle gateway by the B network interfaces that are connect with ISP2 by business
Response data packet is sent to congestion gateway, it is achieved thereby that the detour service response data packet from ISP1 to congestion gateway is sent.
By above-mentioned introduction as it can be seen that indivedual WANs mouthful hairs of the technical solution of the embodiment of the present invention in more WAN mouthfuls of network gateways
During raw congestion, by leasing bandwidth to dormant network gateway, service request data packet is sent to by the bandwidth detour leased
Destination server, it is achieved thereby that service connection.The area load that above-mentioned technical proposal realizes network gateway is balanced, maximizes
While using network gateway bandwidth resources, the business load of congestion network gateway is reduced, user's business demand is made to be protected.
In order to which vivider introduces the method disclosed by the embodiments of the present invention for realizing service connection, with reference to example introduction
The realization process of above-mentioned technical proposal.
Assuming that there are network gateway X WAN mouthfuls of A and WAN mouthfuls of B, WAN mouthfuls of A and WAN mouthfuls of B to connect operator A and operator respectively
B;There are network gateway Y WAN mouthfuls of A and WAN mouthfuls of B, WAN mouthfuls of A and WAN mouthfuls of B to connect operator A and operator B respectively.
When the WAN mouth B congestions of network gateway X, and when WAN mouthfuls of A are good, network gateway establishes eight tuple as shown in Table 1
Mapping relations.Wherein, IP address (private IP address) of the old source IP address for the equipment of Intranet initiating business request, old source TCP/
Udp port is the local TCP/UDP port numbers of the equipment, and new source IP address distributes to gateway X public network IP address for operator B,
New source TCP/UDP port numbers are the idle port number that X is locally generated, and old purpose IP address is Website server IP address, newly
Purpose IP address distributes to the public network IP address of gateway Y for operator B.
Network gateway X is with changing the old source IP address of service request data packet, old destination IP according to eight tuple mapping relations
Location, old source port number are new source IP address, new purpose IP address and new port numbers, and the service request data packet are passed through WAN
Mouth A is sent to network gateway Y.
After network gateway Y receives service request data packet, ten tuples mapping relations as shown in Table 2 are established.Wherein, it is old
Source IP address and old source port number are extracted by service request data packet, and new source IP address distributes to the public network of gateway Y for operator B
IP address, old purpose IP address are the public network IP address that operator A distributes to gateway Y, and new purpose IP address is destination server
IP address.Service request data packet is sent to destination server by network gateway Y by B ports at this time.
When the service response data packet that network gateway Y forwarding destination servers are sent to is to network gateway X, new destination IP
The public network IP address of network gateway X is distributed in address for operator B, while the port that comes in and goes out passes through for inbound port B exit port A
WAN mouthfuls of B receive business corresponding data packet, and service response data packet is sent by WAN mouthfuls of A.
If double WAN mouthfuls of network delays of network gateway reach thresholding in a period of time, i.e. congestion, then need to pass through
Resource management server is accessed, double good network gateways of WAN mouthfuls of network qualities is retrieved or corresponding WAN mouthfuls of network qualities is good
Two good network gateways, transmission bandwidth lease request message, the bandwidth that dormant network gateway replys congestion network gateway are leased
Request, dormant network gateway is route as forwarding after negotiating successfully.
Assuming that the equal congestion of WAN mouth A, B of network gateway X, then respectively send eight tuple mapping relations bandwidth on demand for double WAN mouthfuls
It leases.
A ports forward data processing:
Eight tuple mapping relations between outer net and WAN mouthfuls of A, i.e.,:
Wherein, IP address (private IP address) of the old source IP address for the equipment of Intranet initiation Task1 tasks, new source IP
Gateway X public network IP address is distributed in location for operator A, and old source TCP/UDP ports are the local TCP/UDP port numbers of the equipment,
New source TCP/UDP port numbers are the idle port number that X is locally generated, and old purpose IP address is Website server IP address, newly
Purpose IP address distributes to the public network IP address of gateway Y for operator A.
Home gateway X changes old source IP, the old purpose of Task1 access request packets Packet1 according to eight tuple mapping relations
IP address, old source port number are new source IP address, new purpose IP address and new port numbers, and the packet are transmitted to net by A circuits
Close Y
If home gateway Y agrees to the bandwidth lease request of X, transmission bandwidth leases configure-ack message, establishes ten tuples and reflect
Relationship is penetrated, i.e.,:
Wherein, old source IP address/source port number is extracted by Packet1, and new source IP address distributes to gateway Y for operator A
Public network IP address, old purpose IP address is the public network IP address that operator B distributes to gateway Y, and inbound port B/ exit ports A's contains
Justice is to be grouped to be transferred to by the port of gateway Y connections operator B and produced by connecting operator A ports.When returned data packet is stylish
Purpose IP address distributes to the public network IP address of gateway X for operator A.
Home gateway Y change Task1 access request packets Packet1 old source IP and old source port number for new source IP address and
New port numbers, and the packet is passed through into B line access Website servers.
B ports forward data processing:
Eight tuple mapping relations between outer net B, i.e.,:
Wherein, old source IP address initiates the IP address (private IP address) of the equipment of Task1 tasks, old source TCP/ for Intranet
Udp port is the local TCP/UDP port numbers of the equipment, and new source IP address distributes to gateway X public network IP address for operator B,
New source TCP/UDP port numbers are the idle port number that X is locally generated, and old purpose IP address is Website server IP address, newly
IP address distributes to the public network IP address of gateway Y for operator B.
Home gateway X changes old source IP, the old purpose of Task1 access request packets Packet1 according to eight tuple mapping relations
IP address, old source port number are new source IP address, new purpose IP address and new port numbers, and the packet are transmitted to net by A circuits
Close Y.
If home gateway Y agrees to the bandwidth lease request of X, transmission bandwidth leases configure-ack message, establishes ten tuples and reflect
Relationship is penetrated, i.e.,:
Wherein, old source IP address and old source port number are extracted by service request data packet, and new source IP address is operator B points
The public network IP address of dispensing gateway Y, old purpose IP address are the public network IP address that operator A distributes to gateway Y, new destination IP
Location is the IP address of destination server.Service request data packet is sent to destination service by network gateway Y by B ports at this time
Device.Home gateway Y changes the old source IP of service request data packet Packet1 and old source port number is new source IP address and new port
Number, and the packet is passed through into B line access Website servers.
When the service response data packet that network gateway Y forwarding destination servers are sent to is to network gateway X, new destination IP
The public network IP address of network gateway X is distributed in address for operator B, while the port that comes in and goes out passes through for inbound port B exit port A
WAN mouthfuls of B receive business corresponding data packet, and service response data packet is sent by WAN mouthfuls of A.
Fig. 4 is a kind of device for realizing service connection disclosed by the embodiments of the present invention, which is applied to network gateway, institute
The wide area network network interface for stating network gateway connects different service providers respectively;Including:
Detection process unit 100, for when the wide area network net for detecting the network gateway connection first service provider
When the network delay of mouth is more than given threshold, resource management server is accessed, according to what is stored in the resource management server
The network quality information of each network gateway confirms that the wide area network network interface for connecting the first service provider is in idle condition
Dormant network gateway;
Request transmitting unit 110, for the dormant network gateway transmission bandwidth lease request information;The bandwidth is rented
Connect the wide area network network interface and mesh of the first service provider by the dormant network gateway for request by means of solicited message
Mark server establishes service connection;
Data packet transmitting element 120, for leasing confirmation message when the bandwidth for receiving the dormant network gateway transmission
When, service request data packet to be sent is sent to the idle net by connecting the wide area network network interface of second service provider
Network diagram closes, and the dormant network gateway is made to pass through the service request data packet to be sent and connects the first service and provides
The wide area network network interface of quotient is sent to the destination server.
Wherein, data packet transmitting element by service request data packet to be sent by connecting the wide of second service provider
When domain net network interface is sent to the idle network gateway, it is specifically used for:
Obtain the net-work parameter information of the dormant network gateway;According to the net-work parameter information of the dormant network gateway
And the net-work parameter information of the equipment of initiating business request, confirm that the eight tuples mapping between outer net and the network gateway is closed
System;According to the eight tuples mapping relations, the routing parameter information of service request data packet to be sent is configured;According to the road
By parameter information, the service request data packet to be sent is sent by connecting the wide area network network interface of second service provider
To the dormant network gateway.
Optionally, in another embodiment of the present invention, which further includes:
Data packet receiving unit, for receiving the dormant network gateway by connecting the wide of the second service provider
The service response data packet that domain net network interface is sent, and by the service response data packet by connecting the first service provider
The wide area network network interface equipment that is sent to the initiating business request;Wherein described service response data packet is the destination service
The service response data packet that device responds the service request of the network gateway and feeds back.
Specifically, the specific works content of above-mentioned each unit, the content of above method embodiment is referred to, herein no longer
It repeats.
Fig. 5 is another device for realizing service connection provided in an embodiment of the present invention, applied to network gateway, the device
Including:
Processing unit 200 is monitored, for monitoring each wide area network network interface for connecting different service providers respectively in real time
Network quality, and the network quality information of monitoring is sent to resource management server;
Requesting processing 210, for when receiving the bandwidth lease request information that congestion network gateway is sent, confirming
Whether network bandwidth can be leased to the congestion network gateway;Wherein, the bandwidth lease request information passes through for request
The wide area network network interface of the network gateway connection first service provider establishes service connection with destination server;
Ask confirmation unit 220, for when confirm can lease network bandwidth to the congestion network gateway when, to described
Congestion network gateway transmission bandwidth leases confirmation message;
First retransmission unit 230, for receiving the congestion network gateway by connecting the wide area of second service provider
The service request data packet that net network interface is sent, and by the service request data packet by connecting the first service provider
Wide area network network interface is sent to the destination server.
Wherein, first retransmission unit by the service request data packet by connecting the first service provider
When wide area network network interface is sent to the destination server, it is specifically used for:
According to the routing parameter information of the service request data packet, the service request data packet is passed through described in connection
The wide area network network interface of first service provider is sent to the destination server;Wherein, the routing parameter information is gathered around to be described
What stifled network gateway was configured for the service request data packet, the information of the routing parameter comprising the service request data packet.
Optionally, in another embodiment of the present invention, which further includes:
Second retransmission unit, for receiving the destination server transmission, the industry of the corresponding service request data packet
Business response data packet, and the service response data packet is sent by connecting the wide area network network interface of the second service provider
To the congestion network gateway.
Specifically, the specific works content of above-mentioned each unit, the content of above method embodiment is referred to, herein no longer
It repeats.
The foregoing description of the disclosed embodiments enables professional and technical personnel in the field to realize or use the present invention.
A variety of modifications of these embodiments will be apparent for those skilled in the art, it is as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention
The embodiments shown herein is not intended to be limited to, and is to fit to and the principles and novel features disclosed herein phase one
The most wide range caused.
Claims (12)
- A kind of 1. method for realizing service connection, which is characterized in that applied to network gateway, the wide area network net of the network gateway Mouth connects different service providers respectively;This method includes:When the network delay for the wide area network network interface for detecting the network gateway connection first service provider is more than given threshold When, resource management server is accessed, is believed according to the network quality of each network gateway stored in the resource management server Breath confirms and connects the dormant network gateway that the wide area network network interface of the first service provider is in idle condition;To the dormant network gateway transmission bandwidth lease request information;The bandwidth lease request information passes through institute for request The wide area network network interface for stating the dormant network gateway connection first service provider establishes service connection with destination server;When the bandwidth for receiving the dormant network gateway transmission leases confirmation message, by service request data packet to be sent The dormant network gateway is sent to by the wide area network network interface for connecting second service provider, makes the dormant network gateway will The service request data packet to be sent is sent to the mesh by connecting the wide area network network interface of the first service provider Mark server.
- 2. according to the method described in claim 1, it is characterized in that, described pass through connection by service request data packet to be sent The wide area network network interface of second service provider is sent to the idle network gateway, including:Obtain the net-work parameter information of the dormant network gateway;According to the net-work parameter information of the dormant network gateway and the net-work parameter information of the equipment of initiating business request, really Recognize eight tuple mapping relations between outer net and the network gateway;According to the eight tuples mapping relations, the routing parameter information of service request data packet to be sent is configured;According to the routing parameter information, by the service request data packet to be sent by connecting second service provider Wide area network network interface is sent to the dormant network gateway.
- 3. method according to claim 1 or 2, which is characterized in that this method further includes:Receive the service response that the dormant network gateway is sent by connecting the wide area network network interface of the second service provider Data packet;Wherein described service response data packet is the network interface institute that the dormant network gateway connects the first service provider It receives, the service response data packet that the destination server responds the service request of the network gateway and feeds back.
- A kind of 4. method for realizing service connection, which is characterized in that applied to network gateway, network gateway monitoring point in real time The network quality of each wide area network network interface of different service providers is not connected, and the network quality information of monitoring is sent to Resource management server;This method includes:When the bandwidth lease request information for receiving the transmission of congestion network gateway, it is confirmed whether to lease network bandwidth to institute State congestion network gateway;Wherein, the bandwidth lease request information connects first service for asking to pass through the network gateway The wide area network network interface of provider establishes service connection with destination server;When confirmation can lease network bandwidth to the congestion network gateway, leased to the congestion network gateway transmission bandwidth Confirmation message;Receive the service request data that the congestion network gateway is sent by connecting the wide area network network interface of second service provider Packet, and the service request data packet is sent to the target by connecting the wide area network network interface of the first service provider Server.
- 5. according to the method described in claim 4, it is characterized in that, described pass through the service request data packet described in connection The wide area network network interface of first service provider is sent to the destination server, including:According to the routing parameter information of the service request data packet, by the service request data packet by connecting described first The wide area network network interface of service provider is sent to the destination server;Wherein, the routing parameter information is the congestion net Network diagram is closed as service request data packet configuration, the information of the routing parameter comprising the service request data packet.
- 6. method according to claim 4 or 5, which is characterized in that this method further includes:Receive what the destination server was sent, the service response data packet of the corresponding service request data packet, and by described in Service response data packet is sent to the congestion network gateway by connecting the wide area network network interface of the second service provider.
- 7. a kind of device for realizing service connection, which is characterized in that applied to network gateway, the wide area network net of the network gateway Mouth connects different service providers respectively;The device includes:Detection process unit, for when the network for the wide area network network interface for detecting the network gateway connection first service provider When time delay is more than given threshold, resource management server is accessed, according to each network stored in the resource management server The network quality information of gateway confirms and connects the idle net that the wide area network network interface of the first service provider is in idle condition Network diagram closes;Request transmitting unit, for the dormant network gateway transmission bandwidth lease request information;The bandwidth lease request Information connects the wide area network network interface and destination service of the first service provider for request by the dormant network gateway Device establishes service connection;Data packet transmitting element, for when the bandwidth for receiving the dormant network gateway transmission leases confirmation message, will treat The service request data packet of transmission is sent to the dormant network gateway by connecting the wide area network network interface of second service provider, The dormant network gateway is made to pass through the service request data packet to be sent and connects the wide of the first service provider Domain net network interface is sent to the destination server.
- 8. device according to claim 7, which is characterized in that the data packet transmitting element is by service request to be sent When data packet is sent to the idle network gateway by connecting the wide area network network interface of second service provider, it is specifically used for:Obtain the net-work parameter information of the dormant network gateway;According to the net-work parameter information of the dormant network gateway and The net-work parameter information of the equipment of initiating business request confirms eight tuple mapping relations between outer net and the network gateway; According to the eight tuples mapping relations, the routing parameter information of service request data packet to be sent is configured;According to the routing The service request data packet to be sent is sent to by parameter information by connecting the wide area network network interface of second service provider The dormant network gateway.
- 9. device according to claim 7 or 8, which is characterized in that the device further includes:Data packet receiving unit, for receiving the dormant network gateway by connecting the wide area network of the second service provider The service response data packet that network interface is sent;Wherein described service response data packet is the dormant network gateway connection described first What the network interface of service provider was received, the business that the destination server responds the service request of the network gateway and feeds back Response data packet.
- 10. a kind of device for realizing service connection, which is characterized in that applied to network gateway, which includes:Processing unit is monitored, for monitoring the network matter for connecting each wide area network network interface of different service providers respectively in real time Amount, and the network quality information of monitoring is sent to resource management server;Requesting processing, for when receiving the bandwidth lease request information that congestion network gateway is sent, being confirmed whether can To lease network bandwidth to the congestion network gateway;Wherein, the bandwidth lease request information passes through the net for request Network diagram connection connects the wide area network network interface of first service provider and destination server establishes service connection;Ask confirmation unit, for when confirm can lease network bandwidth to the congestion network gateway when, to the congestion net Network diagram, which closes transmission bandwidth, leases confirmation message;First retransmission unit is sent out for receiving the congestion network gateway by connecting the wide area network network interface of second service provider The service request data packet sent, and by the service request data packet by connecting the wide area network net of the first service provider Mouth is sent to the destination server.
- 11. device according to claim 10, which is characterized in that first retransmission unit is by the service request data When packet is sent to the destination server by connecting the wide area network network interface of the first service provider, it is specifically used for:According to the routing parameter information of the service request data packet, by the service request data packet by connecting described first The wide area network network interface of service provider is sent to the destination server;Wherein, the routing parameter information is the congestion net Network diagram is closed as service request data packet configuration, the information of the routing parameter comprising the service request data packet.
- 12. the device according to claim 10 or 11, which is characterized in that the device further includes:Second retransmission unit, for receiving the destination server transmission, the business of the corresponding service request data packet is rung Data packet is answered, and the service response data packet is sent to institute by connecting the wide area network network interface of the second service provider State congestion network gateway.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810022663.1A CN108270689B (en) | 2018-01-10 | 2018-01-10 | Method and device for realizing service connection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810022663.1A CN108270689B (en) | 2018-01-10 | 2018-01-10 | Method and device for realizing service connection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108270689A true CN108270689A (en) | 2018-07-10 |
CN108270689B CN108270689B (en) | 2021-06-01 |
Family
ID=62773429
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810022663.1A Active CN108270689B (en) | 2018-01-10 | 2018-01-10 | Method and device for realizing service connection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108270689B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114079672A (en) * | 2022-01-07 | 2022-02-22 | 广州市成格信息技术有限公司 | Multifunctional gateway multi-channel data intelligent distribution method and system |
CN114285763A (en) * | 2021-11-26 | 2022-04-05 | 中国联合网络通信集团有限公司 | Data acquisition method, data acquisition device and computer-readable storage medium |
US20230171620A1 (en) * | 2021-11-26 | 2023-06-01 | Dish Network, L.L.C. | Enhanced network reliability and/or boosted network speed |
CN116760836A (en) * | 2023-08-16 | 2023-09-15 | 中国电信股份有限公司 | Distributed service enabling method, device, system, communication equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100235521A1 (en) * | 2009-03-15 | 2010-09-16 | Daren French | Multi-Session Web Acceleration |
CN102882802A (en) * | 2012-10-23 | 2013-01-16 | 厦门四信通信科技有限公司 | Relation method of load balance of multi-WAN (Wide Area Network) port equipment |
CN103188752A (en) * | 2011-12-31 | 2013-07-03 | 北京大唐高鸿数据网络技术有限公司 | Network switching method achieving zero packet loss of mobile terminal under novel routing system |
CN104094564A (en) * | 2011-12-05 | 2014-10-08 | 适应性频谱和信号校正股份有限公司 | Systems and methods for traffic load balancing on multiple wan backhauls and multiple distinct lan networks |
CN203933655U (en) * | 2014-05-05 | 2014-11-05 | 天津赞普科技股份有限公司 | A kind of safe Multi-channel load balancing equipment |
CN106130913A (en) * | 2016-09-08 | 2016-11-16 | 深圳市磊科实业有限公司 | A kind of multi-operator is the route selecting method of many WAN mouth router based on strategy in the case of accessing |
-
2018
- 2018-01-10 CN CN201810022663.1A patent/CN108270689B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100235521A1 (en) * | 2009-03-15 | 2010-09-16 | Daren French | Multi-Session Web Acceleration |
CN104094564A (en) * | 2011-12-05 | 2014-10-08 | 适应性频谱和信号校正股份有限公司 | Systems and methods for traffic load balancing on multiple wan backhauls and multiple distinct lan networks |
CN103188752A (en) * | 2011-12-31 | 2013-07-03 | 北京大唐高鸿数据网络技术有限公司 | Network switching method achieving zero packet loss of mobile terminal under novel routing system |
CN102882802A (en) * | 2012-10-23 | 2013-01-16 | 厦门四信通信科技有限公司 | Relation method of load balance of multi-WAN (Wide Area Network) port equipment |
CN203933655U (en) * | 2014-05-05 | 2014-11-05 | 天津赞普科技股份有限公司 | A kind of safe Multi-channel load balancing equipment |
CN106130913A (en) * | 2016-09-08 | 2016-11-16 | 深圳市磊科实业有限公司 | A kind of multi-operator is the route selecting method of many WAN mouth router based on strategy in the case of accessing |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114285763A (en) * | 2021-11-26 | 2022-04-05 | 中国联合网络通信集团有限公司 | Data acquisition method, data acquisition device and computer-readable storage medium |
CN114285763B (en) * | 2021-11-26 | 2023-05-30 | 中国联合网络通信集团有限公司 | Data acquisition method, device and computer readable storage medium |
US20230171620A1 (en) * | 2021-11-26 | 2023-06-01 | Dish Network, L.L.C. | Enhanced network reliability and/or boosted network speed |
CN114079672A (en) * | 2022-01-07 | 2022-02-22 | 广州市成格信息技术有限公司 | Multifunctional gateway multi-channel data intelligent distribution method and system |
CN114079672B (en) * | 2022-01-07 | 2022-04-15 | 广州市成格信息技术有限公司 | Multifunctional gateway multi-channel data intelligent distribution method and system |
CN116760836A (en) * | 2023-08-16 | 2023-09-15 | 中国电信股份有限公司 | Distributed service enabling method, device, system, communication equipment and storage medium |
CN116760836B (en) * | 2023-08-16 | 2023-10-31 | 中国电信股份有限公司 | Distributed service enabling method, device, system, communication equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108270689B (en) | 2021-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7020090B2 (en) | System and method for loadbalancing in a network environment using feedback information | |
JP4571080B2 (en) | QoS guarantee system in multi-domain network and QoS server applied thereto | |
RU2660635C2 (en) | Method and apparatus for controlling service chain of service flow | |
US7822046B2 (en) | Triggering bandwidth reservation and priority remarking | |
WO2011093228A1 (en) | Front end system and front end processing method | |
JP2002064563A (en) | Dynamic application port service for preparing packet switch | |
CN108270689A (en) | A kind of method and device for realizing service connection | |
WO2006000627A1 (en) | Method for service chaining in a communication network | |
JPH11502997A (en) | On-demand guaranteed bandwidth service to Internet access points using user-allocable auxiliary bandwidth | |
CN104539531A (en) | Data transmission method and device | |
BRPI0619481A2 (en) | pricing system and / or method | |
CN105227692A (en) | A kind of NAT through method and gateway device | |
CN111262715B (en) | Virtual intranet acceleration method and system and computer equipment | |
US9413676B2 (en) | System and method for reducing the data packet loss employing adaptive transmit queue length | |
WO2007074415A2 (en) | A method and apparatus for generating ip traffic in an internet protocol (ip) based network | |
US8788640B1 (en) | Employing rate shaping class capacities and metrics to balance connections | |
CN108353027A (en) | A kind of software defined network system for detecting port failure | |
US8442190B2 (en) | Method, system and device for call processing | |
CN102316086A (en) | Relay method for service data and relay node system | |
CN110071905A (en) | For providing method, border networks and the IP server of connection | |
JP4802261B2 (en) | Resource management apparatus and resource management method | |
CN106506718B (en) | IVI transition method and network system based on the pure IPv6 network of multiple NAT | |
JP3453120B2 (en) | Communication service condition control method and apparatus | |
CN112040170B (en) | Remote off-site bid evaluation system based on 5G | |
US10623279B2 (en) | Method and network entity for control of value added service (VAS) |
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 |