1. Technical Field
The present disclosure relates to a network device.
2. Description of the Related Art
Currently, High-Definition Multimedia Interface version 1.4 (HDMI 1.4) supports an Ethernet transmission, such that traditional Ethernet's wiring can be replaced by HDMI's cable.
However, system vendors such as DVD providers cannot ensure whether the clients support HDMI 1.4 and Ethernet transmission or not at the initial stage. For this reason, the system vendors certainly will reserve both the traditional Ethernet connector and the HDMI connector with Ethernet functions in hardware, and thus two groups of media access control layer circuits (MAC circuits) and physical layer circuits (PHY circuits) are required.
For example, one group of MAC circuit and PHY circuit is connected to an asymmetric digital subscriber line (ADSL) via the RJ-35 network connection, while another group of MAC circuit and PHY circuit is connected to the TV via HDMI and then connected to the ADSL via the TV. In doing so, a loop may be formed in the network so as to cause frame circulation and frame propagation in the loop, or even cause broadcast storm occupying lots of network bandwidth. A way of solving the problem resulted from the network loop is to adopt a spanning tree protocol (STP). However, by adopting the spanning tree protocol, it usually results in disadvantages of occupying a lot of resources of the processor and memories.
Hence, how to avoid the problem caused by the network loop itself has become an important issue to be solved by designers in this field.
It is therefore one of the objectives of the present disclosure to provide a network device having a first transceiver unit for processing a data corresponding to a first PHY layer via a first interface and a second transceiver unit for processing a data corresponding to a second PHY layer via a second interface, and a method for building a network connection through a connection scheme to solve the above-mentioned problems caused by the network loop.
With reference to one aspect of the present disclosure, an exemplary network device is provided. The network device may include a first transceiver unit, a second transceiver unit, and a control unit. The first transceiver unit is arranged for processing a data corresponding to a first physical (PHY) layer via a first interface. The second transceiver unit is arranged for processing a data corresponding to a second PHY layer via a second interface. The control unit is arranged for processing a data corresponding to a media access control (MAC) layer, wherein the control unit connects with at least one of the first transceiver unit and the second transceiver unit with reference to a connection scheme.
With reference to another aspect of the present disclosure, an exemplary network connecting method is provided. The method may include the following steps: utilizing a first transceiver unit for processing a data corresponding to a first PHY layer via a first interface; utilizing a second transceiver unit for processing a data corresponding to a second PHY layer via a second interface; utilizing a control unit for processing a data corresponding to a MAC layer; and connecting the control unit with at least one of the first transceiver unit and the second transceiver unit with reference to a connection scheme.
Compared with the Related art, the circuit area of a media access control (MAC) layer circuit can be saved. In addition, although there are two physical (PHY) layer circuits existed in the present disclosure, only one MAC layer circuit is required. As a result, the problem caused by the network loop can be avoided in order to save system resources. Moreover, these two PHY layer circuits have the same hardware architecture, and thus they can use the same package so as to save cost.
These and other objectives of the present disclosure will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the embodiment that is illustrated in the various figures and drawings.
Certain terms are used throughout the description and following claims to refer to particular components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms “include” and “comprise” are used in an open-ended fashion, and thus should be interpreted to mean “include, but not limited to . . . ”. Also, the term “couple” is intended to mean either an indirect or direct electrical connection. Accordingly, if one device is coupled to another device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
Please refer to
For example, in a first case, when the connection scheme indicates that the first transceiver unit 110 and the second transceiver unit 120 are not connected to a network, the control unit 130 connects with the first transceiver unit 110 and the second transceiver unit 120 with reference to the connection scheme. In a second case, when the connection scheme indicates that one of the first transceiver unit 110 and the second transceiver unit 120 is connected to a network and the other one of the first transceiver unit 110 and the second transceiver unit 120 is not connected to the network, the control unit 130 connects with the transceiver unit which is connected to the network and does not connect with the transceiver unit which is not connected to the network. In a third case, when the connection scheme indicates that both the first transceiver unit 110 and the second transceiver unit 120 are connected to a network, the control unit 130 selects to connect with one of the first transceiver unit 110 and the second transceiver unit 120. In other words, the control unit 130 can dynamically switch the connection between the first transceiver unit 110 and/or the second transceiver unit 120 depending on actual demands.
Please note that: in this embodiment, the control unit 130, the first transceiver unit 110, and the second transceiver unit 120 can be disposed in the same chip, but this should not be considered to be limitations of the present disclosure. In other embodiments, the control unit 130 and the second transceiver unit 120 can be disposed in different chips, as is shown in
Please note that: the abovementioned third interface 250 may be implemented by a media independent interface (MII), a reverse media independent interface (RMII), a gigabit media independent interface (GMII), or a reverse gigabit media independent interface (RGMII), but this in no way should be considered as a limitation of the present disclosure. Those skilled in the art can easily understand technical features related to these interfaces, and further description is omitted here for brevity.
Please refer to
On the other hand, as far as the second transceiver unit 120 is concerned, the digital-to-analog converter 112 and the analog-to-digital converter 114 are connected to the second interface 125. Under this condition, the digital-to-analog converter 112 is arranged for converting a first logic level (such as, a high logic level “1”) of a transmission signal TS transmitted by the second transceiver unit 120 into a third voltage potential and converting a second logic level (such as, a low logic level “0”) of the transmission signal TS into a fourth voltage potential with reference to the control signal CS; and the analog-to-digital converter 114 is arranged for converting the third voltage potential of a receiving signal RS received by the second transceiver unit 120 into the first logic level (i.e., the high logic level “1”) and converting the fourth voltage potential of the receiving signal RS into the second logic level (i.e., the low logic level “0”) with reference to the control signal CS. What calls for special attention is that: a voltage difference between the third voltage potential and the fourth voltage potential is equal to a second voltage amplitude supported by the second interface 125, and the first voltage amplitude supported by the first interface 115 is different from the second voltage amplitude supported by the second interface 125.
Please note that: in other embodiments, each of the first transceiver unit 110 and the second transceiver unit 120 may further include a gain amplifier (not shown) for amplifying the second voltage potential or the fourth voltage potential of the abovementioned receiving signal RS depending on actual demands, which also belongs to the scope of the present disclosure.
As can be known from the descriptions related to
Please refer to
Step S400: Start.
Step S410: Utilize a first transceiver unit for processing a data corresponding to a first PHY layer via a first interface.
Step S420: Utilize a second transceiver unit for processing a data corresponding to a second PHY layer via a second interface.
Step S430: Utilize a control unit for processing a data corresponding to a MAC layer, wherein the control unit is connected with at least one of the first transceiver unit and the second transceiver unit with reference to a connection scheme.
Those skilled in the art can readily understand how each element operates by combining the steps shown in
Please refer to
Step S500: Start.
Step S510: Utilize a first transceiver unit for processing a data corresponding to a first PHY layer via a first interface.
Step S520: Utilize a second transceiver unit for processing a data corresponding to a second PHY layer via a second interface.
Step S530: Utilize a control unit for processing a data corresponding to a MAC layer, wherein the control unit is connected with at least one of the first transceiver unit and the second transceiver unit with reference to a connection scheme. When the connection scheme indicates that the first transceiver unit and the second transceiver unit are not connected to a network, go to the step S540; when the connection scheme indicates that one of the first transceiver unit and the second transceiver unit is connected to a network and the other one of the first transceiver unit and the second transceiver unit is not connected to the network, go to the step S550; and when the connection scheme indicates that both the first transceiver unit and the second transceiver unit are connected to a network, go to the step S560.
Step S540: Connect the control unit with the first transceiver unit and the second transceiver unit (under this condition, the connection scheme indicates that the first transceiver unit and the second transceiver unit are not connected to a network).
Step S550: Connect the control unit with the transceiver unit which is connected to the network, and disconnecting the control unit from the transceiver unit which is not connected to the network (under this condition, the connection scheme indicates that one of the first transceiver unit and the second transceiver unit is connected to a network and the other one of the first transceiver unit and the second transceiver unit is not connected to the network).
Step S560: Select one of the first transceiver unit and the second transceiver unit to be connected with the control unit (under this condition, the connection scheme indicates that both the first transceiver unit and the second transceiver unit are connected to a network).
Those skilled in the art can readily understand how each element operates by combining the steps shown in
Please note that, the steps of the abovementioned flowcharts are merely practicable embodiments of the present disclosure, and in no way should be considered to be limitations of the scope of the present disclosure. These methods can include other intermediate steps or several steps can be merged into a single step without departing from the spirit of the present disclosure.
The abovementioned embodiments are presented merely to illustrate practicable designs of the present disclosure, and should be considered to be limitations of the scope of the present disclosure. In summary, a network device having a first transceiver unit for processing a data corresponding to a first PHY layer via a first interface and a second transceiver unit for processing a data corresponding to a second PHY layer via a second interface, and a network connection method applied to the network device are provided. In other words, an implementation of two PHY layer circuits plus one MAC layer circuit is provided in the present disclosure, which is connected to the network with reference to the connection scheme. Compared with the prior art, not only the area of one MAC layer circuit can be saved, but also can the problem caused by the network loop be avoided in order to save system resources. Moreover, these two PHY layer circuits have the same hardware architecture, and thus they can use the same package so as to save cost.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
99141248 A | Nov 2010 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
5754540 | Liu et al. | May 1998 | A |
6269104 | McLaughlin et al. | Jul 2001 | B1 |
6430695 | Bray et al. | Aug 2002 | B1 |
6816505 | Sutardja | Nov 2004 | B1 |
7835427 | Chavez et al. | Nov 2010 | B1 |
8018962 | Sutardja et al. | Sep 2011 | B1 |
8063504 | Chi | Nov 2011 | B2 |
8130786 | Furlong et al. | Mar 2012 | B2 |
20020094087 | Dellmo et al. | Jul 2002 | A1 |
20020126684 | Findlater et al. | Sep 2002 | A1 |
20030191883 | April | Oct 2003 | A1 |
20090189442 | Chi | Jul 2009 | A1 |
20090232151 | Furlong | Sep 2009 | A1 |
20110286393 | Fouren et al. | Nov 2011 | A1 |
20120099600 | Tsai | Apr 2012 | A1 |
Number | Date | Country | |
---|---|---|---|
20120134372 A1 | May 2012 | US |