CN101753640B - Multi-interface fusion method of communication node - Google Patents

Multi-interface fusion method of communication node Download PDF

Info

Publication number
CN101753640B
CN101753640B CN2009102635944A CN200910263594A CN101753640B CN 101753640 B CN101753640 B CN 101753640B CN 2009102635944 A CN2009102635944 A CN 2009102635944A CN 200910263594 A CN200910263594 A CN 200910263594A CN 101753640 B CN101753640 B CN 101753640B
Authority
CN
China
Prior art keywords
interface
network
network interface
address
intranet
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.)
Expired - Fee Related
Application number
CN2009102635944A
Other languages
Chinese (zh)
Other versions
CN101753640A (en
Inventor
邝育军
隆克平
刘健
徐杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN2009102635944A priority Critical patent/CN101753640B/en
Publication of CN101753640A publication Critical patent/CN101753640A/en
Application granted granted Critical
Publication of CN101753640B publication Critical patent/CN101753640B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a multi-interface fusion method of a communication node, which comprises the following steps: establishing an address table and an interface table; regularly testing the state and the parameter information of each network interface by a state/parameter maintenance module; wiring the state and parameter information of each network interface into the interface table and updating the interface table; automatically distributing business data to be sent out by the communication node by a business leading module according to the interface state information of the interface table; and sending out the business data through the set network interface so that the defects of inconvenient interface management and maintenance of the manual closing of a network interface by users or manual route table configuration in the prior art. At the same time, when a plurality of network interfaces capable of visiting the outer network or the inner network exist, the optimal network interface is further selected for outwards sending according to the performance parameter of the outer network connection of the interface table, or the business data carry out load balance on the network interfaces, so the business data can be distributed to the optimal network interface, or the business data can be transmitted and distributed to a plurality of network interfaces, and the integral transmission bandwidth of the outer network or the inner network of the system is indirectly improved.

Description

A kind of multi-interface fusion method of communication node
Technical field
The present invention relates to communication technique field, relate in particular to the method that each interface merges in the communication node with a plurality of network interfaces.
Background technology
Along with the develop rapidly of microelectric technique and electronic communication, and Internet technology and professional extensive use, mobile computing and personal communication become main flow.Along with various wired and wireless communication technology standards and interface emerge in an endless stream, the boundary of terminal and communication terminal is fuzzy day by day, becomes an access communications node in the communication network.
Communication node inserts and to comprise wired modes such as plain old telephone, modulator-demodulator, Ethernet, and comprise with the bluetooth be representative Wireless Personal Network, be the WLAN (wireless local area network) of representative, be the metropolitan area network of representative with WiMAX and be the wireless modes such as wide area network of representative with WiFi (IEEE802.11 series) with 2G/2.5G/3G.These communication node access technologies are long-term co-existence from the broad sense angle not only, and since various communication node access technologies respectively have superiority, with strong complementarity, so increasing communication node all has two or more at least communication interfaces, and especially the personal assistant of main flow (PDA), notebook computer etc. all have infrared, bluetooth, WiFi, Ethernet, the modulator-demodulator interfaces more than four kinds such as (Modem) usually.In addition, those also additionally are equipped with a kind of wide area network card of surfing Internet at least to the demanding user of mobile office, as based on the card of surfing Internet of code division multiple access (CMDA) or GPRS (GPRS) to adapt to the demand that mobile office inserts the Internet.And these increasing interfaces are except the telephone requirements of pure voice communication, mainly be in order to insert the Internet or, because this Internet model that to be people adapt to day by day and greatly rely on based on the Enterprise Information Net of the Internet or the specific information network of group.
But current these communication node access technologies are independent the use mostly.Even if under this class " intelligence " operating systems such as Windows, TCP/IP connects that the interface only select one " optimum " usually externally initiates to connect and different abilities and the advantage of not considering each interface.WiFi interface and Ethernet interface and Modem interface have been equipped with such as certain computer, wherein the WiFi association access point (AP), Modem by dial-up access the access point of an ISP (ISP), Ethernet has then inserted local campus network network.When the user visits an internet domain name by browser such as IE, usually Windows can send by Ethernet interface access request (IP bag) to the designated domain name corresponding server, because at Windows, Ethernet has maximum bandwidth and best reliability.But the campus network that in fact might this Ethernet be inserted can not provide internet access capability, so for the access internet resource, the user must disconnect Ethernet usually or pressure IE does not use Ethernet.If but the user wishes by IE visit campus network information resources, and these resources can only be passed through the Ethernet connected reference, then the user must be provided with again again.And when the user wishes to visit campus network and Internet resources simultaneously, the user has to oneself set up local routing table, but the user of thumping majority does not possess relevant knowledge and ability, and this configuration is dumb, because when user's the terminal as communication node inserts another ethernet environment with the Internet access, must reconfigure computer, thereby the interface management of existing communication node and maintaining method have caused great inconvenience to the user.
Summary of the invention
The objective of the invention is to overcome the deficiencies in the prior art, the multi-interface fusion method of a kind of interface management and communication node easy to maintenance is provided.
To achieve the above object of the invention, the multi-interface fusion method of communication node of the present invention may further comprise the steps, in communication node:
(1), set up an address table, address table comprises at least one outer net address and net address at least one, outer net address constitutes the outer net address set, interior net address constitutes the Intranet address set;
(2), set up an interface table, be used to safeguard the state and the parameter information of each network interface, wherein state information comprises network availability, outer net accessibility, Intranet accessibility; Parameter information comprises outer net switching performance parameter, Intranet switching performance parameter;
(3), comprise a state/parameter maintenance module, the state of each network interface and parameter information on the routine test communication node: whether each network interface that detects communication node moves normally, if a certain network interface operation is normal, then its state is that network can be used, and outer net accessibility, the Intranet accessibility of further testing this network interface according to outer net address in the address table and interior net address, if this network interface outer net can reach, then test obtains its outer net switching performance parameter, and can reaching then as the network interface Intranet, test obtains its Intranet switching performance parameter; And state and parameter information that test obtains each network interface write in the incoming interface table updating interface table;
(4), comprise a business and dredge module, the interface table of safeguarding based on maintenance module, to this communication node outwards the business datum of visit on different network interfaces, dispatch:
When the destination address of business datum is outer net, the network interface that automatic selection can be visited outer net according to interface table interface status information externally sends, and when having a plurality of network interface that can visit outer net, further select an optimum network interface externally to send according to interface off-balancesheet net switching performance parameter, or these business datums are carried out load balancing on these network interfaces, the transmission of business datum is distributed on these network interfaces; Equally, when the destination address of business datum is Intranet, the network interface that automatic selection can be visited Intranet according to interface table interface status information externally sends, and when having a plurality of network interface that can visit Intranet, further select an optimum network interface externally to send according to interface table Intranet switching performance parameter, or these business datums are carried out load balancing on these network interfaces, the transmission of business datum is distributed on these network interfaces.
The object of the present invention is achieved like this:
In communication node, set up address table and interface table after, state/parameter maintenance module can be automatically carried out routine test according to user configured outer net and interior net address to the all-network interface of communication node, and updating interface state and parameter information; Business is dredged the business datum that module automatically sends out out communication node and is distributed according to interface table interface status information, send by selected network interface, thereby having overcome in the past, the user manually turns off a certain network interface or carries out artificial routing table configuration, interface management and shortcoming easy to maintenance.
Simultaneously, can also be when there be a plurality of network interface that can visit outer net or Intranet in method of the present invention, further select an optimum network interface externally to send according to interface off-balancesheet net switching performance parameter, or these business datums are carried out load balancing on these network interfaces.Select an optimum network interface externally to send, can business datum be assigned on the best network interface; The transmission of business datum is distributed on a plurality of network interfaces, certain or certain several transmission queues process of avoiding in these network interfaces that some interfaces occur, and the less data generation that need transmit phenomenon basically on other the network interface has promoted the outer net or the Intranet overall transfer bandwidth of system indirectly.
Description of drawings
Fig. 1 is the multi-interface fusion method typical case application scenarios schematic diagram of communication node of the present invention;
Fig. 2 is address table and a kind of embodiment structural representation of interface table of the multi-interface fusion method of communication node of the present invention;
Fig. 3 is that the many interfaces under a kind of embodiment of the multi-interface fusion method of communication node of the present invention merge management middleware protocol frame schematic diagram;
Fig. 4 is the principle and the schematic flow sheet of the state/parameter maintenance module under a kind of embodiment of the multi-interface fusion method of communication node of the present invention;
Fig. 5 is principle and the schematic flow sheet that the business under a kind of embodiment of the multi-interface fusion method of communication node of the present invention is dredged module.
Embodiment
For understanding the present invention better, the present invention is made a more detailed description below in conjunction with the drawings and specific embodiments.In the following description, when perhaps the detailed description of existing prior art can desalinate subject content of the present invention, these were described in here and will be left in the basket.
Fig. 1 is the multi-interface fusion method typical case application scenarios schematic diagram of communication node of the present invention
A communication node inserts a LAN environment usually, is called autonomous territory (AS).
As shown in Figure 1, communication node MT can insert autonomous territory AS1 by cable networks such as Ethernet or wireless network 1 and/or 2, all IP addresses on the wherein autonomous territory AS1 do not occur on public network, but the main frame on this territory all can be by firewall/gateway 102 visit outer net resource, i.e. Internet resources.At this moment, communication node MT can be by Ethernet and corresponding Ethernet switch, bridge, route system 101,102 visit Intranet and outer net resources, as interior online server S 1, S2, outer online server S 3, S4, also can be by wireless network 1 or 2 and corresponding switch, bridge and route system 101,102 visit Intranet and outer net resource, i.e. server S 1, S2, S3, S4 etc.
When the position changed, communication node MT can link to each other with the internet gateway of the ISP2 of the Internet provider by wireless network 3, inserts the Internet, thus visit outer net resource.And this moment, communication node MT does not link to each other with any Intranet.
When the position further changed, communication node MT can directly insert the Internet by wireless network 4, also can pass through the autonomous territory AS2 of Ethernet 101 ' access.And the All hosts on the autonomous territory AS2 all can not access internet, in the time of near communication node MT is in autonomous territory AS2, can only link to each other with the internet gateway of the Internet provider by wireless network 4, thereby visit outer net resource, be server S 3, S4 etc., by Ethernet and corresponding network system visit Intranet resource, i.e. server S 5, S6 etc.It should be noted that, when communication node MT has been equipped with the network modem of expecting someone's call based on ITU-V.90/V.21/V.44, perhaps based on the digital subscriber line xDSL modulator-demodulator of G.lite etc., when perhaps being Cable Modem based on the cable TV modulator-demodulator of North America DOCSIS standard (ITU-J.112), the PSTN network that it can also connect through modulator-demodulator 104 is that public telephone switching network or cable TV network link to each other with the internet gateway of certain ISP1 of the Internet provider, thus visit outer net resource.
When communication node MT had a plurality of heterogeneous networks interface, each network interface was different with the annexation of outer net and Intranet resource, and the state of each network interface, switching performance parameter are also different.Even interface of the same type, the residing network state of each network interface, as load condition, signal quality, congestion situation etc., switching performance also is not quite similar as call completing rate, packet loss, time-delay, bandwidth etc.As shown in Figure 1, when communication node MT was in autonomous territory AS1, communication node MT all can visit outer net resource and Intranet resource simultaneously by Ethernet and wireless network.But under the current techniques condition, as long as user 103 is not to communication node MT configuring static routing table, thereby the operating system of communication node MT can select the network interface that wherein bandwidth is the highest to visit outer net and Intranet resource by cable network 101 automatically, the low network interface of bandwidth like this, to not be utilized as the wireless network 1 and 2 here, although by their also addressable public network and private network resources, thereby cause the bandwidth resources of network interface to waste; More seriously, as communication node MT during at autonomous territory AS2, if the bandwidth of wireless network 4 be lower than the ethernet network 101 that links to each other with autonomous territory AS2 ', operating system is then sent all visits from Ethernet interface, cause user 103 can't visit the outer net resource, send thereby user 103 has only the Ethernet of disconnection to force system will visit from wireless network 4, but this moment, communication node MT just can not visit the Intranet resource, as seen, prior art causes very big inconvenience to the user.Though can insert two networks simultaneously by configuring static routing table mode, but the restriction of routing table and IP agreement itself on the one hand, a network interface can only be visited its corresponding Internet resources, can not carry out the bandwidth resources of load balancing or integration heterogeneous networks interface, require the resource capability of 103 pairs of procotols of user and correlation technique and network of living in that certain understanding is arranged on the other hand, be not suitable for vast " fool " user.
Fig. 2 is address table and a kind of embodiment structural representation of interface table of the multi-interface fusion method of communication node of the present invention
In the present invention, should comprise an outer net address and at least one interior net address in the address table at least.In the present embodiment, as shown in Figure 2, address table 201 comprises outer net address table and Intranet address table, and wherein, the Intranet address table comprises M outer net address, A m eRepresent m outer net address, comprise M outer net address in the address table.The Intranet address table comprises K Intranet address set, and each Intranet address set has comprised N respectively 1, N 2..., N kNet address in individual, A n IkRepresent n address in k the Intranet address set.
Because each outer net address is unique, and seldom change usually, so in a single day the outer net address table configure, and seldom change can be made as the part that system default disposes.But interior net address difference, as the part of enterprise or campus information network, some outer net address is necessary the part as interior net address, because be different from the bandwidth of these servers of Intranet visit; On the other hand, because communication node is mobile, its Intranet environment may change, and becomes according to scene, is necessary for each scene and sets specific Intranet address set.Described outer net address set constitutes K different network scenarios (abbreviation scene) respectively with K different Intranet address set, as the 201a among Fig. 2,201b, 201c, 201d etc.As some special applications, might need to dispose corresponding outer net address set at different Intranet address set, therefore the outer net address set of different scenes can be identical also can be inequality, generally only need be arranged to a public outer net address set gets final product, different Intranet address set then correspond respectively to different network scenarios, and when communication node is linked in a certain network scenarios, operating system is according to the environmental parameter of access network, IP address configuration situation as each network interface, the environment that automatic identification communication node such as the SSID of wireless router or MAC Address is inserted, thus the scene of selecting is called as current scene; Current scene also can be selected by manual intervention.
Described outer net address in the address table 201, it can be domain name addresses, it also can be the IP address, but must be legal global unique address, and interior net address may be legal global unique address according to the actual scene situation, being IP address or domain name addresses, also can be the legitimate ip address of Intranet, perhaps can Intranet domain name mapping (DNS) system thinks the legal and valid domain name.Usually outer net address in the address table 201 or interior net address must be the addresses of the server used always, can select the server address that those " hardly may " close as outer net address, as Google, Yahoo, perhaps 263 etc., interior net address is also selected the server of " often opening " in the network scenarios of those given scenario correspondences, as at University of Electronic Science and Technology's campus environment, can select www.uestc.edu.cn or mail.uestc.edu.cn etc.
In the present embodiment, as shown in Figure 2, in the interface table 202, comprise network interface unique identification I j, j network interface I jComprised corresponding network state S jWith network parameter P j, network state S wherein jNetwork interface availability, outer net accessibility, three status attributes of Intranet accessibility have been comprised, network parameter P jThe outer net switching performance parameter P that has comprised network interface j eWith Intranet switching performance parameter P j iFurther, outer net switching performance parameter P j eWith Intranet switching performance parameter P j iNominal bandwidth, actual measurement transmission rate and the delay of network interface connection outer net and Intranet have been comprised respectively.
Described network interface unique identification I jBe used for the marked network interface, can also use the conducts such as MAC Address of network interface correspondence to identify with sequence number or the unique name in the communication node.
The availability of described network interface is a two-valued function field, as identifying available and unavailable respectively with " 0 " or " 1 ".When an Ethernet interface has correctly been installed driver, and not disabledly will set up corresponding list item when then enumerating, but only correctly connected grid line when this interface, and after having obtained legal IP address by artificial or automated manner, can use in the time of just can being considered to; And a WiFi network interface such as IEEE802.11a/b/g/n, then only when its association the SSID of AP or Ad Hoc network, and after having obtained legal IP address by artificial or automated manner, can use in the time of just can being considered to.When a network interface is flagged as " unavailable ", other field auto-idleds corresponding in the interface table with this interface.Described outer net can reach, and is meant with a two-valued function field, can to reach with outer net unreachable as identifying outer net respectively with " 0 " or " 1 " by at least one the outer net address in this network interface access address table 201; And described outer net switching performance parameter is meant when this network interface outer net can reach, by the mean value of the performance parameter that records behind at least one the outer net address in this network interface test address table 201, and as the bandwidth of network interface, the time-delay of connection and speed etc.; When certain network interface outer net is unreachable, corresponding outer network parameters auto-idled.Described Intranet can reach, and is meant with a two-valued function field, can to reach with Intranet unreachable as identifying Intranet respectively with " 0 " or " 1 " by at least one the interior net address in the current scene in this network interface access address table 201; And network parameters in described is meant when this network interface Intranet can reach, by the performance parameter mean value that records behind the net address in the current scene in this network interface test address table 201 at least one, and as the bandwidth of network interface, the time-delay of connection and speed etc.; When certain network interface Intranet is unreachable, corresponding interior network parameters auto-idled.
Fig. 3 is that many interfaces of the multi-interface fusion method of communication node of the present invention merge management middleware protocol frame schematic diagram
In the present embodiment, as shown in Figure 3, I jBe the network interface sign, subscript j represents j network interface; TCP and UDP represent existing based on two kinds of transport layer protocols in the Internet protocol stack of TCP/IP respectively, TCP is a transmission control protocol, be not increase the transport layer protocol of functions such as error correction and flow control at IP network in transport layer towards there being the service that connects and do not have the reliability assurance, UDP does not have the transport layer protocol that connects and do not have reliability control.
In the present embodiment, introduced many interfaces and merge the management middlewares between transport layer (TCP/UDP) and network layer (IP), middleware comprises two main modular: 1), state/parameter maintenance module 301,2), business dredges module 302.
The function of described state/parameter maintenance module 301 is to detect the all-network interface I of communication node 1, I 2..., I JWhether move normally, if certain network interface I jOperation is normal and inserted in some networks, writes in the incoming interface table 202 then according to the outer net address of all or part in the address table 201 and the interior net address test network interface making capacity to outer net and Intranet, and with test result.In order to adapt to the variation of communication node network environment of living in, state/parameter maintenance module 301 need be tested each network interface and updating interface table 202 termly.
The function that described business is dredged module 302 is based on the interface table 202 that state/parameter maintenance module 301 is safeguarded, the business datum that this communication node is outwards visited is dispatched on different network interfaces.When the destination address of business datum is outer net, the network interface that automatic selection can be visited outer net according to interface table interface status information externally sends, and when having a plurality of network interface that can visit outer net, further select an optimum network interface externally to send according to interface table Intranet switching performance parameter, or these business datums are carried out load balancing on these network interfaces, the transmission of business datum is distributed on these network interfaces; Equally, when the destination address of business datum is Intranet, the network interface that automatic selection can be visited Intranet according to interface table interface status information externally sends, and when having a plurality of network interface that can visit Intranet, further select an optimum network interface externally to send according to interface off-balancesheet net switching performance parameter, or these business datums are carried out load balancing on these network interfaces, the transmission of business datum is distributed on these network interfaces.This load balancing has promoted the outer net or the Intranet overall transfer bandwidth of system indirectly.
In the present embodiment, as shown in Figure 3, packet has comprised data packet head (Header), data packet payload (Payload), packet filling field (PAD).Described packet is the basic information unit (BIU) that communicates by letter between the communication node, under the tcp/ip communication model that the present invention relates to, control informations such as the source address of packet and destination address and other type of service, service techniques with packet require in data packet head, have been comprised, wherein the source address of the packet that formally outwards sends at communication node of the inventive method and destination address is analyzed and the externally network interface selection etc. of transmission of control data bag in view of the above.
Fig. 4 is the principle and the schematic flow sheet of the state/parameter maintenance module under a kind of embodiment of the multi-interface fusion method of communication node of the present invention
In the present embodiment, as shown in Figure 4, in the address table 201, A m eRepresent m outer net address, comprise M outer net address in the address table.The Intranet address table comprises K Intranet address set, and each Intranet address set has comprised N respectively 1, N 2..., N kNet address in individual, A n IkRepresent n address in k the Intranet address set.In the interface table 202, I j, S jAnd P jNetwork interface sign, network interface state and the network interface parameter of representing j network interface respectively.
The work of state/parameter maintenance module 301 comprises two parts, the one, and regular operating part comprises step 401 to step 406, it will regularly carry out state and parameter update to the all-network interface; The 2nd, when certain network interface changed, particular network interface state and parameter update work by this Event triggered comprised from step 409 to step 411, and with the shared step 405 of regular operating part, enter circular wait step 406 at last.
After communication node system start-up and finishing initialization, the regular operating part of state/parameter maintenance module 301 is started working, and key step comprises:
1), according to system configuration initialization timing device T step 401 is carried out initialization, comprising:, this timer T is used for the cycle that state of a control/parameter maintenance module 301 is upgraded network interface states and parameter; 2), the calling system function obtains the network interface number that the communication node system installs, and enumerates all-network interface essential information; 3), according to the network interface information initialization network interface table of enumerating from system 202.
Step 402, initialization interface table 202 allocation index j=0 makes it point to first of interface table 202.
Step 403 is checked j network interface I jWhether available.If network interface I jUnavailable, then forward step 404 to; Otherwise, forward step 405 to.
Described inspection network interface can as under the Windows system, can use the order of " IPConfig/all " order or identity function or api function to realize with adopting existing techniques in realizing." available " of described network interface for the wired ethernet interface, is meant that Ethernet card has inserted certain LAN environment, and disposed the IP address; For for IEEE802.11 series radio network interface, be meant certain basic service set identification (BSSID or SSID) related and disposed the IP address; For modulator-demodulator (Modem), be meant the mandate that has successfully obtained certain ISP and obtained the IP address, or the like.
Step 404 checks whether interface table 202 allocation index j has exceeded interface table 202 capacity, i.e. number of ports is if then forward step 406 to; Otherwise adjust interface table 202 allocation index j, promptly add 1, make the next network interface in its sensing interface table 202, forward step 403 then to.
Step 405 detects j network interface I jState and parameter, and network interface I in the updating interface table 202 jState and parameter information, forward step 404 then to.Step 405 has comprised two substep that order can exchange: step 405a and step 405b, finishes j network interface I respectively jTo the access ability of outer net and Intranet and the renewal of parameter testing and interface table 202 corresponding informance.
Step 405a, the test of outer net concatenation ability and the state of network interface upgrade.According to system configuration, can test network interface with whole or certain the outer net address in the address table 201.Method of testing can adopt any prior art and method, such as, under Windows, can carry out intercommunication with selected outer net address by ping order or corresponding api function test network interface; If the ping order can not be successful, then think unsuccessful.But because outer net address correspondence work station or server possible configuration be for responding the ping packet, so this method is not necessarily effective; For this reason, more reliably, can be further carry out the service that can transmission control protocol TCP and data pack protocol UDP test network interface visit outer net address by the TCP function.Such as, we can select the Google server as tested object, connect the service of knowing on the selected outer net address server, as WEB service, i.e. HTTP/80 port is if can visit then show, this network interface can be visited outer net, otherwise thinks and can not visit outer net.Further, consider some network environment, disposed the certain server restriction that conducts interviews such as some enterprise network, therefore, in specific implementation process, allow the user to change setting, make address choice among the step 405a can only select one and know the address, perhaps select one to know address set and test.When this network interface can be visited outer net, when promptly outer net can reach, can selection be set according to system and whether further test outer net switching performance parameter, and updating interface table 202.
Step 405b, the test of Intranet concatenation ability and the state of network interface upgrade.According to system configuration, can with whole in the address table 201 or in certain net address network interface is tested.Method of testing can adopt any prior art and method, such as, under Windows, can carry out intercommunication with selected interior net address by ping order or corresponding api function test network interface; If the ping order can not be successful, then think unsuccessful.But because corresponding work station of interior net address or server possible configuration be for responding the ping packet, so this method is not necessarily effective; For this reason, more reliably, can be further by the TCP function carry out transmission control protocol TCP and data pack protocol UDP test network interface can visit in the service of net address.Such as, we are online in can selecting to know server, as Intranet is enterprise network, can be with the master server of enterprise network or mail server as tested object, connect the service of knowing on the selected Intranet address server, as WEB service, i.e. HTTP/80 port, perhaps Email (post office protocol) service, i.e. POP3/110 port.If can visit then show that this network interface can be visited Intranet, otherwise think and to visit Intranet.Because the residing Intranet environment of user's communications node is different, its address assignment etc. are also different, therefore, in this enforcement, allow the user to select different scene setting, to adapt to the variation of user's mobile office environment, promptly the outer net address set can more stablely need not to change, and it can mate to constitute address table 201 with different Intranet address set.Simultaneously, in specific implementation process, allow the user to change setting, make address choice among the step 405b can only select one and know the address, perhaps select one to know address set and test.When this network interface can be visited Intranet, can selection be set according to system and whether further test Intranet switching performance parameter, and updating interface table 202.
Step 406 is checked timer T, if timer T is overtime, then gets back to this step 406, promptly is in the idle loop wait state; Otherwise, forwarding step 402 to, repeating step 402 carries out regular update to step 405 to the state and the parameter of all-network interface.
When the state of certain network interface changes, as broken string or when inserting certain network environment again, system will produce a notification message or incident 409, this message will trigger at the state of particular network interface and parameter update action, but not allow to be performed in maintenance module periodic maintenance process first.Mainly comprise the steps:
Step 410 is obtained network interface sign I j
Step 411 is judged network interface I jWhether residing network environment changes.Such as, for wired network interface, can check whether whether its IP address with receiving the address before the incident 409 variation, perhaps network outage have taken place; For radio network interface, check that then whether its related AP variation has taken place, and has perhaps removed association; For modem interface, then check whether be new dialing, perhaps disconnect connection.If network state does not change, as connecting immediately behind the wired network interface broken string, and the MAC Address of gateway does not change, can think that this network interface network environment of living in does not change, then do not carry out any renewal, directly change step 406 over to and enter the idle loop state, perhaps return this incident other operating states before; If change has taken place in network state, at network interface I jCarry out a next state and parameter update, comprise the renewal of its outer net and Intranet connection status, promptly aforesaid step 405a and 405b change step 406 then over to and enter the idle loop state, perhaps return this incident other operating states before.
In state/parameter maintenance module 301 first after the successful execution, even if do not carry out regular update, because the embodiment of the invention provides the responder to particular network interface state variation incident, therefore the state of interface table 202 is up-to-date basically, but regular update is still necessary, because even the network interface of this communication node does not have state variation can not guarantee the connection status and the parameter constantization of it and whole outer net and Intranet, lost efficacy or variation has taken place for the gateway of communication node network of living in or the external environment of router such as some routers, the business that might make is dredged Interface status and the parameter that module 302 relied on and was lost efficacy.
Fig. 5 is principle and the schematic flow sheet that the business under a kind of embodiment of the multi-interface fusion method of communication node of the present invention is dredged module
In the present embodiment, as shown in Figure 5, business is dredged 302 of modules and is responsible for dredging of the outside packet that sends, if upper level applications has been specified the outside network interface of packet, it is source address, then dredge module and directly give lower-layer protocols and be left intact, promptly professionally dredge 302 of modules and dredge those not packets of specified network interface.Business is dredged module 302 and will be comprised the steps: by upper-layer protocol request triggering
Whether step 501 detects interface table 202 and is ready to.Dredge in order to carry out business, middleware must guarantee correctly to have set up interface table 202 with holding water, and promptly state/parameter maintenance module 301 must correctly be carried out, and is updated periodically.When state/when parameter maintenance module 301 was carried out first, interface table 202 was not ready for, therefore can not carry out business and dredge, therefore change step 502 over to; Otherwise, think that interface table 202 has comprised latest network Interface status and parameter, changes step 503 over to;
Step 502, the original default network layer of calling system service routine changes step 513 then over to, carries out data link layer envelope frame and handles;
Step 503 checks whether packet has specified source address.If, show that then application program specified the particular network interface, then forward step 504 to, promptly business is dredged module 302 and no longer packet is changed and dredged; Otherwise the business of middleware of the present invention is dredged module 302 and is thought and be necessary to dredge, and changes step 505 over to;
Step 504 is directly given packet on the network interface of source address correspondence, forwards step 513 to;
Step 505 is checked the destination address of packet, thereby determines that this packet mails to outer network server or interior network server.Outside being, the packet rs destination address during net address, changes step 506 over to; Otherwise change step 507 over to;
Step 506, at first whether the check system configuration is provided with the outer net load balancing.If not, then change step 508 over to, otherwise, change step 509 over to;
Step 507, similar outer net sends part, and at first whether the check system configuration is provided with the outer net load balancing.If, then change step 510 over to, otherwise, change step 511 over to;
Step 508, query interface table 202, can reach the network interface of selecting the best the interface from all outer nets, described the best is based on following priority: at first check the wired network interface that whether exists outer net to reach, if have, then from wired network interface, select the interface of nominal rate maximum, otherwise check the radio network interface that whether exists outer net to reach, if have then select the interface of nominal rate maximum in the radio network interface, whether otherwise checking has available modem network interface, if having then select the wherein interface of speed maximum.After promptly having selected network interface, then change step 512 over to and packet is sent to selected network interface carry out data link layer framing transmission etc., i.e. step 513 according to mentioned above principle;
Step 509, query interface table 202, according to the traffic performance and the delay requirement of packet, and the available outer net performance parameter that can reach network interface carries out network interface and selects and load balancing, and concrete grammar can adopt prior art to carry out.Then, changing step 512 over to sends to selected network interface with packet and carries out data link layer framing transmission etc., i.e. step 513;
Step 510, query interface table 202 can reach the network interface of selecting the best the interface from all Intranets.The best described here is with slightly different under the outer net situation; Owing in Intranet, can not carry out network service usually by Dial-up Network, under the current techniques condition, network interface commonly used comprises Ethernet card, speed has 10Mbps, 100Mbps, 1Gbps etc., and based on the wireless network card of IEEE802.11 standard series, rate-compatible, from 1Mbps to 54Mbps, do not wait, simultaneously because Intranet constitutes enterprise network by Ethernet mostly, network rate limits common 10 or 100Mbps, therefore when selecting the optimum network interface, be the selection foundation to the maximum with present rate simply.After selection finishes, change step 512 over to and packet is sent to selected network interface carry out data link layer framing transmission etc., i.e. step 513;
Step 511, query interface table 202, traffic performance and delay requirement according to packet, and the available Intranet performance parameter that can reach network interface is carried out network interface and is selected and load balancing, concrete grammar can adopt prior art to carry out, changing step 512 then over to sends to selected network interface with packet and carries out data link layer framing transmission etc., i.e. step 513.
In step 509 and the step 511, described network interface is selected and load-balancing method adopts the maturation method of existing route device and technology to realize.Such as, for streaming media service, if IP phone, then from the available network interface, select the less set of network interfaces of time-delay, in these interfaces, select load the lightest and uplink downlink speed symmetry or basic symmetrical network interface then, and if video frequency requested program broadcasting-like services etc. are then selected the less network interface of down link time-delay from the available network interface; And mainly be to carry out download business for the web browsing class, then can be not high, the lightest network interface of network interface group selection load that downlink rate is high from uplink rate.When the load of alternative network interface is more or less the same, then packet is sent on the network interface of equal speed in turn, with equally loaded.
Although above the illustrative embodiment of the present invention is described; but should be understood that; the invention is not restricted to the scope of embodiment; to those skilled in the art; as long as various variations appended claim limit and the spirit and scope of the present invention determined in; these variations are conspicuous, and all utilize innovation and creation that the present invention conceives all at the row of protection.

Claims (6)

1. the multi-interface fusion method of a communication node is characterized in that may further comprise the steps, in communication node:
(1), set up an address table, address table comprises at least one outer net address and net address at least one, outer net address constitutes the outer net address set, interior net address constitutes the Intranet address set;
(2), set up an interface table, be used to safeguard the state and the parameter information of each network interface, wherein state information comprises network availability, outer net accessibility, Intranet accessibility; Parameter information comprises outer net switching performance parameter, Intranet switching performance parameter;
(3), set up a state/parameter maintenance module, the state and the parameter information that are used for each network interface on the routine test communication node: whether each network interface that detects communication node moves normally, if a certain network interface operation is normal, then its state is that network can be used, and the outer net accessibility of further testing this network interface according to outer net address in the address table and interior net address, the Intranet accessibility, if this network interface outer net can reach, then test obtains its outer net switching performance parameter, and can reaching then as the network interface Intranet, test obtains its Intranet switching performance parameter; And state and parameter information that test obtains each network interface write in the incoming interface table updating interface table;
(4), set up a business and dredge module, the interface table of safeguarding based on maintenance module, to this communication node outwards the business datum of visit on different network interfaces, dispatch:
When the destination address of business datum is outer net, the network interface that automatic selection can be visited outer net according to interface table interface status information externally sends, and when having a plurality of network interface that can visit outer net, further select an optimum network interface externally to send according to interface off-balancesheet net switching performance parameter, or these business datums are carried out load balancing on these network interfaces, the transmission of business datum is distributed on these network interfaces; Equally, when the destination address of business datum is Intranet, the network interface that automatic selection can be visited Intranet according to interface table interface status information externally sends, and when having a plurality of network interface that can visit Intranet, further select an optimum network interface externally to send according to interface table Intranet switching performance parameter, or these business datums are carried out load balancing on these network interfaces, the transmission of business datum is distributed on these network interfaces.
2. the multi-interface fusion method of communication node according to claim 1 is characterized in that, the Intranet address table in the described address table comprises K 〉=1 an Intranet address set, and each Intranet address set has comprised N respectively 1, N 2..., N kNet address in individual,
Figure FSB00000587692800011
Represent n address in k the Intranet address set, the outer net address set then corresponds respectively to different network scenarios with different Intranet address set, and in communication node, only having a network scenarios to be selected as the activity network scene, described state/parameter maintenance module is according to the activity network scene maintenance interface table of current selection.
3. the multi-interface fusion method of communication node according to claim 1 is characterized in that, described state/parameter maintenance module, business are dredged module between TCP/UDP transport layer and IP network layer.
4. the multi-interface fusion method of communication node according to claim 1 is characterized in that, and is described when further selecting an optimum network interface externally to send according to interface table Intranet switching performance parameter:
At first check the wired network interface that whether exists outer net to reach, if have, then from wired network interface, select the interface of nominal rate maximum, otherwise check the radio network interface that whether exists outer net to reach, if have then select the interface of nominal rate maximum in the radio network interface, whether otherwise checking has available modem network interface, if having then select the wherein interface of speed maximum.
5. the multi-interface fusion method of communication node according to claim 1 is characterized in that, described externally the transmission according to the further selection of interface table Intranet switching performance parameter one optimum network interface is to be the selection foundation to the maximum with present rate.
6. the multi-interface fusion method of communication node according to claim 1 is characterized in that, what described outer net was connected with the Intranet performance that parameter comprised the nominal bandwidth of network interface and actual measurement respectively is connected speed and time-delay characteristics.
CN2009102635944A 2009-12-28 2009-12-28 Multi-interface fusion method of communication node Expired - Fee Related CN101753640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102635944A CN101753640B (en) 2009-12-28 2009-12-28 Multi-interface fusion method of communication node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102635944A CN101753640B (en) 2009-12-28 2009-12-28 Multi-interface fusion method of communication node

Publications (2)

Publication Number Publication Date
CN101753640A CN101753640A (en) 2010-06-23
CN101753640B true CN101753640B (en) 2011-11-30

Family

ID=42480027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102635944A Expired - Fee Related CN101753640B (en) 2009-12-28 2009-12-28 Multi-interface fusion method of communication node

Country Status (1)

Country Link
CN (1) CN101753640B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102377599B (en) * 2010-08-27 2016-04-06 赛恩倍吉科技顾问(深圳)有限公司 Method for sensing operation of network interfaces
CN102164048B (en) * 2011-04-06 2014-11-26 上海美琦浦悦通讯科技有限公司 Data stream optimization device and method for realizing multi-ISP (internet service provider) access in local area network
CN102185863A (en) * 2011-05-13 2011-09-14 北京瑞信在线系统技术有限公司 Intelligent data interactive publishing system and method between server and client
CN102724055A (en) * 2011-07-28 2012-10-10 北京天地互连信息技术有限公司 Mobile IPv6 protocol-based multi-interface mobile node address selection system
CN104580064A (en) * 2013-10-10 2015-04-29 中兴通讯股份有限公司 A network data processing method, a terminal and a data card
CN104717312B (en) * 2013-12-13 2018-08-03 中国移动通信集团公司 A kind of determining method and device for accessing Internet resources interface
CN105792301B (en) * 2014-12-16 2019-11-05 中兴通讯股份有限公司 A kind of terminal of handover network, method and system
CN104852859B (en) * 2015-04-30 2019-03-15 新华三技术有限公司 A kind of aggregation interface method for processing business and equipment
CN105094960A (en) * 2015-07-20 2015-11-25 努比亚技术有限公司 Data loading device and method based on two channels
CN105101173A (en) * 2015-07-20 2015-11-25 努比亚技术有限公司 Multi-data-channel-based data loading apparatus and method
CN106027492A (en) * 2016-04-29 2016-10-12 努比亚技术有限公司 Data transmission terminal and method
CN107317766B (en) * 2017-03-17 2020-07-28 深圳市网是科技有限公司 Intelligent load method of multi-WAN-port network equipment
CN107749834A (en) * 2017-08-31 2018-03-02 中建三局第二建设工程有限责任公司 A kind of method for automating the multicast Streaming Media for adapting to network topology chain environment
CN108667658B (en) * 2018-04-28 2020-02-21 厦门白山耘科技有限公司 Bandwidth multiplexing method and device
CN111092742A (en) * 2018-10-23 2020-05-01 普天信息技术有限公司 Network port backup and multiplexing method and device
CN110493057B (en) * 2019-08-26 2022-01-28 迈普通信技术股份有限公司 Wireless access equipment and forwarding control method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992716A (en) * 2005-12-31 2007-07-04 中兴通讯股份有限公司 Method for realizing port triggering function in Linux protocol stack
EP1667378B1 (en) * 2003-09-02 2007-12-26 Huawei Technologies Co., Ltd. Method of implementing multimedia protocol passing through network address transform device
CN101175029A (en) * 2006-10-31 2008-05-07 中兴通讯股份有限公司 Device for implementing proxy to multiple isomorphic subnets

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1667378B1 (en) * 2003-09-02 2007-12-26 Huawei Technologies Co., Ltd. Method of implementing multimedia protocol passing through network address transform device
CN1992716A (en) * 2005-12-31 2007-07-04 中兴通讯股份有限公司 Method for realizing port triggering function in Linux protocol stack
CN101175029A (en) * 2006-10-31 2008-05-07 中兴通讯股份有限公司 Device for implementing proxy to multiple isomorphic subnets

Also Published As

Publication number Publication date
CN101753640A (en) 2010-06-23

Similar Documents

Publication Publication Date Title
CN101753640B (en) Multi-interface fusion method of communication node
US11972306B2 (en) Routing optimizations in a network computing environment
US11032105B2 (en) Method for implementing GRE tunnel, home gateway and aggregation gateway
US9191278B2 (en) System and method for locating offending network device and maintaining network integrity
CN109417554B (en) Method and apparatus for controlling access of mobile device to voice service, and memory
US6717950B2 (en) Method and apparatus for priority-based load balancing for use in an extended local area network
EP2533475B1 (en) Method and system for host route reachability in packet transport network access ring
CN111262772B (en) Method for arranging node in network environment and node
US9276898B2 (en) Method and device for link fault detecting and recovering based on ARP interaction
CN103596290A (en) Wireless multi-network integration method
CN103503422A (en) Automatic connection selection
CN102084638A (en) Deterministic session load-balancing and redundancy of access servers in a computer network
CN1773993B (en) Session relay equipment and session relay method
US20150110098A1 (en) Data Transmission Method, Device, and Gateway
EP2466796A1 (en) User access method, system and access server, access device
US20110051932A1 (en) Synchronizing management signaling in a network
WO2008095392A1 (en) Xdsl organizing network system, data transferring method and base station in the xdsl organizing network system
Cisco Bridging and IBM Networking Configuration Guide Cisco IOS Release 11.3
Cisco Bridging and IBM Networking Configuration Guide Cisco IOS Release 12.0
Cisco Configuring Frame Relay
Cisco Configuring Frame Relay
Cisco Configuring Frame Relay
Cisco Configuring Frame Relay
Cisco Cisco IOS Bridging and IBM Networking Configuration Guide Release 12.1
Cisco Router Products Configuration and Reference Addendum

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111130

Termination date: 20141228

EXPY Termination of patent right or utility model