CN101425906B - 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 PDF

Info

Publication number
CN101425906B
CN101425906B CN200810218255XA CN200810218255A CN101425906B CN 101425906 B CN101425906 B CN 101425906B CN 200810218255X A CN200810218255X A CN 200810218255XA CN 200810218255 A CN200810218255 A CN 200810218255A CN 101425906 B CN101425906 B CN 101425906B
Authority
CN
China
Prior art keywords
port
counter
operating rate
energy
needs
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.)
Active
Application number
CN200810218255XA
Other languages
Chinese (zh)
Other versions
CN101425906A (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.)
ZTE Corp
Original Assignee
ZTE 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 ZTE Corp filed Critical ZTE Corp
Priority to CN200810218255XA priority Critical patent/CN101425906B/en
Publication of CN101425906A publication Critical patent/CN101425906A/en
Application granted granted Critical
Publication of CN101425906B publication Critical patent/CN101425906B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

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

A kind of realization ethernet switching device method for saving energy and ethernet switching device
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 possibly 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 said 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 said exchange chip comprises at least one port, and each port all has a counter, and said counter is used for adding up its corresponding port transmitting-receiving bag number;
Condition that said 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 that each port of zero clearing is corresponding; Periodically read the value of said counter; Judge whether said 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.
Said processor also is used for being provided with the cycle of reading the corresponding counter of the energy-conservation port of said 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 that the energy-conservation port of the said needs of zero clearing is corresponding, and add up the transmitting-receiving bag number of the energy-conservation port of said needs;
Step 3: the value that periodically reads the corresponding counter of the energy-conservation port of said needs; And compare with the condition of said step 1 setting; If meet said condition, then the operating rate of corresponding port is configured to said operating rate when eligible, execution in step two; Otherwise, direct execution in step two.
Said step 1 also comprises: the cycle of reading the corresponding counter of the energy-conservation port of said needs is set.
Compared with prior art; The present invention judges through the count results of the counter of exchange chip whether port need 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, saved 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 explained further details.
As shown in Figure 1, switching equipment according to the 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 said 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 corresponding counter of the energy-conservation port of said needs, the condition that changes operating rate and the operating rate when eligible; Periodically read the statistics of said counter; Judge whether said 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, be the flow chart of the method for the invention, the method for 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 that reads 1 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 said 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. an ethernet switching device comprises exchange chip, processor and physical chip, and said exchange chip comprises at least one port, and each port all has a counter, and said counter is used for adding up its corresponding port transmitting-receiving bag number; It is characterized in that,
Condition that said 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 that each port of zero clearing is corresponding; Periodically read the value of said counter; Judge whether said 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, said processor also is used for being provided with the cycle of reading the corresponding counter of the energy-conservation port of said needs.
3. realize the ethernet switching device method for saving energy for one kind, it 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 that the energy-conservation port of the said needs of zero clearing is corresponding, and add up the transmitting-receiving bag number of the energy-conservation port of said needs;
Step 3: the value that periodically reads the corresponding counter of the energy-conservation port of said needs; And compare with the condition of said step 1 setting; If meet said condition, then the operating rate of corresponding port is configured to said 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 said step 1 also comprises: the cycle of reading the corresponding counter of the energy-conservation port of said needs is set.
CN200810218255XA 2008-12-05 2008-12-05 Method for implementing energy saving of Ethernet switch device and Ethernet switch device therefor Active CN101425906B (en)

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 CN101425906A (en) 2009-05-06
CN101425906B true 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 (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072055A (en) * 2015-09-17 2015-11-18 北京博维亚讯技术有限公司 Ethernet switch and port polling system and polling method thereof

Families Citing this family (2)

* Cited by examiner, † Cited by third party
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
CN105812208B (en) * 2016-05-06 2019-10-11 烽火通信科技股份有限公司 The performance accounting method and system of a kind of multipoint service in frame datacom device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252520A (en) * 2008-03-10 2008-08-27 中兴通讯股份有限公司 Method for saving energy of Ethernet switch and Ethernet switch

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252520A (en) * 2008-03-10 2008-08-27 中兴通讯股份有限公司 Method for saving energy of Ethernet switch and Ethernet switch

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072055A (en) * 2015-09-17 2015-11-18 北京博维亚讯技术有限公司 Ethernet switch and port polling system and polling method thereof
CN105072055B (en) * 2015-09-17 2018-05-11 北京博维亚讯技术有限公司 A kind of Ethernet switch and its port polling system, polling method

Also Published As

Publication number Publication date
CN101425906A (en) 2009-05-06

Similar Documents

Publication Publication Date Title
CN100405260C (en) Reduction of idle power expense in networked battery power supply apparatus
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
CN101980476B (en) Warm backup method and network equipment
CN101946468B (en) Constrained dynamic path selection among multiple available communication interfaces
CN101802753A (en) Buffering techniques for power management
CN102118277A (en) Method and device for packet loss detection, and a router
CN103004132B (en) Use microplate for the technology of Clock gating
CN101610212A (en) Realize the method and the integrated circuit board of reliable data plane communication
CN102364887B (en) A kind of system and method reducing overall power consumption of router
CN101610143B (en) Protection method, system and device of link data
CN102754390B (en) Method, network device and system for ethernet ring protection switching
CN101425906B (en) Method for implementing energy saving of Ethernet switch device and Ethernet switch device therefor
CN101080073B (en) A between-module communication circuit and method of dual-mode communication terminal
CN101035343B (en) Multi-mode mobile phone
CN104836681A (en) Multi-link binding data distribution method and device
CN209182816U (en) A kind of trigger-type dual redundant network
CN103580923B (en) Software deploying method and device
CN109542823A (en) A kind of trigger-type dual redundant network and its application method
CN101478487B (en) Control method and apparatus for Ethernet exchange device working rate
CN104411002A (en) Data transmission control method and terminal
CN101360050B (en) Method and apparatus setting flow control mode
CN101635683A (en) Method and device for transmitting service based on link aggregation
CN102355394A (en) Method and device for performing data transmission control for a plurality of paths of controller area network (CAN) buses
CN102420734A (en) System for realizing topological structure of controller area network (CAN) bus

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