CN1764139A - Communication adapter switching method and equipment - Google Patents
Communication adapter switching method and equipment Download PDFInfo
- Publication number
- CN1764139A CN1764139A CNA2005101028876A CN200510102887A CN1764139A CN 1764139 A CN1764139 A CN 1764139A CN A2005101028876 A CNA2005101028876 A CN A2005101028876A CN 200510102887 A CN200510102887 A CN 200510102887A CN 1764139 A CN1764139 A CN 1764139A
- Authority
- CN
- China
- Prior art keywords
- adapter
- communication
- communication adapter
- wlan
- adapters
- 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
Images
Classifications
-
- 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/142—Managing session states for stateless protocols; Signalling session states; State transitions; Keeping-state mechanisms
-
- 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/20—Traffic policing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
- H04L61/5014—Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/16—Performing reselection for specific purposes
- H04W36/18—Performing reselection for specific purposes for allowing seamless reselection, e.g. soft reselection
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
A kind of communication adapter switching method in having the system of a plurality of communication adapters is provided, and this method comprises: with the address setting of a plurality of communication adapters for identical with first address of these a plurality of communication adapters; The packet filtering pattern of all communication adapters except first communication adapter is set to that all wrap received pattern therein; With in communication period when a communication adapter is disconnected, this communication adapter from a plurality of communication adapters switches to another.Therefore, owing to the TCP/IP session is held with identical IP address, so the seamless hand that changes from the wired lan to the WLAN is feasible.
Description
The interests of 10-2004-0073299 number of requiring to submit on September 14th, 2004 in Korea S Department of Intellectual Property of the application and the 10-2004-0102304 korean patent application submitted on December 7th, 2004, application is complete is disclosed in this for reference for these.
Technical field
The present invention relates to network field, more particularly, relate to a kind of communication adapter switching method and equipment.
Background technology
In Windows OS, a plurality of physical adapters that are used to communicate by letter can be installed.By giving each physical adapter with Internet protocol (IP) address assignment, communication can be performed.By what network layer IP address and transport layer port address were formed (pair) is provided with session by using, can attempts communicating by letter with the opposing party.If one of centering is changed, then session is disconnected immediately.
If there are two physical adapters (for example, 802.3) of identical type, then different IP addresses are assigned to each physical adapter.When communications applications connects communication session, select an IP address based on best routed path, and be assigned to its physical adapter execution and communicating by letter of the opposing party via this IP address.For example, even there is other the physical adapter of scheme such as 802.3 and 802.11, communication is still carried out in the same manner as described above.
If when Windows OS being installed and having had user's executive communication when activating cable LAN (LAN) and WLAN simultaneously in the personal computer (PC) of different types of physical adapter, if and in these physical adapters two are connected to identical territory, then will use usually communication speed faster wired lan come executive communication.That is, the IP address of using in this case will be the IP address that is assigned to wired lan.Here,, then can not re-use, so the session of the application of transmission control protocol/User Datagram Protoco (UDP) (TCP/UDP) communication is used in Windows OS automatic disconnection owing to IP address allocated if wired lan is disconnected.
Fig. 1 shows the core stage storehouse that the networking function of Windows OS is provided being used to of providing by Microsoft.These storehouses are called as NDIS (NDIS) driver.The actual physics adapter needs driver, this driver when it is connected to Peripheral Component Interconnect (PCI) interface be that the mini port drivers that is provided by the developer is so that be fit to the mini port standard of NDIS.Therefore, the actual physics adapter is activated receiving bag from the opposing party (LAN) and these bags are sent to the upper strata, and receives bag from the upper strata and these bags are sent to LAN.
In fact the TCP/IP and the NETBIOS that popularize are called as protocol driver, and move on the upper strata rather than at the NDIS layer.Usually, core stage is handled by protocol driver, and application belongs to user class.
With reference to Fig. 1, the network driver system comprises WIN32 bag driver 110, higher level (LAN) protocol driver 120, NDIS 130, interim driver 140, mini port drivers 150 and 160, network interface unit (NIC) 170 and 180.
Device driver is connected to input/output device with operating system (OS), analyzes the general request that receives from OS, and these requests are converted to the order that the particular peripheral controller can be understood.
NIC 170 and 180 is physical units, and its gateway as the frame that transmits and receive data in network moves.
NDIS 130 is provided at least one NIC driver and comprises the interface that communicates between at least one protocol driver in the upper strata of OS.That is, NDIS 130 provides the function storehouse (being called wrapper) of being used by higher level's (TCP/IP) driver and NIC driver.For various external functions, the NIC driver dependent is in NDIS 130, and these external functions comprise: communicate by letter, register and intercept the NIC hardware interrupts with protocol driver and communicate by letter with 180 with NIC 170 in subordinate.
The NDIS driver comprises NIC driver, interim driver 140 and upper-level protocol driver 120.
NIC driver management NIC.The NIC driver directly is connected to the hardware (NIC) in subordinate and interface with top higher level's driver is provided.
Because interim driver 140 has the centre position in driver,, and communicate by letter with upper-level protocol driver 120 so it is communicated by letter with 160 with the mini port drivers 150 in subordinate.Interim driver 140 offers the agreement inlet point subordinate and mini port inlet point is offered the higher level.Interim driver 140 is used to NDIS 130 to transmit the request that is used for upper-level protocol driver 120.Interim driver 140 seems mini port drivers for upper-level protocol driver 120.
In order to provide service to the user, upper-level protocol driver 120 provides TDI (TDI) or application oriented interface.Upper-level protocol driver 120 by packing data, will be responsible for assigning to subordinate's driver and call NDIS 130 sends to subordinate's driver with bag.In addition, upper-level protocol driver 120 provide with the protocol interface of subordinate to receive bag from subordinate's driver.Transport protocol driver sends to suitable client application with the data that receive.
As shown in Figure 2, in current Windows OS, if a communication line between foreign peoples or the similar physical adapter is disconnected, then its related session is by automatic disconnection.Under the situation of TCP, the information of medium is stored in the TCP controll block (TCB), if the information that interface disconnects is transfused to, then owing to the IP address of distributing to this interface can not re-use, so its related session of TCP automatic disconnection.In Windows OS, even TCP does not disconnect this session, another interface can not be distributed to simultaneously in identical IP address.If attempt giving another interface, so owing to the ICP/IP protocol driver self is rejected (turn down)/find (turn up), so all other existing sessions are disconnected with identical IP address assignment.
Because these problems, in order to pretend only have an interface to exist when from the viewpoint of measures of the protocol driver of reality, Windows OS use can produce the bridge function of virtual adapter.Bridge offers several interfaces with identical IP address.Yet, carry out and change about 30 seconds of hand (handoff) cost.That is, even use bridge, if but the communication of a physical adapter be disconnected, then cut-off signal is input to the virtual adapter that is produced by bridge automatically, and all sessions of ICP/IP protocol driver are by automatic disconnection.In addition, in the bridge scheme, switch to another from a medium and cost a lot of money the time.Result of the test shows that switching to another from a medium spends 30 seconds or more, and this time is corresponding to TCP time-out time (timeouttime).Therefore, even the information that disconnects gets clogged, session still is disconnected owing to TCP is overtime.
Summary of the invention
Aspect that the present invention is other and/or advantage will be partly articulated in the following description, and partly clear by describing, and perhaps can be understood by implementing the present invention.
The invention provides a kind of communication adapter switching method and equipment, be used for the communication session of the application on maintenance upper strata when between the heterogeneous communication adapter, switching and seamless communication is provided.
According to an aspect of the present invention, provide a kind of communication adapter switching method in having the system of a plurality of communication adapters, this method comprises: with the address setting of a plurality of communication adapters for first identical address of these a plurality of communication adapters; The packet filtering pattern of the communication adapter except first communication adapter is set to that all wrap received pattern therein; With in communication period when a communication adapter is disconnected, this communication adapter from a plurality of communication adapters switches to another.
According to a further aspect in the invention, a kind of communication adapter switching method in having the system of a plurality of communication adapters is provided, this method comprises: medium access control (MAC) address that the wired lan communication adapter is set is identical with the MAC Address of WLAN communication adapter, and the packet filtering pattern of wired lan communication adapter is set to the received differentiation pattern that do not add of all bags therein; With during using described wired lan communication adapter to communicate when described wired lan is disconnected, use WLAN information switches to described WLAN communication adapter from described wired lan communication adapter.
Described communication adapter switching method also can comprise: when notifying or indicate the connected incident of wired lan to produce, use wired lan information to switch to described wired lan communication adapter from described WLAN communication adapter during using the WLAN communication adapter to communicate.
Described communication adapter switching method also can comprise: the packet filtering pattern of WLAN communication adapter is set to directly, multileaving or broadcast mode.
Described communication adapter switching method also can comprise: if the wired lan communication adapter is disconnected, then the WLAN information mapping is arrived virtual adapter.
According to a further aspect in the invention, a kind of communication adapter switching device in having the system of a plurality of communication adapters is provided, this equipment comprises: virtual adapter, its address setting with a plurality of communication adapters is first the identical address with these a plurality of communication adapters, and the packet filtering pattern of the communication adapter except first communication adapter is set to, and all wrap received pattern therein; With the virtual protocol driver, when a communication adapter was disconnected, this adapter from a plurality of communication adapters switched to another in communication period for it.
According to a further aspect in the invention, a kind of communication adapter switching device in having the system of a plurality of communication adapters is provided, this equipment comprises: virtual adapter, its MAC Address that wired lan communication adapter is set is identical with the MAC Address of WLAN communication adapter, and the packet filtering pattern of wired lan communication adapter is set to the received differentiation pattern that do not add of all bags therein; With the virtual protocol driver, it when described wired lan is disconnected, uses WLAN information to switch to described WLAN communication adapter from described wired lan communication adapter during using described wired lan communication adapter to communicate.
Described virtual protocol driver can comprise: the Link State detector is used for providing when connection or disconnected event generation connecting or off-state.
Described virtual protocol driver also can comprise: best-fit device selector, the best-fit device that it is identified for communicating by letter based on the information that is provided by the Link State detector.
The bag that receives from physical adapter can unconditionally be sent to described virtual adapter, and the bag that will be sent to physical adapter can be sent to the best-fit device that is determined.
Description of drawings
By the description of embodiment being carried out below in conjunction with accompanying drawing, these and/or other aspect of the present invention and advantage will become clear and be easier to and understand, wherein:
Fig. 1 is the block diagram of legacy network driver system;
Fig. 2 is the block diagram of legacy network driver;
Fig. 3 is the block diagram according to the network driver system of the embodiment of the invention;
Fig. 4 is the block diagram of the interim driver that shows among Fig. 3;
Fig. 5 A and Fig. 5 B are the flow charts that illustrates according to the virtual device driver loading procedure of the embodiment of the invention;
Fig. 6 is the flow chart that illustrates according to the attended operation of the embodiment of the invention; With
Fig. 7 is the flow chart that illustrates according to the opening operation of the embodiment of the invention.
Embodiment
Now the embodiment of the invention is described in detail, its example shown in the accompanying drawings, wherein, identical label is represented same parts all the time.Below with reference to the accompanying drawings embodiment is described to explain the present invention.
Hereinafter, describe the present invention with reference to the accompanying drawings more fully, shown embodiments of the invention in the accompanying drawing.
Fig. 3 is the block diagram according to the network driver system of the embodiment of the invention.
According to present embodiment, actual mini port drivers is only bound with the virtual protocol driver that is included in the Internet driver.Virtual mini port drivers is produced, virtual protocol driver and this virtual mini port drivers binding.Only bind such as the actual agreements driver of TCP/IP then with this virtual mini port drivers.Therefore, the actual agreements driver only is used for the information of self-virtualizing driver and obtains the information of connection status, and sends and receive all bags by virtual device driver.
With reference to Fig. 3, the network driver system comprises interim driver 400, NIC 350 and 360,802.3 mini port drivers 330,802.11 mini port drivers 340, protocol driver 310 and the NDIS 320 according to present embodiment.
In addition, if there are two actual physics adapters, so because two IP addresses must be distributed to these two adapters respectively, so communication continuity can not be guaranteed.Therefore, interim driver 400 is used as the virtual adapter of link to these two physical adapters.Therefore, owing to the application layer (not shown) that is positioned on the protocol driver 310 is communicated by letter with a virtual adapter, so this application layer is indifferent to type and the state that is positioned at the physical adapter under the virtual device driver.
Therefore, in interim driver 400, can change the bag routed path.That is, in interim driver 400, select communication media, and send and receive bag via physical adapter based on situation.Therefore, wired and radio communication almost can be switched in real time, and does not influence protocol driver 310.
Fig. 4 is the block diagram of interim driver 400 shown in Figure 3.
With reference to Fig. 4, interim driver 400 comprises virtual mini port drivers 410 and virtual protocol driver 420.
Virtual mini port drivers 410 comprises virtual adapter controller 411.Virtual adapter controller 411 produces virtual adapter and controls this virtual adapter so that this virtual adapter is bound and used to protocol driver 310 with this virtual adapter.
In addition, when virtual protocol driver 420 was bound to physical adapter, the attribute of each physical adapter was set up.Here, virtual adapter controller 411 is with the physical adapter of identical address setting to each binding.When execution was provided with, under the situation of wired lan, the packet filtering value was set to not add the differentiation pattern, and all bags are accepted in this pattern, and in WLAN, the packet filtering value is set to directly/multileaving/broadcast mode, as common employed situation.The MAC Address of virtual adapter is set to the MAC Address of WLAN.Promptly, under the situation of wired lan, do not add that the differentiation pattern is set up and the MAC Address of wired lan seems not to be set up, and under the situation of WLAN, owing to used general modfel, so the MAC Address of virtual adapter depends on the MAC Address of WLAN.Therefore, in both cases, at protocol driver 310 this respects, only the MAC Address of WLAN presents and is set up.
By using identical MAC Address can prevent to transmit the ARP bag again in order to upgrade hub address analysis protocol (ARP) table.In addition, when using DHCP (DHCP) when carrying out dynamic address allocation, by an option that uses as DHCP, MAC Address is used to PC is distinguished.In this case, because Dynamic Host Configuration Protocol server uses identical MAC Address and they is identified as identical PC owing to the PC that connects, so virtual adapter can use in the DHCP environment without a doubt.In addition, when and during assigns the Internet protocol version 6 (IPv6) address, in Next Generation Internet IPv6, because MAC Address all is identical, so executive address distributes without a doubt according to the automatic configuration of using MAC Address.
When the protocol driver solicited message of virtual adapter controller 411 from the upper strata, virtual adapter controller 411 will be given protocol driver in the upper strata by the best-fit device report information that best-fit device selector 421 is selected.That is, virtual adapter controller 411 select lower floor's link-state informations and the report information that will select to the protocol driver in the upper strata.In addition, when virtual adapter controller 411 sent to physical adapter with bag, virtual adapter controller 411 used the binding handle of the best-fit device of being selected by best-fit device selector 421 to send these bags.
The physical adapter that best-fit device selector 421 is identified for communicating by letter according to the link information from the wired or wireless LAN of Link State detector 422 inputs.
Link State detector 422 detects the link-state information of wired or wireless LAN and detected link-state information is outputed to best-fit device selector 421.
The adapter that 423 bindings of adapter bundle unit are all activated also produces list of bindings 424.Adapter bundle unit 423 comprises the binding handle of the physical adapter that is used to control binding.In the present embodiment, adapter bundle unit 423 comprises 802.3 binding handles 425 that are used for wired lan and the 802.11 binding handles 426 that are used for WLAN.Each binding handle is similar to the key that the mini port drivers that is used for virtual adapter and subordinate communicates.In addition, when adapter bundle unit 423 received bag, it unconditionally sent to virtual adapter with these bags.
Fig. 5 A and Fig. 5 B are the flow charts that illustrates according to the process of the use DriverEntry function initialization interim driver 400 of the embodiment of the invention.The DriverEntry function is ARP allocation packet pond and Buffer Pool, registration is used for the driver handle of mini port drivers 330 and 340 and the protocol handler that is used for protocol driver 310, and notifies described driver handle to be associated with described protocol handler to NDIS320.Fig. 5 A illustrates the process of initialization interim driver 400.
With reference to Fig. 5 A, in operation 510, the initialization of interim driver 400 is from calling the DriverEntry function, and this function is operated as the inlet point of interim driver 400 by OS.
In operation 520, virtual adapter controller 411 bindings 802.3 adapters.When virtual adapter controller 411 binding physical adapters, the virtual adapter data structure is produced the information with the storage physical adapter.Therefore, how much quantity of physical adapter is, just has the data structure of equal number to be produced.Actual agreements driver binding in this virtual adapter data structure and the upper strata.By data structure and physical adapter are bound the binding handle that obtains physical adapter.
The tabulation of a plurality of data structures in the binding handle data structure storage subordinate in the virtual adapter data structure.
In 802.3 adapter bundle processes, the packet filtering attribute of 802.3 wired lan adapters is set to not add the differentiation pattern in operation 521.The adapter that does not add under the differentiation pattern is accepted all bags that it receives.
In operation 522, the address of wired lan adapter is set to the MAC Address of 802.11 layer of 2 wireless lan adapter.
Therefore, 802.3 wired lan adapters have the MAC Address of 802.11 wireless lan adapters, and can receive all bags by the wired lan input.
In operation 530, virtual adapter controller 411 bindings 802.11 adapters.
In operation 531, the packet filtering attribute of 802.11 wireless lan adapters is set to directly, multileaving or broadcast mode, as common employed situation.
Under Direct Model, the frame that is sent to particular machine has the physical address (ethernet address) of the purpose machine that is assigned as destination address.Machine with this physical address is accepted this frame, and other machine is not accepted this frame.
Under the multileaving pattern, the frame (multileaving frame) that is sent to a collection of particular machine has the multicast address that is assigned as destination address.This batch particular machine forms the multileaving group.Therefore, each machine that is included in this multileaving group can be accepted this frame.Even NIC does not belong to this multileaving group, thereby it still can be programmed and enters such multileaving pattern, and under this pattern, all multileaving frames are accepted.
Under broadcast mode, the frame that is sent to all machines in the network is broadcast to the have destination address network of " 0xffffff ".This destination address " 0xffffff " is regarded as the frame broadcast address.NIC under broadcast mode accepts to have all frames of destination address " 0xffffff ".Usually, all NIC are configured so that broadcast frame can be accepted.
Carried out binding for all physical adapters after, virtual adapter controller 411 produces virtual adapter in operation 540, and is operating this virtual adapter of initialization in 550.The initialization of virtual adapter comprises: store binding handle information by distributing binding handle data structure; Produce the binding handle list; Be stored in this binding handle list with the binding handle information and the dot information of the adapter that will bind.
With reference to Fig. 5 B, in operation 560, use virtual protocol driver 420 to inquire about connection status.
The Link State detector 422 that is included in the virtual protocol driver 420 that receives described inquiry detects 802.3 connection state informations and 802.11 connection state informations in operation 570, and should send to best-fit device selector 421 by detected connection state information.
In operation 580, best-fit device selector 421 is selected the best-fit device.When wired lan and WLAN both were connected, because wired lan is faster, so wired lan is selected as the best-fit device, when not having wired lan to be connected, WLAN was selected as the best-fit device.The information of the best-fit device that best-fit device selector 421 will be selected sends to virtual adapter controller 411.
In operation 590, the information of the selecteed best-fit device that 411 mappings of virtual adapter controller receive.Then, interim driver 400 is ready for communication.
Fig. 6 is the flow chart that illustrates according to the attended operation of the embodiment of the invention.
With reference to Fig. 6, when 802.3 wired lans and 802.11 WLAN all are disconnected in operation 601, if produce connection event in operation in 602, then virtual mini port drivers 410 reports to protocol driver 310 in the upper strata with connection status in operation 603.Whether the adapter that upper-layer protocol driver 310 determine to connect in operation 604 is 802.3 adapters, and if the adapter of this connection be 802.3 adapters, then operate 607 at the middle and upper levels protocol driver 310 usefulness 802.3 wired lans communicate.When communicating,, then in operation 606, upgrade 802.11 connection state informations if in operation 605, produced 802.11 connection events with 802.3 wired lans.
If the adapter that connects in operation 604 is 802.11 adapters rather than 802.3 adapters, then 802.11 Adapter Informations are mapped to virtual adapter in operation 608.In operation 609, upper-layer protocol driver 310 usefulness 802.11 WLAN communicate.
When communicating with 802.11 adapters, if produced 802.3 connection events in operation 610, then 802.3 Adapter Informations are mapped to virtual adapter in operation 611.In operation 612, upper-layer protocol driver 310 usefulness 802.3 wired lans communicate.
Fig. 7 is the flow chart that illustrates according to the opening operation of the embodiment of the invention.
With reference to Fig. 7, when protocol driver 310 usefulness 802.3 wired lans communicate at the middle and upper levels in operation 701, if in operation 702, produce disconnected event, then virtual adapter controller 411 determines whether the adapter that disconnects is 802.3 adapters in operation 703, if and the adapter of this disconnection is 802.3 adapters, then 802.11 Adapter Informations are re-mapped to virtual adapter in operation 704.Then, in operation 705, upper-layer protocol driver 310 usefulness 802.11 WLAN communicate.
If the adapter that disconnects is not 802.3 adapters, then in operation 706, check the connection status of 802.3 wired lans.
Connect if find 802.3 wired lans, then the operation 707 at the middle and upper levels protocol driver 310 usefulness 802.3 wired lans communicate.
Disconnect if find 802.3 wired lans, then virtual mini port drivers 410 reports to upper-layer protocol driver 310 with off-state in operation 708, and 802.3 Adapter Informations are re-mapped to virtual adapter in operation 709.Then, 802.3 wired lans and 802.11 WLAN all are in off-state.
As mentioned above,, produce the unique virtual adapter be used for the heterogeneous communication medium, and IP address is assigned to the virtual adapter of this generation according to embodiments of the invention.When wired lan and WLAN all were connected, wired lan at a high speed was used, and if this wired lan be disconnected, then disconnect being detected automatically and wrapping and be re-routed to WLAN.Therefore, only discern virtual adapter such as the protocol driver of TCP/IP.Therefore, even do not change, so can keep continuous session owing to port address changes the IP address yet.
That is, owing to the TCP/IP session is held with identical IP address, so the seamless hand that changes from the wired lan to the WLAN is feasible.In addition, owing to use identical MAC Address, so use the IP address allocated by DHCP, continuity is guaranteed.In addition, in Next Generation Internet IPv6, under the automatic configuration surroundings of stateless, can carry out seamless communication, in described environment, produce the IPv6 address according to MAC Address.
By from the computer-readable medium working procedure, the present invention is implemented in the all-purpose computer, described computer-readable medium includes but not limited to following storage medium, such as magnetic storage medium (ROM, RAM, floppy disk, tape etc.), light computer-readable recording medium (CD-ROM, DVD etc.) and carrier wave (by the transmission of the Internet).The present invention can be implemented as has the computer-readable medium of having realized the computer readable program code unit therein, so that many computer systems that connects via network realize distributed treatment.Be used to realize functional programs of the present invention.Code and code segment can easily be derived by the programmer in the technical field under the present invention.
Although shown with reference to its preferred embodiment and described the present invention, but it should be appreciated by those skilled in the art, under the situation that does not break away from the spirit and scope of the present invention that are defined by the following claims, can carry out various changes on form and the details to the present invention.These preferred embodiments should only be considered on the describing significance, rather than the purpose in order to limit.Therefore, scope of the present invention is limited by detailed description of the present invention, but is defined by the following claims, and all difference in this scope will be interpreted as being included among the present invention.
Although shown and described some embodiments of the present invention, it should be appreciated by those skilled in the art, under the situation that does not break away from the principle of the present invention that limits its scope by claims and equivalent thereof and spirit, can change these embodiments.
Claims (18)
1, a kind of communication adapter switching method in having the system of a plurality of communication adapters, this method comprises:
With the address setting of a plurality of communication adapters is first identical address with these a plurality of communication adapters;
The packet filtering pattern of all communication adapters except first communication adapter is set to that all wrap received pattern therein; With
When a communication adapter was disconnected, this communication adapter from a plurality of communication adapters switched to another in communication period.
2, a kind of communication adapter switching method in having the system of a plurality of communication adapters, this method comprises:
The Media Access Control address of cable LAN communication adapter is set to the identical Media Access Control address of Media Access Control address of wireless LAN communication adapter;
The packet filtering pattern of cable LAN communication adapter is set to the received differentiation pattern that do not add of all bags therein; With
During using described cable LAN communication adapter to communicate, when described cable LAN is disconnected, use WLAN (wireless local area network) information to switch to described wireless LAN communication adapter from described cable LAN communication adapter.
3, method as claimed in claim 2 also comprises:
During using described wireless LAN communication adapter to communicate, when the connected incident of the described cable LAN of indication produces, use cable LAN information to switch to described cable LAN communication adapter from described wireless LAN communication adapter.
4, method as claimed in claim 2 also comprises:
The packet filtering pattern of wireless LAN communication adapter is set to directly, multileaving or broadcast mode.
5, method as claimed in claim 2 also comprises:
If the cable LAN communication adapter is disconnected, then the WLAN (wireless local area network) information mapping is arrived virtual adapter.
6, a kind of communication adapter switching device in having the system of a plurality of communication adapters, this equipment comprises:
Virtual adapter, its address setting with a plurality of communication adapters is identical with first address of these a plurality of communication adapters, and the packet filtering pattern of all communication adapters except first communication adapter be set to therein all bags can received pattern; With
The virtual protocol driver, when a communication adapter was disconnected, this communication adapter from a plurality of communication adapters switched to another in communication period for it.
7, a kind of communication adapter switching device in having the system of a plurality of communication adapters, this equipment comprises:
Virtual adapter, its Media Access Control address that wired local area network communication adapter is set is identical with the Media Access Control address of wireless LAN communication adapter, and the packet filtering pattern of cable LAN communication adapter is set to the received differentiation pattern that do not add of all bags therein; With
The virtual protocol driver, it when described cable LAN is disconnected, uses WLAN (wireless local area network) information to switch to described wireless LAN communication adapter from described cable LAN communication adapter during using described cable LAN communication adapter to communicate.
8, equipment as claimed in claim 7, wherein, described virtual protocol driver comprises the Link State detector, this Link State detector provides when connection or disconnected event generation and connects or off-state information.
9, equipment as claimed in claim 8, wherein, described virtual protocol driver also comprises best-fit device selector, the best-fit device that this best-fit device selector is identified for communicating by letter based on the information that is provided by described Link State detector.
10, equipment as claimed in claim 9, wherein, the bag that receives from physical adapter is unconditionally sent to described virtual adapter, and the bag that will be sent to physical adapter is sent to the best-fit device that is determined.
11, a kind of communication adapter switching method in having the system of a plurality of communication adapters, this method comprises:
Check whether cable LAN is connected;
If this cable LAN is connected, then produce the WLAN (wireless local area network) connection event;
Upgrade the WLAN (wireless local area network) link information; With
Communicate with cable LAN.
12, method as claimed in claim 11 also comprises:
If cable LAN is not connected, then the WLAN (wireless local area network) information mapping is arrived virtual adapter;
Communicate with WLAN (wireless local area network);
Produce the connection event of cable LAN;
The cable LAN information mapping is arrived virtual adapter; With
Communicate with this cable LAN.
13, method as claimed in claim 11, wherein, cable LAN is 802.3 cable LANs.
14, method as claimed in claim 11, wherein, WLAN (wireless local area network) is 802.11 WLAN (wireless local area network).
15, a kind of method of selecting the best-fit device, this method comprises:
The inquiry connection status;
Detect connection state information;
Select the best-fit device based on described connection state information; With
The information of the best-fit device that mapping is selected.
16, method as claimed in claim 15, wherein, if cable LAN and WLAN (wireless local area network) all are connected, then the best-fit device is a cable LAN, otherwise the best-fit device is connected to its that.
17, method as claimed in claim 16, wherein, cable LAN is 802.3 cable LANs.
18, method as claimed in claim 16, wherein, WLAN (wireless local area network) is 802.11 WLAN (wireless local area network).
Applications Claiming Priority (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040073299 | 2004-09-14 | ||
KR10-2004-0073299 | 2004-09-14 | ||
KR20040073299 | 2004-09-14 | ||
KR1020040102304 | 2004-12-07 | ||
KR10-2004-0102304 | 2004-12-07 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1764139A true CN1764139A (en) | 2006-04-26 |
CN100423503C CN100423503C (en) | 2008-10-01 |
Family
ID=36748101
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005101028876A Expired - Fee Related CN100423503C (en) | 2004-09-14 | 2005-09-14 | Communication adapter switching method and apparatus |
Country Status (2)
Country | Link |
---|---|
KR (1) | KR100667783B1 (en) |
CN (1) | CN100423503C (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102037713A (en) * | 2008-05-23 | 2011-04-27 | 诺基亚西门子通信公司 | Providing station context and mobility in a wireless local area network having a split MAC architecture |
CN101895524B (en) * | 2009-05-21 | 2014-06-25 | Tcl集团股份有限公司 | LINUX-based method and network equipment enabling application program to access Internet |
US9276768B2 (en) | 2008-05-23 | 2016-03-01 | Nokia Solutions And Networks Oy | Providing station context and mobility in a wireless local area network having a split MAC architecture |
CN105743964A (en) * | 2014-12-29 | 2016-07-06 | 三星电子株式会社 | Method for sharing resource using a virtual device driver and electronic device thereof |
WO2017181648A1 (en) * | 2016-04-18 | 2017-10-26 | 中兴通讯股份有限公司 | Network switching method, device and terminal, and data storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100736933B1 (en) * | 2004-09-14 | 2007-07-10 | 삼성전자주식회사 | Method for controlling mobile terminal |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6314525B1 (en) * | 1997-05-13 | 2001-11-06 | 3Com Corporation | Means for allowing two or more network interface controller cards to appear as one card to an operating system |
US7177952B1 (en) * | 1999-10-01 | 2007-02-13 | Nortel Networks Limited | Method and system for switching between two network access technologies without interrupting active network applications |
CN1249956C (en) * | 2002-10-18 | 2006-04-05 | 华为技术有限公司 | Method for virtual Ethernet adapter card |
KR20040067665A (en) * | 2003-01-24 | 2004-07-30 | 삼성전자주식회사 | Docking station for a portable computer |
-
2004
- 2004-12-07 KR KR1020040102304A patent/KR100667783B1/en not_active IP Right Cessation
-
2005
- 2005-09-14 CN CNB2005101028876A patent/CN100423503C/en not_active Expired - Fee Related
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102037713A (en) * | 2008-05-23 | 2011-04-27 | 诺基亚西门子通信公司 | Providing station context and mobility in a wireless local area network having a split MAC architecture |
CN102037713B (en) * | 2008-05-23 | 2015-11-25 | 诺基亚通信公司 | Station association and mobility are provided in the WLAN (wireless local area network) with separated MAC framework |
US9276768B2 (en) | 2008-05-23 | 2016-03-01 | Nokia Solutions And Networks Oy | Providing station context and mobility in a wireless local area network having a split MAC architecture |
CN101895524B (en) * | 2009-05-21 | 2014-06-25 | Tcl集团股份有限公司 | LINUX-based method and network equipment enabling application program to access Internet |
CN105743964A (en) * | 2014-12-29 | 2016-07-06 | 三星电子株式会社 | Method for sharing resource using a virtual device driver and electronic device thereof |
CN105743964B (en) * | 2014-12-29 | 2020-09-01 | 三星电子株式会社 | Method for sharing resources using virtual device driver and electronic device thereof |
WO2017181648A1 (en) * | 2016-04-18 | 2017-10-26 | 中兴通讯股份有限公司 | Network switching method, device and terminal, and data storage medium |
CN107306432A (en) * | 2016-04-18 | 2017-10-31 | 中兴通讯股份有限公司 | A kind of method for switching network, device and terminal |
Also Published As
Publication number | Publication date |
---|---|
KR20060024758A (en) | 2006-03-17 |
KR100667783B1 (en) | 2007-01-11 |
CN100423503C (en) | 2008-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10819538B2 (en) | Method and apparatus for establishing link between virtualized network functions | |
US10171567B2 (en) | Load balancing computer device, system, and method | |
US20060056446A1 (en) | Communication adapter switching method and apparatus | |
CN1197024C (en) | Switching method and system between two kinds of network access technology | |
US8015288B2 (en) | Virtual system and method in a virtual system | |
CN107925626B (en) | Method and apparatus for use in a network element | |
CN1925452A (en) | Data transferring system, method and network transferring apparatus | |
CN1754374A (en) | Network address translation with gateway load distribution | |
CN1764139A (en) | Communication adapter switching method and equipment | |
CN1913457A (en) | Method for fault detection of two-way conversion link | |
CA2493841A1 (en) | Method for assigning an ip address to a device | |
CN1531262A (en) | Network communication method for carrying out load division | |
CN101030946A (en) | Method and system for realizing data service | |
CN1719808A (en) | Power saving in wireless packet based networks | |
CN101052022A (en) | System and method for virtual special net user to access public net | |
CN1856967A (en) | Automatic switching of setting associated with network | |
CN105704206A (en) | Implementation method for performing Ethernet communication with LED display control card | |
CN1703892A (en) | Method, device and system for distributing server requests among a cluster of servers that have registered as mobile nodes | |
CN1951087A (en) | Method and apparatus for obtaining server information in a wireless network | |
CN105554176A (en) | Method and device for sending message and communication system | |
CN1835515A (en) | Method and device of going repeating in configuration procedue of dynamic host address | |
CN101043387A (en) | Remote mirror-image realization process, remote monitoring aids and system for realizing remote mirror-image | |
CN1925497A (en) | Binding method based on VID, MAC, IP and users | |
CN1917521A (en) | Method and system for realizing load balancing, and load balancing equipment | |
CN1905566A (en) | Method and system for implementing system high-usability in network storage service |
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20081001 Termination date: 20100914 |