CN101478448A - Control method and apparatus for Ethernet switching equipment - Google Patents
Control method and apparatus for Ethernet switching equipment Download PDFInfo
- Publication number
- CN101478448A CN101478448A CNA2009100062577A CN200910006257A CN101478448A CN 101478448 A CN101478448 A CN 101478448A CN A2009100062577 A CNA2009100062577 A CN A2009100062577A CN 200910006257 A CN200910006257 A CN 200910006257A CN 101478448 A CN101478448 A CN 101478448A
- Authority
- CN
- China
- Prior art keywords
- switching equipment
- pulse signal
- equipment port
- port
- module
- 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
Landscapes
- Small-Scale Networks (AREA)
Abstract
The invention discloses a control method of Ethernet exchange equipment and a device thereof. The method comprises the following steps: detecting an open port of exchange equipment to obtain the number of pulsing signals generated in a set time period, wherein, the number of pulsing signals is corresponding to that of the data receiving/sending indication signals of the port of the exchange equipment; and setting the state of the port of the exchange equipment, wherein, the status includes a close state and an open state. The method can adjust the operation state of the port according to the actual operation state thereof, so as to reduce the power consumption of the port.
Description
Technical field
The present invention relates to the communications field, in particular to a kind of control method and device of ethernet switching device.
Background technology
Ethernet technology is a kind of basic medium access technology that is used for local area network (LAN), because the flexibility of its height and the simplicity of realization have become important network technology and obtained application widely.
According to present ethernet technology, the switching equipment port can be supported one or more operating rates usually, and the operating state of switching equipment port and opposite equip. are irrelevant, that is to say, no matter opposite equip. is a busy state or for idle condition even be closing state, the port all is operated in the normal operating conditions of a certain special speed, and this situation can cause a large amount of wastes of the Internet resources and the energy.
Learn by above-mentioned analysis, always be operated in the operating state of certain speed comparatively regularly and cause Internet resources and a large amount of problems of wasting of the energy, do not propose effective solution at present as yet at switching equipment in the correlation technique.
Summary of the invention
Consider that switching equipment in the correlation technique is operated in the problem of the operating state waste Internet resources of fixed rate and the energy and proposes the present invention, for this reason, main purpose of the present invention is to provide a kind of control method and device of ethernet switching device, to solve the problems referred to above of existing in the correlation technique one of at least.
To achieve these goals, according to an aspect of the present invention, provide a kind of control method of ethernet switching device.
Control method according to ethernet switching device of the present invention comprises: for being the switching equipment port of opening, detect the pulse signal quantity that it generates in the setting-up time section, wherein, pulse signal quantity is corresponding to the reception and/or the transmission data index signal of switching equipment port; According to detected pulse signal quantity the state of switching equipment port is set, wherein, this state comprises: closed condition, opening.
Preferably, the state that the switching equipment port is set according to detected pulse signal quantity comprises: judge whether detected pulse signal quantity is zero; In judged result is under the situation that is, closes the switching equipment port; In judged result is under the situation not, and keeping the switching equipment port is opening, and continues to detect the pulse signal quantity that the switching equipment port generates in next setting-up time section.
Preferably, after closing the switching equipment port, this method also comprises: detect opposite equip. and whether send link pulse signal, wherein, the equipment of opposite equip. for being connected with the switching equipment port.
Preferably, this method also comprises: under the situation that detects opposite equip. transmission link pulse signal, open buttoned-up switching equipment port again.
Preferably, this method also comprises: switching equipment port of Kai Qiing and the opposite equip. operating rate after by auto-negotiation communicates again.
Preferably, switching equipment is the Access Layer switching equipment.
A kind of control device of ethernet switching device also is provided according to a further aspect in the invention.
Control device according to ethernet switching device of the present invention comprises: exchange processing module, and it comprises one or more switching equipment ports, is used for receiving and/or sending data-signal; Logic module is used to detect the pulse signal quantity that the switching equipment port for opening generates in the setting-up time section, wherein, pulse signal quantity is corresponding to the reception of switching equipment port and/or send the data index signal; Control module is used for being provided with according to the detected pulse signal quantity of logic module the state of switching equipment port, and wherein, state comprises: closed condition, opening.
Preferably, control module also comprises: judge module is used to judge whether detected pulse signal quantity is zero; First is provided with module, and the result who is used for judging at judge module is under the situation that is, closes the switching equipment port; Second is provided with module, and being used in the result that judge module is judged is under the situation not, and keeping the switching equipment port is opening.
Preferably, this device also comprises: detection module is used to detect the opposite equip. that is connected with the switching equipment port and whether sends link pulse signal.
Preferably, detect at detection module under the situation of opposite equip. transmission link pulse signal, control module is opened buttoned-up switching equipment port again.
By means of technique scheme of the present invention, by detect reception that the switching equipment port generates and/or the pulse signal quantity that sends the data index signal in the setting-up time section, and according to the operating state of testing result control switching equipment port, can adjust the operating state of port according to the real work situation of port, reduce the power consumption of port, saved Internet resources.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram according to the applied environment of the embodiment of the invention;
Fig. 2 is the flow chart according to the control method of the ethernet switching device of the embodiment of the invention;
Fig. 3 is the flow chart according to the preferred process scheme of the control method of the ethernet switching device of the embodiment of the invention;
Fig. 4 is the block diagram according to the control device of the ethernet switching device of the embodiment of the invention;
Fig. 5 is the block diagram according to a preferred structure of the control device of the ethernet switching device of the embodiment of the invention;
Fig. 6 is the block diagram according to another preferred structure of the control device of the ethernet switching device of the embodiment of the invention.
Embodiment
Functional overview
Main thought of the present invention is: for being the switching equipment port of opening, detect the pulse signal quantity that it generates in the setting-up time section, wherein, pulse signal quantity is corresponding to the reception and/or the transmission data index signal of switching equipment port; According to detected pulse signal quantity the state of switching equipment port is set, wherein, described state comprises: closed condition, opening.By the present invention, can adjust its operating state according to the real work situation of port, reduced the power consumption of port.
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.If do not conflict, feature can make up mutually among the embodiment of the invention and the embodiment.
Method embodiment
According to the embodiment of the invention, provide a kind of control method of ethernet switching device.
Fig. 1 is the schematic diagram according to the applied environment of the embodiment of the invention.Ethernet switching device comprises: Access Layer ethernet switching device, convergence-level ethernet switching device and core layer ethernet switching device etc.The Access Layer ethernet switching device directly is connected with client device at Access Layer.As shown in Figure 1, switching equipment 1 is the core layer ethernet switching device; Switching equipment 2 and switching equipment 3 are the convergence-level ethernet switching device; Switching equipment 4,5,6,7 is the Access Layer ethernet switching device, directly with client device (for example: computer) link to each other, be applied between Access Layer switching equipment and the client device according to the technical scheme of the embodiment of the invention.
Fig. 2 is the flow chart according to the control method of the ethernet switching device of the embodiment of the invention.Need to prove, the step of describing in following method can be carried out in the computer system such as a set of computer-executable instructions, and, though figure 2 illustrates logical order, but in some cases, can carry out step shown or that describe with the order that is different from herein.As shown in Figure 2, this method comprises following processing:
Step S202 for the switching equipment port that is opening, detects the pulse signal quantity that it generates in the setting-up time section, wherein, pulse signal quantity is corresponding to the reception and/or the transmission data index signal of switching equipment port;
According to the characteristic of certain pulse signal of data index signal (Active) the output cycle of ethernet switching device port transmission/reception, detect the pulse signal quantity that the switching equipment port is exported in the predefined time period.
Step S204 is provided with the state of switching equipment port according to detected pulse signal quantity, and wherein, the state of switching equipment port comprises: closed condition, opening.
Particularly, in step S204: judge whether detected pulse signal quantity is zero, is under the situation that is in judged result, closes the switching equipment port; In judged result is under the situation not, and keeping the switching equipment port is opening, and continues to detect the pulse signal quantity that the switching equipment port generates in next setting-up time section.
Based on above-mentioned processing, whether after closing the switching equipment port, detecting opposite equip. has link pulse signal to send, wherein, and the equipment of opposite equip. for being connected with the switching equipment port.And, under the situation that detects opposite equip. transmission link pulse signal, open buttoned-up switching equipment port again, switching equipment port of Kai Qiing and opposite equip. carry out auto-negotiation again, and communicate with the operating rate behind the auto-negotiation.
By the foregoing description, can adjust its operating state according to the real work situation of switching equipment port, under the situation that does not influence the switching equipment operate as normal, reduced the power consumption of port.
Below in conjunction with accompanying drawing, describe the embodiment of the invention in detail.Fig. 3 is the flow chart according to the preferred process scheme of the control method of the ethernet switching device of the embodiment of the invention.As shown in Figure 3, specifically comprise following processing:
Step S302 starts ethernet switching device.
Step S304, being provided with needs energy-conservation port, and makes this port working consult the maximum functional speed that can support at switching equipment and opposite equip..
Step S306 detects the Active signal pulse quantity (N) that needs energy-conservation port in the time period that sets in advance.
The ethernet switching device port is sending data and/or is receiving in the data procedures, the transmission data of port and/or reception data index signals (Active) certain pulse signal of output cycle, the quantity of this pulse signal is relevant with the quantity of data packets of port transmission/reception, and irrelevant with length of data package.
According to above-mentioned principle,, can judge that this port is in idle condition or busy state by detecting the Active signal pulse quantity of switching equipment port.
Step S202 in the above-mentioned steps S302-S306 corresponding diagram 2.
Step S308 judges whether N is 0, if N is 0, then execution in step S310 if N is not 0, then returns step S306.
Step S310 closes this port, and this port enters power save mode.
Step S312, its enable port link pulse checkout gear, whether have link pulse signal, if detect opposite equip. link pulse signal is arranged if detecting opposite equip., execution in step S314 then, otherwise, return step S310.
Need explanation, the switching equipment port can detect the link pulse signal that its remote equipment that connects generates under closing state.
Step S314 opens this buttoned-up port again, makes itself and opposite equip. carry out auto-negotiation, operate as normal; Execution in step S306 begins the detection of following one-period.
Step S204 in the above-mentioned steps S308-S314 corresponding diagram 2.
This embodiment shows the preferred process flow process according to the inventive method embodiment, by this embodiment, has reduced the power consumption of port, and has reduced energy resource consumption.
Device embodiment
According to the embodiment of the invention, also provide a kind of control device of ethernet switching device, the control method of the ethernet switching device that this control device can be used to realize that said method embodiment is provided.
Fig. 4 is the block diagram according to the control device of the ethernet switching device of the embodiment of the invention.As shown in Figure 4, the control device according to the ethernet switching device of the embodiment of the invention comprises: exchange processing module 10, logic module 20, control module 30.
To describe the function of each module in the control device of ethernet switching device operating rate below in detail.
Exchange processing module 10, it comprises one or more switching equipment ports, is used for receiving and/or sending data-signal;
Fig. 5 is the block diagram according to a preferred structure of the control device of the ethernet switching device of the embodiment of the invention.As shown in Figure 5, on the basis of structure shown in Figure 4, control module 30 also comprises:
Judge module 310 is used to judge whether detected pulse signal quantity is zero;
First is provided with module 320, is connected to judge module 310, and the result who is used for judging at judge module 310 is under the situation that is, closes the switching equipment port;
Second is provided with module 330, is connected to judge module 310, and being used in the result that judge module 310 is judged is under the situation not, and keeping the switching equipment port is opening.
Fig. 6 is the block diagram according to another preferred structure of the control device of the ethernet switching device of the embodiment of the invention.As shown in Figure 6, this device comprises: exchange processing module, logic module, CPU control module, detection module.
Wherein, exchange processing module comprises a plurality of signal transmitting and receiving interfaces, and each interface all is connected to logic module, and logic module just can count total receiving and transmitting signal Active pulse signal quantity of exchange processing module like this.
Logic module, be connected with the CPU control module by Local Bus bus, mainly form by EPLD (electro-erasable programmable logical device) and relevant accessory circuit, realize the control of interior various logic status signal of veneer and relevant reset signal, and the result of pulse signal quantity N and the comparison of port speed adjustment determination information is reported the CPU control module.
The CPU control module is connected with exchange processing module by pci bus, is used for ethernet switching device carried out work such as initialization, configuration, after receiving the comparative result that logic module reports, adjusts the operating rate of switching equipment port.
Detection module, whether be used to detect the opposite equip. that is connected with the switching equipment port has link pulse signal to send, detecting opposite equip. at detection module has under the situation that link pulse signal sends, detected result is sent to the CPU control module by logic module, and the CPU control module is opened buttoned-up switching equipment port again.
In specific implementation process, can finish the processing shown in Fig. 2 and Fig. 3 equally according to the device that the embodiment of the invention provides, concrete processing procedure no longer is repeated in this description herein.
In sum, by means of technique scheme of the present invention, reception that detection switching equipment port generates in the setting-up time section and/or the pulse signal quantity that sends the data index signal, and according to the operating state of testing result control switching equipment port, can adjust the operating state of port according to the real work situation of port, reduce the power consumption of port.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. the control method of an ethernet switching device is characterized in that, comprising:
For the switching equipment port that is opening, detect the pulse signal quantity that it generates in the setting-up time section, wherein, described pulse signal quantity is corresponding to the reception and/or the transmission data index signal of described switching equipment port;
According to detected described pulse signal quantity the state of described switching equipment port is set, wherein, described state comprises: closed condition, opening.
2. method according to claim 1 is characterized in that, the state that described switching equipment port is set according to detected described pulse signal quantity comprises:
Judge whether detected described pulse signal quantity is zero;
In judged result is under the situation that is, closes described switching equipment port;
In judged result is that keeping described switching equipment port is opening under the situation not, and continues to detect the pulse signal quantity that described switching equipment port generates in next setting-up time section.
3. method according to claim 2 is characterized in that, after closing described switching equipment port, described method also comprises:
Detect opposite equip. and whether send link pulse signal, wherein, the equipment of described opposite equip. for being connected with described switching equipment port.
4. method according to claim 3 is characterized in that, also comprises:
Detecting under the situation that described opposite equip. sends described link pulse signal, open buttoned-up described switching equipment port again.
5. method according to claim 4 is characterized in that, also comprises:
Again described switching equipment port of Kai Qiing and the described opposite equip. operating rate after by auto-negotiation communicates.
6. according to each described method in the claim 1 to 5, it is characterized in that described switching equipment is the Access Layer switching equipment.
7. the control device of an ethernet switching device is characterized in that, comprising:
Exchange processing module, it comprises one or more switching equipment ports, is used for receiving and/or sending data-signal;
Logic module is used to detect the pulse signal quantity that the described switching equipment port for opening generates in the setting-up time section, wherein, described pulse signal quantity is corresponding to the reception of described switching equipment port and/or send the data index signal;
Control module is used for being provided with according to the detected described pulse signal quantity of described logic module the state of described switching equipment port, and wherein, described state comprises: closed condition, opening.
8. device according to claim 7 is characterized in that, described control module also comprises:
Judge module is used to judge whether detected described pulse signal quantity is zero;
First is provided with module, and the result who is used for judging at judge module is under the situation that is, closes described switching equipment port;
Second is provided with module, and being used in the result that judge module is judged is that keeping described switching equipment port is opening under the situation not.
9. device according to claim 8 is characterized in that, also comprises:
Detection module is used to detect the opposite equip. that is connected with described switching equipment port and whether sends link pulse signal.
10. device according to claim 9 is characterized in that, detects under the situation that described opposite equip. sends described link pulse signal at described detection module, and described control module is opened buttoned-up described switching equipment port again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910006257 CN101478448B (en) | 2009-02-09 | 2009-02-09 | Control method and apparatus for Ethernet switching equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910006257 CN101478448B (en) | 2009-02-09 | 2009-02-09 | Control method and apparatus for Ethernet switching equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101478448A true CN101478448A (en) | 2009-07-08 |
CN101478448B CN101478448B (en) | 2013-08-07 |
Family
ID=40839083
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200910006257 Expired - Fee Related CN101478448B (en) | 2009-02-09 | 2009-02-09 | Control method and apparatus for Ethernet switching equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101478448B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102136935A (en) * | 2010-11-16 | 2011-07-27 | 华为技术有限公司 | Maintenance port and safety protection method thereof |
CN102790685A (en) * | 2011-05-16 | 2012-11-21 | 国基电子(上海)有限公司 | Network equipment having power saving function and power saving method thereof |
CN105072055A (en) * | 2015-09-17 | 2015-11-18 | 北京博维亚讯技术有限公司 | Ethernet switch and port polling system and polling method thereof |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7606151B2 (en) * | 2005-04-21 | 2009-10-20 | Intel Corporation | Power reduction in switch architectures |
CN101252520B (en) * | 2008-03-10 | 2010-09-08 | 中兴通讯股份有限公司 | Method for saving energy of Ethernet switch and Ethernet switch |
-
2009
- 2009-02-09 CN CN 200910006257 patent/CN101478448B/en not_active Expired - Fee Related
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102136935A (en) * | 2010-11-16 | 2011-07-27 | 华为技术有限公司 | Maintenance port and safety protection method thereof |
CN102136935B (en) * | 2010-11-16 | 2014-06-11 | 华为技术有限公司 | Maintenance port and safety protection method thereof |
CN102790685A (en) * | 2011-05-16 | 2012-11-21 | 国基电子(上海)有限公司 | Network equipment having power saving function and power saving method thereof |
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 |
---|---|
CN101478448B (en) | 2013-08-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Nutt et al. | Performance of CSMA/CD networks under combined voice and data loads | |
CN103049414A (en) | Method for converting and transmitting data between FC (fiber channel) bus and CAN (controller area network) bus | |
CN102904766B (en) | Baud rate identification method and device for serial communication and monitoring equipment | |
EP0966128A1 (en) | Apparatus and method of determining a link status between network stations connected to a telephone line medium | |
CN102318267A (en) | Data communication method, communication equipment and communication system | |
CN105117319A (en) | Method for realizing real-time monitoring of multi-channel MDIO (Management Data Input Output) devices based on FPGA | |
CN101420350A (en) | Master node failure tolerant method for TTCAN bus network time | |
CN101079757A (en) | A testing device and operation method for broadband aviation electronic bus | |
CN101478487B (en) | Control method and apparatus for Ethernet exchange device working rate | |
CN101478448B (en) | Control method and apparatus for Ethernet switching equipment | |
US6347345B1 (en) | Information transfer apparatus having control unit with BTL transceiver applying transmission enable signal inputted from ethernet processor module through backplane to control unit | |
US6778551B1 (en) | Collision control systems and methods utilizing an inter-frame gap code counter | |
CN101399714B (en) | Transmission method and device for bidirectionally transceiving and detecting packet | |
CN101360050B (en) | Method and apparatus setting flow control mode | |
CN201072431Y (en) | Broadband aviation electronic bus testing device | |
CN103124195A (en) | Method for implementing fiber channel link speed negotiation | |
CN101635631B (en) | Power-saving network apparatus and method thereof | |
CN101464844B (en) | Control method and bus interface of RAM use right | |
CN115776422B (en) | EtherCAT slave station and data transmission system | |
US6252874B1 (en) | Ethernet card and ethernet card improvement methods | |
CN1549520A (en) | Method for realizing universal simplified gateway equipment in intelligent home system | |
Kim et al. | Towards LonWorks technology and its applications to automation | |
CN210780847U (en) | EtherCAT bus clock distribution system | |
CN103001839B (en) | Study order is with the system of automatic configuration setting, gateway and method thereof | |
CN102195746A (en) | Loop detection method and network device applying same |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130807 Termination date: 20180209 |