Hot reboot processing method for power over Ethernet switch and power over Ethernet switch

20-10-2010 дата публикации
Номер:
CN0101867468A
Автор: LU ZHAO, ZHAO LU
Принадлежит: ZTE Corp
Контакты:
Номер заявки: 20-10-20100607
Дата заявки: 03-06-2010

[1]

Technical Field

[2]

The invention relates to the field of communication, in particular, relates to an Ethernet power supply (Powerover   Ethernet, referred to as PoE) of the exchange processing method and the heat restarts PoE switch.

[3]

Background Art

[4]

Ethernet power supply (PoE) through Ethernet is a electric interface, to the network by twisted pair line of the distal end of the power device to carry out the remote power supply, in order to realize the power supply and the data parallel transmission mechanism. PoE function support Ethernet switch can be formed by a plurality of ports at the same time external power supply, at this moment, the electrical equipment on the network do not need an external power source, thereby enabling the connection to be more simple, power management is more convenient.

[5]

As a switch, at the same time of the power supply, need to assume a lot of data forwarding service, cannot be avoided some of the situation of abnormal need to restart, or software program needs to be upgraded to restart of the apparatus.

[6]

In the related technology, in the above cases, the need for the heat restarts PoE switch, switch PoE at this moment will lead to the interruption of the external power supply and the interruption of data transmission, thus affecting the outer receiving electrical equipment (Power   Device, referred to as PD) with the normal business operation.

[7]

Content of the invention

[8]

The invention place aims at providing a method for processing of the switchboard PoE the heat restarts PoE exchanger and, in order to solve the above-mentioned problem.

[9]

One aspect of the present invention provides an Ethernet power supply switch PoE the heat restarts processing method, including: switch PoE the heat restarts determined to be needed; the exchange control PoE PoE PD exchanger is connected with the power receiving device of the data switching to the backup redundant link transmission; switch PoE start the hot restarting, and reset cancellation PSE external power supply module.

[10]

Furthermore, the exchange control PoE PoE PD of the exchanger is connected with the switch to backup the data on the redundant link transmission comprises: PoE switch the state of the power supply port to the outside world for the link   down link is interrupted; and is connected with the power supply port to the outside of the converted to the state of the ports PD   down link; PD PD of port searching backup redundant link; PD PD port of the data switching to search the to the backup redundant link.

[11]

Furthermore, after completion of the switchboard PoE the heat restarts , further including: switch PoE its own data transmission function with re-usable message notification PD PoE of the exchanger is connected with the.

[12]

Furthermore, the exchange PoE of its own data transmission function with re-usable message notification including PD PoE of the exchanger is connected with the: PoE switch the state of the external power supply port is connected with the link is   up for the link.

[13]

Furthermore, after completion of the switchboard PoE the heat restarts , also includes: obtaining PoE switch the power supply state of the power supply port to the outside world, the need of maintaining and judging whether the power supply of the power supply port to the outside, the judgment result obtained; PoE switch according to the power supply state and the judgment result of the power supply port to the outside.

[14]

Furthermore, switch PoE according to the power supply state and the judgment result of the power supply port to the outside world including: if the power supply is a power supply state, and the judgment result is in the negative, the lower port of the external power supply of the electric processing; if the power supply is not the state of power supply, and the result of the judgement is YES, the power supply port to the outside world is made on the electrical processing.

[15]

Furthermore, switch PoE judging whether it is necessary to maintain the power supply of the power supply port to the outside, including the judging result obtained: PoE switch corresponding to the it judges whether there is a stored power supply configuration of the power supply port to the outside, if so, then judging the need to preserve the power supply of the power supply port to the outside world, otherwise, judging does not need to keep the power supply of the power supply port to the outside.

[16]

Another aspect of the invention provides a switch PoE, including PSE, also includes: determining module, need a hot restart for determining; switching module, is used for controlling with the PoE PD of the exchanger is connected with the switch to the backup of the data transmission on the redundant link; control module, is used to start the hot restarting, and cancel the reset PSE.

[17]

Furthermore, the PoE switch also includes: state determining module, for determining complete the heat restarts PoE exchanger; obtaining module, used for obtaining the power supply state of the power supply port to the outside world; judging module, is used for judging whether the need to preserve the power supply of the power supply port to the outside, from the judgment result; a processing module, for according to the power supply state and the judgment result of the power supply port to the outside.

[18]

Furthermore, processing module comprises: a lower electric processing module, is used for the power supply state of the power supply, and the negative of the judgment result, the power supply port to the outside lower electromanipulation; electrifying processing module, used for the power supply is not the state of power supply, and if the judgment result is YES, the power supply port to the outside world to the electrical processing.

[19]

Through this invention, before the start the hot restart, the exchange control PoE PD is connected to the data switches to the backup redundant link transmission, when the starting the heat restarts , return external power supply module, in the related technology solves the PoE switch thermalgravimetric opening to cause an interruption of external power supply and data transmission, thus affecting the lower hanging PD the problem of the normal work of the equipment, the hot restart PoE under the condition of switch, keep the external power supply module (Power   SourceEquipment, referred to as PSE, also called external power supply device) the relative stability of the, external provide uninterrupted current supply, at the same time ensures the transmission of the data, thereby ensuring that the normal work of the hanging PD.

[20]

Description of drawings

[21]

The Figure illustrated herein to provide for further understanding of this invention, form a part of this application, the illustrative embodiments of the invention the note for the interpretation of this invention, does not constitute the limits of this invention. On the drawings:

[22]

Figure 1 is flowchart of according to the embodiment of the invention a method for processing the heat restarts PoE exchanger;

[23]

Figure 2 is block diagram of the structure according to an embodiment of the invention switch PoE;

[24]

Figure 3 is the preferred structure of block diagram according to an embodiment of the invention a switch PoE;

[25]

Figure 4 is the preferred structure of block diagram according to an embodiment of the invention two PoE;

[26]

Figure 5 is a detailed flowchart of the embodiment of the invention switch PoE the heat restarts processing method;

[27]

Figure 6 is PoE a schematic diagram of the power supply system according to the embodiment of the invention 2.

[28]

Mode of execution

[29]

Below with reference to the attached drawing and in the detailed description of embodiments of the invention. It should be explained that, under the condition of without conflict, in this application in the implementation of the embodiment of the characteristic of the embodiments can be mutually combined.

[30]

Included in the switch PoE PSE and data communication related with various control and processing module, wherein PSE PoE switch used for controlling the external power supply.

[31]

Figure 1 is flowchart of according to the embodiment of the invention a method for processing the heat restarts PoE exchanger, the method comprises:

[32]

Step S102, PoE exchange determines need a hot restart;

[33]

Step S104, PoE switch control and PoE PD of the exchanger is connected with the switch to the backup device transmits the data transmitted on the redundant link;

[34]

Step S106, PoE switch start the hot restarting, and cancel the reset PSE.

[35]

In the related technology, the heat restarts PoE exchanger in the course of the, not only reset data communication related control and processing module, at the same time, also reset PSE, thus leading to data and power supply interruption, the inventor finds that, hot restart under normal circumstances is because the data forwarding and the data communication related software of the re-starting, and has no necessary link PSE, and, to the data communication PoE exchanger and the relevant module PSE control is completely separate, at this moment the reset PSE is not necessary. Therefore, the embodiment of the invention, switch PoE before start the hot restarting, hanging PD under the control of the switch to the backup of the data transmission on the redundant link, when in starting the heat restarts , return PSE, the heat restarts in the course of the, external provide uninterrupted current supply, in addition, in the process of warm restarting, implementing uninterrupted PD equipment and data transferring data between devices effect, ensuring that the normal work of the hanging PD.

[36]

Preferably, the exchange control PoE PoE PD equipment of the exchanger is connected with the switch to backup the data on the redundant link transmission comprises: PoE switch the state of the power supply port to the outside world is interrupted for the link (  down link); and is connected with the power supply port to the outside of the converted to the state of the ports PD   down link; PD PD of port searching backup redundant link; PD PD port of the data switching to search the to the backup redundant link. In this method, only needs to supply power to the outside of the switchboard PoE port is configured as a link   down state, can be notified to the link switch PD equipment, it is convenient to realize, and very fast.

[37]

Preferably, after the complete switch PoE the heat restarts , further including: switch PoE its own data transmission function of the re-usable with the message notification PD PoE of the exchanger is connected with the. Through the above process, so that the data can be re-PD switching the switch PoE, of course, can be selected also PD will without switching the switch PoE.

[38]

Preferably, the exchange PoE function of data transmission of the re-usable message notification of the exchanger is connected with the with the PoE PD including: PoE switch the state of the power supply port to the outside world is provided for the link (link   up) is connected. In this method, after the complete the heat restarts PoE switch, the state of the power supply port to the outside world is configured to link   up, inform PD equipment, the PoE switch the state of the re-in can use, at this moment, PD equipment can reside in the backup redundant link for data transmission, can also be switched to the external of the switchboard PoE performing data transmission on the power supply port, the subsequent processing of the convenient PD equipment.

[39]

Preferably, after the complete switch PoE the heat restarts , also includes: obtaining PoE switch the power supply state of the power supply port to the outside, and judge whether the need to maintain the power supply of the power supply port, the judgment result obtained; PoE switch according to the power supply state and the judgment result to the outside of the power supply port. Through the above-mentioned process, according to the power supply port to the outside of the current power supply state, and whether it is necessary to maintain the power supply of the power supply port to the outside, to carry out the follow-up processing, provides users with more selection, is convenient for the user to configure the power supply port to the outside.

[40]

Preferably, switch PoE according to the power supply state and the judgment result of the power supply port to the outside world including: if the power supply is a power supply state, and the judgment result is in the negative, the lower port of the external power supply of the electric processing; if the power supply is not the state of power supply, and the result of the judgement is YES, the power supply port to the outside world is made on the electrical processing. Through the above-mentioned process, can the power supply state and whether it is necessary to keep the results of the judgment by the external power supply do not match, the port processing, the consistency of the two is ensured, after the completion of the warm restarting, on verification of the above, the accuracy of the operation of the system is ensured.

[41]

Preferably, switch PoE judging whether it is necessary to maintain the power supply of the power supply port to the outside, including the judging result obtained: judging whether there is a stored PoE exchanger to the outside corresponding to the power supply configuration of the power supply port, if so, then judging the need to preserve the power supply of the external power supply port, otherwise, judging does not need to keep the power supply of the power supply port to the outside. Through the above-mentioned process, only when the users to the single port of the external power supply of the condition that the configuration of, the need to keep the power supply port to the outside power supply, in accordance with the operation of the user habits, which not only saves storage space of the power supply configuration, but also convenient for the use of the user.

[42]

Figure 2 is block diagram of the structure according to an embodiment of the invention switch PoE, PSE PoE switch includes the   22, also includes: determining module 24, need a hot restart for determining; switching module 26, coupled to the determining module 24, is used for controlling with the PoE PD of the exchanger is connected with the switch to the backup of the data transmission on the redundant link; control module 28, coupled to the switching module 26 and PSE   22, used for starting the hot restarting, and cancel the reset PSE   22.

[43]

Through the above-mentioned PoE switch, through the switching module 26 of the exchanger is connected with the control and PoE PD the data switching to the backup redundant link transmission, in addition, the control module 28 start the hot restarting, and cancel the reset PSE   22, the heat restarts in the course of the, external provide uninterrupted current supply, and to ensure the continuity of data transmission, the normal work of the PD is ensured.

[44]

Figure 3 is the preferred structure diagram one , as shown in Figure of according to an embodiment of the invention switch PoE 3 illustrated, preferably, PoE switch also includes: state determining module 30, the completion for determining the heat restarts PoE exchanger; obtaining module 32, coupled to the state determining module 30, is used for obtaining the power supply state of the power supply port to the outside world; judging module 34, is coupled to the status determination module 30, is used for judging whether the need to preserve the power supply of the power supply port to the outside, the judgment result obtained; processing module 36, is coupled to the acquisition module 32 and a judging module 34, for according to the power supply state and the judgment result of the power supply port to the outside. Processing module 36 can be according to the power supply port to the outside of the current power supply state, and whether it is necessary to maintain the power supply of the power supply port to the outside, to carry out the follow-up processing, provides users with more selection, is convenient for the user to configure the power supply port to the outside.

[45]

Figure 4 is the preferred structure diagram two , as shown in Figure of according to an embodiment of the invention switch PoE 4 illustrated, preferably, the processing module 36 including: lower electric processing module 42, is coupled to the acquisition module 32 and a judging module 34, is used for the power supply state of the power supply is, and under the condition of negative judgment result, the power supply port to the outside lower electromanipulation; electrifying processing module 44, is coupled to the acquisition module 32 and a judging module 34, is used for the power supply is not the state of power supply, and if the judgment result is YES, the power supply port to the outside world to the electrical processing. The above power-down processing module 42 and electrifying processing module 44 can be in the power supply state and whether it is necessary to keep the results of the judgment by the external power supply do not match, the port processing, the consistency of the two is ensured, after the completion of the warm restarting, on verification of the above, the accuracy of the operation of the system is ensured.

[46]

The following described embodiment 1 and embodiment 2, a plurality of above-mentioned integrated the technical scheme of the preferred embodiment.

[47]

Embodiment 1

[48]

Figure 5 is a detailed flow chart, as shown in Figure of according to the embodiment of the invention of the method for processing the heat restarts PoE exchanger 5 is shown, according to this embodiment of the of the switchboard PoE the heat restarts processing method comprises the following steps:

[49]

Step 501, the switchboard PoE external power supply port is configured as a link   down state. The opposite end of this port is connected with the link   down state will also be changed, so as to find a backup redundancy link as data path.

[50]

Step 502, PoE operation of warm restarting exchanger, not to reset PSE power supply module, the original equipment is steady PD is connected to the outside power supply, until the system operates normally.

[51]

Step 503, PSE obtains the current through each port of the external power supply (in other words the above-mentioned power supply state), if the port is the power supply, then enter the step 504, otherwise, to step 505;

[52]

Step 504, according to the stored power supply to resumption of the power supply configuration, to judge whether to acquire the stored power supply configuration, if YES, then proceed to step 506, otherwise, to step 507;

[53]

Step 505, according to the stored power supply to resumption of the power supply configuration, to judge whether to acquire the stored power supply configuration, if YES, then proceed to step 508;

[54]

Step 506, after the stability of the state of power supply, the external power supply port is configured as a link   up state, restore the lower hanging PD smooth the data link of the apparatus.

[55]

Step 507, the power supply configuration has not kept the current is supply port, the lower electric processing;

[56]

Step 508, the power supply configuration for the conservation of the current port of no power supply, electrical treatment to move.

[57]

Embodiment 2

[58]

To Figure 6 as an example of the environment in, embedded switch PoE PSE power supply module, the lower hanging PD equipment A port, the port B A port to complete the link at the same time the function of the power supply and data transmission. C PD of the port to the other switch (may be with PoE function of the switch, may also be a switch function PoE) D port of the link as the backup redundant link, B A port to the port of the data link as a backup.

[59]

the heat restarts PoE switch processing process includes the following steps:

[60]

Step 1, before the the heat restarts , A of the switchboard PoE the end of the link is   down.

[61]

Step 2, PD B port identification of the equipment for   down link, data link switching to C D port corresponding to the port and the backup redundant link, so as to guarantee data stream will not interrupt.

[62]

Step 3, PoE switch in hot restarting process, not to reset power supply module PSE, external PD the port output of the apparatus will not interrupt the current. PoE the heat restarts process of the switchboard, PD of the device is transparent.

[63]

Step 4, PoE after normal operation of the switch, through which port module identification PSE being external power supply, and power supply configuration has been stored according to the corresponding processing, specific processing principle see Figure 5.

[64]

Step 5, after the resumption of power supply configuration, the port link   up state is set up as A, B A port to the return port of the data link.

[65]

From the description above, as can be seen, the embodiment of the invention can be in the process of the heat restarts , external provide uninterrupted current supply, to ensure the continuity of data transmission, thereby ensuring that the normal work of the hanging PD.

[66]

Obviously, those of skill in the art should understand that, the above-mentioned of the present invention or each step of each module can be used to realize a universal computing device, they can be concentrated in a single computing device, or are distributed in the plurality of computing devices on a network of, optionally, they can be used for computing device may be used to perform the program code to realize, thus, they can be stored in the storage device by the computing device to carry out in, and in some cases, can be different from the sequential execution of the steps illustrated or described, or will they are respectively made into each integrated circuit module, or to a plurality of module in making or step to realize the integrated circuit modules. In this way, the invention is not limited to any specific combination of hardware and software.

[67]

Above for the stated example the preferred embodiment of the invention, is not used for limiting of the present invention, the technical personnel in this field, the invention can have various modification and change. Where in the present invention within the spirit and principle of the, any modifications made by the, equivalent replacement, improved, and the like, shall be included in the scope of protection of this invention.



[1]

The invention discloses a hot reboot processing method for a power over Ethernet switch and the power over Ethernet switch. The method comprises that: the PoE switch determines needing hot reboot; the PoE switch controls a powered device PD connected therewith to switch data to a backup redundant link for transmission; and the PoE switch starts the hot reboot and cancels the resetting of an external power module PSE. The method and the power over Ethernet switch can ensure the normal work of the hung PD during the hot reboot.



1. An Ethernet power supply switch PoE the heat restarts processing method, characterized in that comprises:

Restarting heat exchange determines PoE;

The with the exchange control PoE PoE PD exchanger is connected with the power receiving device of the data switching to the backup redundant link transmission;

The switchboard PoE start the hot restarting, and reset cancellation PSE external power supply module.

2. Method according to Claim 1, characterized in that the control and said switch PoE PoE PD of the exchanger is connected with the switch to backup the data on the redundant link transmission comprises:

The switchboard PoE the state of the power supply port to the outside world for the link   down link is interrupted;

Is connected with the external power supply port of the converted to the state of the ports PD linkdown;

The PD PD port of finding the backup redundant link;

The PD PD port of the data switching to search the to the backup redundant link.

3. Method as in Claim 1 or Claim 2, characterized in that after the completed exchanger PoE the heat restarts , further comprises: said PoE the exchange function of data transmission of the re-usable message notification with said PoE PD of the exchanger is connected with the.

4. Method according to Claim 3, characterized in that the switchboard PoE its own data transmission function with re-usable message notification of the including PD PoE exchanger is connected with the:

The power supply port to the outside world PoE switch is set to the state of the link connection in the   up link.

5. Method according to Claim 1, characterized in that after the completed exchanger PoE the heat restarts , also includes:

The switchboard PoE obtain the power supply state of the power supply port to the outside world, the need to maintain and judging whether the power supply of the power supply port to the outside, to obtain the judged result;

The switchboard PoE according to the power supply state and the judgment result to the external power supply of the processing carried out on the port.

6. Method according to Claim 5, characterized in that the switchboard PoE according to the power supply state and the judgment result of the power supply port to the outside world including:

If the power supply is a power supply state, and the judgment result is in the negative, to the external power supply port lower electromanipulation;

If the power supply is not the state of power supply, and the judgment result is YES, to the external power supply port is made on the electrical processing.

7. Method according to Claim 5, characterized in that the switchboard PoE judging whether it is necessary to maintain the power supply of the power supply port to the outside, including the judging result obtained:

The switch judging whether there is a stored PoE corresponding to the external power supply of the power supply configuration of the port, if so, then judging the need to preserve the power supply of the external power supply port, otherwise, judging does not need to keep the power supply of the power supply port to the outside.

8. A switchboard PoE, including PSE, characterized in that comprises:

Determining module, need a hot restart for determining;

Switching module, is used for controlling with the PoE PD of the exchanger is connected with the switch to the backup of the data transmission on the redundant link;

Control module, is used to start the hot restarting, and cancel the reset PSE.

9. PoE exchanger according to Claim 8, characterized in that it also comprises:

State determining module, for determining complete the heat restarts PoE exchanger;

Acquisition module, for acquiring the power supply state of the power supply port to the outside;

Judging module, is used for judging whether the need to preserve the power supply of the external power supply port, to obtain the judged result;

Processing module, in accordance with the power supply state and the judgment result to the external power supply of the processing carried out on the port.

10. PoE exchanger according to Claim 9, characterized in that the processing module comprises:

The lower electric processing module, used for the power supply is the power supply state, and the judgment result of the negative, to the power supply port to the outside of the processing;

Electrifying processing module, used for the power supply is not the state of power supply, and the if the judgment result is YES, to the external power supply port is made on the electrical processing.