CN101425906A - Method for implementing energy saving of Ethernet switch device and Ethernet switch device therefor - Google Patents
Method for implementing energy saving of Ethernet switch device and Ethernet switch device therefor Download PDFInfo
- Publication number
- CN101425906A CN101425906A CNA200810218255XA CN200810218255A CN101425906A CN 101425906 A CN101425906 A CN 101425906A CN A200810218255X A CNA200810218255X A CN A200810218255XA CN 200810218255 A CN200810218255 A CN 200810218255A CN 101425906 A CN101425906 A CN 101425906A
- Authority
- CN
- China
- Prior art keywords
- port
- counter
- operating rate
- energy
- conservation
- 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
Links
Images
Abstract
The invention relates to a method for realizing energy saving through Ethernet network exchange equipment, and Ethernet network equipment thereof. The exchange equipment is composed of an exchange chip, a processor and a physical layer chip, wherein the exchange chip is composed of at least one port; and each port is provided with a counter. The method comprises the steps as follows: at first, setting a port which needs energy saving, conditions of working speed change and the working speed which accords to the conditions; then, clearing the value of a counter corresponding to the port which needs energy saving, and accounting the receiving and sending bags of the port which needs energy saving; periodically reading the value of the counter corresponding to the port which needs energy saving, and comparing the value to the set conditions; and if the value accords to the conditions, the working speed of a corresponding port is collocated into the working speed which accords to the conditions. The invention saves electric power consumption, reduces the operation cost of the equipment, and is suitable for the Ethernet network exchange equipment of various working speeds.
Description
Technical field
The present invention relates to data communication field, relate in particular to a kind of realization ethernet switching device method for saving energy and ethernet switching device.
Background technology
Along with the development of Ethernet (Ethernet) technology, its operating rate is brought up to present 10G by initial 10M, makes Ethernet not only can satisfy the demand of local area network (LAN), and can bear the construction of extensive long-range network such as wide area network and metropolitan area network.Ethernet switching device is also more and more universal in networking, and internet (Internet) is gone up nearly all information all from interconnective Ethernet at present.
High more its desired power of the operating rate of Ethernet is also just high more.And the Ethernet in the reality such as a lot of local area network (LAN)s and be set to the server that whole day is awaited orders, all is in idle condition in the most of the time, only has the flow of several seconds or several hrs bigger.The existing Ethernet switching equipment all has more than a kind of operating rate usually, after the link of their ports is set up, will keep a certain special speed work, is generally the total flank speed of both link ends.Even under the very low situation of data traffic, Ethernet may still keep higher operating rate, if ethernet switching device keeps very high operating rate always, its utilance is reduced, and can cause waste of electric energy.
Summary of the invention
Technical problem to be solved by this invention is a kind of realization ethernet switching device method for saving energy to be provided, and to provide a kind of ethernet switching device of realizing described method, the present invention to be easy to realize flexible operation.
A kind of ethernet switching device comprises exchange chip, processor and physical chip, and described exchange chip comprises at least one port, and each port all has a counter, and described counter is used for adding up its corresponding port transmitting-receiving bag number;
Condition that described processor is used for being provided with needs energy-conservation port, change operating rate and the operating rate when eligible; The value of the counter of each port correspondence of zero clearing; Periodically read the value of described counter; Judge whether described counter corresponding port meets the condition that changes operating rate; And be that it disposes new operating rate when port meets the condition that changes operating rate.
Described processor also is used for being provided with the cycle of the counter that reads the energy-conservation port correspondence of described needs.
A kind of realization ethernet switching device method for saving energy may further comprise the steps:
Step 1: the condition that needs energy-conservation port, change operating rate and the operating rate when eligible are set;
Step 2: the value of the counter of the port correspondence that the described needs of zero clearing are energy-conservation, and add up the transmitting-receiving bag number of the energy-conservation port of described needs;
Step 3: the value that periodically reads the counter of the energy-conservation port correspondence of described needs, and compare with the condition of described step 1 setting, if meet described condition, then the operating rate of corresponding port is configured to described operating rate when eligible, execution in step two; Otherwise, direct execution in step two.
Described step 1 also comprises: the cycle that the counter that reads the energy-conservation port correspondence of described needs is set.
Compared with prior art, the present invention judges by the count results of the counter of exchange chip whether port needs to change operating rate, and when eligible, the operating rate of corresponding port is arranged to suitable value, thereby realized the energy-conservation of ethernet switching device, save power consumption, reduced the operation cost of equipment.
The method of the invention is applicable to the ethernet switching device with multiple operating rate.
Description of drawings
Fig. 1 is a switching equipment structured flowchart of the present invention;
Fig. 2 is a method flow diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing and preferred embodiment the present invention is described in further details.
As shown in Figure 1, switching equipment of the present invention comprises with lower module:
Exchange chip A: mainly be responsible for the forwarding of packet between the port, comprise a port at least, each port all has a counter, and described counter is used for adding up the quantity of its corresponding port transmitting-receiving bag; In the present embodiment, this chip has two ports, is respectively port one and port 2, and counter 1 is corresponding with port one, and counter 2 is corresponding with port 2.
Processor B: be used for being provided with the cycle that needs energy-conservation port, reads the counter of the energy-conservation port correspondence of described needs, the condition that changes operating rate and the operating rate when eligible; Periodically read the statistics of described counter; Judge whether described counter corresponding port meets the condition that changes operating rate; And be that it disposes new operating rate when port meets the condition that changes operating rate.
Physical chip C: being mainly provides interface being connected of exchange chip and physical transmission medium, in the present embodiment, because two ports are arranged, so two physical chips are also arranged, is respectively: C1, C2.
As shown in Figure 2, it is the flow chart of the method for the invention, the method of the invention is applicable to the ethernet switching device with multiple operating rate, in conjunction with Fig. 1, in the present embodiment, establish ethernet switching device and have three kinds of operating rates, be respectively V1 from high to low, V2 and V3,, specifically comprise the steps:
S01: being provided with needs energy-conservation port in the switching equipment: be port one;
S02: the cycle of reading counter 1 is set;
S03: port one is set changes the condition of operating rate and the operating rate when eligible; As the value N of the counter 1 that reads during more than or equal to N1, and the work at present speed of port one is not equal to V1, and the operating rate of port one is configured to V1; When N less than N1 during more than or equal to N2, and the work at present speed of port one is not equal to V2, and the operating rate of port one is configured to V2; As N during less than N2, and the work at present speed of port one is not equal to V3, and the operating rate of port one is configured to V3;
S04: the transmitting-receiving bag number that begins to add up port one after the value of zero clearing counter 1;
S05: processor periodically reads the value N of counter 1;
S06: the size of N and described N1, N2 relatively, as if N more than or equal to N1, execution in step S07 then; If N less than N1 more than or equal to N2, execution in step S08 then; If N is less than N2, execution in step S09 then;
S07: processor judges whether the current operating rate of port one is V1, if, execution in step S04 then; Otherwise, carry out S10;
S08: processor judges whether the current operating rate of port one is V2, if, execution in step S04 then; Otherwise, carry out S11;
S09: processor judges whether the current operating rate of port one is V3, if, execution in step S04 then; Otherwise, carry out S12;
S10: the operating rate of port one is configured to V1, execution in step S04;
S11: the operating rate of port one is configured to V2, execution in step S04;
S12: the operating rate of port one is configured to V3, execution in step S04.
Claims (4)
1, a kind of ethernet switching device comprises exchange chip, processor and physical chip, and described exchange chip comprises at least one port, and each port all has a counter, and described counter is used for adding up its corresponding port transmitting-receiving bag number; It is characterized in that,
Condition that described processor is used for being provided with needs energy-conservation port, change operating rate and the operating rate when eligible; The value of the counter of each port correspondence of zero clearing; Periodically read the value of described counter; Judge whether described counter corresponding port meets the condition that changes operating rate; And be that it disposes new operating rate when port meets the condition that changes operating rate.
2, ethernet switching device as claimed in claim 1 is characterized in that, described processor also is used for being provided with the cycle of the counter that reads the energy-conservation port correspondence of described needs.
3, a kind of realization ethernet switching device method for saving energy is characterized in that, may further comprise the steps:
Step 1: the condition that needs energy-conservation port, change operating rate and the operating rate when eligible are set;
Step 2: the value of the counter of the port correspondence that the described needs of zero clearing are energy-conservation, and add up the transmitting-receiving bag number of the energy-conservation port of described needs;
Step 3: the value that periodically reads the counter of the energy-conservation port correspondence of described needs, and compare with the condition of described step 1 setting, if meet described condition, then the operating rate of corresponding port is configured to described operating rate when eligible, execution in step two; Otherwise, direct execution in step two.
4, realization ethernet switching device method for saving energy as claimed in claim 3 is characterized in that described step 1 also comprises: the cycle that the counter that reads the energy-conservation port correspondence of described needs is set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810218255XA CN101425906B (en) | 2008-12-05 | 2008-12-05 | Method for implementing energy saving of Ethernet switch device and Ethernet switch device therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810218255XA CN101425906B (en) | 2008-12-05 | 2008-12-05 | Method for implementing energy saving of Ethernet switch device and Ethernet switch device therefor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101425906A true CN101425906A (en) | 2009-05-06 |
CN101425906B CN101425906B (en) | 2012-07-04 |
Family
ID=40616262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810218255XA Active CN101425906B (en) | 2008-12-05 | 2008-12-05 | Method for implementing energy saving of Ethernet switch device and Ethernet switch device therefor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101425906B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102497287A (en) * | 2011-12-12 | 2012-06-13 | 盛科网络(苏州)有限公司 | Method and system for realizing energy-saving statistics in Ethernet switching chip |
CN105812208A (en) * | 2016-05-06 | 2016-07-27 | 烽火通信科技股份有限公司 | Multipoint service performance statistic method and system in frame type data communication device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105072055B (en) * | 2015-09-17 | 2018-05-11 | 北京博维亚讯技术有限公司 | A kind of Ethernet switch and its port polling system, polling method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101252520B (en) * | 2008-03-10 | 2010-09-08 | 中兴通讯股份有限公司 | Method for saving energy of Ethernet switch and Ethernet switch |
-
2008
- 2008-12-05 CN CN200810218255XA patent/CN101425906B/en active Active
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102497287A (en) * | 2011-12-12 | 2012-06-13 | 盛科网络(苏州)有限公司 | Method and system for realizing energy-saving statistics in Ethernet switching chip |
CN105812208A (en) * | 2016-05-06 | 2016-07-27 | 烽火通信科技股份有限公司 | Multipoint service performance statistic method and system in frame type data communication device |
CN105812208B (en) * | 2016-05-06 | 2019-10-11 | 烽火通信科技股份有限公司 | The performance accounting method and system of a kind of multipoint service in frame datacom device |
Also Published As
Publication number | Publication date |
---|---|
CN101425906B (en) | 2012-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101802753B (en) | Buffering techniques for power management | |
CN101984573B (en) | Method and system for distributed realization of LACP standard state machine | |
CN102684904B (en) | The system and method for dynamic management power in communication system | |
CN102160252B (en) | Method and apparatus for increasing the number of powered devices supported by power over Ethernet system | |
CN101946468B (en) | Constrained dynamic path selection among multiple available communication interfaces | |
CN101980476B (en) | Warm backup method and network equipment | |
CN102118277A (en) | Method and device for packet loss detection, and a router | |
CN101610212A (en) | Realize the method and the integrated circuit board of reliable data plane communication | |
CN103004132B (en) | Use microplate for the technology of Clock gating | |
CN101425906B (en) | Method for implementing energy saving of Ethernet switch device and Ethernet switch device therefor | |
CN102754390B (en) | Method, network device and system for ethernet ring protection switching | |
CN101610143B (en) | Protection method, system and device of link data | |
CN209182816U (en) | A kind of trigger-type dual redundant network | |
CN101035343B (en) | Multi-mode mobile phone | |
CN104836681A (en) | Multi-link binding data distribution method and device | |
CN103580923B (en) | Software deploying method and device | |
CN101465810B (en) | Method, device and system for controlling chip energy consumption | |
CN109542823A (en) | A kind of trigger-type dual redundant network and its application method | |
CN104411002A (en) | Data transmission control method and terminal | |
CN101848162A (en) | Device and method for transmitting Ethernet data | |
CN103327583A (en) | Power saving method and related mobile device | |
CN101478487A (en) | Control method and apparatus for Ethernet exchange device working rate | |
CN101360050B (en) | Method and apparatus setting flow control mode | |
CN101635683A (en) | Method and device for transmitting service based on link aggregation | |
US9425984B2 (en) | System and method for using energy efficient ethernet to control energy efficiencies in lower layers |
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 |