CN105634747B - A kind of method and device indicating network equipment port state - Google Patents

A kind of method and device indicating network equipment port state Download PDF

Info

Publication number
CN105634747B
CN105634747B CN201410709114.3A CN201410709114A CN105634747B CN 105634747 B CN105634747 B CN 105634747B CN 201410709114 A CN201410709114 A CN 201410709114A CN 105634747 B CN105634747 B CN 105634747B
Authority
CN
China
Prior art keywords
port
indicator light
network equipment
period
state
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
CN201410709114.3A
Other languages
Chinese (zh)
Other versions
CN105634747A (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.)
Huawei Technologies Co Ltd
XFusion Digital Technologies Co Ltd
Original Assignee
Huawei Digital Technologies Suzhou 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 Huawei Digital Technologies Suzhou Co Ltd filed Critical Huawei Digital Technologies Suzhou Co Ltd
Priority to CN201410709114.3A priority Critical patent/CN105634747B/en
Publication of CN105634747A publication Critical patent/CN105634747A/en
Application granted granted Critical
Publication of CN105634747B publication Critical patent/CN105634747B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention discloses a kind of method and devices for indicating network equipment port state, the port status of the network equipment is indicated for solving to exist in the prior art, in the presence of needing to increase network equipment size, network equipment port density is reduced, and obtains the high problem of port status complexity.In the embodiment of the present invention, corresponding indicator light, which is respectively provided with, for each network equipment port shows the period, using time division multiplexing mode, control the port status that one group of indicator light successively shows each network equipment port, the indicator lamp quantity for including in the network equipment need not be transformed, also it need not increase network equipment size, to effectively reduce scrap build cost;Also, the port status that heterogeneous networks device port is shown by one group of indicator light, will not generate the waste of indicator light, and reduce the complexity for obtaining port status, improve the efficiency for obtaining port status.

Description

A kind of method and device indicating network equipment port state
Technical field
The present invention relates to network equipment field more particularly to a kind of method and devices for indicating network equipment port state.
Background technique
With the rapid development of Internet technology, the various network equipments (such as interchanger, router, network interface card) have been obtained extensively General application.
Multiple ports are generally comprised in the above-mentioned network equipment, and are directed to each network equipment port, are required to pass through phase One or two indicator lights answered indicate the port status of the network equipment port.Wherein, port status includes link state (link state) and data transmission state (active state).Currently, can be incited somebody to action for the network equipment using multilink form One network equipment port is split as multiple single-stranded road ports, for example, 40GE Ethernet switch includes 1 40GE ethernet side Mouthful, and the ethernet port supports that fractionation function can be by the 40GE Ethernet by the dedicated fractionation connection cables of interchanger Port is split as four 10GE ethernet ports, which can connect an external port 10GE The network equipment.
It is designed based on existing network equipment port indicator light, when a network equipment port is split as multiple ports When, one or two corresponding indicator lights, which are respectively provided with, generally directed to each port after splitting carries out port status instruction. For example, a 40GE ethernet port is split as four single-stranded road ports of 10GE, need to be arranged four groups of indicator lights at this time, respectively Corresponding to the single-stranded road port of aforementioned four 10GE, the single-stranded road port of each 10GE is made to possess independent one group of indicator light instruction Corresponding port status.
Based on the above-mentioned technical proposal, for the multilink network equipment, multiple groups indicator light will be present;Keeping network equipment end In the case that mouth quantity is constant, the increase of indicator lamp quantity in the network equipment will lead to the increase of network equipment size, and keep In the case where network equipment size constancy, the increase of indicator lamp quantity in the network equipment will lead to network equipment port quantity It reduces;Also, when a network equipment port is split as multiple single-stranded road ports, each group of indicator light will indicate each Single-stranded road port after fractionation;It is when the network equipment port is not split, only one group of indicator light is in running order, He will be in close state indicator light, will cause the waste of indicator light, and for the unfamiliar use of network equipment working state Family, the port status result that more indicator light will improve the complexity of user's read port state, and then user is caused to obtain For error result.
It can be seen that by adopting the above technical scheme, indicating the port status of the network equipment, exists and need network Equipment size increases, and network equipment port density reduces, and obtains the high problem of port status complexity.
Summary of the invention
The embodiment of the present invention provides a kind of method and device for indicating network equipment port state, to solve the prior art Middle presence indicates the port status of the network equipment exist and need to increase network equipment size, network equipment port is close Degree reduces, and obtains the high problem of port status complexity.
Specific technical solution provided in an embodiment of the present invention is as follows:
In a first aspect, providing a kind of method for indicating network equipment port state, comprising: according to a set of network devices port The network equipment port number that corresponding default indicator light display cycle and a set of network devices port are included, determining should The corresponding indicator light of each network equipment port shows the period in set of network devices port;According to preset network equipment end The port status display order of mouth, one group of indicator light of control show the period in the corresponding indicator light of each network equipment port It is interior, successively show the port status of each network equipment port.
With reference to first aspect, in the first possible implementation, the number for the indicator light for including when one group of indicator light When being one, the corresponding indicator light of each network equipment port is shown that the period is divided into that there is no period overlappings extremely Few two parts, wherein a part of indicator light shows the period for carrying out port-mark instruction, when another part indicator light is shown Between section for carrying out port status instruction;For any one network equipment port in set of network devices port, in institute It states the corresponding a part of indicator light of any one network equipment port and shows the progress port-mark instruction, Yi Ji in the period The corresponding another part indicator light of any one network equipment port, which is shown, carries out the port status instruction in the period.
The first possible implementation with reference to first aspect controls the finger in the second possible implementation Show that lamp is shown in the period in the corresponding a part of indicator light of any one network equipment port, according to the first preset rules into The row port-mark instruction;And the control indicator light refers in the corresponding another part of any one network equipment port Show that lamp was shown in the period, carries out the port status instruction according to the second preset rules.
With reference to first aspect, in the third possible implementation, the number for the indicator light for including when one group of indicator light When being at least two, for any one network equipment port in set of network devices port, in any one network The corresponding indicator light of device port shows in the period that the first indicator light of control carries out port-mark instruction;And described any The corresponding indicator light of one network equipment port shows in the period that the second indicator light of control carries out port status instruction.
The third possible implementation with reference to first aspect controls described the in the fourth possible implementation One indicator light is shown in the period in the corresponding indicator light of any one network equipment port, is carried out according to the first preset rules The port-mark instruction;And control second indicator light is aobvious in the corresponding indicator light of any one network equipment port Show in the period, carries out the port status instruction according to the second preset rules.
Any one realization of the first possible implementation into the 4th kind of possible implementation with reference to first aspect Mode, in a fifth possible implementation, for any one network equipment port in set of network devices port, Controlling the method that the indicator light carries out the port status instruction is, if the number of one group of indicator light is one, when When the link state is link-down state, the indicator light is controlled in the corresponding port of any one network equipment port In the period of state instruction, according to first port state instruction rule, indicate that the link state is link-down state;When The link state be link connection status when, if data transmission state be there is no data transmission, control the finger Show lamp within the period of the corresponding port status instruction of any one network equipment port, according to second port state instruction Rule indicates that the link state is link connection status, and data transmission state is that there is no data transmission;When described Link state be link connection status when, if data transmission state be there are data transmission, control the indicator light and exist In the period of the corresponding port status instruction of any one network equipment port, according to third port state instruction rule, Indicate that the link state is link connection status, and data transmission state is that there are data transmission;If described one group refers to The number for showing lamp is at least two, then when link state is link-down state, controls second indicator light at described The corresponding indicator light of a network equipment port of anticipating was shown in the period, is indicated rule according to the 4th port status, is indicated the chain Line state is link-down state;When the link state is link connection status, if data transmission state is not deposit It is transmitted in data, then controls second indicator light in the corresponding indicator light of any one network equipment port and show the period It is interior, according to fifth port state instruction rule, indicate that the link state is link connection status, and data transmission state For there is no data to transmit;When the link state is link connection status, if data transmission state is that there are data Transmission then controls second indicator light and shows in the period in the corresponding indicator light of any one network equipment port, root Rule is indicated according to the 6th port status, indicates that the link state is link connection status, and data transmission state is to deposit It is transmitted in data.
Second aspect provides a kind of device for indicating network equipment port state, comprising: determination unit, for according to one The network equipment end that set of network devices port corresponding default indicator light display cycle and a set of network devices port are included Mouth number determines that the corresponding indicator light of each network equipment port shows the period in the set of network devices port;Display control Unit processed controls one group of indicator light in determination unit for the port status display order according to preset network equipment port The corresponding indicator light of each determining network equipment port was shown in the period, successively showed each described network equipment end The port status of mouth.
In conjunction with second aspect, in the first possible implementation, the display control unit is specifically used for: when one When the number for the indicator light that group indicator light includes is one, the corresponding indicator light of each network equipment port is shown into the period It is divided into at least two parts being overlapped there is no the period, wherein a part of indicator light shows the period for carrying out port mark Know instruction, another part indicator light shows the period for carrying out port status instruction;For set of network devices port In any one network equipment port, shown in the period in the corresponding a part of indicator light of any one network equipment port It carries out the port-mark instruction, and shows the time in the corresponding another part indicator light of any one network equipment port The port status instruction is carried out in section.
The first possible implementation in conjunction with second aspect, in the second possible implementation, the display control Unit processed, is specifically used for: controlling the indicator light and shows in the corresponding a part of indicator light of any one network equipment port In period, the port-mark instruction is carried out according to the first preset rules;And the control indicator light is described any one The corresponding another part indicator light of network equipment port was shown in the period, carried out the port status according to the second preset rules Instruction.
In conjunction with second aspect, in the third possible implementation, the display control unit is specifically used for: when one When the number for the indicator light that group indicator light includes is at least two, for any one network in set of network devices port Device port shows in the period that the first indicator light of control is carried out in the corresponding indicator light of any one network equipment port Port-mark instruction;And it is shown in the period in the corresponding indicator light of any one network equipment port, the second instruction of control Lamp carries out port status instruction.
The third possible implementation in conjunction with second aspect, in the fourth possible implementation, the display control Unit processed, is specifically used for: control first indicator light is in the corresponding indicator light display of any one network equipment port Between in section, carry out the port-mark instruction according to the first preset rules;And control second indicator light is described any The corresponding indicator light of one network equipment port was shown in the period, carried out the port status instruction according to the second preset rules.
Any one realization of the first possible implementation into the 4th kind of possible implementation in conjunction with second aspect Mode, in a fifth possible implementation, the port status include link state and data transmission state;For described Any one network equipment port in one set of network devices port, the display control unit control described in the indicator light progress The method of port status instruction, specifically includes: if the number of one group of indicator light is one, when the link state is chain When the off-state of road, the indicator light is controlled in the period of the corresponding port status instruction of any one network equipment port It is interior, according to first port state instruction rule, indicate that the link state is link-down state;When the link state is chain Road connection status when, if data transmission state be there is no data transmission, control the indicator light described any one In the period of the corresponding port status instruction of network equipment port, according to second port state instruction rule, the chain is indicated Line state is link connection status, and data transmission state is that there is no data transmission;When the link state is link When connection status, if data transmission state is that there are data transmission, the indicator light is controlled in any one network In the period of the corresponding port status instruction of device port, according to third port state instruction rule, the link shape is indicated State is link connection status, and data transmission state is that there are data transmission;If the number of one group of indicator light is extremely It is two few, then when link state is link-down state, second indicator light is controlled at any one network equipment end The corresponding indicator light of mouth was shown in the period, indicated rule according to the 4th port status, indicated that the link state is disconnected for link Open state;When the link state is link connection status, if data transmission state is to control there is no data transmission It makes second indicator light to show in the period in the corresponding indicator light of any one network equipment port, according to fifth port State instruction rule indicates that the link state is link connection status, and data transmission state is that there is no data biographies It is defeated;When the link state is link connection status, if data transmission state is there are data transmission, described in control Second indicator light is shown in the period in the corresponding indicator light of any one network equipment port, is referred to according to the 6th port status Show rule, indicates that the link state is link connection status, and data transmission state is that there are data transmission.
In the embodiment of the present invention, according to a set of network devices port corresponding default indicator light display cycle and one group The network equipment port number that network equipment port includes determines that the corresponding indicator light of each network equipment port shows the time Section;According to preset port status display order, one group of indicator light is controlled in the corresponding indicator light of each network equipment port It shows in the period, successively shows the port status of each network equipment port.Using technical solution of the present invention, for each A network equipment port is respectively provided with corresponding indicator light and shows the period, using time division multiplexing mode, control one group of indicator light according to The secondary port status for showing each network equipment port, is transformed without to the indicator lamp quantity for including in the network equipment, Also it need not increase network equipment size, to effectively reduce scrap build cost;Also, it is different by one group of indicator light display The port status of network equipment port, will not generate the waste of indicator light, and reduce the complexity for obtaining port status, improve Obtain the efficiency of port status.
Detailed description of the invention
Fig. 1 is network equipment port state instruction flow chart in the embodiment of the present invention;
Fig. 2 is indicator light display cycle schematic diagram in the embodiment of the present invention;
Fig. 3 is middle port of embodiment of the present invention mark instruction schematic diagram;
Fig. 4 is that indicator light shows period schematic diagram one in the embodiment of the present invention;
Fig. 5 is middle port of embodiment of the present invention switching instruction schematic diagram;
Fig. 6 is that indicator light shows period schematic diagram two in the embodiment of the present invention;
Fig. 7 is that two indicator lights indicate port status diagram in the embodiment of the present invention;
Fig. 8 is middle port of embodiment of the present invention state instruction schematic diagram;
Fig. 9 is that once port status indicates schematic diagram to application scenarios in the embodiment of the present invention;
Figure 10 is two lower port state instruction schematic diagram of application scenarios in the embodiment of the present invention;
Figure 11 is three lower port state instruction schematic diagram of application scenarios in the embodiment of the present invention;
Figure 12 is four lower port state instruction schematic diagram of application scenarios in the embodiment of the present invention;
Figure 13 is five lower port state instruction schematic diagram of application scenarios in the embodiment of the present invention;
Figure 14 is the apparatus structure schematic diagram that network equipment port state is indicated in the embodiment of the present invention;
Figure 15 is the device structure schematic diagram that network equipment port state is indicated in the embodiment of the present invention.
Specific embodiment
Indicate the port status of the network equipment exist and need the network equipment to solve to exist in the prior art Size increases, and network equipment port density reduces, and obtains the high problem of port status complexity.In the embodiment of the present invention, Corresponding indicator light is respectively provided with for each network equipment port and shows the period, using time division multiplexing mode, controls one group Indicator light successively shows the port status of each network equipment port, without to the indicator lamp quantity for including in the network equipment into Row transformation need not also increase network equipment size, to effectively reduce scrap build cost;Also, pass through one group of indicator light The port status for showing heterogeneous networks device port, will not generate the waste of indicator light, and reduces and obtain answering for port status Miscellaneous degree improves the efficiency for obtaining port status.
With reference to the accompanying drawings of the specification, the embodiment of the present invention is described in further detail.
As shown in fig.1, in the embodiment of the present invention, carrying out the process that the port status of network equipment port is shown includes:
Step 100: according to a set of network devices port corresponding default indicator light display cycle and a set of network devices The network equipment port number that port is included determines the corresponding finger of each network equipment port in the set of network devices port Show that lamp shows the period.
In the embodiment of the present invention, one group of indicator light is locally being preset, which includes at least one indicator light;Control Make the port status that one group of indicator light shows each network equipment port in a set of network devices port.Wherein, port shape State includes link state and data transmission state;When indicator light shows the port status of any one network equipment port, it can adopt It is bright or the long mode gone out shows different port status with length, it can also be shown not by the way of according to default flicker frequency Same port status.
As shown in fig.2, being directed to each set of network devices port, the corresponding indicator light display cycle is preset;And according to The network equipment port number for including in each set of network devices port divides the default indicator light display cycle, makes every One network equipment port possesses itself corresponding indicator light and shows the period, and shows in the period and carried out accordingly in indicator light The port status of network equipment port indicates.For example, the network equipment port number for including in a set of network devices port is n, One default indicator light display cycle is T, then the indicator light display cycle is averagely divided into n parts, the period 1 is the network equipment The corresponding indicator light in port 1 shows that period, period 2 are that the corresponding indicator light of network equipment port 2 shows the period, successively Analogize, period n is that the corresponding indicator light of network equipment port n shows the period.
Wherein, the corresponding indicator light of each network equipment port shows that the period is same or different, when each net When the corresponding indicator light of network device port shows that the period is identical, the port shape of user's reading network equipment port will be easily facilitated After the ethernet port of a 40GE is such as split as 4 single-stranded road ports of 10GE, the default indicator light display cycle is arranged in state It is 20 seconds, then the corresponding default indicator light of each network equipment port is shown that the period is 5 seconds.
Step 110: according to the port status display order of preset network equipment port, controlling one group of indicator light each The corresponding indicator light in a port was shown in the period, successively showed the port status of each network equipment port.
In the embodiment of the present invention, when the number for the indicator light that one group of indicator light includes is one, each network is set Show that the period is divided into at least two parts being overlapped there is no the period for the corresponding indicator light in port, wherein a part refers to Show that lamp shows that the period shows that the period refers to for carrying out port status for carrying out port-mark instruction, another part indicator light Show;For any one network equipment port, shown in the period successively in the corresponding indicator light of any one network equipment port Carry out port-mark instruction and port status instruction.
Wherein, above-mentioned port-mark can be port numbers;For the ease of user's read port state, usually indicator light is shown Show that the first part in the period indicates the time as port-mark, second part indicates the time as port status;For appoint The port-mark of a network equipment port of anticipating indicates that control instructions lamp was shown in first part's indicator light in the period, according to the One preset rules carry out port-mark instruction;And control instructions lamp is shown in the period in second part indicator light, according to the Two preset rules carry out port status instruction.
Wherein, for different port-marks, control instructions lamp carries out port-mark instruction using the first preset rules, should First preset rules can also carry out port using a kind of fixed color to carry out port-mark instruction using predeterminated frequency Mark instruction.For example, being directed to two network equipment ports, shows in the period, adopt in the corresponding indicator light of network equipment port 1 Port-mark instruction is carried out with red indicating light, is shown in the period in the corresponding indicator light of network equipment port 2, using green Indicator light carries out port-mark instruction.In another example being that predeterminated frequency is respectively adopted for four network equipment ports refering to Fig. 3 The schematic diagram for carrying out port-mark instruction shows that the period, (such as the indicator light was shown in the corresponding indicator light of network equipment port 1 Period is 2 seconds) in, use frequency to indicate that current time is aobvious for 2 hertz of 1 pulse (i.e. each pulse is 250 milliseconds) The port status shown is the port status of network equipment port 1, shows the period in the corresponding indicator light of network equipment port 2 It is interior, use frequency to indicate that the port status of current time display is the port shape of network equipment port 2 for 2 hertz of 2 pulses State is shown in the period in the corresponding indicator light of network equipment port 3, when frequency being used to indicate current for 2 hertz of 3 pulses The port status for carving display is the port status of network equipment port 3, shows the time in the corresponding indicator light of network equipment port 4 In section, frequency is used to indicate that the port status of current time display is the port of network equipment port 4 for 2 hertz of 4 pulses State.
Optionally, port-mark instruction is started with low level, is terminated with low level, is originated low level duration and is terminated low The duration of level is that 1/4 port-mark indicates corresponding pulse.
In addition, being directed to different port-marks, control instructions lamp carries out port status instruction using the second preset rules, should Second preset rules can be that, for all-network device port, can carry out port status using a kind of default flicker frequency Instruction can also carry out port status instruction using different colors.For example, being directed to two network equipment ports, set in network The standby corresponding indicator light in port 1 shows in the period, goes out or the mode of frequency f carries out port status using length is bright perhaps long Instruction shows in the period in the corresponding indicator light of network equipment port 2, same bright perhaps long to be gone out or frequency f by long Mode carries out port status instruction.In another example for two network equipment ports, in the corresponding indicator light of network equipment port 1 It shows in the period, uses red indicating light instruction port status for A, use green indicator light instruction port status for B, in net The corresponding indicator light of network device port 2 was shown in the period, equally used red indicating light instruction port status for A, use is green Color indicator light indicates that port status is B.
The switching of the state instruction of heterogeneous networks device port is distinguished for the ease of user, it further, can also will be every The corresponding indicator light of one network equipment port shows that the period is divided into three parts, wherein first part's indicator light is shown Period shows the period for carrying out port-mark instruction, third for carrying out port switching instruction, second part indicator light Part indicator light shows the period for carrying out port status instruction.For example, as shown in fig.4, showing the period in indicator light Interior, first time period is used for carrying out port switching instruction, second time period for carrying out port-mark instruction, third period In progress port status instruction.
Wherein, for all network equipment ports, third preset rules can be used, above-mentioned port switching is carried out and refers to Show, the third preset rules can for using fixed frequency carry out port switching instruction, can also using a kind of fixed color into The instruction of row port switching.
Optionally, as shown in fig.5, port switching instruction is started with low level, terminated with low level, originated low level Duration and the low level duration of end are that 1/4 port switching indicates corresponding pulse.For example, as shown in fig.5, in network The indicator light of device port 1 is shown in period (such as indicator light shows that time segment length is 1 second), uses frequency for 4 hertz 4 pulses (i.e. each pulse be 250 milliseconds), using when a length of 62.5 milliseconds of low level open as what port switching indicated Begin, carries out port switching instruction;In another example for two network equipment ports, it is aobvious in the corresponding indicator light of network equipment port 1 Show in the period, port switching instruction carried out using yellow, is shown in the period in the corresponding indicator light of network equipment port 2, Port switching instruction is still carried out using yellow.In addition, port switching instruction can also be started with low level, high level terminates, and rises A length of 1/2 port switching indicates corresponding pulse when beginning low level.
In the embodiment of the present invention, when the number for the indicator light that one group of indicator light includes be at least two when, by this at least two The first indicator light in a indicator light is arranged for port-mark instruction, by the second indicator light at least two indicator light It is arranged for port status instruction;It is shown in the period in the corresponding indicator light of any one network equipment port, control first Indicator light carries out port-mark instruction;And it is shown in the period in the corresponding indicator light of any one network equipment port, control Second indicator light carries out port status instruction.
Wherein, it is indicated for port-mark instruction and port status, specifically: the first indicator light of control is shown in indicator light In period, port-mark instruction is carried out according to the first preset rules;And the second indicator light of control is in any one network equipment The corresponding indicator light in port was shown in the period, carried out port status instruction according to the second preset rules.First preset rules Port-mark instruction can also be carried out using a kind of fixed color to carry out port-mark instruction using predeterminated frequency;Example Such as, it for two network equipment ports, is shown in the period in the corresponding indicator light of network equipment port 1, the first indicator light is logical A pulse (i.e. the first indicator light flashing is primary) is crossed, port-mark instruction is carried out, in the corresponding indicator light of network equipment port 2 It shows in the period, the first indicator light carries out port-mark instruction by two pulses (i.e. the first indicator light flashes twice);Again For example, being directed to two network equipment ports, shown in the period in the corresponding indicator light of network equipment port 1, the first indicator light It is displayed in red to carry out port-mark instruction, is shown in the period in the corresponding indicator light of network equipment port 2, the first indicator light Display green is to carry out port-mark instruction.
For different port-marks, the second indicator light is controlled using the second preset rules and carries out port status instruction, it should Second preset rules can be that, for all-network device port, can carry out port status using a kind of default flicker frequency Instruction can also carry out port status instruction using different colors.
Distinguish that the switching of the state instruction of heterogeneous networks device port can also further increase for the ease of user Carry out the time of port switching instruction;Wherein it is possible to which controlling the first indicator light carries out port switching instruction, needs will be referred at this time Show that lamp shows that the period is divided into two parts, is shown in the period in first part's indicator light, the first indicator light is for being held Mouth switching instruction, shows in the period, the first indicator light is being indicated for carrying out port-mark instruction in second part indicator light Lamp shows in the period that the second indicator light is for carrying out port status instruction;For example, as shown in fig.6, in indicator light display Between in section, first time period is for carrying out port switching instruction, and second time period is for carrying out port-mark instruction, the second instruction Lamp is for carrying out port status instruction.Further, it is also possible to control the second indicator light carry out port switching instruction, will need at this time by Indicator light shows that the period is divided into two parts, shows in the period in first part's indicator light, the second indicator light is for carrying out Port switching instruction shows in the instruction period that the second indicator light is used to carry out port status instruction in second part indicator light, It is shown in the period in indicator light, the first indicator light is for carrying out port-mark instruction.
Further, when controlling the progress port switching instruction of the first indicator light, the second indicator light can also be controlled whole A indicator light, which is shown, carries out port status instruction in the period, or carries out the same of port switching instruction in the first indicator light When, the second indicator light of control carries out port status switching.
Wherein, it is indicated for port switching, control instructions lamp is shown that the preset rules can using third preset rules Think and port switching instruction is carried out using predeterminated frequency, port switching instruction can also be carried out using a kind of fixed color.For example, As shown in fig.7, shown in the period in the corresponding indicator light of any one network equipment port, the first indicator light of control according to 4 pulses that frequency is 4 hertz (when i.e. a second rushes a length of 250 milliseconds) carry out port switching instruction, indicate in port switching Later, frequency is used to rush in the instruction of row port-mark for two seconds of 2 hertz (pulse duration is 500 milliseconds), notice is used The port status of the second indicator light of family instruction is the port status of network equipment port 2.
Optionally, port switching instruction is started with low level, is terminated with low level, is originated low level duration and is terminated low The duration of level is that 1/4 port switching indicates corresponding pulse.In addition, port switching instruction can also be opened with low level Begin, high level terminates, and a length of 1/2 port switching indicates corresponding pulse when originating low level.
In the embodiment of the present invention, port status includes link state and data transmission state;Based on this, for any one net Network device port, if the number of one group of indicator light is one, when link state is link-down state, control instructions lamp exists In the period of the corresponding port status instruction of any one network equipment port, according to first port state instruction rule, refer to Show that link state is link-down state;When link state is link connection status, if data transmission state is not deposit Transmitted in data, then control instructions lamp within the period of the corresponding port status instruction of above-mentioned any one network equipment port, According to second port state instruction rule, instruction link state is link connection status, and data transmission state is not deposit It is transmitted in data;When link state is link connection status, if data transmission state is to control there are data transmission Indicator light refers within the period of the corresponding port status instruction of above-mentioned any one network equipment port according to third port state Show rule, instruction link state is link connection status, and data transmission state is that there are data transmission;
If the number of one group of indicator light is at least two, when link state is link-down state, control second refers to Show that lamp is shown in the period in the corresponding indicator light of any one network equipment port, indicate rule according to the 4th port status, Instruction link state is link-down state;When link state is link connection status, if data transmission state is not There are data transmission, then control the second indicator light in the corresponding indicator light of above-mentioned any one network equipment port and show the period Interior, according to fifth port state instruction rule, instruction link state is link connection status, and data transmission state is not There are data transmission;When link state is link connection status, if data transmission state is to control there are data transmission It makes the second indicator light to show in the period in the corresponding indicator light of above-mentioned any one network equipment port, according to the 6th port status Instruction rule, instruction link state is link connection status, and data transmission state is that there are data transmission.
Wherein, by way of control instructions lamp flicker frequency, display data transmissions state, when indicator light is according to flashing frequency When rate is flashed, determines and be in data transmission state, when indicator light does not flash, determination is not in data transmission state, I.e. there is no data to transmit, as shown in fig.8, indicating in the time for data transmission state in the embodiment of the present invention, data transmission State instruction schematic diagram, the flicker frequency are 8 hertz, indicate that there are data transmission (to be in active shape using the flicker frequency State);It is by way of long bright or length is gone out, to show link state control instructions lamp, when indicator light is long bright, determines link State is link connected status (being in link up state) and there is no data to transmit, and when indicator light is long goes out, determines chain Road disconnects and (is in link down state), and data must be not present at this time and transmit.
In addition, being directed to heterogeneous networks equipment, the project that port status is included is different, and above only includes chain with port status It is introduced for line state and data transmission state, instruction when including sundry item for port status, to sundry item Lamp display mode is identical as aforesaid way, and details are not described herein.
By adopting the above technical scheme, using time-multiplexed mode, pass through the different action identification networks of one group of indicator light The port-mark and port status of device port, to realize the end for indicating multiple network equipment ports using one group of indicator light Mouth state effectively supports network equipment port and splits in application, referring to the port status of network equipment port each after fractionation Show, when effectively preventing the progress port status instruction of multiple groups indicator light, needs the problem of being transformed to the network equipment.
Based on the above-mentioned technical proposal, below with reference to specific application scenarios, network equipment port is described in detail and indicates process.
Application scenarios one
As shown in fig.9, in the embodiment of the present invention, when the indicator light number that one group of indicator light includes is one, setting One indicator light shows that the period is 5s, wherein the period of port switching instruction is 1 second, the period of port-mark instruction It is 2 seconds, the period of port links state instruction is 2 seconds.
Specifically, 4 pulses that setting frequency is 4 hertz indicate that port is cut when port-mark is network equipment port 2 Instruction is changed, for indicating that the port status of network equipment port 1 indicates to be over;Be arranged frequency be 2 hertz 2 pulses into The instruction of row port-mark indicates that current time was in the indicator light display period of network equipment port 2;Setting length is bright Or long go out carries out port status instruction, when indicator light is long bright, indicates the normal (link of 2 link state of network equipment port up)。
Application scenarios two
As shown in fig.10, in the embodiment of the present invention, when the indicator light number that one group of indicator light includes is one, setting One indicator light shows that the period is 5s, wherein the period of port switching instruction is 1 second, the period of port-mark instruction It is 2 seconds, the period of port data transmission state instruction is 2 seconds.
Specifically, 4 pulses that setting frequency is 4 hertz indicate that port is cut when port-mark is network equipment port 3 Instruction is changed, for indicating that the port status of network equipment port 2 indicates to be over;Be arranged frequency be 2 hertz 3 pulses into The instruction of row port-mark indicates that current time was in the indicator light display period of network equipment port 3;Frequency is set Port status instruction is carried out for 8 hertz of 16 pulses, when indicator light is flashing state, indicates that network equipment port 3 is in Data transmission state (active).
Application scenarios three
Refering to fig. 1 shown in 1, in the embodiment of the present invention, when the indicator light number that one group of indicator light includes is two, setting One indicator light shows that the period is 3s, wherein carries out port switching instruction by the first indicator light and port-mark indicates, by the Two indicator lights carry out port status instruction, and the period of port switching instruction is 1 second, and the period of port-mark instruction is 2 seconds, The period of port data transmission state instruction is 2 seconds.
Specifically, controlling 4 arteries and veins that the first indicator light is 4 hertz with frequency when port-mark is network equipment port 3 Punching indicates port switching instruction, indicates that the port status instruction of network equipment port 2 is over;The first indicator light is controlled with frequency 3 pulses that rate is 2 hertz carry out port-mark instruction, indicate that current time has been in the indicator light of network equipment port 3 It shows in the period;It controls the second indicator light and carries out port status instruction with 16 pulses that frequency is 8 hertz, when indicator light is When flashing state, indicate that network equipment port 3 is in data transmission state (active).
Optionally, the second indicator light is shown in the period in the corresponding indicator light of network equipment port 3, is at the 1st second Now it is long mode or long bright of going out, when reaching the 2nd second, port status is presented;In addition, the second indicator light can also entirely refer to Show that lamp was shown in the period, display port state is rushed with 8 hertz of second.
Application scenarios four
Refering to fig. 1 shown in 2, in the embodiment of the present invention, when the indicator light number that one group of indicator light includes is one, setting One indicator light shows that the period is 5s, wherein the period of port switching instruction is 1 second, the period of port-mark instruction It is 2 seconds, the period of port links state instruction is 2 seconds.
Specifically, setting indicator light is presented orange expression port switching and refers to when port-mark is network equipment port 2 Show, for indicating that the port status of network equipment port 1 indicates to be over;Indicator light is set, green is presented, and with frequency for 2 2 pulses of hertz carry out port-mark instruction, when indicating that current time has been in the indicator light display of network equipment port 2 Between in section;Setting indicator light is presented green long bright or long go out and carries out port status instruction, when indicator light is long bright, indicates network 2 link state of device port is normal (link up).
Application scenarios five
Refering to fig. 1 shown in 3, in the embodiment of the present invention, when the indicator light number that one group of indicator light includes is one, setting One indicator light shows that the period is 5s, wherein the period of port switching instruction is 1 second, the period of port-mark instruction It is 2 seconds, the period of port links state instruction is 2 seconds.
Specifically, orange expression network equipment port is presented in setting indicator light when port-mark is network equipment port 3 2 port status instruction is over;Indicator light is set, green is presented, and 3 pulses that frequency is 2 hertz carry out port-mark Instruction indicates that current time was in the indicator light display period of network equipment port 3;Indicator light is set, orange is presented Color, and 16 pulses for being 8 hertz with frequency carry out port status instruction, when indicator light is flashing state, indicate that network is set Standby port 3 is in data transmission state (active).
Based on the above-mentioned technical proposal, refering to fig. 1 shown in 4, the embodiment of the present invention provides a kind of instruction network equipment port Device, including determination unit 140 and display control unit 141, in which:
Determination unit 140, for according to a set of network devices port corresponding default indicator light display cycle and one group The network equipment port number that network equipment port is included determines each network equipment port in the set of network devices port Corresponding indicator light shows the period;
Display control unit 141 controls one group for the port status display order according to preset network equipment port Indicator light is shown in the period in the corresponding indicator light of each network equipment port that determination unit 140 determines, is successively shown The port status of each network equipment port.
Wherein, display control unit 141 are specifically used for: when the number for the indicator light that one group of indicator light includes is one, The corresponding indicator light of each network equipment port is shown that the period is divided into there is no at least two parts of period overlapping, Wherein, a part of indicator light shows that the period shows that the period is used for for carrying out port-mark instruction, another part indicator light Carry out port status instruction;For any one network equipment port in set of network devices port, described any one The corresponding a part of indicator light of network equipment port, which is shown, carries out the port-mark instruction in the period, and described any The corresponding another part indicator light of one network equipment port, which is shown, carries out the port status instruction in the period.
Optionally, the display control unit 141, is specifically used for: controlling the indicator light and sets in any one network It is shown in the period for the corresponding a part of indicator light in port, carries out the port-mark instruction according to the first preset rules;With And the control indicator light is shown in the period in the corresponding another part indicator light of any one network equipment port, according to Second preset rules carry out the port status instruction.
Optionally, the display control unit 141, is specifically used for: when the number for the indicator light that one group of indicator light includes is When at least two, for any one network equipment port in set of network devices port, set in any one network It is shown in the period for the corresponding indicator light in port, the first indicator light of control carries out port-mark instruction;And described any one The corresponding indicator light of network equipment port shows in the period that the second indicator light of control carries out port status instruction.
Optionally, the display control unit 141, is specifically used for: control first indicator light is in any one net The corresponding indicator light of network device port was shown in the period, carried out the port-mark instruction according to the first preset rules;And Second indicator light is controlled to show in the period in the corresponding indicator light of any one network equipment port, it is pre- according to second If rule carries out the port status instruction.
For any one network equipment port in set of network devices port, the display control unit 141 is controlled The method that the indicator light carries out the port status instruction is made, is specifically included: if the number of one group of indicator light is one, Then when the link state is link-down state, it is corresponding in any one network equipment port to control the indicator light In the period of port status instruction, according to first port state instruction rule, indicate that the link state is that link disconnects shape State;When the link state is link connection status, if data transmission state is to control institute there is no data transmission Indicator light is stated within the period of the corresponding port status instruction of any one network equipment port, according to second port state Instruction rule indicates that the link state is link connection status, and data transmission state is that there is no data transmission;When The link state be link connection status when, if data transmission state be there are data transmission, control the instruction Lamp is advised within the period of the corresponding port status instruction of any one network equipment port according to third port state instruction Then, indicate that the link state is link connection status, and data transmission state is that there are data transmission;If described one group The number of indicator light is at least two, then when link state is link-down state, controls second indicator light described The corresponding indicator light of any one network equipment port shows in the period, rule is indicated according to the 4th port status, described in instruction Link state is link-down state;When the link state is link connection status, if data transmission state is not There are data transmission, then control second indicator light in the corresponding indicator light of any one network equipment port and show the time In section, according to fifth port state instruction rule, indicate that the link state is link connection status, and data transmit shape State is that there is no data transmission;When the link state is link connection status, if data transmission state is that there are numbers According to transmission, then controls second indicator light and is shown in the period in the corresponding indicator light of any one network equipment port, Rule is indicated according to the 6th port status, indicates that the link state is link connection status, and data transmission state is There are data transmission.
Based on the above-mentioned technical proposal, refering to fig. 1 shown in 5, the embodiment of the present invention provides a kind of instruction network equipment port shape The equipment of state, including processor 150, memory 151 and bus 152, in which:
Processor 150, for according to a set of network devices port corresponding default indicator light display cycle and a networking The network equipment port number that network device port is included determines each network equipment port pair in the set of network devices port The indicator light answered shows the period;
Memory 151, for obtaining each in the set of network devices port that processor 150 determines by bus 152 The corresponding indicator light of network equipment port shows that the period is stored, and the preset network equipment port status display of storage Sequentially;
Processor 150, the port status for being also used to obtain the preset network equipment port saved in memory 151 are shown Sequence indicator light corresponding with each network equipment port in a set of network devices port shows the period, and default according to this Network equipment port port status display order, one group of indicator light of control is corresponding in determining each network equipment port Indicator light show in the period, successively show the port status of each network equipment port.
Wherein, processor 150 are specifically used for:, will be each when the number for the indicator light that one group of indicator light includes is one The corresponding indicator light of a network equipment port shows that the period is divided into that there is no at least two parts of period overlapping, wherein A part of indicator light shows that the period shows the period for being held for carrying out port-mark instruction, another part indicator light Mouth state instruction;For any one network equipment port in set of network devices port, set in any one network It is shown in the period for the corresponding a part of indicator light in port and successively carries out the port-mark instruction, and described any one The corresponding another part indicator light of network equipment port, which is shown, carries out the port status instruction in the period.
Processor 150, is specifically used for: controlling the indicator light in the corresponding a part of any one network equipment port Indicator light was shown in the period, carried out the port-mark instruction according to the first preset rules;And the control indicator light exists The corresponding another part indicator light of any one network equipment port was shown in the period, carried out institute according to the second preset rules State port status instruction.
Optionally, processor 150 are specifically used for: when the number for the indicator light that one group of indicator light includes is at least two, It is corresponding in any one network equipment port for any one network equipment port in set of network devices port Indicator light shows in the period that the first indicator light of control carries out port-mark instruction;And in any one network equipment port Corresponding indicator light shows in the period that the second indicator light of control carries out port status instruction.
Optionally, processor 150 are specifically used for: control first indicator light is in any one network equipment port Corresponding indicator light was shown in the period, carried out the port-mark instruction according to the first preset rules;And control described the Two indicator lights are shown in the period in the corresponding indicator light of any one network equipment port, are carried out according to the second preset rules The port status instruction.
For any one network equipment port in set of network devices port, processor 150 controls the instruction The method that lamp carries out the port status instruction, specifically includes: if the number of one group of indicator light is one, when the chain When line state is link-down state, controls the indicator light and refer in the corresponding port status of any one network equipment port In the period shown, according to first port state instruction rule, indicate that the link state is link-down state;When the chain Line state be link connection status when, if data transmission state be there is no data transmission, control the indicator light and exist In the period of the corresponding port status instruction of any one network equipment port, according to second port state instruction rule, Indicate that the link state is link connection status, and data transmission state is that there is no data transmission;When the link State be link connection status when, if data transmission state be there are data transmission, control the indicator light described In the period of the corresponding port status instruction of any one network equipment port, according to third port state instruction rule, instruction The link state is link connection status, and data transmission state is that there are data transmission;If one group of indicator light Number be at least two, then when link state is link-down state, control second indicator light described any one The corresponding indicator light of network equipment port was shown in the period, is indicated rule according to the 4th port status, is indicated the link shape State is link-down state;When the link state is link connection status, if data transmission state is that there is no numbers According to transmission, then controls second indicator light and is shown in the period in the corresponding indicator light of any one network equipment port, According to fifth port state instruction rule, indicate that the link state is link connection status, and data transmission state is There is no data transmission;When the link state is link connection status, if data transmission state is that there are data biographies It is defeated, then it controls second indicator light and is shown in the period in the corresponding indicator light of any one network equipment port, according to 6th port status instruction rule indicates that the link state is link connection status, and data transmission state is to exist Data transmission.
In conclusion in the embodiment of the present invention, according to a set of network devices port corresponding default indicator light display cycle, And the set of network devices port network equipment port number that is included, determine each network in the set of network devices port The corresponding indicator light of device port shows the period;According to the port status display order of preset network equipment port, control One group of indicator light is shown in the period in the corresponding indicator light in each port, successively shows the end of each network equipment port Mouth state.Using technical solution of the present invention, corresponding indicator light is respectively provided with for each network equipment port and shows the period, Using time division multiplexing mode, the port status that one group of indicator light successively shows each network equipment port is controlled, without to net The indicator lamp quantity for including in network equipment is transformed, and need not also be increased network equipment size, be changed to effectively reduce equipment Cause this;Also, the port status that heterogeneous networks device port is shown by one group of indicator light, will not generate the wave of indicator light Take, and reduce the complexity for obtaining port status, improves the efficiency for obtaining port status.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, those skilled in the art can carry out various modification and variations without departing from this hair to the embodiment of the present invention The spirit and scope of bright embodiment.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention And its within the scope of equivalent technologies, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of method for indicating network equipment port state characterized by comprising
Included according to a set of network devices port corresponding default indicator light display cycle and a set of network devices port Network equipment port number determines that the corresponding indicator light of each network equipment port shows the time in the set of network devices port Section;
According to the port status display order of preset network equipment port, one group of indicator light is controlled at each network equipment end The corresponding indicator light of mouth was shown in the period, successively showed the port status of each network equipment port;
It is aobvious according to the port status of preset network equipment port when the number for the indicator light that one group of indicator light includes is one Show sequence, one group of indicator light of control is shown in the period in the corresponding indicator light of each network equipment port, successively shows institute The port status for stating each network equipment port, specifically includes:
The corresponding indicator light of each network equipment port is shown that the period is divided into that there is no at least the two of period overlapping Part, wherein a part of indicator light shows that the period shows the period for carrying out port-mark instruction, another part indicator light For carrying out port status instruction;
For any one network equipment port in set of network devices port, in any one network equipment port pair A part of indicator light answered, which was shown in the period, successively carries out the port-mark instruction, and in any one network equipment The corresponding another part indicator light in port, which is shown, carries out the port status instruction in the period.
2. the method as described in claim 1, which is characterized in that refer in the corresponding a part of any one network equipment port Show that lamp is shown and successively carry out the port-mark instruction in the period, and is corresponding another in any one network equipment port A part of indicator light, which is shown, carries out the port status instruction in the period, specifically include:
The indicator light is controlled to show in the period in the corresponding a part of indicator light of any one network equipment port, according to First preset rules carry out the port-mark instruction;And
It controls the indicator light to show in the period in the corresponding another part indicator light of any one network equipment port, press The port status instruction is carried out according to the second preset rules.
3. a kind of method for indicating network equipment port state characterized by comprising
Included according to a set of network devices port corresponding default indicator light display cycle and a set of network devices port Network equipment port number determines that the corresponding indicator light of each network equipment port shows the time in the set of network devices port Section;
According to the port status display order of preset network equipment port, one group of indicator light is controlled at each network equipment end The corresponding indicator light of mouth was shown in the period, successively showed the port status of each network equipment port;
When the number for the indicator light that one group of indicator light includes is at least two, according to the port shape of preset network equipment port State display order, one group of indicator light of control is shown in the period in the corresponding indicator light of each network equipment port, is successively shown The port status for showing each network equipment port, specifically includes:
For any one network equipment port in set of network devices port, in any one network equipment port pair The indicator light answered shows in the period that the first indicator light of control carries out port-mark instruction;And
It is shown in the period in the corresponding indicator light of any one network equipment port, the second indicator light of control carries out port shape State instruction.
4. method as claimed in claim 3, which is characterized in that aobvious in the corresponding indicator light of any one network equipment port Show in the period, the first indicator light of control carries out port-mark instruction, and in the corresponding finger of any one network equipment port Showing that lamp was shown in the period, the second indicator light of control carries out port status instruction, it specifically includes:
It controls first indicator light to show in the period in the corresponding indicator light of any one network equipment port, according to the One preset rules carry out the port-mark instruction;And
It controls second indicator light to show in the period in the corresponding indicator light of any one network equipment port, according to the Two preset rules carry out the port status instruction.
5. the method as claimed in claim 3 or 4, which is characterized in that the port status includes link state and data transmission State;
For any one network equipment port in set of network devices port, controls the indicator light and carry out the port The method of state instruction, specifically includes:
If the number of one group of indicator light is one, when the link state is link-down state, the finger is controlled Show lamp within the period of the corresponding port status instruction of any one network equipment port, according to first port state instruction Rule indicates that the link state is link-down state;When the link state is link connection status, if data Transmission state is then to control the indicator light in the corresponding port shape of any one network equipment port there is no data transmission In the period of state instruction, according to second port state instruction rule, indicate that the link state is link connection status, And data transmission state is that there is no data transmission;When the link state is link connection status, if data are transmitted State is that there are data transmission, then controls the indicator light in the corresponding port status instruction of any one network equipment port Period in, according to third port state instruction rule, indicate that the link state is link connection status, and data Transmission state is that there are data transmission;
If the number of one group of indicator light is at least two, when link state is link-down state, described the is controlled Two indicator lights are shown in the period in the corresponding indicator light of any one network equipment port, are indicated according to the 4th port status Rule indicates that the link state is link-down state;When the link state is link connection status, if data Transmission state is then to control second indicator light in the corresponding finger of any one network equipment port there is no data transmission Show that lamp was shown in the period, according to fifth port state instruction rule, indicate that the link state is link connection status, And data transmission state is that there is no data transmission;When the link state is link connection status, if data are transmitted State is that there are data transmission, then it is aobvious in the corresponding indicator light of any one network equipment port to control second indicator light Show in the period, rule is indicated according to the 6th port status, indicates that the link state is link connection status, and data Transmission state is that there are data transmission.
6. a kind of device for indicating network equipment port state characterized by comprising
Determination unit, for being set according to a set of network devices port corresponding default indicator light display cycle and one group of network The network equipment port number that standby port is included, determines that each network equipment port is corresponding in the set of network devices port Indicator light shows the period;
Display control unit controls one group of indicator light for the port status display order according to preset network equipment port Shown in the period in the corresponding indicator light of each network equipment port that determination unit determines, successively display it is described each The port status of network equipment port;
The display control unit, is specifically used for:
When the number for the indicator light that one group of indicator light includes is one, the corresponding indicator light of each network equipment port is shown Show that the period is divided into that there is no at least two parts of period overlapping, wherein a part of indicator light show the period be used for into The instruction of row port-mark, another part indicator light show the period for carrying out port status instruction;For one group of network Any one network equipment port in device port is shown in the corresponding a part of indicator light of any one network equipment port It successively carries out the port-mark instruction in period, and refers in the corresponding another part of any one network equipment port Show that lamp is shown and carries out the port status instruction in the period.
7. device as claimed in claim 6, which is characterized in that the display control unit is specifically used for:
The indicator light is controlled to show in the period in the corresponding a part of indicator light of any one network equipment port, according to First preset rules carry out the port-mark instruction;And the control indicator light is in any one network equipment port pair Another part indicator light answered was shown in the period, carried out the port status instruction according to the second preset rules.
8. a kind of device for indicating network equipment port state characterized by comprising
Determination unit, for being set according to a set of network devices port corresponding default indicator light display cycle and one group of network The network equipment port number that standby port is included, determines that each network equipment port is corresponding in the set of network devices port Indicator light shows the period;
Display control unit controls one group of indicator light for the port status display order according to preset network equipment port Shown in the period in the corresponding indicator light of each network equipment port that determination unit determines, successively display it is described each The port status of network equipment port;
The display control unit, is specifically used for:
When the number for the indicator light that one group of indicator light includes is at least two, for appointing in set of network devices port It anticipates a network equipment port, shows in the period that control first refers in the corresponding indicator light of any one network equipment port Show that lamp carries out port-mark instruction;And it is shown in the period in the corresponding indicator light of any one network equipment port, control Second indicator light carries out port status instruction.
9. device as claimed in claim 8, which is characterized in that the display control unit is specifically used for:
It controls first indicator light to show in the period in the corresponding indicator light of any one network equipment port, according to the One preset rules carry out the port-mark instruction;And control second indicator light is in any one network equipment port Corresponding indicator light was shown in the period, carried out the port status instruction according to the second preset rules.
10. device as claimed in claim 8 or 9, which is characterized in that the port status includes link state and data transmission State;
For any one network equipment port in set of network devices port, the display control unit controls the finger Show the method that lamp carries out the port status instruction, specifically include:
If the number of one group of indicator light is one, when the link state is link-down state, the finger is controlled Show lamp within the period of the corresponding port status instruction of any one network equipment port, according to first port state instruction Rule indicates that the link state is link-down state;When the link state is link connection status, if data Transmission state is then to control the indicator light in the corresponding port shape of any one network equipment port there is no data transmission In the period of state instruction, according to second port state instruction rule, indicate that the link state is link connection status, And data transmission state is that there is no data transmission;When the link state is link connection status, if data are transmitted State is that there are data transmission, then controls the indicator light in the corresponding port status instruction of any one network equipment port Period in, according to third port state instruction rule, indicate that the link state is link connection status, and data Transmission state is that there are data transmission;
If the number of one group of indicator light is at least two, when link state is link-down state, described the is controlled Two indicator lights are shown in the period in the corresponding indicator light of any one network equipment port, are indicated according to the 4th port status Rule indicates that the link state is link-down state;When the link state is link connection status, if data Transmission state is then to control second indicator light in the corresponding finger of any one network equipment port there is no data transmission Show that lamp was shown in the period, according to fifth port state instruction rule, indicate that the link state is link connection status, And data transmission state is that there is no data transmission;When the link state is link connection status, if data are transmitted State is that there are data transmission, then it is aobvious in the corresponding indicator light of any one network equipment port to control second indicator light Show in the period, rule is indicated according to the 6th port status, indicates that the link state is link connection status, and data Transmission state is that there are data transmission.
CN201410709114.3A 2014-11-28 2014-11-28 A kind of method and device indicating network equipment port state Active CN105634747B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410709114.3A CN105634747B (en) 2014-11-28 2014-11-28 A kind of method and device indicating network equipment port state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410709114.3A CN105634747B (en) 2014-11-28 2014-11-28 A kind of method and device indicating network equipment port state

Publications (2)

Publication Number Publication Date
CN105634747A CN105634747A (en) 2016-06-01
CN105634747B true CN105634747B (en) 2019-07-19

Family

ID=56049303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410709114.3A Active CN105634747B (en) 2014-11-28 2014-11-28 A kind of method and device indicating network equipment port state

Country Status (1)

Country Link
CN (1) CN105634747B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616369A (en) * 2016-12-12 2018-10-02 中国航空工业集团公司西安航空计算技术研究所 Multi port switch chip port link state indicating circuit

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201319611Y (en) * 2008-09-17 2009-09-30 中兴通讯股份有限公司 Box-type device with switched-port status display function
CN102316635A (en) * 2011-06-29 2012-01-11 冠捷显示科技(厦门)有限公司 Method and system for displaying various operating states by bicolor indicating lamp
CN202534123U (en) * 2012-05-04 2012-11-14 刘德云 Alarm system adopting time division multiplexing
CN103873390A (en) * 2012-12-11 2014-06-18 华为技术有限公司 Method for indicating port state, and switch

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1180344C (en) * 2002-02-07 2004-12-15 明基电通股份有限公司 Port state display device and method
US7978845B2 (en) * 2005-09-28 2011-07-12 Panduit Corp. Powered patch panel
CN101237360B (en) * 2008-02-29 2010-09-29 中兴通讯股份有限公司 A communication device and operation status indication method
CN102255763A (en) * 2011-08-30 2011-11-23 迈普通信技术股份有限公司 Network communication anomaly alarming method and Ethernet switch equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201319611Y (en) * 2008-09-17 2009-09-30 中兴通讯股份有限公司 Box-type device with switched-port status display function
CN102316635A (en) * 2011-06-29 2012-01-11 冠捷显示科技(厦门)有限公司 Method and system for displaying various operating states by bicolor indicating lamp
CN202534123U (en) * 2012-05-04 2012-11-14 刘德云 Alarm system adopting time division multiplexing
CN103873390A (en) * 2012-12-11 2014-06-18 华为技术有限公司 Method for indicating port state, and switch

Also Published As

Publication number Publication date
CN105634747A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
CN108556740A (en) Multi-screen shares device and method, computer-readable medium, mobile unit
ATE396571T1 (en) METHOD AND DEVICE FOR A COMPUTER FIREWALL
RU2015115684A (en) METHODS AND DEVICES FOR IMPLEMENTING A NETWORK OF REMOTE TERMINALS
CN105704168B (en) The method and apparatus of relationship between a kind of network node in adjustment Internet of Things
CN105282140B (en) A kind of control method of smart home system, equipment and system
CN105589748A (en) Service request processing method and apparatus
CN109600315A (en) The flow control method and method of adjustment of data channel
CN109729556A (en) Link connection method and relevant apparatus
CN107307873A (en) Mood interactive device and method
CN106254244A (en) A kind of merging stream list item method based on SDN
CN103957159A (en) Method for determining label switched path and path computation elements
CN105634747B (en) A kind of method and device indicating network equipment port state
CN109991858A (en) A kind of scene pairing control method, apparatus and system
CN106104405A (en) Dynamic matrix control pedal
CN105680868B (en) The method and apparatus of compressed stream data
JP2015204584A (en) Distributed control device
CN106292312A (en) The control method of ZigBee pairing packet and equipment
CN105739464B (en) Master Communications method in intelligent appliance equipment
CN106033596B (en) A kind of information processing method and electronic equipment
CN109800510A (en) A kind of method, system and the equipment of FPGA placement-and-routing
CN105515965A (en) Data flow transmission method and transmission device
CN106464615B (en) Disturbance coordination method, device and system
CN109696910A (en) A kind of steering engine motion control method and device, computer readable storage medium
CN105573513B (en) Control module for interactive system
FR2983018B1 (en) INFORMATION TRANSMISSION NETWORK AND PROGRAMMABLE NETWORK NUTS

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20211227

Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee after: HUAWEI TECHNOLOGIES Co.,Ltd.

Address before: 215123 Building A3, Creative Industry Park, 328 Xinghu Street, Suzhou Industrial Park, Jiangsu Province

Patentee before: Huawei digital technology (Suzhou) Co.,Ltd.

Effective date of registration: 20211227

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: Super fusion Digital Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right