CN102053698A - Computer and network card control method - Google Patents

Computer and network card control method Download PDF

Info

Publication number
CN102053698A
CN102053698A CN2009102371537A CN200910237153A CN102053698A CN 102053698 A CN102053698 A CN 102053698A CN 2009102371537 A CN2009102371537 A CN 2009102371537A CN 200910237153 A CN200910237153 A CN 200910237153A CN 102053698 A CN102053698 A CN 102053698A
Authority
CN
China
Prior art keywords
network interface
interface card
state
control signal
mode information
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
Application number
CN2009102371537A
Other languages
Chinese (zh)
Other versions
CN102053698B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN 200910237153 priority Critical patent/CN102053698B/en
Publication of CN102053698A publication Critical patent/CN102053698A/en
Application granted granted Critical
Publication of CN102053698B publication Critical patent/CN102053698B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a computer and network card control method. A computer comprises at least one network card; the network card is provided with a first state and a second state; power consumption of the network card in the second state is smaller than that in the first state; and a network card control module is connected with the network card and used for controlling the network card to be switched from the first state to the second state according to default control signals. The computer and network card control method can efficiently reduce the power consumption of the computer.

Description

Computing machine and network interface card control method
Technical field
The present invention relates to computer realm, relate in particular to a kind of computing machine and network interface card control method.
Background technology
All dispose network interface card in the present computing machine, in some cases, in the computing machine even can dispose a plurality of network interface cards, be used for inserting respectively different networks, as Internet, Intranet etc.Generally, when computer starting, network interface card also can start and access network automatically, and at this moment, even the user does not use network interface card transmission data, the network interface card of startup also can increase the power consumption of computing machine.In addition, when having a plurality of network interface card in computing machine, for example have wireless network card A and wired network adapter B simultaneously, wherein wireless network card A is used to insert Intranet, and wired network adapter B is used to insert Internet.When computer starting, wireless network card A and wired network adapter B can start simultaneously, yet, at one time, can only there be a network interface card to be in effective transmission state, though another network interface card also starts, be in invalid transmission state, the network interface card that is in invalid transmission state also can increase the power consumption of computing machine.
In the prior art, when not needing to use network interface card, the connection of network interface card can be removed, perhaps with the network interface card forbidding, yet, connect the power consumption that the network interface card of removing or forbidding still can increase computing machine, cause the wasting of resources.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of computing machine and network interface card control method, can effectively reduce the power consumption of computing machine.
For addressing the above problem, the embodiment of the invention provides a kind of computing machine, comprising:
At least one network interface card, described at least one network interface card has first state and second state, power consumed power consumed when being in described first state when described network interface card is in second state;
The network interface card control module is connected with described network interface card, is used for according to the default control signal, controls described at least one network interface card and switches to described second state from described first state.
Described network interface card comprises:
When logical circuit, described network interface card were in described first state, described logical circuit was in opening, when described network interface card is in second state, has at least the partial logic circuit to be in closed condition.
Described computing machine also comprises:
Trigger module is connected with described network interface card control module, is used to produce described default control signal.
Described trigger module is the specific button on the described computing machine, wherein, when described specific button is pressed, produces described default control signal; Or
Described trigger module is the specific keys on the described computer keyboard, wherein, when described specific keys is pressed, produces described default control signal; Or
Described trigger module is the special icon on the software interface that moves on the described computing machine, wherein, when described special icon is triggered, produces described default control signal.
Described network interface card is a wired network adapter, and described trigger module comprises:
Detecting module, whether the netting twine that is used to detect described network interface card correspondence exists is pulled out operation, exists when pulling out operation at the netting twine that detects described network interface card correspondence, produces described default control signal.
Described network interface card control module comprises:
First memory module is used to store the current state information of described network interface card and the corresponding relation of update mode information, and wherein, described update mode information middle finger was shown in the same time has at least a network interface card to be in described second state in the described network interface card;
First acquisition module is used for obtaining the current state information of described network interface card when getting access to described default control signal;
Second acquisition module is used for obtaining the update mode information of the current state information correspondence of described network interface card according to the current state information of the described network interface card of storing and the corresponding relation of update mode information;
First execution module is used for controlling described network interface card and is in the state that the update mode information that gets access to is indicated.
Described network interface card control module also comprises:
Second memory module is used to store the corresponding relation of the update mode information of default control signal and described network interface card, and wherein, the update mode information middle finger of described network interface card was shown in the same time has at least a network interface card to be in described second state in the described network interface card;
The 3rd acquisition module is used for when getting access to described default control signal, according to the corresponding relation of the update mode information of the described default control signal of storage and described network interface card, obtains the update mode information of the described network interface card of described default control signal correspondence;
Second execution module is used for controlling the state that update mode information that described network interface card is in the described network interface card of described default control signal correspondence is indicated.
The embodiment of the invention also provides a kind of network interface card control method, be applied in the computing machine, described computing machine has at least one network interface card, described at least one network interface card has first state and second state, power consumed power consumed when being in described first state when described network interface card is in second state; May further comprise the steps:
Receive the default control signal;
According to described default control signal, control described at least one network interface card and switch to described second state from described first state.
Described according to the default control signal, control described at least one network interface card and switch to described second state from described first state, also comprise before:
Store the current state information of described network interface card and the corresponding relation of update mode information, wherein, described update mode information middle finger was shown in the same time has at least a network interface card to be in described second state in the described network interface card;
Described according to the default control signal, control described at least one network interface card and switch to described second state from described first state, be specially:
When getting access to described default control signal, obtain the current state information of described network interface card;
According to the current state information of the described network interface card of storing and the corresponding relation of update mode information, obtain the update mode information of the current state information correspondence of described network interface card;
Control described network interface card and be in the state of indicating in the update mode information that gets access to.
Described according to the default control signal, control described at least one network interface card and switch to described second state from described first state, also comprise before:
The corresponding relation of the update mode information of storage default control signal and described network interface card, wherein, the update mode information middle finger of described network interface card was shown in the same time has at least a network interface card to be in described second state in the described network interface card;
Described according to the default control signal, control described at least one network interface card and switch to described second state from described first state, be specially:
When getting access to described default control signal,, obtain the update mode information of the described network interface card of described default control signal correspondence according to the corresponding relation of the update mode information of the described default control signal of storage and described network interface card;
Control described network interface card and be in the state of indicating in the update mode information of described network interface card of described default control signal correspondence.
Embodiments of the invention have following beneficial effect:
Can control network interface card and be in power consumption consumption less state, when being in power consumption consumption less state, described network interface card inside has at least the partial logic circuit to be in closed condition.In addition, when in computing machine, having a plurality of network interface card, have at least a network interface card to be in power consumption in can guaranteeing at one time in the computing machine and consume less state, thereby can reduce the computing machine power consumption, embodied the theory of environmental protection, in addition, realization is simple, convenient, has brought operational facility to the user.
Description of drawings
Fig. 1 is a structural representation of the computing machine of the embodiment of the invention;
Fig. 2 is another structural representation of the computing machine of the embodiment of the invention;
Fig. 3 is the another structural representation of the computing machine of the embodiment of the invention;
Fig. 4 is a structural representation again of the computing machine of the embodiment of the invention;
Fig. 5 is the electrical block diagram of the comparer of the embodiment of the invention;
Fig. 6 is an electrical block diagram of the network interface card control module of the embodiment of the invention.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.
Be illustrated in figure 1 as a structural representation of the computing machine of the embodiment of the invention, described computing machine comprises:
At least one network interface card 100; Described at least one network interface card 100 has first state and second state, power consumed power consumed when being in described first state when described network interface card 100 is in second state;
Network interface card control module 200 is connected with described network interface card 100, is used for according to the default control signal, controls described network interface card 100 and switches to described second state from described first state.
In the foregoing description, can control described network interface card 100 and be in the lower state of power consumption consumption, therefore, can reduce the computing machine power consumption.
Described network interface card 100 comprises: when logical circuit, described network interface card 100 were in described first state, described logical circuit was in opening, and described network interface card 100 can operate as normal; When described network interface card 100 is in second state, have at least the partial logic circuit to be in closed condition, described have at least the partial logic circuit to be in closed condition to comprise two kinds of situations, a kind of is that whole logical circuits all are in closed condition, another kind is that a part of logical circuit is in closed condition, part logical circuit is in opening, and the logical circuit that is in closed condition will no longer consume the power consumption of described computing machine.
In order to guarantee the normal use of described network interface card 100, described network interface card control module 200 also needs to have the described network interface card 100 of control switches to described first state from described second state function.
In addition, also need to have all die change pieces in the described network interface card 100, with described network interface card control module 200 communications, when described first state switched to described second state, described handover module was closed the part or all of logical circuit of described network interface card inside at the described network interface card 100 of described network interface card control module 200 controls; When described second state switched to described first state, described handover module was opened the current logical circuit that is in closed condition at the described network interface card 100 of described network interface card control module 200 controls.Be understandable that described handover module need remain "on" position.
Suppose only have a network interface card 100 in the described computing machine, can be when not needing to use network interface card transmission data, when perhaps detecting described network interface card 100 and not being used for a long time, switch to described second state by the described network interface card 100 of described network interface card control module 200 controls from described first state, thereby reduce the power consumption of described computing machine.Also can be when needs use network interface card transmission data, switch to described first state by the described network interface card 100 of described network interface card control module 200 controls from described second state, at this moment, can also control described network interface card 100 simultaneously and insert corresponding network, with user friendly operation.
When in described computing machine, having a plurality of network interface card 100, because a plurality of network interface cards 100 can't be worked simultaneously, therefore, current at least one network interface card 100 that does not need to transmit data can be switched to described second state from described first state, have at least a network interface card 100 to be in described second state in a plurality of network interface cards 100 in promptly guaranteeing at one time, thereby can reduce the power consumption of described computing machine.
Suppose to have two network interface cards 100 in the described computing machine, for example, network interface card A and network interface card B, can be when needs use network interface card A transmission data, switch to described first state (certainly by described network interface card control module 200 control network interface card A, be in described first state if network interface card A is current, then need not to carry out blocked operation), network interface card B is switched to described second state.Also can when needs use network interface card B transmission data, switch to described first state from described second state, network interface card A is switched to described second state from described first state by described network interface card control module 200 control network interface card B.In addition, also can be when not needing to use any network interface card transmission data, control network interface card A simultaneously and network interface card B switches to described second state by described network interface card control module 200.
Suppose to have three network interface cards 100 in the described computing machine, for example, network interface card A, network interface card B and network interface card C can be when needs use network interface card A transmission data, switch to described first state by described network interface card control module 200 control network interface card A, control network interface card B and/or network interface card C switch to described second state.When needs use network interface card B transmission data, switch to described first state by described network interface card control module 200 control network interface card B from described second state, control network interface card A and/or network interface card C switch to described second state.In addition, also can be when not needing to use any network interface card transmission data, control network interface card A, network interface card B simultaneously and network interface card C switches to described second state by described network interface card control module 200.
When in described computing machine, having the network interface card more than three, described network interface card control module 200 can be controlled this a plurality of network interface card 100 residing states equally, and have at least a network interface card 100 to be in described second state in needing to guarantee at one time, the situation of its operating process and above-mentioned three network interface cards is similar, will describe no longer one by one at this.
In the above-described embodiments, described network interface card control module 200 can be controlled described network interface card 100 residing states in several ways, so that have at least a network interface card 100 to be in described second state at one time, will describe for example below.
First method is: store the current state information of described network interface card 100 and the corresponding relation of update mode information in advance, wherein, described update mode information middle finger was shown in the same time has at least a network interface card 100 to be in described second state in the described network interface card 100.When receiving a default control signal, can be according to above-mentioned stored relation, control described network interface card 100 and be in the state of indicating in the update mode information of current state information correspondence of described network interface card 100.
When adopting said method, described computing machine has structure as shown in Figure 2, is illustrated in figure 2 as another structural representation of the computing machine of the embodiment of the invention, and on the basis of embodiment shown in Figure 1, described network interface card control module 200 comprises:
First memory module 201, be used to store the current state information of described network interface card 100 and the corresponding relation of update mode information, wherein, described update mode information middle finger is shown in the same time and has at least a network interface card 100 to be in described second state in the described network interface card 100.The corresponding relation of the current state information of described network interface card 100 and update mode information can be set in advance by the user.
First acquisition module 202 is used for when getting access to described control signal, obtains the current state information of described network interface card 100;
Second acquisition module 203 is used for obtaining the update mode information of the current state information correspondence of described network interface card 100 according to the current state information of the described network interface card of storing 100 and the corresponding relation of update mode information;
First execution module 204 is used for controlling described network interface card 100 and is in the state that the update mode information that gets access to is indicated.
For example above-mentioned first method is elaborated below.
Below be the treatment scheme when only having a network interface card 100 in the described computing machine:
Step 1: suppose that the current state information of the described network interface card 100 that described first memory module 201 is stored and the corresponding relation of update mode information are: when the current state information of described network interface card 100 was " first state ", update mode information was " second state "; When the current state information at described network interface card 100 was " second state ", update mode information was " first state ";
Step 2: get access to described default control signal;
Step 3: the current state information of the described network interface card 100 that described first acquisition module 202 gets access to is " first state ";
Step 4: described second acquisition module 203 is according to the current state information of the described network interface card 100 of storage and the corresponding relation of update mode information, and the update mode information of obtaining the current state information correspondence of described network interface card 100 is " second state ";
Step 5: the described network interface card 100 of described first execution module, 204 controls switches to described second state from described first state.
In addition, in that described network interface card 100 is current when being in described second state, if described computing machine receives when being used to indicate needs to upgrade the default control signal of current state of described network interface card 100 once more, described second acquisition module 203 is according to the current state information of the described network interface card 100 of storage and the corresponding relation of update mode information, the update mode information that gets access to the current state information correspondence of described network interface card 100 is " first state ", at this moment, described first execution module 205 needs the described network interface card 100 of control to switch to described first state from described second state.
Below be the treatment scheme when having two network interface cards 100 (being assumed to be network interface card A and network interface card B) in the described computing machine:
Step 1: suppose that the current state information of described network interface card 100 of described first memory module 201 storage and the corresponding relation of update mode information are: at the current state information of described network interface card 100 is that network interface card A and network interface card B are when all being in described first state, update mode information is described first state for network interface card A is in, and network interface card B is in described second state; The current state information of described network interface card 100 for network interface card A is in described second state, when network interface card B was in described first state, update mode information is described second state for network interface card B is in, network interface card A is in described first state; The current state information of described network interface card 100 for network interface card B is in described second state, when network interface card A was in described first state, update mode information was that network interface card A and network interface card B all are in described second state; At the current state information of described network interface card 100 is network interface card A and network interface card B when all being in described second state, and update mode information is described second state for network interface card A is in, and network interface card B is in described first state;
Step 2: get access to described default control signal;
Step 4: the current state information of supposing the described network interface card 100 that described first acquisition module 202 gets access to is: network interface card A and network interface card B all are in described first state;
Step 5: described second acquisition module 203 is according to the current state information of the described network interface card 100 of storage and the corresponding relation of update mode information, obtain the update mode information of the current state information correspondence of described network interface card 100, be that network interface card A is in described second state, network interface card B is in described first state;
Step 6: described first execution module, 205 control network interface card A switch to described second state from described first state, and control network interface card B switches to described first state from described second state.
For the situation that has the network interface card more than three or three in the computing machine, its implementation and above-mentioned implementation are similar, describe no longer one by one at this.
Second method is: the corresponding relation of the update mode information of storage default control signal and described network interface card 100, wherein, the update mode information middle finger of described network interface card 100 is shown in the same time and has at least a network interface card 100 to be in described second state in the described network interface card 100.When getting access to described default control signal,, control described network interface card 100 and be in the state of indicating in the update mode information of described network interface card 100 of described default control signal correspondence according to above-mentioned stored relation.
When adopting said method, described computing machine has structure as shown in Figure 3, is illustrated in figure 3 as the another structural representation of the computing machine of the embodiment of the invention, and on the basis of embodiment shown in Figure 1, described network interface card control module 200 comprises:
Second memory module 205, be used to store the corresponding relation of the update mode information of default control signal and described network interface card 100, wherein, the update mode information middle finger of described network interface card 100 is shown in the same time and has at least a network interface card 100 to be in described second state in the described network interface card 100;
The 3rd acquisition module 206, be used for when the control signal that gets access to is described default control signal, according to the described default control signal of storage and the corresponding relation of the update mode information of described network interface card 100, obtain the update mode information of the described network interface card 100 of described control signal correspondence;
Second execution module 207 is used for controlling the state that update mode information that described network interface card 100 is in the described network interface card 100 of described control signal correspondence is indicated.
For example above-mentioned second method is elaborated below.
Below be the treatment scheme when only having a network interface card 100 in the described computing machine:
Step 1: the corresponding relation of supposing the update mode information of the default control signal of second memory module 205 storage and described network interface card 100 is: when the default control signal is first control signal, the update mode information of described network interface card 100 is " first state ", when described default control signal is second control signal, the update mode information of described network interface card 100 " second state ".
Step 2: when getting access to a control signal, judge whether described control signal is first control signal or second control signal;
Step 3: suppose that described control signal is first control signal, then described the 3rd acquisition module 206 is according to the corresponding relation of the update mode information of described default control signal of storing and described network interface card 100, and the update mode information that gets access to the described network interface card 100 of the described first control signal correspondence is " first state ";
Step 4: be in described second state if described network interface card 100 is current, the described network interface card 100 of described second execution module, 207 controls switches to described first state from described second state, certainly, in that described network interface card 100 is current when being in described first state, then do not need to carry out blocked operation.
In addition, when the control signal that gets access to is second control signal, described the 3rd acquisition module 206 is according to the corresponding relation of the update mode information of default control signal of storing and described network interface card 100, the update mode information that gets access to described network interface card 100 is " second state ", at this moment, be in described first state if described network interface card 100 is current, then described second execution module 207 needs the described network interface card 100 of control to switch to described second state from described first state, certainly, in that described network interface card 100 is current when being in described second state, then do not need to carry out blocked operation.
Below be the treatment scheme when having two network interface cards 100 (being assumed to be network interface card A and network interface card B) in the described computing machine:
Step 1: the corresponding relation of supposing the update mode information of the default control signal of described second memory module 205 storage and described network interface card 100 is: when the default control signal is first control signal, the update mode information of described network interface card 100 is described second state for network interface card A is in, and network interface card B is in described first state; When described default control signal was second control signal, the update mode information of described network interface card 100 is described second state for network interface card B is in, and network interface card A is in described first state; When described default control signal was the 3rd control signal, the update mode information of described network interface card 100 was that network interface card A and network interface card B all are in described second state;
Step 2: when getting access to a control signal, judge whether described control signal is first control signal, second control signal or the 3rd control signal;
Step 3: suppose that described control signal is first control signal, described the 3rd acquisition module 206 is according to the corresponding relation of the update mode information of described default control signal of storing and described network interface card 100, obtain the update mode information of the described network interface card 100 of the described first control signal correspondence, be that network interface card A is in described second state, network interface card B is in described first state;
Step 4: described second execution module, 207 control network interface card A switch to described second state, and network interface card B switches to described first state.
For the situation that has the network interface card 100 more than three or three in the computing machine, its disposal route and above-mentioned implementation are similar, describe no longer one by one at this.
Among the described embodiment of above-mentioned Fig. 2 and Fig. 3, described network interface card control module 200 all is when receiving a default control signal, just controls described network interface card 100 switching states, and therefore, described computing machine also needs to have the module of the described control signal of a generation.
Be illustrated in figure 4 as a structural representation again of the computing machine of the embodiment of the invention, on the basis of embodiment shown in Figure 1, described computing machine also comprises:
Trigger module 300 is used to produce described default control signal.
Described trigger module 300 can have various ways, will describe for example below.
Described trigger module 300 can be the specific button on the described computing machine, wherein, when described specific button is pressed, produces described default control signal.
To have two network interface cards 100 (being assumed to be network interface card A and network interface card B) in the described computing machine is example, and the realization principle of above-mentioned specific button is described.
The state that can adopt a button to finish network interface card A and network interface card B switches, concrete, can be set in this specific button when being pressed, produce a high level or low level as described default control signal, described network interface card control module 200 is when detecting the variation that has high-low level, obtain the current state information of described network interface card 100, and according to the current state information of the described network interface card of storing 100 and the corresponding relation of update mode information, obtain the update mode information of the current state information correspondence of described network interface card 100, thereby the state of control network interface card A and network interface card B switches.
In addition, also can adopt a plurality of buttons to finish the opening and closing of network interface card A and network interface card B, for example, adopt three buttons, when pressing first button, produce one first control signal, described network interface card control module 200 (is assumed to be network interface card A and is in described first state according to the update mode information of the described network interface card 100 of the described first control signal correspondence of storing in advance, network interface card B is in described second state), control network interface card A switches to described first state, network interface card B switches to described second state, and same principle can be when pressing second button, control network interface card A is in described second state, network interface card B is in described first state, and when pressing the 3rd button, control network interface card A and network interface card B are in described second state.
Perhaps, described trigger module 300 also can be the specific keys on the described computer keyboard, wherein, when described specific keys is pressed, produces described default control signal;
To have two network interface cards 100 (being assumed to be network interface card A and network interface card B) in the described computing machine is example, and the realization principle of above-mentioned specific button is described.
The state that can adopt a particular hot key (for example CTRL+F4) to finish network interface card A and network interface card B switches, concrete, when the user presses hot key " CTRL+F4 ", produce a keyboard signal as described default control signal, described network interface card control module 200 is detecting " CTRL+F4 " when being pressed, obtain the current state information of described network interface card 100, and according to the current state information of the described network interface card of storing 100 and the corresponding relation of update mode information, obtain the update mode information of the current state information correspondence of described network interface card 100, thereby the state of control network interface card A and network interface card B switches.
In addition, also can adopt a plurality of hot keys to finish the opening and closing of network interface card A and network interface card B, for example, adopt three hot keys, when pressing first hot key (for example " CTRL+F1 "), produce one first control signal, described network interface card control module 200 (is assumed to be network interface card A and is in described first state according to the update mode information of the described network interface card 100 of the described first control signal correspondence of storing in advance, network interface card B is in described second state), control network interface card A is in described first state, network interface card B is in described second state, and same principle can be when pressing second hot key (" CTRL+F2 "), control network interface card A is in described second state, network interface card B is in described first state, and when pressing the 3rd hot key (" CTRL+F3 "), control network interface card A and network interface card B are in described second state.
Or described trigger module 300 also can be the special icon on the software interface that moves on the described computing machine, wherein, when described special icon is triggered, produces described control signal.
When described network interface card 100 is wired network adapter,, then described network interface card 100 can be switched to described second state from described first state if the network interface card of described network interface card 100 correspondences is pulled out.At this moment, described trigger module 300 can comprise a detecting module, and whether the netting twine that is used to detect described network interface card correspondence exists is pulled out operation, exists when pulling out operation at the netting twine that detects described network interface card correspondence, produces described default control signal.
The user wishes usually after computing machine inserts netting twine, the automatic access network of network interface card meeting, after but the state that adopts the method control network interface card 100 of the embodiment of the invention switches, all network interface cards 100 in the computing machine are current may all be in closed condition the time, at this moment, if the user inserts netting twine, described network interface card 100 may not produce response, therefore, consider user's use habit, described detecting module can also be used to detect the slotting operation that whether has netting twine, and when detecting the slotting operation that has netting twine, produces one and switch control signal, described network interface card control module 200 can be according to described switch-over control signal, the network interface card 100 of controlling described netting twine correspondence switches to described first state from described second state, and in addition, the network interface card 100 that can also control described netting twine correspondence inserts corresponding network.
Described detecting module can adopt a comparer to realize, be illustrated in figure 5 as the electrical block diagram of the comparer of the embodiment of the invention, described comparer is connected with the netting twine socket by port 3, this port 3 is used to import a network signal level (LAN_CABLE_DETECT), the port 2 of described comparer connects a reference voltage, be used to import a reference voltage, the port one of described comparer is used to export a high-low level (DETECT_RESULT).When having the netting twine plug, the network signal level of netting twine spigot can produce height to be changed, and comparer compares this network signal level and reference voltage, and by high level of port one output or low level, is used for detecting the plug of netting twine.Described comparer can be transferred to described high-low level described network interface card control module 200, thereby the state of controlling described network interface card 100 switches.
In the foregoing description, suppose to have in the computing machine two network interface cards 100, the power consumption during each network interface card 100 operate as normal is 800mW, when the netting twine socket of described network interface card 100 correspondences is not inserted netting twine, its power consumption is 50mW, and two network interface cards 100 are all opened in the prior art, and total power consumption is 1600mW; In the embodiment of the invention, owing to have at least a network interface card 100 to be in described second state, therefore, total power consumption is 800mW or 0mW; When the netting twine socket of two network interface card 100 correspondences was not all inserted netting twine, also all there was power consumption in two network interface cards 100 in the prior art, and total power consumption is 100mW; In the embodiment of the invention, two network interface cards 100 all can be switched to described second state, can only keep a detecting module in work.The power of this detecting module is less, below 1mW, therefore, compared with prior art can save 99% power consumption usually.
The control module of network interface card described in the foregoing description 200 can be integrated on the mainboard of described computing machine, be illustrated in figure 6 as an electrical block diagram of the network interface card control module of the embodiment of the invention, computing machine described in Fig. 6 has two network interface cards (network interface card A and network interface card B), described network interface card control module is made up of a chipset (Chipset) and BIOS, described chipset has a general input port (GPI) and two general output ports (GPO1 and GPO2), suppose to adopt in the embodiment of the invention mode of specific button to trigger the state switching that described network interface card control module is controlled described network interface card A and network interface card B, at this moment, GPI on the described chipset is connected with described specific button, GPO1 is connected with network interface card A, and GPO2 is connected with network interface card B.The user is when pressing described specific button, can produce a high level or low level, the variation whether BIOS detecting GPI place produces high-low level, after the variation that detects GPI place generation high-low level, network interface card A and the current state information of network interface card B and the corresponding relation of update mode information according to storage decide the current state that needs network interface card to switch.Concrete, can export the state switching that corresponding level is controlled network interface card A and network interface card B by the GPO1 and the GPO2 of chipset, for example, level in GPO1 output is 1 (high level), when the level of GPO2 output is 0 (low level), representative needs control network interface card A to switch to described first state, and network interface card B switches to described second state; Level in GPO1 output is 0, and the level of GPO2 output is 1 o'clock, and representative needs control network interface card B to switch to described first state, and network interface card A switches to described second state.Chip at network interface card has a special pin (Disable pin), is connected with GPO1 or GPO2, and after network interface card received outside high-low level, internal logic circuit can be opened or close to network interface card automatically.
In the foregoing description, described chipset has two general output ports (GPO1 and GPO2), is used for connecting respectively network interface card A and network interface card B, certainly, when having more network interface cards in described computing machine, the general output port (GPO) that respective numbers only need be set on described chipset gets final product.
By the computing machine that the foregoing description provides, can control network interface card and be in power consumption consumption less state, when being in power consumption consumption less state, described network interface card inside has at least the partial logic circuit to be in closed condition.In addition, when in computing machine, having a plurality of network interface card, have at least a network interface card to be in power consumption in can guaranteeing at one time in the computing machine and consume less state, thereby can reduce the computing machine power consumption, embodied the theory of environmental protection, in addition, realization is simple, convenient, has brought operational facility to the user.
The embodiment of the invention also provides a kind of network interface card control module, be applied in the computing machine, described computing machine has at least one network interface card, described at least one network interface card has first state and second state, power consumed power consumed when being in described first state when described network interface card is in second state.
The structure of the network interface card control module 200 in described network interface card control module and the foregoing description is identical, is connected with described network interface card, is used for according to the default control signal, controls described network interface card and switches to described second state from described first state.
In the foregoing description, can control described network interface card and be in the lower state of power consumption consumption, therefore, can reduce the computing machine power consumption.
Described network interface card comprises: when logical circuit, described network interface card were in described first state, described logical circuit was in opening, and described network interface card can operate as normal; When described network interface card is in second state, have at least the partial logic circuit to be in closed condition, described have at least the partial logic circuit to be in closed condition to comprise two kinds of situations, a kind of is that whole logical circuits all are in closed condition, another kind is that a part of logical circuit is in closed condition, part logical circuit is in opening, and the logical circuit that is in closed condition will no longer consume the power consumption of described computing machine.
In order to guarantee the normal use of described network interface card, described network interface card control module also needs to have the described network interface card of control switches to described first state from described second state function.
In addition, also need to have all die change pieces in the described network interface card, with the communication of described network interface card control module, control described network interface card when described first state switches to described second state in described network interface card control module, described handover module is closed the part or all of logical circuit of described network interface card inside; Control described network interface card when described second state switches to described first state in described network interface card control module, described handover module is opened the current logical circuit that is in closed condition.Be understandable that described handover module need remain "on" position.
In the above-described embodiments, described network interface card control module can be controlled the residing state of described network interface card in several ways, so that have at least a network interface card to be in described second state at one time, will describe for example below.
First method is: store the current state information of described network interface card and the corresponding relation of update mode information in advance, wherein, described update mode information middle finger was shown in the same time has at least a network interface card to be in described second state in the described network interface card.When receiving a default control signal, can be according to above-mentioned stored relation, control described network interface card and be in the state of indicating in the update mode information of current state information correspondence of described network interface card.
When adopting said method, described network interface card control module comprises:
First memory module is used to store the current state information of described network interface card and the corresponding relation of update mode information, and wherein, described update mode information middle finger was shown in the same time has at least a network interface card to be in described second state in the described network interface card.The corresponding relation of the current state information of described network interface card and update mode information can be set in advance by the user.
First acquisition module is used for when getting access to described control signal, obtains the current state information of described network interface card;
Second acquisition module is used for obtaining the update mode information of the current state information correspondence of described network interface card according to the current state information of the described network interface card of storing and the corresponding relation of update mode information;
First execution module is used for controlling described network interface card and is in the state that the update mode information that gets access to is indicated.
Second method is: the corresponding relation of the update mode information of storage default control signal and described network interface card, wherein, the update mode information middle finger of described network interface card was shown in the same time has at least a network interface card to be in described second state in the described network interface card.When getting access to described default control signal,, control described network interface card and be in the state of indicating in the update mode information of described network interface card of described default control signal correspondence according to above-mentioned stored relation.
When adopting said method, described network interface card control module comprises:
Second memory module is used to store the corresponding relation of the update mode information of default control signal and described network interface card, and wherein, the update mode information middle finger of described network interface card was shown in the same time has at least a network interface card to be in described second state in the described network interface card;
The 3rd acquisition module, be used for when the control signal that gets access to is described default control signal, according to the described default control signal of storage and the corresponding relation of the update mode information of described network interface card, obtain the update mode information of the described network interface card of described control signal correspondence;
Second execution module is used for controlling the state that update mode information that described network interface card is in the described network interface card of described control signal correspondence is indicated.
By the network interface card control module that the foregoing description provides, can control network interface card and be in power consumption consumption less state, when being in power consumption consumption less state, described network interface card inside has at least the partial logic circuit to be in closed condition.In addition, when in computing machine, having a plurality of network interface card, have at least a network interface card to be in power consumption in can guaranteeing at one time in the computing machine and consume less state, thereby can reduce the computing machine power consumption, embodied the theory of environmental protection, in addition, realization is simple, convenient, has brought operational facility to the user.
The embodiment of the invention also provides a kind of network interface card control method, be applied in the computing machine, described computing machine has at least one network interface card, described at least one network interface card has first state and second state, power consumed power consumed when being in described first state when described network interface card is in second state.
Described network interface card control method may further comprise the steps:
Receive the default control signal;
According to described default control signal, control described at least one network interface card and switch to described second state from described first state.
In the foregoing description, can control described network interface card and be in the lower state of power consumption consumption, therefore, can reduce the computing machine power consumption.
Described network interface card comprises: when logical circuit, described network interface card were in described first state, described logical circuit was in opening, and described network interface card can operate as normal; When described network interface card is in second state, have at least the partial logic circuit to be in closed condition, described have at least the partial logic circuit to be in closed condition to comprise two kinds of situations, a kind of is that whole logical circuits all are in closed condition, another kind is that a part of logical circuit is in closed condition, part logical circuit is in opening, and the logical circuit that is in closed condition will no longer consume the power consumption of described computing machine.
In order to guarantee the normal use of described network interface card, described network interface card control method also needs to comprise: control described network interface card switches to described first state from described second state step.
In the above-described embodiments, can control the residing state of described network interface card in several ways,, will describe for example below so that have at least a network interface card to be in described second state at one time.
First method is: store the current state information of described network interface card and the corresponding relation of update mode information in advance, wherein, described update mode information middle finger was shown in the same time has at least a network interface card to be in described second state in the described network interface card.When receiving a default control signal, can be according to above-mentioned stored relation, control described network interface card and be in the state of indicating in the update mode information of current state information correspondence of described network interface card.
When adopting said method, described according to the default control signal, control described at least one network interface card and switch to described second state from described first state, also comprise before:
Store the current state information of described network interface card and the corresponding relation of update mode information, wherein, described update mode information middle finger was shown in the same time has at least a network interface card to be in described second state in the described network interface card;
Described according to the default control signal, control described at least one network interface card and switch to described second state from described first state, be specially:
When getting access to described default control signal, obtain the current state information of described network interface card;
According to the current state information of the described network interface card of storing and the corresponding relation of update mode information, obtain the update mode information of the current state information correspondence of described network interface card;
Control described network interface card and be in the state of indicating in the update mode information that gets access to.
Second method is: the corresponding relation of the update mode information of storage default control signal and described network interface card, wherein, the update mode information middle finger of described network interface card was shown in the same time has at least a network interface card to be in described second state in the described network interface card.When getting access to described default control signal,, control described network interface card and be in the state of indicating in the update mode information of described network interface card of described default control signal correspondence according to above-mentioned stored relation.
When adopting said method, described according to the default control signal, control described at least one network interface card and switch to described second state from described first state, also comprise before:
The corresponding relation of the update mode information of storage default control signal and described network interface card, wherein, the update mode information middle finger of described network interface card was shown in the same time has at least a network interface card to be in described second state in the described network interface card;
Described according to the default control signal, control described at least one network interface card and switch to described second state from described first state, be specially:
When getting access to described default control signal,, obtain the update mode information of the described network interface card of described default control signal correspondence according to the corresponding relation of the update mode information of the described default control signal of storage and described network interface card;
Control described network interface card and be in the state of indicating in the update mode information of described network interface card of described default control signal correspondence.
By the network interface card control method that the foregoing description provides, can control network interface card and be in power consumption consumption less state, when being in power consumption consumption less state, described network interface card inside has at least the partial logic circuit to be in closed condition.In addition, when in computing machine, having a plurality of network interface card, have at least a network interface card to be in power consumption in can guaranteeing at one time in the computing machine and consume less state, thereby can reduce the computing machine power consumption, embodied the theory of environmental protection, in addition, realization is simple, convenient, has brought operational facility to the user.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. a computing machine is characterized in that, comprising:
At least one network interface card, described at least one network interface card has first state and second state, power consumed power consumed when being in described first state when described network interface card is in second state;
The network interface card control module is connected with described network interface card, is used for according to the default control signal, controls described at least one network interface card and switches to described second state from described first state.
2. computing machine according to claim 1 is characterized in that, described network interface card comprises:
When logical circuit, described network interface card were in described first state, described logical circuit was in opening, when described network interface card is in second state, has at least the partial logic circuit to be in closed condition.
3. computing machine according to claim 1 and 2 is characterized in that, also comprises:
Trigger module is connected with described network interface card control module, is used to produce described default control signal.
4. computing machine according to claim 3 is characterized in that:
Described trigger module is the specific button on the described computing machine, wherein, when described specific button is pressed, produces described default control signal; Or
Described trigger module is the specific keys on the described computer keyboard, wherein, when described specific keys is pressed, produces described default control signal; Or
Described trigger module is the special icon on the software interface that moves on the described computing machine, wherein, when described special icon is triggered, produces described default control signal.
5. computing machine according to claim 3 is characterized in that, described network interface card is a wired network adapter, and described trigger module comprises:
Detecting module, whether the netting twine that is used to detect described network interface card correspondence exists is pulled out operation, exists when pulling out operation at the netting twine that detects described network interface card correspondence, produces described default control signal.
6. computing machine according to claim 1 is characterized in that, described network interface card control module comprises:
First memory module is used to store the current state information of described network interface card and the corresponding relation of update mode information, and wherein, described update mode information middle finger was shown in the same time has at least a network interface card to be in described second state in the described network interface card;
First acquisition module is used for obtaining the current state information of described network interface card when getting access to described default control signal;
Second acquisition module is used for obtaining the update mode information of the current state information correspondence of described network interface card according to the current state information of the described network interface card of storing and the corresponding relation of update mode information;
First execution module is used for controlling described network interface card and is in the state that the update mode information that gets access to is indicated.
7. computing machine according to claim 1 is characterized in that, described network interface card control module also comprises:
Second memory module is used to store the corresponding relation of the update mode information of default control signal and described network interface card, and wherein, the update mode information middle finger of described network interface card was shown in the same time has at least a network interface card to be in described second state in the described network interface card;
The 3rd acquisition module is used for when getting access to described default control signal, according to the corresponding relation of the update mode information of the described default control signal of storage and described network interface card, obtains the update mode information of the described network interface card of described default control signal correspondence;
Second execution module is used for controlling the state that update mode information that described network interface card is in the described network interface card of described default control signal correspondence is indicated.
8. network interface card control method, be applied in the computing machine, described computing machine has at least one network interface card, and described at least one network interface card has first state and second state, power consumed power consumed when being in described first state when described network interface card is in second state; It is characterized in that, may further comprise the steps:
Receive the default control signal;
According to described default control signal, control described at least one network interface card and switch to described second state from described first state.
9. network interface card control method according to claim 8 is characterized in that:
Described according to the default control signal, control described at least one network interface card and switch to described second state from described first state, also comprise before:
Store the current state information of described network interface card and the corresponding relation of update mode information, wherein, described update mode information middle finger was shown in the same time has at least a network interface card to be in described second state in the described network interface card;
Described according to the default control signal, control described at least one network interface card and switch to described second state from described first state, be specially:
When getting access to described default control signal, obtain the current state information of described network interface card;
According to the current state information of the described network interface card of storing and the corresponding relation of update mode information, obtain the update mode information of the current state information correspondence of described network interface card;
Control described network interface card and be in the state of indicating in the update mode information that gets access to.
10. network interface card control method according to claim 8 is characterized in that:
Described according to the default control signal, control described at least one network interface card and switch to described second state from described first state, also comprise before:
The corresponding relation of the update mode information of storage default control signal and described network interface card, wherein, the update mode information middle finger of described network interface card was shown in the same time has at least a network interface card to be in described second state in the described network interface card;
Described according to the default control signal, control described at least one network interface card and switch to described second state from described first state, be specially:
When getting access to described default control signal,, obtain the update mode information of the described network interface card of described default control signal correspondence according to the corresponding relation of the update mode information of the described default control signal of storage and described network interface card;
Control described network interface card and be in the state of indicating in the update mode information of described network interface card of described default control signal correspondence.
CN 200910237153 2009-11-06 2009-11-06 Computer and network card control method Active CN102053698B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910237153 CN102053698B (en) 2009-11-06 2009-11-06 Computer and network card control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910237153 CN102053698B (en) 2009-11-06 2009-11-06 Computer and network card control method

Publications (2)

Publication Number Publication Date
CN102053698A true CN102053698A (en) 2011-05-11
CN102053698B CN102053698B (en) 2013-02-13

Family

ID=43958098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910237153 Active CN102053698B (en) 2009-11-06 2009-11-06 Computer and network card control method

Country Status (1)

Country Link
CN (1) CN102053698B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446804A (en) * 2014-08-21 2016-03-30 联想(北京)有限公司 Software access point sharing method and electronic equipment
CN107395709A (en) * 2017-07-14 2017-11-24 郑州云海信息技术有限公司 The communication means and device of a kind of storage cluster
CN107453959A (en) * 2017-09-22 2017-12-08 郑州云海信息技术有限公司 The management method and its device of a kind of network interface card
CN109274611A (en) * 2018-08-14 2019-01-25 英业达科技有限公司 The method that baseboard management controller switches shared network protocol

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101013340A (en) * 2007-03-02 2007-08-08 中兴通讯股份有限公司 Method for reducing power consumption of wireless network interface card
CN101458556A (en) * 2007-12-14 2009-06-17 联想(北京)有限公司 Dynamic control method and device for network card power consumption and connection mode
CN101373399B (en) * 2008-09-22 2014-12-31 华硕电脑股份有限公司 Electronic device with mobile communication and control method thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446804A (en) * 2014-08-21 2016-03-30 联想(北京)有限公司 Software access point sharing method and electronic equipment
CN107395709A (en) * 2017-07-14 2017-11-24 郑州云海信息技术有限公司 The communication means and device of a kind of storage cluster
CN107453959A (en) * 2017-09-22 2017-12-08 郑州云海信息技术有限公司 The management method and its device of a kind of network interface card
CN109274611A (en) * 2018-08-14 2019-01-25 英业达科技有限公司 The method that baseboard management controller switches shared network protocol
CN109274611B (en) * 2018-08-14 2021-07-06 英业达科技有限公司 Method for switching sharing network protocol by baseboard management controller

Also Published As

Publication number Publication date
CN102053698B (en) 2013-02-13

Similar Documents

Publication Publication Date Title
CN105223858B (en) The switching on and shutting down control circuit of a kind of electronic equipment
US7447930B2 (en) USB control circuit for saving power and the method thereof
CN103150050B (en) Touch screen terminal and method of work thereof
CN101609440B (en) Bus system and method for recovering bus from lock state
CN100511089C (en) Clock switching circuit and method for switching clock signal
CN102064698A (en) Information device
CN102053698B (en) Computer and network card control method
CN101581964B (en) Computer system and peripheral equipment drive method
CN106095492A (en) The method for closing of a kind of application program and device
CN101782802A (en) Standby power-saving system and method for starting and disconnecting power supply of computer
CN102136791A (en) Power supply control circuit
CN113568855A (en) Low-cost PCIE hot plug multi-mode compatible device
CN106488019A (en) A kind of mobile terminal and the starting-up method of mobile terminal
CN108599530A (en) A kind of powering mode converter and powering mode conversion method
CN103996935B (en) A kind of energy-saving socket and control method thereof
CN102314194A (en) Portable computer
CN101873346B (en) Remote on-off control system
CN102455773A (en) Mobile storage device and energy conservation control method thereof
CN207780714U (en) A kind of display device and electronic equipment
WO2007005178A1 (en) Reduced complexity multifunction expansion card and method of operating the same
CN101677475B (en) Power management method, equipment and mobile terminal thereof
CN213751063U (en) Control device of serial communication bus and electronic equipment
CN102200822A (en) Starting-up circuit compatible with ATX (Advanced Technology Extended) power supply and AT (Advanced Technology) power supply and computer
JP3781607B2 (en) Interface selector
CN101221690A (en) Intelligent remote controller

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