(a) Field of the Invention
The invention relates to a processing apparatus and the transmission method thereof, particularly to a network apparatus and the method thereof to integrate the wired and wireless networks to achieve link aggregation and provide fail-over.
(b) Description of the Related Art
In general, a processing apparatus such as a computer is provided with an Ethernet apparatus but the processing apparatus always experiences the insufficient bandwidth problem while doing data transmission. Besides, during data transmission, if the connection of the Ethernet apparatus is cut off, for example, a user carries the processing apparatus to another location or a network line for an online game is carelessly removed, it causes great inconvenience.
Therefore, in order to solve the above-mentioned problems, one object of the invention is to provide a processing apparatus to combine the bandwidths of an Ethernet network and a wireless network.
One object of the invention is to provide a processing apparatus to provide a high Ethernet transmission speed and stable transmission quality.
One object of the invention is to provide a processing apparatus to provide fail-over for preventing network disconnection.
One object of the invention is to provide a processing apparatus to achieve transmission load balance between the Ethernet network and the wireless network.
One embodiment of the invention provides a processing apparatus, comprising a wired network transmission unit, a wireless network transmission unit, and a control unit. The wired network transmission unit transmits and receives a first packet through a wired means. The wireless network transmission unit transmits and receives a second packet through a wireless means. The control unit couples to the wired network transmission unit and the wireless network transmission unit. The control unit processes and distributes a packet to generate the first packet and the second packet.
One embodiment of the invention provides a processing system, comprising an operating system and a communication apparatus. While the processing system connects to at least one base station, the operating system generates a communication signal and a packet according to a communication protocol. The communication apparatus communicates with the operating system and has the functions of wired and wireless networks. According to the communication signal, the communication apparatus decides to simultaneously transmit the packet through the wired network and the wireless network or decides to select either the wired network or the wireless network to transmit the packet. Since generally the connection speed of the wired network is faster and more stable, the processing system according to one embodiment preferably selects the wired network to transmit the packet.
One embodiment of the invention provides a processing apparatus, comprising a wired network transmission unit, a wireless network transmission unit, and a control unit. The wireless network transmission unit couples the wired network transmission unit. The control unit couples to the wired network transmission unit and the wireless network transmission unit. The control unit processes and distributes a packet to generate a first packet and a second packet. According to a communication signal, the control unit decides to simultaneously transmit the first packet and the second packet through the wired network transmission unit and the wireless network transmission unit or decides to select either the wired network transmission unit or the wireless network transmission unit to transmit the first packet or the second packet.
One embodiment of the invention provides a transmission method, comprising: processing a packet to generate a first packet and a second packet; and providing an inter media driver for deciding how to transmit the first packet and the second packet according to the network state. The inter media driver can transmit the first packet through the wired network and transmit the second packet through the wireless network. When the wired network has transmission failure, the inter media driver transmits the first packet through the wireless network. Or, when the wireless network has transmission failure or the connection success signal of the wired network is detected, the inter media driver transmits the second packet through the wired network.
The processing system, apparatus, and transmission method according to the invention utilize the wired network and the wireless network that are usually simultaneously equipped in a current computer system to combine bandwidths of different media so as to achieve the purpose of providing fail-over and load balance.
As shown in
As shown in
Referring to
At first, when the processing system 10 connects to the base station 16, being as the access point (AP), the operating system 11 generates the communication signal S and the packet P and transmits to the processing apparatus 13 through the communication protocol layer 12 according to a communication protocol. In one embodiment, the communication protocol can be one of the following protocols or combination thereof: NetBIOS Extended User Interface (NetBEUI), Internetwork Packet Exchange/Sequenced Packet Exchange (IPX/SPX), Transmission Control Protocol/Internet Protocol (TCP/IP). Then, according to the communication signal S, the control unit 14 controls the wired network transmission unit 151 and the wireless network transmission unit 152 to connect to the base station 16 and later stops using the wired network transmission unit 151 and the wireless network transmission unit 152. The current or future network teaming technique is used to simulate the control unit 14 as a virtual network transmission unit. In addition, the media access control (MAC) addresses of the virtual network transmission unit, the first media access controller 151a, and the second media access controller 152a are set to be the same. After the wired network transmission unit 151, the virtual network transmission unit, and the wireless network transmission unit 152 have the same MAC address, the wired network transmission unit 151, the virtual network transmission unit, and the wireless network transmission unit 152 are initiated. In one embodiment, referring to
After the wired network transmission unit 151 and the wireless network transmission unit 152 are initiated, the control unit 14 receives the packet P and processes and distributes the packet P to generate the first packet P1 and the second packet P2. The control unit 14 transmits the packet P through the wired network transmission unit 151, through the wireless network transmission unit 152, or simultaneously through the two media so as to generate the packets P1 and P2. In one embodiment, the first packet P1 complies with wired network transmission format (for example, the transmission format of IEEE 802.3 standard), while the second packet P2 complies with wireless network transmission format (for example, the transmission format of IEEE 802.11 standard).
The inter media driver 142 selects the path of the first packet P1 to transmit the packet P through the first media access controller 151a and the first physical layer circuit 151b via a wired means to the base station 16; or selects the path of the second packet P2 to transmit the packet P through the second media access controller 152a and the second physical layer circuit 152b via a wireless means to the base station 16. Till now, those who are skilled in the art should understand the operating method and principle of transmitting packets from the base station 16 to the processing system 10 and the processing apparatus 13. Thus, its details will not be given hereinafter. The control unit 14 can transmit and receive packets through the wired network transmission unit 151 and the wireless network transmission unit 152 simultaneously to and from the base station 16. Thus, the connection speed can be combined to achieve the purpose of link aggregation and increasing the connection speed.
According to another embodiment of the invention, the control unit 14 distributes the packet P appropriately to have the data transmission quantities of the wired network transmission unit 151 and the wireless network transmission unit 152 be substantially the same to reach load balance. In another embodiment, the control unit 14 can distribute the packet P to the wired network transmission unit 151 and the wireless network transmission unit 152 according to a predetermined ratio. For example, the packet P is distributed according to the ratio of the transmission speed of the wired network transmission unit 151 to the transmission speed of the wireless network transmission unit 152. Since transmitting the packet P through the wireless network transmission unit 152 may have the problem of data divulgence, the control unit 14 according to the invention can further encrypt the second packet P2. For example, the wireless encryption protocol (WEP), Wi-Fi protected access (WPA) protocol, WPA2 and so forth can be used in encryption for data divulgence prevention.
In the above mentioned embodiment, the control unit 14 simultaneously combines the wired and wireless transmission units 151 and 152. In another embodiment, the control unit 14 selects either the wired network transmission unit 151 or the wireless network transmission unit 152 as the major transmission unit. For example, since usually the wired network transmission is faster and more stable, the wired network is selected as the major transmission medium and the wireless network is the fail-over system. As the wired network is selected as the major transmission unit, the wireless network becomes the fail-over system. When the wired network is the major transmission medium, if the wired network is disconnected, the control unit 14 detects that the wired network transmission unit 151 cannot transmit the first packet P1 and then converts the format of the first packet P1 into the wireless network format and thereby continues to transmit the packet through the wireless network transmission unit 152. Thus, the network connection does not have transmission disconnection due to the wired network failure. On the contrary, when the wireless network is the major transmission medium, the wired network is the fail-over system. As the wireless network is disconnected, the control unit 14 detects that the wireless network transmission unit 152 cannot transmit the second packet P2 and then converts the format of the second packet P2 into the wired network format and thereby continues to transmit the packet through the wired network transmission unit 151 to provide fail-over.
According to one embodiment of the invention, when the network apparatus 15 transmits a packet to the base station 16 through the wired network transmission unit 151, the network apparatus 15 also receives the data corresponding to the packet from the base station 16 through the wired network transmission unit 151. On the contrary, when the network apparatus 15 transmits a packet to the base station 16 through the wireless network transmission unit 152, the network apparatus 15 also receives the data corresponding to the packet from the base station 16 through the wireless network transmission unit 152. When the network is disconnected, the packet to be originally transmitted/received through the wired/wireless networks will be transmitted/received through the wireless/wired networks, instead. The data transmitting/receiving means of the network apparatus and the base station is not limited to the above examples. Various methods, such as the method according to the state of network transmission or the method according to the preset look up table, can be used. For example, according to the packet transmission speed or bandwidth, the data from the base station 16 is distributed to be transmitted by either the wired network transmission unit 151 or the wireless network transmission unit 152. In one embodiment, as the transmission bandwidth of the wired network exceeds that of the wireless network by a preset value, the wired network transmission unit is used to receive more responded packets within this preset value.
As a user transmits data through the File Transfer Protocol (FTP) or plays online games, the control unit 14 can assign the packet to be transmitted through the wired or wireless network having a more stable or larger bandwidth. For example, when the wired network has larger and more stable bandwidth than the wireless network, the control unit 14 controls the wired network transmission unit 151 to transmit the packet to prevent from unstable transmission. When the wired network is disconnected, the control unit 14 immediately changes to use the wireless network transmission unit 152 to transmit the packet. Thus, the whole efficiency of the network transmission is increased.
During the fail-over mode, in the step S206, the control unit mainly selects the wired network to transmit and receive packets. In the step S208, it is determined whether the connection is disconnected or not. If yes, go to the step S210. If not, the transmission is completed to thereby go to the step S214.
If in the step S208 the connection is determined to be disconnected, go to the step S210 to transmit and receive the packet through the wireless network and then go to the step S212 to determined again whether the connection is disconnected or not. If yes, go back to the step S206. If not, the transmission is completed to thereby go to the step S214.
The invention utilizes different transmission media to do integration. For example, the wired and wireless media are used to transmit and receive packets. Thus, the wired network and wireless network coexisting system can have the effect of non-disconnecting transmission and bandwidth combination so as to increase the whole connection speed, effectively utilize the bandwidth, and prevent from inconvenience in network disconnection. Therefore, the purposes of bandwidth combination, having fail-over mechanism, and load balance can be achieved.
Although the present invention has been fully described by the above embodiments, the embodiments should not constitute the limitation of the scope of the invention. Various modifications or changes can be made by those who are skilled in the art without deviating from the spirit of the invention.
Number | Date | Country | Kind |
---|---|---|---|
098104415 | Feb 2009 | TW | national |
098145714 | Dec 2009 | TW | national |