CN102457851A - Network device with low power consumption and communication method thereof - Google Patents

Network device with low power consumption and communication method thereof Download PDF

Info

Publication number
CN102457851A
CN102457851A CN2010105267190A CN201010526719A CN102457851A CN 102457851 A CN102457851 A CN 102457851A CN 2010105267190 A CN2010105267190 A CN 2010105267190A CN 201010526719 A CN201010526719 A CN 201010526719A CN 102457851 A CN102457851 A CN 102457851A
Authority
CN
China
Prior art keywords
network equipment
data
unit
online partner
bag
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
CN2010105267190A
Other languages
Chinese (zh)
Other versions
CN102457851B (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.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor Corp
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 Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to CN201010526719.0A priority Critical patent/CN102457851B/en
Publication of CN102457851A publication Critical patent/CN102457851A/en
Application granted granted Critical
Publication of CN102457851B publication Critical patent/CN102457851B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses a network device with low power consumption and a communication method thereof. The network device with low power consumption comprises a dataflow calculating unit, a state machine unit and a power supply control unit, wherein the dataflow calculating unit is used for detecting a dataflow of the network device; the state machine unit is used for confirming a work mode of the network device according to the dataflow and generating an indicating signal; the power supply control unit is used for controlling a power consumption state of the network device according to the indicating signal; the state machine unit is used for confirming whether a pause frame is sent to an online partner by the network device according to the dataflow, thereby causing the online partner to temporarily stop transmitting a data within a pause period; and under the control of the power supply control unit, the network device works under an electricity-saving mode within the pause period.

Description

Low power consumption network equipment and its means of communication
Technical field
The present invention relates to a kind of network equipment and its means of communication, and be particularly related to a kind of power-saving network apparatus and its means of communication.
Background technology
Ethernet (Ethernet network) is widely used LAN (Local AreaNetwork) technology, in order to couple personal computer and LAN.In Ethernet, the base unit of transfer of data is a bag (packet).Switch (switch) is a widely used bridger (bridge) in LAN at present, and other bridger can be for example router (router) etc.
Switch comprises a plurality of ports (port), and these ports are coupled to personal computer, mobile computer or other bridger.After a certain port of switch was received bag, switch was selected the appropriate purpose port according to the destination address (destination address) in this bag, and this packet transfer is arrived this destination interface.
Under normal mode of operation, each port of switch must be monitored to have or not and received bag and handle the bag that is received, and these operations can cause energy resource consumption.Yet each port not necessarily all can be received bag at any time.Few even when not having at the bag flow, if switch still continues to prepare to receive bag, this will cause the waste of the energy.Network equipment at low discharge but maintain normal operation situation following time again, must be maintained at open state always.The actual reception data time of network equipment or transmit very of short duration of data time causes unnecessary energy waste but in fact.
So the embodiment of the invention proposes a kind of power-saving network apparatus, close or during battery saving mode, under the prerequisite that does not cause network congestion, realize effectively energy-conservation when itself and online partner (Link Partner) are in simultaneously.
Summary of the invention
The embodiment of the invention relates to a kind of low power consumption network equipment and its means of communication, and when data traffic reality was very low, network equipment notified online partner to suspend the transmission data, and network equipment gets into battery saving mode to save energy.
The embodiment of the invention relates to a kind of low power consumption network equipment and its means of communication, and when data traffic is actual when being 0, the time that network equipment is under the battery saving mode can dynamically be prolonged, so that more a step saves energy.
The embodiment of the invention relates to a kind of low power consumption network equipment and its means of communication; When network equipment is in battery saving mode; Even network equipment desires to send data to online partner; Network equipment can not be back to normal mode immediately, but just can get back to normal mode after waiting for one section " transmission wakes period up ", to guarantee that the period that network equipment is under the battery saving mode can be too not short.
According to an example of the present invention, a kind of network equipment of low power consumption is proposed, be applied in the network.This network equipment transmits data through this network and an online partner.This network equipment comprises: a flow computing unit, detect a data traffic of this network equipment; One state machine unit is coupled to this flow rate calculation unit, according to a mode of operation of this this network equipment of data traffic decision, and produces an index signal; And a power control unit, be coupled to this state machine unit, control a power consumption state of this network equipment according to this index signal.This state machine unit determines according to this data traffic whether this network equipment sends a pause frame to this online partner, makes this online partner suspend in period at a time-out and transmits data.In period, this this network equipment of power control unit control is operated in a battery saving mode at this time-out.
According to another example of the present invention, a kind of network communication method that is applied in the network equipment is proposed.This network equipment transmits data through a network and an online partner.This method comprises: a data traffic that detects this network equipment; According to a mode of operation of this this network equipment of data traffic decision, and produce an index signal; This index signal is in order to control a power consumption state of this network equipment; According to this data traffic, determine whether this network equipment sends a pause frame to this online partner, make this online partner suspend in period and transmit data at a time-out; And in period, control this network equipment and be operated in a battery saving mode at this time-out.
According to an example more of the present invention, a kind of network equipment is proposed, comprising: a flow computing unit, detect a data traffic of this network equipment; One state machine unit is coupled to this flow rate calculation unit, determines a mode of operation of this network equipment and produces an index signal according to this data traffic; And a power control unit, be coupled to this state machine unit, control a power consumption state of this network equipment according to this index signal.This state machine unit determines according to this data traffic whether this network equipment sends a pause frame.After this pause frame sends, this mode of operation of this state machine unit decision be a battery saving mode and this power control unit reduce this network equipment this power consumption state so that this network equipment is operated in this battery saving mode.
For letting the foregoing of the present invention can be more obviously understandable, hereinafter is special lifts embodiment, and cooperates appended graphicly, elaborates as follows:
Description of drawings
Fig. 1 illustrates the functional block diagram of the network equipment of the embodiment of the invention.
Fig. 2 illustrates the delivery status of state machine unit.
Fig. 3 A and Fig. 3 B illustrate the accepting state of state machine unit.
The dynamic prolongation that Fig. 4 illustrates the embodiment of the invention receives the power saving sketch map in period.
Fig. 5 illustrates the actual data rate and the energy resource consumption sketch map of known network device.
Fig. 6 illustrates according to the actual data rate of the network equipment of the embodiment of the invention and energy resource consumption sketch map.
[main element symbol description]
100: network equipment 110: state machine unit
120: power control unit 130: the bag receiving element
140: flow rate calculation unit 150: package transfer unit
160: pause frame generation unit 170: timing unit
180: core circuit 190: physical layer circuit
50: online partner 210~270,300~395: step
410: flow
Embodiment
The embodiment of the invention has proposed to be applicable to the power-saving mechanism of existing network equipment.According to flow control mechanism, network equipment can notify continuous network equipment in special time, not transmit bag (using the network equipment and all essential flow control mechanism of supporting of continuous network equipment thereof of present embodiment).Therefore network equipment can know clearly that continuous network equipment can transmit bag in which time and give ownly, and which can not transmit bag to oneself the time.When the network equipment that confirm to link to each other can not transmit bag, network equipment can get into battery saving mode (such as, PHY (physical layer circuit) is closed); May receive when bag, network equipment return to normal mode (such as, PHY is opened to receive bag).
Please refer to Fig. 1, it illustrates the functional block diagram of the network equipment of the embodiment of the invention at present.As shown in Figure 1, the network equipment 100 of the embodiment of the invention comprises: state machine unit (statemachine unit) 110, power control unit 120, bag receiving element 130, flow rate calculation unit (bit rate meter) 140, package transfer unit 150, pause frame (pause frame) generation unit 160 and timing unit 170.State machine unit 110, flow rate calculation unit 140, pause frame generation unit 160 are positioned at core circuit 180 with timing unit 170.Bag receiving element 130 is positioned at physical layer circuit 190 with 150 of package transfer units.Network equipment 100 is coupled to online partner 50, and being connected between online partner 50 and the network equipment 100 can be wired or wireless.The description of following each function square of explanation earlier.
The mode of operation that state machine unit 110 meetings come Control Network device 100 according to flow (bag quantities received and bag conveying capacity), for example: battery saving mode or normal mode.
After power control unit 120 is received the index signal of state machine unit 110, can or open the power-off that wraps receiving element 130 and package transfer unit 150.In other words, power control unit 120 closes or opens the power supply of physical layer circuit 190 according to the index signal of state machine unit 110.
When receiving the bag that is transmitted by online partner 50, bag receiving element 130 can be passed to flow rate calculation unit 140 with the data of packet length and carry out the data flow quantitative statistics, and the bag that will receive is passed to the upper strata circuit.
When network equipment 100 tendencies to develop sent bag to give online partner 50, the upper strata circuit can be delivered to package transfer unit 150 with ready bag.When receiving by the ready bag of upper strata circuit institute, package transfer unit 150 can be passed to flow rate calculation unit 140 with the data of packet length and carry out the data flow quantitative statistics, this bag is sent out to online partner 50 again.
After the index signal of receiving state machine unit 110; Pause frame generation unit 160 produces pause frame (pause frame) and suspends and remove frame (pause off frame); And send package transfer unit 150 to, to send out to online partner 50 via package transfer unit 150.
In addition, timing unit 170 starts a plurality of timers to carry out the function of timing according to the index signal of state machine unit 110.
Pause frame one temporary transient upper limit period of definition, in the time, online partner 50 stops to send bag and gives network equipment 100 in the temporary transient upper limit of this section.Behind temporary transient upper limit effluxion, or receive after the time-out that transmitted by network equipment 100 removes frame as online partner 50, online partner 50 could send and wrap to network equipment 100.Suspend the releasing frame and finish, can begin to transmit bag and give network equipment 100 in order to inform that online partner 50 suspends.
According to an embodiment, pause frame comprises: (a) destination address field (DAF), (b) source address field, (c) type field, (d) MAC control operation sign indicating number (MAC control opcode) field, (e) MAC Control Parameter (MAC control parameter) field, (f) reserve code field and (g) error checking field.
(a) destination address field (DAF): the destination address of record bag, its length is 6 bytes.
(b) source address field: write down the source address of this bag, its length is 6 bytes.
(c) type field: the type of expression bag, its length is 2 bytes.
(d) MAC control operation code field: 2 bytes of its length.
(e) MAC Control Parameter field: 2 bytes of its length.MAC Control Parameter Field Definition online partner 50 time (that is time out) of forbidding sending bag.If online partner receives 50 and arrived pause frame, in time out, if online partner wants to send bag, must temporarily there be bag in it in the formation (queue), waits for that could send bag after time out finishes gives network equipment 100.
(f) reserve code field: length is 42 bytes, and its value can be 0 entirely.
(g) error checking field: length is 4 bytes, the error checking that is used to wrap (errorcheck).
It is substantially the same in pause frame to suspend the form of removing frame, and difference is that the value of MAC Control Parameter field is 0.That is to say that after online partner 50 received time-out releasing frame, the value of finding its MAC Control Parameter field was 0, then online partner 50 just can transmit bag to network equipment 100 at once.
Network equipment 100 can learn whether online partner supports flow control through the ability of exchange physical layer.Pause frame has defined the time that online partner 50 forbids transmitting data.Therefore after sending pause frame, in the temporary transient time, network equipment 100 can be confirmed to receive the data that online partner 50 is transmitted, so network equipment 100 can get into battery saving mode and can not cause data to run off.Before time out finished, the network equipment will return to normal mode (can receive and transmit the state of bag).
The work of following description status machine unit 110.In the present embodiment, state machine unit 110 comprises receiving-end state machine unit and transmission end state machine unit.Because the receiving-end state and the transmission end state of network equipment 100 are independently; That is under battery saving mode, the interlock circuit that receives bag and the interlock circuit that transmits bag can be by power-offs independently.
When 50 of network equipment 100 and online partners' the speed of coupling be at a high speed (such as 1Gbps or more than) time; One of them will provide work clock (can be described as master clock device (clock master device)), and another then receives work clock (it can be described as from clock apparatus (clock slave device)).
If network equipment 100 comprises a plurality of ports, that is, a plurality of physical layer circuits 190, then state machine unit 110 can be controlled the reception and the delivery status of these different ports independently.
Please refer to Fig. 2, it illustrates the delivery status of state machine unit 110 at present.As shown in Figure 2, in step 210, confirm that earlier network equipment 100 and online partner 50 all support flow control.Because in the present embodiment, network equipment 100 is when getting into battery saving mode, and online partner 50 needs to suspend and transmits bag, runs off to avoid data, so network equipment 100 all will be supported flow control with online partner 50.In more detail, in step 210, confirm that online partner will have pause frame and the ability of suspending the releasing frame of receiving, in addition, the physical layer circuit 190 of network equipment 100 will have and have the transmission pause frame and suspend the ability of removing frame.Whether online partner 50 has receives pause frame and suspends the ability of removing frame and can learn through exchange physical layer ability by both party.
Then, in step 220, confirm whether network equipment 100 is suspended by online partner 50.In more detail, confirm whether the corresponding port that couples of network equipment 100 is suspended by online partner 50, this corresponding port that couples is to be coupled to online partner's 50.Network equipment 100 may be coupled to a plurality of online partners 50.Therefore, in the actual operation, state machine unit 110 will confirm that the corresponding of network equipment 100 (for example: physical layer circuit 190) whether suspended by online partner 50 couples port.If then flow process continues to step 240; If then flow process continues to step 230 not.
When network equipment 100 was not suspended by online partner 50, whether the transmission data traffic that flow rate calculation unit 140 will calculate in the present unit interval was lower than a transmission threshold value, shown in step 230.If the transmission data traffic in the present unit interval is lower than the transmission threshold value, then represent the transmission data traffic of network equipment 100 at this moment very low, then possibly be able to the delivery status of network equipment 100 be set as battery saving mode.
When network equipment 100 is suspended by online partner 50, represent the online partner 50 of this moment to be in battery saving mode, so network equipment 100 can not transmit bag and give online partner 50, that is present transmission bag amount is 0.
In step 240, check whether network equipment 100 will transmit bag and give online partner 50.If then flow process is back to step 220; If then flow process continues to step 250 not.
In step 250, network equipment 100 can get into and transmit battery saving mode.For example, state machine unit 110 can notice power control units 120, and power control unit 120 then controlling packet delivery unit 150 gets into battery saving modes or with the power-off of whole physical layer circuit 190.
In step 260, can check whether network equipment 100 has bag to transmit, and whether it is not suspended at present.If then flow process continues to step 270; If then the flow process repeating step 260 not.
In step 270, network equipment 100 can return to the transmission normal mode.Say that at length for example, state machine unit 110 can be notified power control unit 120, power control unit 120 then controlling packet delivery unit 150 is got back to normal mode.In addition, after the step 270, flow process can also continue to step 220.
Then, accepting state according to the embodiment of the invention is described.Please refer to Fig. 3 A and Fig. 3 B, it illustrates the accepting state of state machine unit 110 at present.In step 300, confirm that network equipment 100 and online partner 50 all support flow control.In more detail, in step 300, confirm that online partner 50 has pause frame and the ability of suspending the releasing frame of receiving, and the physical layer circuit of network equipment 100 to have and have the transmission pause frame and suspend the ability of removing frame.
In step 305, setup parameter i, such as, i=1.Parameter i relates to the length in reception power saving period of network equipment 100.
In step 310, judge whether the receiving data stream amount in the unit interval is lower than receive threshold.If then flow process continues to rapid 315; If then flow process is back to step 305 not.
In step 315, judge whether network equipment is in the transmission battery saving mode.If then flow process continues to step 320; If then flow process is back to step 305 not.The reason of execution in step 315 is, in network technology, gives online partner 50 if network equipment 100 sends a bag, and then online partner 50 may respond a bag.So,, just had bag to send out before then expressing possibility and possibly can receive respond packet in the short time if at present network equipment 100 is not in the transmission battery saving mode.So; In embodiments of the present invention; If under the situation of low receiving data stream amount, make network equipment 100 get at once and receive battery saving mode, then do not suspend under the situation about transmitting as yet online partner 50; Possible network equipment 100 will soon must be got back to normal receiving mode once again because receiving respond packet, and it is not good to cause power saving to improve degree.
Transmit under the battery saving mode if network equipment 100 is in, represent network equipment 100 can not receive respond packet (because network equipment 100 temporarily can not send bag), how long step 320~365 are at network equipment 100 in order to decision has the period that receives power saving.
In step 320, judge whether the reception data in the unit interval are 0.If then flow process continues to step 325; If then flow process continues to step 335 not.
In step 325, judge whether parameter i reaches the upper limit.If then flow process continues to step 340; If then flow process continues to step 330 not.In the present embodiment, receiving power saving period can be by dynamic prolongation.When parameter i has reached in limited time, represent the reception power saving of this moment to reach the upper limit period, can't continue increases again.
In step 330, because parameter i does not reach the upper limit, so the i value adds 1.The i value adds 1 representative and dynamically prolongs the power saving period of receiving.
In step 335, because the receiving data stream amount of unit interval is not 0, so parameter i will establish back 1 (default value).When parameter i was 1, representative received power saving and is set as minimum value period.
In step 340, network equipment 100 is got back to the transmission normal mode.
In step 345, network equipment 100 successfully sends pause frame and gives online partner 50.At this, " successfully sending pause frame " is meant, sends pause frame to behind the online partner 50 at network equipment 100, and online partner's 50 responses one bag is given network equipment 100.
In step 350, because successfully sending pause frame, network equipment 100 gives online partner 50, so network equipment 100 is got back to the transmission battery saving mode.
In step 355, network equipment 100 will be waited until " wait period " mistake.Because when network equipment 100 sends pause frame and gives online partner 50, online partner 50 maybe be also gives network equipment 100 transmitting other network data.So in the present embodiment, network equipment 100 can not just get into after sending pause frame and receive battery saving mode, causes data to run off otherwise network equipment 100 may not receive online partner's 50 present data that transmit at once.So network equipment 100 can be waited for one " wait period ", measure again whether online partner 50 is still transmitting data; If online partner 50 does not transmit data, represent online partner 50 to suspend and transmit data to network equipment 100 because receiving the relation of pause frame.
In step 360, judge whether online partner 50 is still transmitting data.If (do not represent online partner to suspend because receiving the relation of pause frame and transmit data to network equipment 100), then flow process continues to step 365; If (representing online partner's 50 present Bao Shangwei transmission to finish), then flow process is back to step 305.
In step 365, network equipment 100 gets into and receives battery saving mode, and, start " receive and economize electric timer ".Receive to economize electric timer and be and be used for timing network equipment 100 and be in and how long receive under the battery saving mode.Expire if " receive and economize electric timer ", represent the reception power saving of network equipment 100 to expire period, network equipment 100 will be got back to the reception normal mode.
In step 370, judge whether network equipment 100 need transmit data.If then flow process continues to step 375; If then flow process continues to step 380 not.
In step 375, network equipment 100 starts " transmission wakes timer up ".In the present embodiment, need to transmit data, can not get back to normal mode at once, but after " transmission wakes period up ", just can get back to normal mode if find network equipment 100.So, can guarantee each network equipment 100 after get into receiving battery saving mode, its power saving period is " transmission wakes period up " at least.After avoiding each entering to receive battery saving mode, network equipment 100 can will be got back to normal mode immediately because will transmit data just now at once, causes the power saving deterioration of efficiency.That is to say, in the present embodiment, receive under the battery saving mode,, then need wait until " transmission wakes period up ", just can get into the transmission normal mode and transmit data to after date if transmit data when getting into.
In step 380, judge whether " receive and economize electric timer " or " transmission wakes timer up " expire.If then flow process continues to step 385; If then flow process is back to step 370 not." receive economize electric timer " expire represent this reception power saving period to and also in this reception power saving period network equipment 100 all do not have data to transmit." transmission the wakes timer up " representative that expires though receiving under the battery saving mode, because network equipment 100 just in time need transmit data, is then waited until " transmission wakes period up " to after date, and network equipment 100 just can get into the transmission normal mode and transmit data.
In step 385, network equipment 100 is got back to the reception normal mode.In step 390, network equipment 100 is got back to the transmission normal mode.In step 395, network equipment 100 successfully sends to suspend removes frame (just, network equipment 100 sends time-out releasing frame and online partner 50 sends a respond packet), to let online partner 50 recover to transmit the ability of bag.In addition, after step 395, flow process also can be back to step 305.
After get into receiving battery saving mode, almost can close the most of circuit in the physical layer circuit 190 of network equipment 100, only stay a little and keep the necessary circuit of on line state.In the ordinary course of things, most of power consumption of physical layer circuit 190 is to receive interlock circuit, so the present invention can significantly reduce the power consumption that receives interlock circuit.
To explain that at present how present embodiment dynamically prolongs the power saving period of receiving.Please refer to Fig. 4, it illustrates dynamic prolongation and receives the power saving sketch map in period.In the present embodiment; When the Data Receiving amount in the unit interval of monitoring is 0, represent that the very low and online partner 50 of present data traffic may for a long time not send data, so; Can prolong reception power saving period next time, to promote energy-conservation usefulness.Certainly; Peaked words have been reached period if receive power saving at present; Though then the Data Receiving amount in the unit interval is 0; Reception power saving next time will can not be increased period, receive under the battery saving mode to avoid network equipment 100 unconfined being in, and have influence on the efficient that online partner 50 transmits data.If the Data Receiving amount in the unit interval is not 0, then the reception power saving of next time can be set as minimum value period.
As shown in Figure 4, ST1~the ST6 representative receives the power saving time, and on behalf of network equipment, hatched example areas be in the time under the normal mode.Such as, the hatched example areas representative wakes the required time of interior receiving data stream amount of the required time of the physical layer circuit of network equipment, the required time that sends pause frame and measurement unit's time up.ST 0Represent the 1st time reception power saving period, suppose that its length is 1T (T representative receives the power saving unit interval, and this moment i=1).Afterwards, the receiving data stream amount that measures is 0, therefore receives power saving ST in period the 2nd time 1~the 5th receives power saving ST in period 4Dynamically be extended for 2T~5T (i=2~5).Suppose on the i value, to be limited to 5 (so maximum receive power saving period be 5T), therefore, receive power saving ST in period the 6th time 5Can be maintained at 5T.Reception power saving ST in period at the 6th time 5After the end, measure flow 410 but its less than receive threshold RX TH, so, reception power saving ST in period next time 6Get back to minimum value (i=1).If flow is greater than receive threshold, then network equipment 100 will be got back to normal receiving mode as early as possible.
In embodiments of the present invention, the mode of operation of network equipment 100 can be divided into normal mode and battery saving mode.Under normal mode, the physical layer circuit 190 of network equipment 100 is opened, and this moment, network equipment 100 can be received and dispatched bag.Under battery saving mode; The physical layer circuit 190 of network equipment 100 operates with the low power consumption mode, and temporarily can't receive and dispatch bag this moment, yet; Not online still exist (that is online partner 50 can not think that network equipment 100 has broken) that online partner 50 and network equipment are 100.
Power saving effect for the explanation present embodiment please refer to Fig. 5 and Fig. 6 at present.Suppose that network equipment is 1Gbps with peak transfer rate between the online partner who links to each other, and the data rate between them is fixed as 256Mbps.
The actual data rate and the energy resource consumption of known network device are as shown in Figure 5.See data off but data traffic when low in online partner's 50 continuation, the known network device need continue to maintain the state (that is normal mode) that can receive and dispatch bag.So the energy-output ratio of known network device is bigger, and the most of the time is in low discharge, so the frequency range utilization rate is relatively poor.
The actual data rate and the energy resource consumption of the network equipment of present embodiment are as shown in Figure 6.The network equipment of present embodiment can alternately get into normal mode and battery saving mode; Under battery saving mode, network equipment operates with the power saving mode, does not at this moment receive data and does not also send data; When returning to normal mode by the time, just receive or send data.In addition; When network equipment 100 got into battery saving mode, online partner 50 will transmit if any data, and online partner 50 needs earlier data to be kept in; By the time online partner 50 receives after time-out that network equipment 100 sent removes frame, and online partner 50 just sees data off.So the network equipment energy-output ratio of present embodiment is less; And under normal mode, the frequency range utilization rate is preferable.
The power-saving network apparatus that the above embodiment of the present invention disclosed has carried out the flow rate calculation of network packet, and judges whether its flow is lower than a threshold value.When if flow is lower than this threshold value, makes online partner stop to send through the transmission pause frame to online partner and wrap, during this period, carried out the action of power saving.Wait to wrap time-out during after, network equipment carries out the work of normal mode again.Thus, can save network packet in low discharge unnecessary power consumption in period.
The power-saving network apparatus that the above embodiment of the present invention disclosed can be for for example being applied to the similar installation such as switch, router, bridger in the LAN.
The power-saving network apparatus that the above embodiment of the present invention disclosed has a plurality of advantages, below just lists and lifts the explanation of part advantage as follows:
1. do not need the particular design physical layer circuit: because most network equipment has been supported flow control mechanism; Use the network equipment of the embodiment of the invention and can control the flow of continuous network equipment, so do not need special physical layer design through flow control.
2. the above embodiment of the present invention proposes new electricity-saving mechanism, even network communication is normally down, and still effectively power saving.
In sum, though the present invention discloses as above with embodiment, so it is not in order to limit the present invention.Have common knowledge the knowledgeable under the present invention in the technical field and should be appreciated that and do not breaking away from the spirit and scope of the present invention, when doing various changes and retouching.Therefore, protection scope of the present invention should be looked the appending claims person of defining and is as the criterion.

Claims (15)

1. a network equipment is applied in the network, and said network equipment transmits data through a said network and an online partner, and said network equipment comprises:
One flow computing unit detects a data traffic of said network equipment;
One state machine unit is coupled to said flow rate calculation unit, determines a mode of operation of said network equipment according to said data traffic, and produces an index signal; And
One power control unit is coupled to said state machine unit, controls a power consumption state of said network equipment according to said index signal;
Wherein, said state machine unit determines according to said data traffic whether said network equipment sends a pause frame to said online partner, makes said online partner suspend in period at a time-out and transmits data; And at said time-out in period, said power control unit is controlled said network equipment and is operated in a battery saving mode.
2. network equipment according to claim 1 also comprises:
One bag receiving element is coupled to said flow rate calculation unit, and said bag receiving element receives bag from one and extracts reception packet length data and pass to said flow rate calculation unit, and said reception bag sends said network equipment to by said online partner.
3. network equipment according to claim 2 also comprises:
One package transfer unit is coupled to said flow rate calculation unit, and said package transfer unit transmits bag from one and extracts transmission packet length data and pass to said flow rate calculation unit, and said transmission bag sends said online partner to by said network equipment.
4. network equipment according to claim 3 also comprises:
One pause frame generation unit is coupled to said state machine unit and said package transfer unit, and said pause frame generation unit produces said pause frame and and suspends the releasing frame, and sends said online partner to via said package transfer unit.
5. network equipment according to claim 4, wherein:
When said data traffic was lower than a transmission threshold value, according to the said index signal of said state machine unit, said power control unit was closed said package transfer unit.
6. network equipment according to claim 4, wherein:
When said data traffic is lower than a receive threshold; Said state machine unit is controlled said pause frame generation unit to produce said pause frame; Said pause frame defines said time-out period; And according to the said index signal of said state machine unit, said power control unit is closed said bag receiving element.
7. network equipment according to claim 6, wherein:
When said data traffic is actual when being 0, said state machine unit dynamically prolongs one of said network equipment and receives power saving period.
8. network equipment according to claim 6, wherein:
When said data traffic is not 0 and when being lower than said receive threshold, be a minimum value said reception power saving period that said state machine unit is controlled said network equipment.
9. network equipment according to claim 8, wherein:
After sending said pause frame, if the paused transmission data of said online partner are given network equipment, then said network equipment gets into one and receives battery saving mode, and the said reception power saving period of picking up counting; And said reception power saving period to after date, said network equipment just returns to said normal mode, and sends said time-out and remove frame and give said online partner, to allow said online partner said network equipment is transmitted data.
10. network equipment according to claim 9, wherein:
When said network equipment was in said reception battery saving mode, if said network equipment tendency to develop send data to give said online partner, then said network equipment started one and transmits and wake timer up; And waking timer up to after date in said transmission, said network equipment just returns to said normal mode, and sends said time-out and remove frame and give said online partner, to allow said online partner said network equipment is transmitted data.
11. a network communication method is applied in the network equipment, said network equipment transmits data through a network and an online partner, and said method comprises:
Detect a data traffic of said network equipment;
Determine a mode of operation of said network equipment according to said data traffic, and produce an index signal;
Said index signal is in order to control a power consumption state of said network equipment;
According to said data traffic, determine whether said network equipment sends a pause frame to said online partner, make said online partner suspend in period and transmit data at a time-out; And
, control said network equipment and be operated in a battery saving mode in period at said time-out.
12. method according to claim 11, wherein, the said step that detects the said data traffic of said network equipment comprises:
Receive bag from one and extract reception packet length data to detect the said data traffic of said network equipment, said reception bag sends said network equipment to by said online partner.
13. method according to claim 12, wherein, the said step that detects the said data traffic of said network equipment comprises:
Transmit bag from one and extract transmission packet length data to detect the said data traffic of said network equipment, said transmission bag sends said online partner to by said network equipment.
14. method according to claim 13 also comprises:
When said data traffic is lower than a transmission threshold value, controls said network equipment and get into a transmission battery saving mode.
15. method according to claim 14, wherein:
When said data traffic is lower than a receive threshold, produces said pause frame and define said time-out period for said online partner, said pause frame.
CN201010526719.0A 2010-10-29 2010-10-29 Network device with low power consumption and its means of communication Active CN102457851B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010526719.0A CN102457851B (en) 2010-10-29 2010-10-29 Network device with low power consumption and its means of communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010526719.0A CN102457851B (en) 2010-10-29 2010-10-29 Network device with low power consumption and its means of communication

Publications (2)

Publication Number Publication Date
CN102457851A true CN102457851A (en) 2012-05-16
CN102457851B CN102457851B (en) 2016-04-13

Family

ID=46040402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010526719.0A Active CN102457851B (en) 2010-10-29 2010-10-29 Network device with low power consumption and its means of communication

Country Status (1)

Country Link
CN (1) CN102457851B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103002494A (en) * 2012-12-25 2013-03-27 上海寰创通信科技股份有限公司 Device and method for energy-saving control of household long term evolution (LET) router
CN103490993A (en) * 2012-06-13 2014-01-01 中兴通讯股份有限公司 Home gateway and energy-saving method thereof
CN104378809A (en) * 2013-08-15 2015-02-25 华为终端有限公司 Power loss lowering method, Wi-Fi main controller and Wi-Fi gateway
CN104484308A (en) * 2014-11-18 2015-04-01 瑞昱半导体股份有限公司 Control method applied to operating mode finite-state machine and computer readable medium
CN105323114A (en) * 2014-07-31 2016-02-10 宇龙计算机通信科技(深圳)有限公司 Routing equipment and state adjustment method
CN106033252A (en) * 2015-03-11 2016-10-19 瑞昱半导体股份有限公司 A three-way handshaking method and computer readable media
US9824055B2 (en) 2014-11-07 2017-11-21 Realtek Semiconductor Corp. Control method applied to operating-mode finite-state-machine and computer readable media
CN113225261A (en) * 2021-04-23 2021-08-06 微网优联科技(成都)有限公司 Network flow transmission-based timing starting method for router

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6628613B1 (en) * 1998-10-12 2003-09-30 Samsung Electronics Co. Ltd Flow control method in packet switched network
EP2028894A1 (en) * 2007-07-20 2009-02-25 High Tech Computer Corp. Methods for handling measurement reports in a wireless communication system
CN101458556A (en) * 2007-12-14 2009-06-17 联想(北京)有限公司 Dynamic control method and device for network card power consumption and connection mode
CN101547503A (en) * 2008-03-28 2009-09-30 瑞昱半导体股份有限公司 Power managing method of wireless network apparatus and power manager thereof
CN101572610A (en) * 2008-04-28 2009-11-04 鸿富锦精密工业(深圳)有限公司 Network device and method for switching working modes thereof
TW200947951A (en) * 2008-05-02 2009-11-16 Hon Hai Prec Ind Co Ltd Network device and working mode switching method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6628613B1 (en) * 1998-10-12 2003-09-30 Samsung Electronics Co. Ltd Flow control method in packet switched network
EP2028894A1 (en) * 2007-07-20 2009-02-25 High Tech Computer Corp. Methods for handling measurement reports in a wireless communication system
CN101458556A (en) * 2007-12-14 2009-06-17 联想(北京)有限公司 Dynamic control method and device for network card power consumption and connection mode
CN101547503A (en) * 2008-03-28 2009-09-30 瑞昱半导体股份有限公司 Power managing method of wireless network apparatus and power manager thereof
CN101572610A (en) * 2008-04-28 2009-11-04 鸿富锦精密工业(深圳)有限公司 Network device and method for switching working modes thereof
TW200947951A (en) * 2008-05-02 2009-11-16 Hon Hai Prec Ind Co Ltd Network device and working mode switching method thereof

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103490993A (en) * 2012-06-13 2014-01-01 中兴通讯股份有限公司 Home gateway and energy-saving method thereof
CN103002494A (en) * 2012-12-25 2013-03-27 上海寰创通信科技股份有限公司 Device and method for energy-saving control of household long term evolution (LET) router
CN103002494B (en) * 2012-12-25 2018-09-25 上海寰创通信科技股份有限公司 A kind of energy-saving control device and method of household LTE router
CN104378809A (en) * 2013-08-15 2015-02-25 华为终端有限公司 Power loss lowering method, Wi-Fi main controller and Wi-Fi gateway
CN105323114A (en) * 2014-07-31 2016-02-10 宇龙计算机通信科技(深圳)有限公司 Routing equipment and state adjustment method
US9824055B2 (en) 2014-11-07 2017-11-21 Realtek Semiconductor Corp. Control method applied to operating-mode finite-state-machine and computer readable media
CN104484308A (en) * 2014-11-18 2015-04-01 瑞昱半导体股份有限公司 Control method applied to operating mode finite-state machine and computer readable medium
CN104484308B (en) * 2014-11-18 2017-12-26 瑞昱半导体股份有限公司 Control method applied to operator scheme finite state machine
CN106033252A (en) * 2015-03-11 2016-10-19 瑞昱半导体股份有限公司 A three-way handshaking method and computer readable media
CN113225261A (en) * 2021-04-23 2021-08-06 微网优联科技(成都)有限公司 Network flow transmission-based timing starting method for router

Also Published As

Publication number Publication date
CN102457851B (en) 2016-04-13

Similar Documents

Publication Publication Date Title
CN102457851A (en) Network device with low power consumption and communication method thereof
CN101945120B (en) Energy-saving mining multimedia emergency rescue communication system
CN102204390B (en) Interim PHY solution for LPI compatibility with legacy devices
CN102684904B (en) The system and method for dynamic management power in communication system
US8761137B2 (en) Communication apparatus
CN101640643B (en) Method for energy efficient Ethernet and physical layer equipment for enery efficient ethernet
JP5301032B2 (en) Method, apparatus and system for controlling access point
CN101789877B (en) A kind of method and system that builds network
EP2621127B1 (en) Method for achieving low power consumption of data exchange equipment and apparatus thereof, and data exchange equipment
CN102171972A (en) Power consumption management in a network device
TWI517628B (en) Low power consumption network device and communication method thereof
CN101820349B (en) Power saving in IEEE 802-style networks
CN102096649B (en) UART-based sleep wakeup method and device
CN102833127B (en) There is the efficiency Ethernet of asymmetric low power idle
CN104540200A (en) Discontinuous reception/transmission for mobile communication system
CN101458556A (en) Dynamic control method and device for network card power consumption and connection mode
CN106559737A (en) Bluetooth operating mode switching control method and device
EP2903206B1 (en) Method for waking up a distant device from a local device.
CN102970149A (en) Energy efficiency Ethernet with low power active idle transmission mode
TW201324175A (en) Universal Serial Bus device and method for power management
CN103118421A (en) Method and device for reducing power consumption of terminal
CN106550438A (en) Limit method and system, the mobile device of periodic wakeup
CN104917921B (en) Information processing equipment and its control method
CN104348523B (en) Data transmission method for wireless sensor node
CN103634885B (en) A kind of identification card and operation method thereof

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