CN103095487B - A kind of Multi-netmouth state indication method and device - Google Patents

A kind of Multi-netmouth state indication method and device Download PDF

Info

Publication number
CN103095487B
CN103095487B CN201210455456.8A CN201210455456A CN103095487B CN 103095487 B CN103095487 B CN 103095487B CN 201210455456 A CN201210455456 A CN 201210455456A CN 103095487 B CN103095487 B CN 103095487B
Authority
CN
China
Prior art keywords
network interface
state
interface status
status source
source
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
CN201210455456.8A
Other languages
Chinese (zh)
Other versions
CN103095487A (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.)
Raisecom Technology Co Ltd
Original Assignee
Raisecom Technology Co Ltd
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 Raisecom Technology Co Ltd filed Critical Raisecom Technology Co Ltd
Priority to CN201210455456.8A priority Critical patent/CN103095487B/en
Publication of CN103095487A publication Critical patent/CN103095487A/en
Application granted granted Critical
Publication of CN103095487B publication Critical patent/CN103095487B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of Multi-netmouth state indication method and device, centralized control unit is to state encoding distribution module instruction network interface status display mode, state encoding distribution module receives the output signal of multiple network interface status source simultaneously, record the state of each network interface status source, one or more indicator light control module is sent to after the state of the state of one network interface status source or multiple network interface status source being carried out serial code according to the instruction of centralized control unit, network interface state after indicator light control module receives serial code is also shown by multiple indicator light after being decoded as parallel signal.This programme can be simultaneously compatible dissimilar network interface status source, the state of same network interface status source can be shown on the indicator light of diverse location, the state that indicator light shows different network interface status source can be controlled, can improve the flexibility of network interface state instruction, and stability is strong, reliability is high.

Description

A kind of Multi-netmouth state indication method and device
Technical field
The present invention relates to data-signal processing technology field, particularly relate to a kind of Multi-netmouth state indication method and device.
Background technology
The port number of current ethernet device is towards high-density development, and the network interface quantity provided in an equipment can arrive tens even hundreds ofs.Because each network interface state needs to use indicator light to show, so cause the realization of network interface status indicator lamp to become increasingly complex, and the resource needed gets more and more.
The judgement source of network interface state can from different modules, and such as media interviews control (MAC) chip, physical layer (PHY) chip etc.Also there is a lot of difference in often kind of indicator light control logic, comprises control bus difference, and some modulation frequency is different, not equal for state.To dissimilar network interface status source independently bright light in conventional treatment mode, each species diversity that network port indicator shows can be caused.What is more, in multi-module system, a large amount of interface resources can be taken.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of Multi-netmouth state indication method and device, solve to dissimilar network interface status source independently bright light cause controlling the problem of very flexible.
In order to solve the problems of the technologies described above, the invention provides a kind of Multi-netmouth state indicating device, described device comprises a Central Control Module, multiple network interface status source, a state encoding distribution module, multiple indicator light control module; Described network interface status source is dissimilar network interface status source; Described network interface status source and described state encoding distribution module by described network interface status source support that the data wire of type is connected; Each indicator light control module comprises indicating lamp control circuit and one or more indicator light;
Described centralized control unit, for indicating network interface status display mode to described state encoding distribution module;
Described state encoding distribution module, for recording the state of each network interface status source, after the state of the state of one network interface status source or multiple network interface status source being carried out serial code according to the instruction of described centralized control unit, be sent to one or more indicator light control module;
Described indicating lamp control circuit, for receiving the network interface state after serial code and exporting to indicator light after being decoded as parallel signal;
Described indicator light, for showing the signal received.
Further, said apparatus can also have following characteristics:
Described state encoding distribution module, records the state of each network interface status source after the state also for the signal assemble format analysis corresponding network interface status source according to different network interface status source.
Further, said apparatus can also have following characteristics:
Described state encoding distribution module, also records the state of each network interface status source respectively for building network interface status register array and upgrades.
Further, said apparatus can also have following characteristics:
Described network interface status display mode comprises network interface status source mark, state serial order, indicator light control module mark; Or also comprise the number that network interface status source state number indicates the state of each network interface status source that need export in described network interface status display mode;
Described state serial order refers to by the sequence of network interface status source mark or sorts by the state of network interface status source.
Further, said apparatus can also have following characteristics:
Described multiple network interface status source comprises following at least two kinds: media interviews control (MAC) chip, physical layer (PHY) chip, optical module.
In order to solve the problems of the technologies described above, present invention also offers a kind of Multi-netmouth state indication method, centralized control unit is to state encoding distribution module instruction network interface status display mode, state encoding distribution module receives the output signal of multiple network interface status source simultaneously, record the state of each network interface status source, one or more indicator light control module is sent to after the state of the state of one network interface status source or multiple network interface status source being carried out serial code according to the instruction of centralized control unit, network interface state after indicator light control module receives serial code is also shown by multiple indicator light after being decoded as parallel signal.
Further, said method can also have following characteristics:
Described state encoding distribution module is according to the state recording each network interface status source after the state of the signal assemble format analysis corresponding network interface status source of different network interface status source.
Further, said method can also have following characteristics:
Described state encoding distribution module builds network interface status register array and records the state of each network interface status source respectively and upgrade.
Further, said method can also have following characteristics:
Described network interface status display mode comprises network interface status source mark, state serial order, indicator light control module mark; Or also comprise the number that network interface status source state number indicates the state of each network interface status source that need export in described network interface status display mode;
Described state serial order refers to by the sequence of network interface status source mark or sorts by the state of network interface status source.
Further, said method can also have following characteristics:
Described multiple network interface status source comprises following at least two kinds: media interviews control (MAC) chip, physical layer (PHY) chip, optical module.
This programme can be simultaneously compatible dissimilar network interface status source, the state of same network interface status source can be shown on the indicator light of diverse location, the state that indicator light shows different network interface status source can be controlled, can improve the flexibility of network interface state instruction, and stability is strong, reliability is high.
Accompanying drawing explanation
Fig. 1 is the structure chart of Multi-netmouth state indicating device;
Fig. 2 is the internal logic schematic diagram of state encoding distribution module;
Fig. 3 is the schematic diagram of the different modes of state encoding distribution module Distribution status data.
Embodiment
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combination in any mutually.
Embodiment one
As shown in Figure 1, Multi-netmouth state indicating device comprises a Central Control Module, multiple network interface status source, a state encoding distribution module, multiple indicator light control module; Network interface status source is dissimilar network interface status source; Network interface status source and state encoding distribution module by network interface status source support that the data wire of type is connected; Each indicator light control module comprises indicating lamp control circuit and one or more indicator light;
Centralized control unit, for indicating network interface status display mode to described state encoding distribution module;
State encoding distribution module, for recording the state of each network interface status source, after the state of the state of one network interface status source or multiple network interface status source being carried out serial code according to the instruction of described centralized control unit, be sent to one or more indicator light control module;
Indicating lamp control circuit, for receiving the network interface state after serial code and exporting to indicator light after being decoded as parallel signal;
Indicator light, for showing the signal received.
Wherein, multiple network interface status source comprises following at least two kinds: media interviews control (MAC) chip, physical layer (PHY) chip, optical module.Central Control Module can be CPU.State encoding distribution module can be CPLD (ComplexProgrammableLogicDevice, CPLD)/erasable Programmadle logic device (ErasableProgrammableLogicDevice, EPLD).Wherein the interface of CPU and CPLD/EPLD can support Localbus, SMI, SPI etc., the interface of MAC chip and CPLD/EPLD can support SMI, SPI, LED strip row bus etc., the interface of PHY chip and CPLD/EPLD can support SMI, LED strip row bus and the single control line of LED, and the interface of optical module and CPLD/EPLD can support SD/LOS control line.CPLD/EPLD realizes the support of relevant interface by internal logic, receives the data of each network interface status source.
As shown in Figure 2, the internal logic of state encoding distribution module can resolve into three parts.One, according to the state of the corresponding network interface status source of the signal assemble format analysis of different network interface status source.Two, build network interface status register array and record the state of each network interface status source respectively and upgrade.The state of all network interface status source is inputted, carries out consolidation form arrangement according to demand, form a unified network interface state table according to each network interface and network interface state, conveniently to control and inquiry.Three, provide the state of network interface status source to indicator light control module according to the instruction of centralized control unit.
Network interface status display mode comprises network interface status source mark, state serial order, state encoding distribution module mark; State serial order refers to by the sequence of network interface status source mark or sorts by the state of network interface status source, can also comprise the number that network interface status source state number indicates the state of each network interface status source that need export in network interface status display mode.
Thus, state encoding distribution module can also can partly export according to the instruction of centralized control unit in whole table output, also can export according to network interface according to State-output, can send to 1 indicator light control module and also can send to multiple indicator light control module simultaneously, the information exported to different indicator light control module can difference also can part identical or all identical etc.
Such as, as shown in Figure 3, the network interface status display mode of centralized control unit instruction comprises: network interface status source is designated 1, sort by the state of network interface status source, indicator light control module be designated 2, then state encoding distribution module sends the state sequence of network interface status source 1 successively to indicator light control module 2, namely exports by the mode shown in " exporting 1 ": network interface 1 state 1, network interface 1 state 2 ... network interface 1 state n.
The network interface status display mode of centralized control unit instruction comprises: network interface status source is designated 1,2 ... m, by the sequence of network interface status source mark, indicator light control module be designated 3 and 4, then state encoding distribution module to indicator light control module 3 and 4 send successively respectively the state 1 of network interface status source 1, network interface status source 2 state 1 ... the state 1 of network interface status source m.Namely export by the mode shown in " exporting 2 ".
The network interface status display mode of centralized control unit instruction comprises: network interface status source is designated 1,2 ... m; sort by the state of network interface status source; indicator light control module be designated 5,6,7, then state encoding distribution module to indicator light control module 5,6,7 send successively the state 1 of network interface status source 1, network interface status source 2 state 1 ... the state 1 of network interface status source m; The state 2 of network interface status source 1, network interface status source 2 state 2 ... the state 2 of network interface status source m; The state m of network interface status source 1, network interface status source 2 state m ... the state m of network interface status source m.Namely export by the mode shown in " exporting 3 ".
The network interface status display mode of centralized control unit instruction comprises: network interface status source is designated 1,2 ... m; sort by the mark of network interface status source; indicator light control module be designated 5,6,7, then state encoding distribution module to indicator light control module 5,6,7 send successively the state 1 of network interface status source 1, network interface status source 1 state 2 ... the state n of network interface status source 1; The state 1 of network interface status source 2, network interface status source 2 state 2 ... the state n of network interface status source 2; The state 1 of network interface status source m, network interface status source m state 2 ... the state n of network interface status source m.
In above-mentioned example, be such as 3 when network interface status display mode comprises network interface status source state number; Then the number of the state of each network interface status source of state encoding distribution module output is 3 instead of 1 or n.
Embodiment two
Multi-netmouth state indication method comprises: centralized control unit is to state encoding distribution module instruction network interface status display mode, state encoding distribution module receives the output signal of multiple network interface status source simultaneously, record the state of each network interface status source, be sent to one or more indicator light control module after the state of the state of one network interface status source or multiple network interface status source being carried out serial code according to the instruction of centralized control unit, the network interface state after indicator light control module receives serial code is also shown by multiple indicator light after being decoded as parallel signal.
Wherein, multiple network interface status source comprises following at least two kinds: media interviews control (MAC) chip, physical layer (PHY) chip, optical module.Central Control Module can be CPU.State encoding distribution module can be CPLD (ComplexProgrammableLogicDevice, CPLD)/erasable Programmadle logic device (ErasableProgrammableLogicDevice, EPLD).Wherein the interface of CPU and CPLD/EPLD can support Localbus, SMI, SPI etc., the interface of MAC chip and CPLD/EPLD can support SMI, SPI, LED strip row bus etc., the interface of PHY chip and CPLD/EPLD can support SMI, LED strip row bus and the single control line of LED, and the interface of optical module and CPLD/EPLD can support SD/LOS control line.CPLD/EPLD realizes the support of relevant interface by internal logic, receives the data of each network interface status source.
The internal logic of state encoding distribution module can resolve into three parts.One, according to the state of the corresponding network interface status source of the signal assemble format analysis of different network interface status source.Two, build network interface status register array and record the state of each network interface status source respectively and upgrade.The state of all network interface status source is inputted, carries out consolidation form arrangement according to demand, form a unified network interface state table according to each network interface and network interface state, conveniently to control and inquiry.Three, provide the state of network interface status source to indicator light control module according to the instruction of centralized control unit.
Network interface status display mode comprises network interface status source mark, state serial order, state encoding distribution module mark; State serial order refers to by the sequence of network interface status source mark or sorts by the state of network interface status source.Or network interface status display mode can also comprise network interface status source state number; The number of the state of each network interface status source that instruction need export.Concrete example repeats no more as shown in Figure 3 herein.
This programme can realize the unification of multiple network interface status indicator lamp circuit, and controls flexibly, can multiparty control, simple.
Certainly; the present invention also can have other various embodiments; when not deviating from the present invention's spirit and essence thereof; those of ordinary skill in the art can make various corresponding change and distortion according to the present invention, but these change accordingly and are out of shape the protection range that all should belong to the claim appended by the present invention.
The all or part of step that one of ordinary skill in the art will appreciate that in said method is carried out instruction related hardware by program and is completed, and described program can be stored in computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of above-described embodiment also can use one or more integrated circuit to realize.Correspondingly, each module/unit in above-described embodiment can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.

Claims (10)

1. a Multi-netmouth state indicating device, is characterized in that,
Described device comprises a centralized control unit, multiple network interface status source, a state encoding distribution module, multiple indicator light control module; Multiple described network interface status source is dissimilar network interface status source; Described network interface status source and described state encoding distribution module by described network interface status source support that the data wire of type is connected; Each indicator light control module comprises indicating lamp control circuit and one or more indicator light;
Described centralized control unit, for indicating network interface status display mode to described state encoding distribution module;
Described state encoding distribution module, for recording the state of each network interface status source, after the state of the state of one network interface status source or multiple network interface status source being carried out serial code according to the instruction of described centralized control unit, be sent to one or more indicator light control module;
Described indicating lamp control circuit, for receiving the network interface state after serial code and exporting to indicator light after being decoded as parallel signal;
Described indicator light, for showing the signal received;
Wherein, described network interface status display mode comprises network interface status source mark, state serial order and indicator light control module mark.
2. device as claimed in claim 1, is characterized in that,
Described state encoding distribution module, records the state of each network interface status source after the state also for the signal assemble format analysis corresponding network interface status source according to different network interface status source.
3. device as claimed in claim 1, is characterized in that,
Described state encoding distribution module, also for building network interface status register array, described network interface status register is used for recording the state of each network interface status source respectively and upgrading.
4. device as claimed in claim 1, is characterized in that,
Also comprise network interface status source state number in described network interface status display mode, described network interface status source state number is used to indicate the number of the state of each network interface status source that need export;
Described state serial order refers to by the sequence of network interface status source mark or sorts by the state of network interface status source.
5. device as claimed in claim 1, is characterized in that,
Described multiple network interface status source comprises following at least two kinds: media interviews control (MAC) chip, physical layer (PHY) chip, optical module.
6. a Multi-netmouth state indication method, is characterized in that,
Centralized control unit is to state encoding distribution module instruction network interface status display mode, state encoding distribution module receives the output signal of multiple network interface status source simultaneously, record the state of each network interface status source, be sent to one or more indicator light control module after the state of the state of one network interface status source or multiple network interface status source being carried out serial code according to the instruction of centralized control unit, the network interface state after indicator light control module receives serial code is also shown by multiple indicator light after being decoded as parallel signal;
Described network interface status display mode comprises network interface status source mark, state serial order and indicator light control module mark.
7. method as claimed in claim 6, is characterized in that,
Described state encoding distribution module is according to the state recording each network interface status source after the state of the signal assemble format analysis corresponding network interface status source of different network interface status source.
8. method as claimed in claim 6, is characterized in that,
Described state encoding distribution module builds network interface status register array, and described network interface status register is used for recording the state of each network interface status source respectively and upgrading.
9. method as claimed in claim 6, is characterized in that,
Also comprise network interface status source state number in described network interface status display mode, described network interface status source state number is used to indicate the number of the state of each network interface status source that need export;
Described state serial order refers to by the sequence of network interface status source mark or sorts by the state of network interface status source.
10. method as claimed in claim 6, is characterized in that,
Described multiple network interface status source comprises following at least two kinds: media interviews control (MAC) chip, physical layer (PHY) chip, optical module.
CN201210455456.8A 2012-11-13 2012-11-13 A kind of Multi-netmouth state indication method and device Active CN103095487B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210455456.8A CN103095487B (en) 2012-11-13 2012-11-13 A kind of Multi-netmouth state indication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210455456.8A CN103095487B (en) 2012-11-13 2012-11-13 A kind of Multi-netmouth state indication method and device

Publications (2)

Publication Number Publication Date
CN103095487A CN103095487A (en) 2013-05-08
CN103095487B true CN103095487B (en) 2016-03-23

Family

ID=48207647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210455456.8A Active CN103095487B (en) 2012-11-13 2012-11-13 A kind of Multi-netmouth state indication method and device

Country Status (1)

Country Link
CN (1) CN103095487B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506074B (en) * 2016-10-12 2019-02-19 杭州迪普科技股份有限公司 A kind of method and apparatus detecting optical port state
CN108011847A (en) * 2017-11-28 2018-05-08 济南浪潮高新科技投资发展有限公司 A kind of control method and system of RapidIO interchangers communication indicator light

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257756A (en) * 2008-04-07 2008-09-03 杭州华三通信技术有限公司 Lighting system and method
CN102573195A (en) * 2010-12-31 2012-07-11 北京大唐高鸿数据网络技术有限公司 Centralized display system of indicator lamps

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101426707B1 (en) * 2007-11-26 2014-08-05 삼성전자주식회사 Wireless headset and method for displaying battery state

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257756A (en) * 2008-04-07 2008-09-03 杭州华三通信技术有限公司 Lighting system and method
CN102573195A (en) * 2010-12-31 2012-07-11 北京大唐高鸿数据网络技术有限公司 Centralized display system of indicator lamps

Also Published As

Publication number Publication date
CN103095487A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
US10649030B2 (en) Blade centric automatic test equipment system
US7774530B2 (en) Arbitration of memory transfers in a DSP system
CN105008943A (en) Tester with acceleration for packet building within FPGA block
CN103616937A (en) Mainboard, PCIE network card and server system
KR20200105805A (en) Topology processing methods, devices and systems
US8473655B2 (en) Method and apparatus for dividing a single serial enclosure management bit stream into multiple enclosure management bit streams and for providing the respective bit streams to respective midplanes
CN103631688A (en) Method and system for testing interface signal
JP2019004447A (en) System positioning position of slot in device rack
CN110795317A (en) Method and system for realizing lighting of self-adaptive hard disk backboard by using CPLD (complex programmable logic device)
CN104516838A (en) Management path determining method and device
CN103095487B (en) A kind of Multi-netmouth state indication method and device
CN102591836B (en) Configuration method and configuration device for communication connector personal identification number (PIN) foot
CN111294413A (en) Method, device and readable medium for determining Internet Protocol (IP) address
CN106155954A (en) The system and method that a kind of module identification and COM1 distribute automatically
CN109426598B (en) Hard disk state indicator lamp control method and device
CN104090833B (en) Server and signal resolver thereof
CN116032746B (en) Information processing method and device of resource pool, storage medium and electronic device
KR101249788B1 (en) Communications Network Structure for Display Module Aging System
CN104678983A (en) Traction control unit self-detection circuit
CN103220224B (en) The processing method of message repeating and device and the network equipment
KR101361502B1 (en) Apparatus for ethernet switch
CN106685588B (en) Adapter, data transmission system and method
CN109039955A (en) A kind of storage system based on optical-fibre channel
CN210270604U (en) Automatic identification device for module address in distributed control system
CN103823635A (en) System and method for automatically allocating SAS [serial attached SCSI (small computer system interface)] addresses

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