This application claims the priority benefit of Taiwan application serial no. 97125232, filed on Jul. 4, 2008. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
1. Field of the Invention
The present invention relates to a network management apparatus. More particularly, the present invention relates to a bypass control module of a network management apparatus.
2. Description of Related Art
With development of technology, network is widely applied to people's daily life for greatly improving a life convenience, such as emails, data transmission, online purchasing, resource sharing, online studying and searching, etc.
Therefore, regardless of a cable or a wireless network system, stability of network connections is quite essential. In a conventional network system, if an abnormal situation that influences the network connection is occurred, for example, instability of input power or hardware malfunction, the system may activate a LAN bypass function to keep the network smooth. However, since the present LAN bypass function is to keep the network smooth by controlling a relay via a software or an operating system (OS), when the system is turned off, a control signal of a relay power may not be timely switched due to a time difference, so that a malfunction thereof can be occurred.
Accordingly, the present invention is directed to a bypass control module, which may avoid miss operation of a relay controlled by a system due to a sudden disappearance of a power supply.
The present invention is directed to a network management apparatus and a management method thereof, by which miss operation of a relay thereof can be avoided.
The present invention provides a bypass control module for switching a plurality of data transmission paths within a network system. The bypass control module includes a logic circuit and a condition circuit. The logic circuit generates a logic output signal according to a state of a system power received by the network system and a state of at least one first control signal. The condition circuit is coupled to the logic circuit for outputting a condition signal and determining a state of the condition signal according to a state of the logic output signal. The network system selects one of the data transmission paths according to the state of the logic circuit for transmitting data.
Moreover, in the bypass control module of the present invention, the logic circuit further determines the state of the logic output signal according to a state of a second control signal.
In an embodiment of the present invention, the logic circuit of the bypass control module includes an OR gate and a D flip-flop. The OR gate respectively receives the first control signal and the second control signal, and outputs an OR gate signal. The D flip-flop has a flip-flop input terminal, a clock terminal and a flip-flop output terminal, wherein the flip-flop input terminal is coupled to the OR gate for receiving the OR gate signal. The clock terminal receives the system power, and when a state of the system power is switched from a high level to a low level, the OR gate signal is output from the flip-flop output terminal to the condition circuit to serve as the logic output signal.
In an embodiment of the present invention, the condition circuit of the bypass control module includes a transistor. A source of the transistor is coupled to the ground, a gate thereof receives the logic output signal, and a drain thereof outputs the condition signal.
According to another aspect, the present invention provides a network management apparatus which is adapted to a network system and is used for connecting a plurality of client hosts to a server. The network management apparatus includes a logic circuit, a condition circuit and a plurality of switching modules. The logic circuit generates a logic output signal according to a state of a system power and a state of at least one first control signal. The condition circuit is coupled to the logic circuit for outputting a condition signal and determining a state of the logic circuit according to a state of the logic output signal. Moreover, the plurality of switching modules is respectively coupled to the client hosts and the server, and respectively has a first transmission terminal and a plurality of second transmission terminals. Each of the switching modules is coupled to a next switching module via the second transmission terminals, and the switching modules are further coupled to the condition circuit for determining to couple the first transmission terminal of each switching module to one of the second transmission terminals of each switching module according to a state of the condition signal.
Moreover, in the network management apparatus of the present invention, the logic circuit further determines the state of the logic output signal according to a state of a second control signal.
In an embodiment of the present invention, the logic circuit of the network management apparatus includes an OR gate and a D flip-flop. The OR gate respectively receives the first control signal and the second control signal, and outputs an OR gate signal. The D flip-flop has a flip-flop input terminal, a clock- terminal and a flip-flop output terminal, wherein the flip-flop input terminal is coupled to the OR gate for receiving the OR gate signal. The clock terminal receives the system power, when a state of the system power is switched from a high level to a low level, the OR gate signal is output from the flip-flop output terminal to the condition circuit to serve as the logic output signal.
In an embodiment of the present invention, the network management apparatus further includes a motherboard controller and an input output control unit. The motherboard controller determines whether to output the first control signal according to an operation of a user. The input output control unit includes a counter, wherein the counter starts to count time when the network system is abnormal, when a counted time reaches a predetermined time, the input output control unit outputs the second control signal.
Moreover, in the network management apparatus of the present invention, the first transmission terminal of each of the switching modules is coupled to one of the client hosts via an RJ 45 interface.
In an embodiment of the present invention, the network management apparatus further includes a plurality of converters and a transceiving unit. : Each of the converters is coupled to the corresponding switching module via one of the second transmission terminals of each of the switching modules. The transceiving unit is coupled to the converters via an interface, and is coupled to the server.
Moreover, in the network management apparatus of the present invention, the interface is a media-related interface (MDI).
According to another aspect, the present invention also provides a method for managing a network system. The network system is operated according to a system power. The method for managing the network system includes the following steps. First, a plurality of second transmission paths is provided for mutually connecting the client hosts. Next, a physical logical circuit is provided. Next, when the network system is turned off, the physical logical circuit selects the first transmission path or the second transmission path for transmitting data.
According to the method for managing the network system, step of judging whether the network system is turned off includes detecting whether a state of the system power is switched from a high level to a low level. When the network system is turned off, the physical logical circuit further selects the first transmission path or the second transmission path according to an operation of a user for transmitting data.
In an embodiment of the present invention, the method for managing the network system further includes judging whether the network system is abnormal, and starting to count time if the network is abnormal, wherein when a counted time reaches a predetermined time, the physical logical circuit selects the first transmission path for transmitting data.
In the present invention, since the physical logical circuit is applied to manage states of the switching modules, miss operation of the switching modules can be avoided.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, a preferred embodiment accompanied with figures is described in detail below.
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
The network management apparatus 110 may provide a plurality of data transmission paths for each of the client hosts 130, 140, 150 and 160. In some embodiments of the present invention, the predetermined data transmission paths are connected to the server 120, while in some other embodiments, the network management apparatus 110 can also activate a LAN bypass function to provide the paths for mutually connecting the client hosts, for example, connecting the client hosts 130 and 140 or connecting the client hosts 140 and 150.
Moreover, the switching modules 220 and 230 can also be mutually connected via other second terminals. For example, the switching module 220 can be coupled to the second terminal 233 of the switching module 230 via the second terminal 223. The first terminals 221 and 231 of the switching modules 220 and 230 can be for example, coupled to the client hosts 130, 140, 150 and 160 of
Particularly, the switching modules 220 and 230 can also be coupled to the bypass control module 210. In the present embodiment, the bypass control module 210 receives a system power to control the switching modules 220 and 230 for respectively connecting the first terminals 221 and 231 to the second terminals 222 and 232, or to the second terminals 223 and 233.
The logic circuit 310 includes an OR gate 311 and a D flip-flop 312. The OR gate 311 receives the control signals CS1 and CS2, and outputs an OR gate signal OS to the D flip-flop 312. The D flip-flop 312 has a flip-flop input terminal D, a clock terminal clk and a flip-flop output terminal Q. The flip-flop input terminal D of the D flip-flop 312 is coupled to the output terminal of the OR gate 311 for receiving the OR gate signal OS. The clock terminal clk of the D flip-flop 312 receives the system power signal ES, and the flip-flop output terminal Q is coupled to the condition circuit 320.
The condition circuit 320 can be implemented by a transistor, wherein a gate of the transistor is coupled to the flip-flop output terminal Q of the logic circuit 310, a source of the transistor is coupled to the ground, and a drain of the transistor is for example, coupled to the switching modules 220 and 230 of
Referring to
When the first terminals 221 and 231 of the switching modules 220 and 230 are about to be coupled to the second terminals 223 and 233, the motherboard controller 330 then may output the first control signal CS1 with the high level to the OR gate 311. Now, the OR gate signal OS output from the OR gate 311 has a high level state due to the state of the first control signal CS1. However, during normal operation of the system, the system power signal ES maintains the high level, so that the OR gate signal OS can be latched at flip-flop input terminal D of the D flip-flop 312.
Now, if the system is turned off, the system power signal ES is then switched from the high level to the low level, and a signal with a negative edge is provided to the clock terminal clk. Now, the D flip-flop 312 takes the high level OR gate signal OS originally latched at the flip-flop input terminal D as the logic output signal BS, and transmits it to the gate of the transistor of the condition circuit 320 for enabling the condition circuit 320, so as to pull down a state of the condition signal AS to the ground level. When the switching modules 220 and 230 receive the ground level condition signal AS, the first terminals 221 and 231 are respectively connected to the second terminals 223 and 233, so as to activate the bypass function.
In some embodiments, the input output control unit 340 has a counter 341. When the system is abnormal, the counter 341 starts to count time and generates a time counting value. When the time counting value reaches a predetermined time, the input output control unit 340 outputs a low level second control signal CS2 to the OR gate 311. Similarly, the OR gate signal OS has a low level state due to the state of the second control signal CS2, and is latched at the flip-flop input terminal D of the D flip-flop 312.
Now, if the system is turned off, and the system power signal ES is switched from the high level to the low level, the D flip-flop 312 then takes the low level OR gate signal OS originally latched at the flip-flop input terminal D as the logic output signal BS, and transmits it to the gate of the transistor of the condition circuit 320 for disabling the condition circuit 320, so as to disable the condition signal AS. When the condition signal AS is disabled, the first terminals 221 and 231 of the switching modules 220 and 230 are then respectively connected to the second terminals 222 and 232.
According to the above description, the present invention provides a method for managing a network system, and a flowchart thereof is shown as
Moreover, in step S402, a plurality of second transmission paths is provided, for example, the data transmission paths formed between the first terminals 221 and 231 and the second terminals 223 and 233 of the switching modules 220 and 230 of
In some embodiments, in the step S403, the first transmission path or the second transmission path can be selected to serve as the data transmission path according to an operation of a user. In some other embodiments, the data transmission path can also be determined according to a state of the network system.
On the other hand, if it is determined that the system is abnormal according to the step S501 (i.e. “yes” marked in the step S501 of
Though in the step S504, when the time counting value reaches the predetermined time, the physical logical circuit selects the first transmission path. However, it should be understand by those skilled in the art that the physical logical circuit can also select the second transmission path for transmitting data, which is not limited by the present invention.
In summary, since the present invention provides a physical logical circuit to control states of the switching modules, miss operation of the switching modules can be avoided when the system is turned off or the power is suddenly disappeared.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention cover modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
97125232 | Jul 2008 | TW | national |