CN101552680A - Method and device for indicating the port state of the network appliance - Google Patents
Method and device for indicating the port state of the network appliance Download PDFInfo
- Publication number
- CN101552680A CN101552680A CNA2009101068814A CN200910106881A CN101552680A CN 101552680 A CN101552680 A CN 101552680A CN A2009101068814 A CNA2009101068814 A CN A2009101068814A CN 200910106881 A CN200910106881 A CN 200910106881A CN 101552680 A CN101552680 A CN 101552680A
- Authority
- CN
- China
- Prior art keywords
- state
- port
- emitting diode
- network equipment
- indicating
- 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.)
- Pending
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
The invention relates to the field of network communication, discloses a method and device for indicating the port state of the network appliance, which can indicate the port state by the turning on and turning off of the light-emitting diode, wherein, the programmable logic device repeatedly access the controller from the media to acquire the operating status of the network appliance port, and controls the output electrical level signal based on the operating status of the network appliance port, thereby accordingly controlling the indicating status of the indicating device. The invention uses logic devices to directly acquire the status of the port from the chip MAC, without CPU participation, thereby effectively improving the display speed of indicating lamps, and reducing CPU utilization rate.
Description
Technical field
The present invention relates to the Data Communication in Computer Networks field, relate in particular to a kind of method and apparatus of indication network device port state.
Background technology
The network communications technology development in recent years is very fast, because Ethernet advantages such as to possess technology simple, and configuration is convenient, and is with low cost, the ethernet technology range of application more and more widely.Ethernet device is in order to allow the user know connection (LINK) state or activity (ACTIVE) state of Ethernet interface, usually indicate with light-emitting diode (LED), for example the bright expression port connection of LED (LINK) state is normal, LED goes out and represents that it is undesired that port connects (LINK) state, again for example, LED flicker expression port is in activity (ACTIVE) state.
The general state indication of using logical circuit to control Ethernet interface in the prior art, (PHY is the physical interface transceiver from the PHY of network equipment port by central processing unit (CPU), it realizes physical layer) obtain the state of the network port, CPU writes the state information that obtains CPLD (ComplexProgrammable Logic Device) CPLD more then), CPLD is according to the control of lighting a lamp of the information that writes.
This method and apparatus of prior art need obtain the state of the network port from the PHY of network equipment port, and has taken the time of CPU, has increased the time-delay of state indication.
Summary of the invention
The objective of the invention is to overcome the deficiencies in the prior art part, a kind of method and apparatus of indication network device port state is disclosed, adopt logical device directly to obtain the state of port from chip MAC, carrying out indicator light again shows, do not need CPU to participate in, effectively improve the indicator light speed of displaying, reduced cpu busy percentage.
The invention discloses a kind of method of indication network device port state, state by indicating device indication port, programmable logic device repeatedly obtains the operating state of described network equipment port from media access controller by bus, and according to the level signal of the operating state of described network equipment port control output, thereby correspondingly control the indicating status of indicating device.
The invention also discloses a kind of device of indication network device port state, comprise the indicating device of indicating port status, also comprise by bus connecting the programmable logic device that media access controller obtains described network equipment port state, described indicating device is connected between described programmable logic device and the power module; Described programmable logic device is controlled flickering of described light-emitting diode according to the difference of described network equipment port state by the variation of output level.
The method and apparatus of indication network device port state disclosed by the invention also comprises following subordinate technical characterictic:
Clock bus and the data/address bus of described programmable logic device by the described network equipment obtains described network equipment port from described media access controller operating state.
Described indicating device is a light-emitting diode.
In init state, described programmable logic device output high level is given described light-emitting diode.
The operating state of described network equipment port comprises: connection status, notconnect state and active state.
Described light-emitting diode goes out during init state; Described light-emitting diode is bright during connection status; Described light-emitting diode goes out during notconnect state; Described light-emitting diode flickers alternately during active state.
The device of indication network device port state of the present invention is the part of the described network equipment.
The present invention adopts logical circuit directly to obtain port information from the MAC of chip, and it is wider relatively to use the physical port PHY of the network equipment to obtain the method range of application of port information.The present invention controls indicator light according to the port status of chip MAC and shows, does not need CPU to participate in, and has effectively improved the indicator light speed of displaying, has reduced the time that takies CPU.
Description of drawings
Fig. 1 is that the present invention obtains the schematic flow sheet with display network device port state;
Fig. 2 is the electrical block diagram of indication network device port state of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is described in further details, but not as limitation of the present invention.
As shown in Figure 1, be that the present invention obtains the schematic flow sheet with display network device port state, comprising:
Step 1, in init state, the IO mouth of all programmable logical device of Ethernet data plate output high level, at this moment, each port LED light of database is gone out.
Step 2, programmable logic device obtain the mac state of port from exchange chip by clock bus and data/address bus.
Step 3, programmable logic device connect (LINK) state according to the port that obtains, and by the different level of IO mouth output, connect the indication of (LINK) state.Activity (ACTIVE) state according to port carries out the indication of activity (ACTIVE) state.
Step 4, programmable logic device do not stop repeating step two and step 3, regularly obtain the state of port from MAC, and carry out the indicator light demonstration according to port status.
As shown in Figure 2, be the electrical block diagram of indication network device port state of the present invention.In an embodiment, programmable logic device obtains the LINK state and the ACTIVE state of port by clock bus and data/address bus from media access controller (MAC).Programmable logic device carries out the LINK state indication of port according to the LINK state of port, carry out the ACTIVE state indication of port according to port ACTIVE state, when port LINK state just often, the IO pin output low level of programmable logic device, the LINK status indicator lamp is bright, and expression port LINK state is normal, when port LINK state is abnormal, the IO pin output high level of programmable logic device, the LINK status indicator lamp goes out.When port was receiving or sending message (being in active state), the IO pin of programmable logic device was alternately exported high level and low level, ACTIVE indicator light flicker, and port stops to receive and when sending message, the ACTIVE indicator light goes out.
It will be apparent to those skilled in that LINK state and ACTIVE state can be indicated by an indicating device, also can indicate by two indicating devices.
Indicating device can light-emitting diode.
The bright expression of indicator light LINK state is normal, also can adopt indicator light to go out and represent that the LINK state is normal.
Indicating means for light-emitting diode just illustrates here, though present data equipment uses light-emitting diode to indicate, the present invention does not get rid of other indicating means.
Obtain the method for the state of network equipment port MAC, be so in one embodiment: clock bus provides clock signal, transmit port informations such as port LINK, Active, duplexing speed on the data/address bus, logical device obtains the various information of port according to clock signal from data/address bus, logical device also customizes the state indication that the indicator light display packing that needs is carried out port.
In another embodiment, logical device obtains port status information by the port mac status register of accesses network equipment.
Thereby the invention provides a kind of programmable logic device and obtain the method that port status information realizes the indication of ethernet port state, satisfy the indicator light needs of different user, can expand flexibly simultaneously from MAC.
Adopt device of the present invention, solved ethernet device and carried out indicator light demonstration problem flexibly, satisfy various needs.Simultaneously, because CPU can not participate in the process of lighting a lamp, not only the reaction of indicator light is timely, and it is shorter to delay time, and has reduced cpu busy percentage, improves software work efficient.
The present invention cooperates powering on of control Ethernet interface by logic and software, thereby realizes Ethernet interface is controlled the opportunity of powering on.But the present invention is equally applicable to simple data equipment carries out electric control on the Ethernet interface by methods such as logical time delay situation.
Claims (10)
1. the method for an indication network device port state, the state by indicating device indication port is characterized in that:
Programmable logic device repeatedly obtains the operating state of described network equipment port from media access controller, and controls the level signal of output according to the operating state of described network equipment port, thereby correspondingly controls the indicating status of indicating device.
2. the method for claim 1 is characterized in that, clock bus and the data/address bus of described programmable logic device by the described network equipment obtains described network equipment port from described media access controller operating state.
3. method as claimed in claim 2 is characterized in that described indicating device is a light-emitting diode.
4. method as claimed in claim 3 is characterized in that, in init state, described programmable logic device output high level is given described light-emitting diode.
5. the method for claim 1 is characterized in that, the operating state of described network equipment port comprises: connection status, notconnect state and active state.
6. method as claimed in claim 3 is characterized in that described light-emitting diode goes out during init state; Described light-emitting diode is bright during connection status; Described light-emitting diode goes out during notconnect state; Described light-emitting diode flickers alternately during active state.
7. the device of an indication network device port state, comprise the indicating device of indicating port status, it is characterized in that: also comprise by bus connecting the programmable logic device that media access controller obtains described network equipment port state, described indicating device is connected between described programmable logic device and the power module; Described programmable logic device is controlled flickering of described light-emitting diode according to the difference of described network equipment port state by the variation of output level.
8. device as claimed in claim 7 is characterized in that, clock bus and the data/address bus of described programmable logic device by the described network equipment obtains described network equipment port from described media access controller operating state.
9. device as claimed in claim 7 is characterized in that described indicating device is a light-emitting diode; Described programmable logic device is controlled described light-emitting diode at init state and notconnect state and is gone out, and it is bright to control described light-emitting diode in network connection state; Controlling described light-emitting diode in active state flickers alternately.
10. device as claimed in claim 7 is characterized in that, described device is the part of the described network equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2009101068814A CN101552680A (en) | 2009-04-24 | 2009-04-24 | Method and device for indicating the port state of the network appliance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2009101068814A CN101552680A (en) | 2009-04-24 | 2009-04-24 | Method and device for indicating the port state of the network appliance |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101552680A true CN101552680A (en) | 2009-10-07 |
Family
ID=41156689
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2009101068814A Pending CN101552680A (en) | 2009-04-24 | 2009-04-24 | Method and device for indicating the port state of the network appliance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101552680A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102186278A (en) * | 2011-03-11 | 2011-09-14 | 广东威创视讯科技股份有限公司 | Method and system for processing equipment indicating lamp |
CN102541493A (en) * | 2010-12-09 | 2012-07-04 | 九旸电子股份有限公司 | Electronic device for adjusting display mode |
CN104252430A (en) * | 2013-06-28 | 2014-12-31 | 联想(北京)有限公司 | State indicating method and electronic equipment |
CN108984373A (en) * | 2018-07-11 | 2018-12-11 | 郑州云海信息技术有限公司 | Solve the method, apparatus and instruction system that network indicator light is always on extremely |
CN109347664A (en) * | 2018-09-28 | 2019-02-15 | 山东超越数控电子股份有限公司 | A kind of management system and method for multi-exchange port status |
CN111479372A (en) * | 2020-04-29 | 2020-07-31 | 杭州迪普科技股份有限公司 | Indicator lamp control device and method |
CN113727485A (en) * | 2021-08-31 | 2021-11-30 | 云尖信息技术有限公司 | Lighting system and method for lighting code stream by single bit to realize lighting double-color lamp |
-
2009
- 2009-04-24 CN CNA2009101068814A patent/CN101552680A/en active Pending
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102541493A (en) * | 2010-12-09 | 2012-07-04 | 九旸电子股份有限公司 | Electronic device for adjusting display mode |
CN102541493B (en) * | 2010-12-09 | 2015-01-21 | 九旸电子股份有限公司 | electronic device for adjusting display mode |
CN102186278A (en) * | 2011-03-11 | 2011-09-14 | 广东威创视讯科技股份有限公司 | Method and system for processing equipment indicating lamp |
CN104252430A (en) * | 2013-06-28 | 2014-12-31 | 联想(北京)有限公司 | State indicating method and electronic equipment |
CN104252430B (en) * | 2013-06-28 | 2019-06-25 | 联想(北京)有限公司 | A kind of method and electronic equipment of state instruction |
CN108984373A (en) * | 2018-07-11 | 2018-12-11 | 郑州云海信息技术有限公司 | Solve the method, apparatus and instruction system that network indicator light is always on extremely |
CN109347664A (en) * | 2018-09-28 | 2019-02-15 | 山东超越数控电子股份有限公司 | A kind of management system and method for multi-exchange port status |
CN111479372A (en) * | 2020-04-29 | 2020-07-31 | 杭州迪普科技股份有限公司 | Indicator lamp control device and method |
CN113727485A (en) * | 2021-08-31 | 2021-11-30 | 云尖信息技术有限公司 | Lighting system and method for lighting code stream by single bit to realize lighting double-color lamp |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101552680A (en) | Method and device for indicating the port state of the network appliance | |
CN202421950U (en) | External expanding unit for PCI (Peripheral Component Interconnect) bus board cards | |
CN103257946A (en) | High-speed interconnecting method of controllers of tight-coupling multi-control storage system | |
CN103428050A (en) | Multipath CAN (controller area network) simulation system based on CAN bus | |
CN103108446B (en) | Switchboard internet access indicator light multi-status display system | |
CN1246751C (en) | Computer system with power management and its method | |
CN113259205B (en) | Method and system for testing internal interconnection interface of multi-board system | |
CN102081572A (en) | Hard disk speed indicating system | |
CN105100000B (en) | Interface conversion device and network system | |
CN102625539B (en) | Ethernet interface-based cascading landscape illumination control system and method | |
CN211509339U (en) | LED light controller | |
CN108808855A (en) | A kind of power energy information management system | |
CN213069607U (en) | Dual-protocol networking communication temperature controller | |
CN114143884A (en) | Information communication method based on blade type IO equipment and blade type IO equipment | |
CN202524614U (en) | Cascaded landscape lighting control system based on Ethernet interface | |
CN2914504Y (en) | Universal high performance embedded type communication processor module | |
CN105718231A (en) | KVM (Keyboard Video Mouse) redundancy management system and management method of blade server | |
CN206077430U (en) | A kind of air-conditioning interface gateway based on KNX communications protocol | |
CN107066412B (en) | Communication circuit and method thereof | |
CN201830280U (en) | Tester for simulating PROFIBUS-DP master station communication | |
CN109347664A (en) | A kind of management system and method for multi-exchange port status | |
CN204928863U (en) | CAN bus platform monitored control system | |
Juang et al. | A touch-dim network for the dimming control of lighting system | |
CN205883444U (en) | Surveillance video intelligent display system | |
CN220234721U (en) | Protocol conversion system and generator set parallel controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20091007 |