WO2015188553A1 - 链路备份、电源备份方法、装置及系统、存储介质 - Google Patents

链路备份、电源备份方法、装置及系统、存储介质 Download PDF

Info

Publication number
WO2015188553A1
WO2015188553A1 PCT/CN2014/088687 CN2014088687W WO2015188553A1 WO 2015188553 A1 WO2015188553 A1 WO 2015188553A1 CN 2014088687 W CN2014088687 W CN 2014088687W WO 2015188553 A1 WO2015188553 A1 WO 2015188553A1
Authority
WO
WIPO (PCT)
Prior art keywords
link
poe
devices
power supply
bpl
Prior art date
Application number
PCT/CN2014/088687
Other languages
English (en)
French (fr)
Inventor
张秋杰
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to US15/317,581 priority Critical patent/US20170134263A1/en
Priority to EP14894462.2A priority patent/EP3145118B1/en
Publication of WO2015188553A1 publication Critical patent/WO2015188553A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/02Details
    • H04B3/46Monitoring; Testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/10Current supply arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/14Two-way operation using the same type of signal, i.e. duplex
    • H04L5/1438Negotiation of transmission parameters prior to communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]

Definitions

  • the present invention relates to the field of communications, and in particular, to a link backup method, a power backup method, a link backup device, a power backup device, a link and power backup system, and related computer storage media.
  • Ethernet which has been widely used in recent years, is Power over Ethernet (POE).
  • Broadband over Power Lines is a technology that allows data to be transmitted over power lines, effectively reducing wiring costs. People often refer to BPL as power line communication (PLC).
  • PLC power line communication
  • POE refers to some IP-based terminals (such as Internet Protocol (IP) telephones, wireless LAN access points (AP) without any changes to the existing Ethernet Cat.5 cabling infrastructure. (Access Point), network cameras, etc.) While transmitting data signals, it can also provide DC power supply technology for such devices. POE technology can ensure the normal operation of existing networks while minimizing costs while ensuring the security of existing structured cabling.
  • IP Internet Protocol
  • AP wireless LAN access points
  • DC power supply technology for such devices.
  • POE technology can ensure the normal operation of existing networks while minimizing costs while ensuring the security of existing structured cabling.
  • the BPL technology uses the power line as a communication link, and the power line can transmit data signals while supplying power.
  • the POE technology provides power on the Ethernet link, that is, the data link can supply power to the device.
  • the embodiments of the present invention provide a link backup, a power backup method, a link backup device, a power backup device, a link, and a power backup system, which are related to the problem of cost saving and green energy saving in the related art. And related computer storage media to solve the above technical problems.
  • An embodiment of the present invention provides a link backup method, where the method includes: monitoring whether a POE transmission link of an active Ethernet technology between two devices is normal; and detecting an abnormality of the POE transmission link. Next, the POE transmission link is switched to a broadband power line technology BPL link; data between the two devices is transmitted through the BPL link.
  • monitoring whether the POE transmission link between the two devices is normal includes: triggering, when the two devices do not receive the Ethernet packet, the device is triggered to send the detection to the other device. a packet, if it is determined that the device does not receive the response packet of the another device within a preset time, determining that the POE transmission link between the two devices is abnormal; the response packet is A response to the detection message; if it is determined that the device receives the response message of the another device within a preset time, it is determined that the POE transmission link between the two devices is normal.
  • the data between the two devices is transmitted through the BPL link, including: determining, by using a communication handshake between the two devices, a link state of the two devices; Switching to the BPL link, transmitting data through the BPL link; if it is determined that the links of the two devices are not all switched to the BPL link, triggering both devices Switching back to the POE transmission link, re-executing the link state determination operation.
  • the method further includes: when the two devices send Ethernet packets to each other through the POE transmission link, determining When both devices receive the response message sent by the counterpart device, the BPL link is switched to the POE transmission link.
  • An embodiment of the present invention provides a power supply backup method, the method includes: monitoring whether a power supply of the device is normal; and switching from a BPL power supply to a POE power supply when detecting that the power supply power is abnormal; wherein the POE Power supply refers to the provision of DC power while transmitting data over the POE transmission link.
  • switching from the BPL power supply to the POE power supply includes: sending an alarm signal when an abnormality occurs in the power supply is detected; wherein the alarm signal is used to trigger the switching of the power supply, and the BPL is powered. Switch to the POE power supply.
  • the embodiment of the invention further provides a link and power backup method based on the BPL technology and the POE technology, the method comprising the foregoing link backup method and the foregoing power backup method; wherein the link backup method and the method The power backup method is executed at the same time.
  • the embodiment of the invention further provides a link backup device, the device comprising:
  • a link monitoring module configured to monitor whether a POE transmission link of the active Ethernet technology between the two devices is normal
  • a data switching module configured to switch the POE transmission link to a broadband power line technology BPL link if an abnormality of the POE transmission link is detected
  • a data transmission module configured to transmit data between the two devices over the BPL link.
  • the link monitoring module includes:
  • the detection packet sending sub-module is configured to trigger one of the devices to send a detection packet to another device when the two devices do not receive the Ethernet packet within the specified time; the response packet is the Detecting the response of the message;
  • Determining a sub-module configured to determine that the device does not receive the response packet of the another device within a preset time, and determine that the POE transmission link between the two devices is abnormal;
  • the determining sub-module is further configured to determine that the POE transmission link between the two devices is normal if the device receives the response packet of the another device within a preset time.
  • the data transmission module includes:
  • the link state determination sub-module is configured to determine the link status of the two devices by using a communication handshake between the two devices.
  • a first processing submodule configured to transmit data over the BPL link in a case where it is determined that links of both devices are switched to the BPL link;
  • a second processing submodule configured to, when it is determined that the links of the two devices are not all switched to the BPL link, trigger both devices to switch back to the POE transmission link, and trigger the link
  • the state judging sub-module operates to re-execute the link state.
  • the device further includes:
  • the link switchback module is configured to: when the two devices receive the response message sent by the other device by using the POE transmission link to send the Ethernet packet between the two devices, The BPL link switches to the POE transmission link.
  • the embodiment of the invention further provides a power backup device, the device comprising:
  • the power monitoring module is configured to monitor whether the power supply of the device is normal
  • the power switching module is configured to switch from the broadband power line technology BPL power supply to the active Ethernet technology POE power supply when the power supply power source is abnormally detected; wherein the POE power supply refers to transmitting data through the POE transmission link. At the same time, DC power is supplied.
  • the power switching module includes:
  • the alarm submodule is configured to issue an alarm when an abnormality occurs in the power supply. a signal; wherein the alarm signal is used to trigger a switching of the power supply, and the BPL power supply is switched to the POE power supply.
  • the embodiment of the present invention further provides a link and power backup system based on the BPL technology and the POE technology, where the system includes: a data link backup device and a power supply backup device;
  • the data link backup device is configured to monitor whether the POE transmission link between the two devices is normal, and switch the POE transmission link to the BPL chain if an abnormality of the POE transmission link is detected. Road, transmitting data between two devices through the BPL link;
  • the power supply backup device is configured to monitor whether the power supply of the device is normal, and switch from the BPL power supply to the POE power supply when the power supply power supply is abnormal; wherein the POE power supply refers to the POE transmission link. DC power is supplied while transmitting data.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores a first set of computer executable instructions, and the first set of computer executable instructions are used to execute the foregoing link backup method.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores a second set of computer executable instructions, and the second set of computer executable instructions are used to execute the foregoing power backup method.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores a third set of computer executable instructions, and the third set of computer executable instructions are used to execute the foregoing BPL-based technology and POE technology. Link and power backup methods.
  • the embodiment of the invention provides a new solution for solving the backup protection of the power supply and the data link, and solves the problem that the traditional backup protection scheme in the related art is not conducive to cost saving and green energy saving, and the power supply can be powered by the POE.
  • the beneficial effects of the embodiments of the present invention are mainly: firstly, cost can be saved, because the traditional backup protection system needs two sets of equipment to be completed, and the backup function can be completed by only one set of equipment by using the embodiment of the present invention; secondly, it is beneficial to green energy conservation and environmental protection. Obviously, the energy consumption of a set of equipment is less than two Energy consumption of the equipment; finally easy to implement, no need to re-erect lines and other infrastructure, saving costs.
  • FIG. 1 is a flowchart of a link backup method according to an embodiment of the present invention.
  • FIG. 2 is a flow chart of a power backup method according to an embodiment of the present invention.
  • FIG. 3 is a structural block diagram of a link backup apparatus according to an embodiment of the present invention.
  • FIG. 4 is a block diagram showing the structure of a power backup device according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a link and power backup system based on BPL technology and POE technology according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a specific structure of a link and power backup system based on BPL and POE technologies according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of implementing a link backup scheme according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of implementing a power backup scheme according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a power and link simultaneous backup scheme in accordance with an embodiment of the present invention.
  • the embodiment of the invention provides a link backup, power backup method, device, system and related computer storage medium, which are described below with reference to the accompanying drawings.
  • the embodiments of the present invention are further described in detail. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
  • the embodiment of the invention applies the BPL technology and the POE technology to a device system, and utilizes BPL technology can be used as a backup link for Ethernet data transmission when transmitting data on the power line.
  • BPL technology has the function of providing power, which realizes backup protection of equipment power, that is, applying BPL and POE technology on one set of equipment. Backup protection for power and data transmission links is possible.
  • the following is a description of specific embodiments.
  • the embodiment provides a link backup method for transmitting Ethernet packets through a POE transmission link.
  • the data is backed up to the BPL link, and the data signal is transmitted through the BPL link.
  • the BPL link allows data to be transmitted on the power line.
  • FIG. 1 is a flowchart of a link backup method according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps (step S102-step S106):
  • Step S102 monitoring whether the POE transmission link between the two devices is normal.
  • Step S104 Switching the POE transmission link to the BPL link if an abnormality occurs in the POE transmission link is detected.
  • Step S106 transmitting data between the two devices through the BPL link.
  • the power supply can be powered by the POE during power backup.
  • the power supply needs to be within the POE power supply range, and the current technology can achieve 100 W (of course, the foregoing The 100W is limited by the current technology, and the power of the subsequent technology development will increase, and the POE power supply within a certain power is not limited here.
  • the beneficial effects of this embodiment are mainly: firstly, cost can be saved, because the traditional backup protection system needs two sets of equipment to be completed, and the backup function can be completed by using only one set of equipment in the embodiment of the present invention; secondly, it is beneficial to green energy conservation and environmental protection, and obviously The energy consumption of a set of equipment is less than the energy consumption of two sets of equipment; finally, it is easy to implement, and there is no need to re-erect infrastructure such as lines to save costs.
  • the monitoring of whether the POE transmission link between the two devices is normal can be implemented by using the following preferred implementation manner: when it is determined that the two devices do not receive Ethernet packets within a specified time, the trigger is triggered. One of the devices sends a detection message to another device; if it is determined that the device does not receive the detection of the other device in the preset time If the packet is received, it is determined that the POE transmission link between the two devices is abnormal; if it is determined that the device receives the response packet of the other device for the detection packet within a preset time, It is determined that the POE transmission link between the two devices is normal.
  • the data is transmitted between the two devices through the BPL link, and can be implemented by the following preferred implementation manner: determining, by using a communication handshake between the two devices, the link status of the two devices; If the links of the two devices are switched to the BPL link, the two devices are triggered to transmit data through the BPL link. If it is determined that the links of the two devices are not switched to the BPL link, the two devices are triggered to switch. As a specific implementation manner, the POE transmission link can be switched back to the POE transmission link and the link state determination operation can be re-executed.
  • the data link backup method further includes: when the two devices send Ethernet packets to each other through the POE transmission link, determining When both devices receive the response message for the Ethernet packet sent by the peer device, the BPL link is switched to the POE transmission link.
  • the embodiment of the present invention further provides a first type of computer storage medium, wherein the first type of computer storage medium stores a first set of computer executable instructions, and the first set of computer executable instructions are used to execute the data link Backup method.
  • This embodiment provides a power backup method.
  • the POE power is supplied through the POE.
  • the POE link can provide DC power supply technology while transmitting data.
  • step S202 is a flowchart of a power backup method according to an embodiment of the present invention. As shown in FIG. 2, the method includes the following steps (step S202 - step S204):
  • Step S202 monitoring whether the power supply of the device is normal
  • Step S204 Switching from the BPL power supply to the POE power supply when the power supply power supply is abnormal, wherein the POE power supply refers to providing DC power supply while transmitting data through the POE transmission link.
  • the power supply can be powered by the POE during power backup.
  • the power supply needs to be within the POE power supply range, and the current technology can realize POE power supply within 100W. .
  • switching from BPL power supply (power line power supply) to POE power supply may be implemented by the following preferred implementation manner: when an abnormality of the power supply power source is detected, an alarm signal is sent; wherein the alarm signal is used to trigger the power supply
  • the switch causes the device to switch from BPL power to POE power.
  • the abnormality of the power supply includes at least one of the following situations: the power is off, and the voltage is out of the normal range.
  • the embodiment of the present invention further provides a second computer storage medium, wherein the second computer storage medium stores a second set of computer executable instructions, and the second set of computer executable instructions are used to perform the power supply backup described above. method.
  • the embodiment provides a link and power backup method based on the BPL technology and the POE technology, and the method includes the data link backup method introduced in the foregoing embodiment, and the power supply backup method introduced in the foregoing embodiment; wherein, the data link The road backup method and the power supply backup method are executed simultaneously.
  • the embodiment of the present invention further provides a third computer storage medium, wherein the third computer storage medium stores a third set of computer executable instructions, and the third set of computer executable instructions are used to execute the link and the foregoing Power backup method.
  • this embodiment provides a link backup device, which is used to implement the foregoing embodiment.
  • FIG. 3 is a structural block diagram of a link backup apparatus according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes: a link monitoring module 10, a data switching module 12, and a data transmission module 14. The structure is described in detail below.
  • Link monitoring module 10 configured to monitor active Ethernet technology POE transmission between two devices Whether the transmission link is normal;
  • the data switching module 12 is connected to the link monitoring module 10 and configured to switch the POE transmission link to the BPL link when an abnormality of the POE transmission link is detected;
  • the data transmission module 14, coupled to the data switching module 12, is configured to transmit data between the two devices over the BPL link.
  • the power supply can be powered by the POE when the power is backed up.
  • the power supply needs to be within the POE power supply range, and the current technology can achieve less than 100W. POE power supply.
  • the beneficial effects of the present embodiment are mainly: firstly, cost can be saved, because the traditional backup protection system requires two sets of equipment to be completed. With the embodiment of the present invention, only one set of equipment can complete the backup function; secondly, it is beneficial to green energy conservation and environmental protection. Obviously, the energy consumption of a set of equipment is less than the energy consumption of two sets of equipment; finally, it is easy to implement, and there is no need to re-erect infrastructure such as lines to save costs.
  • the present embodiment further provides a preferred implementation manner.
  • the link monitoring module 10 includes: a detection packet sending submodule configured to determine that the Ethernet device does not receive an Ethernet packet between the two devices within a specified time. Triggering one of the devices to send a detection packet to another device; the determining submodule is configured to determine, in a preset time, that the device does not receive the response packet of the another device for the detection packet And determining that the POE transmission link between the two devices is abnormal; the determining submodule is further configured to: when the device receives the response message of the other device within a preset time, determining that The POE transmission link between the two devices is normal.
  • the data transmission module 14 includes: a link state determination sub-module, configured to determine a link state of the two devices by using a communication handshake between the two devices; Processing the sub-module, configured to transmit data between the two devices through the BPL link in the case that it is determined that the links of the two devices are all switched to the BPL link; the second processing sub-module is configured to determine two If the links of the devices are not switched to the BPL link, the two devices are triggered to switch back to the POE transmission link, and the link state judgment submodule is triggered. The block operates to re-execute the link state.
  • the embodiment further provides a preferred implementation manner, where the device further includes: a link switchback module configured to determine that both devices are configured to send Ethernet packets to each other through a POE transmission link between two devices. Upon receiving the response message for the Ethernet packet sent by the external device, the BPL link is switched to the POE transmission link.
  • a link switchback module configured to determine that both devices are configured to send Ethernet packets to each other through a POE transmission link between two devices.
  • the link monitoring module 10, the data switching module 12, the data transmission module 14, and the link failback module may be processed by a central processing unit (CPU) or digital signal processing (DSP, Digital Signal).
  • CPU central processing unit
  • DSP Digital Signal
  • the processor, the microprocessor (MPU, Micro Processor Unit), or a Field Programmable Gate Array (FPGA) is implemented; the CPU, the DSP, the MPU, and the FPGA may be built in the device.
  • the embodiment provides a power backup device, which is used to implement the foregoing embodiment.
  • FIG. 4 is a structural block diagram of a power backup device according to an embodiment of the present invention. As shown in FIG. 4, the device includes a power monitoring module 20 and a power switching module 22. The structure is described in detail below.
  • the power monitoring module 20 is configured to monitor whether the power supply of the device is normal
  • the power switching module 22 is connected to the power monitoring module 20 and configured to switch from the BPL power supply to the POE power supply when the power supply power supply is abnormal.
  • the POE power supply refers to transmitting data through the POE transmission link. DC power is available.
  • the power supply can be powered by the POE during power backup.
  • the power supply needs to be within the POE power supply range, and the current technology can realize POE power supply within 100W. .
  • the beneficial effects of the present embodiment are mainly: firstly, cost can be saved, because the traditional backup protection system requires two sets of equipment to be completed. With the embodiment of the present invention, only one set of equipment can complete the backup function; secondly, it is beneficial to green energy conservation and environmental protection. Obviously, the energy consumption of a set of equipment is less than the energy consumption of two sets of equipment; It does not require the re-erection of infrastructure such as lines to save costs.
  • the power switching module 22 includes: an alarm sub-module configured to issue an alarm signal when an abnormality of the power supply is detected; wherein the alarm signal is used to trigger the power supply Switching, switching from BPL power supply (power line power supply) to POE power supply.
  • this embodiment provides a link and power backup system based on the BPL technology and the POE technology, and the system is used to implement the foregoing implementation.
  • example. 5 is a structural block diagram of a link and power backup system based on BPL technology and POE technology according to an embodiment of the present invention. As shown in FIG. 5, the system includes: a data link backup device and a power supply backup device; For the specific components of the data link backup device and the functions of the various parts, refer to the description of FIG. 3; for the specific components of the power supply backup device and the functions of each part, refer to the foregoing description of FIG. 4; .
  • the power monitoring module 20 and the power switching module 22 can be implemented by a CPU, or a DSP, or an MPU, or an FPGA, etc.; the CPU, the DSP, the MPU, and the FPGA can all be built in the device.
  • FIG. 6 is a schematic diagram of a specific structure of a link and power backup system based on BPL and POE technologies according to an embodiment of the present invention, which can implement a backup protection function of a power supply and a link of a system.
  • the two sets of power supply and backup systems of the embodiment have the same functions, and there is no difference. among them:
  • the A device and the B device in this embodiment are the same device, and the device includes a BPL module, a POE module, a power module, a power switch, an Ethernet data transceiver unit, a data switching control module, and data processing. Module.
  • the solid line shown in FIG. 6 indicates the actually existing link, the Ethernet line transmits data, and the power line is used for power supply; the broken line shown in FIG. 6 indicates the potential path provided for the backup protection function, and the dotted horizontal line indicates the Ethernet line. Power supply, dotted line Indicates that data is transmitted over the power line.
  • the power switch is used to detect and switch power line power and POE power supply during power backup.
  • the power module realizes the conversion of the power source, that is, converts the power supply of the power line or the POE into a power source suitable for the device, and provides a transmission path of the BPL signal for data communication.
  • the BPL module implements modulation and demodulation of power line signals.
  • the POE module implements the POE power supply function.
  • Ethernet data transceiver unit for Ethernet data transmission.
  • the data switching control module implements the control and detection functions of the communication link backup.
  • the data processing module completes the processing and communication functions of the Ethernet data.
  • the A device and the B device form a transmission system, which are mutually transmitting and receiving devices.
  • the power supply and the data link operate according to the link shown by the solid line in the figure, and the dotted line shows the link providing system. Backup protection.
  • the power backup and communication link of the system backup are also in the standby working state.
  • soft handover can be implemented.
  • Embodiment 1 Data link backup scheme
  • FIG. 7 is a schematic diagram of implementing a link backup scheme according to an embodiment of the present invention, as shown in FIG. 7:
  • the device and the B device are in normal operation, that is, the device is powered by the power line, and the data is transmitted by using the Ethernet; when the data processing module of the A device is set for a long time (the specific length can be set according to the network condition), the device does not receive the B device.
  • the device A sends a detection packet to the device B. The packet needs to respond to the device B and responds. After A does not receive the response packet from B, the device A determines that the device is A or B. The Ethernet transmission link is faulty or disconnected. At this time, the A device and the B device cannot receive each other's data, and at the same time, The B device also performs the same detection operation.
  • the data switching control module switches the data link from E to F according to the backup protection rule of the data link.
  • the A device and the B device first perform a communication handshake to confirm before. Status and status after switching. If the status of the A device and the B device are confirmed to have been switched to the F link at the same time, data transmission is performed through the link F, and the BPL module works at this time; if the handshake confirms the status A device is too
  • the network link acts as the data transmission link and the B device uses the power line as the data transmission link. Then, the A device and the B device switch back to the original data transmission link at the same time, even if the original data transmission link is faulty.
  • the A device and the B device continue to judge the link state until the state is correct. If the handshake confirms that the status of the A device and the B device are the same, the data on the data backup link provided by the dotted line is input to the data processing module through the data link F through the BPL module for data processing, thereby implementing the data link. Backup protection.
  • the reliability of data transmission through the BPL link is far less than the data communication through the Ethernet link. Therefore, when the A device and the B device communicate using the backup data link, the Ethernet is also sent at the same time.
  • the A device or the B device can detect the packet from the peer end and send a response packet.
  • the A device sends a detection packet and receives the response packet from the B device.
  • the B device also has the same operation. Then, the A device and the B device send a request message for switching the data communication link to the peer end, and after obtaining the response message of the opposite end, the A device and the B device data switching control module switch the communication link to the Ethernet communication link. .
  • Embodiment 2 Power backup scheme
  • FIG. 8 is a schematic diagram of implementing a power backup scheme according to an embodiment of the present invention, as shown in FIG. 8 :
  • the power module has the function of detecting the power supply of the device. If the power supply to the B device exceeds the normal range, the alarm is sent to the data processing module. The alarm signal triggers the power switch and switches the power supply.
  • the power supply of the power module in the B device is provided by C. The power is switched to the power supplied by D.
  • the power module has a power supply retention function. The power supply can be normally output within 20ms of the power disconnection.
  • the power supply switching operation needs to be completed within 20ms, which can ensure the continuity of the power supply, realize the software replacement of the power supply, and realize the power supply of the device. Backup protection.
  • the application of POE technology is relatively mature, and the power supply can always be powered by POE.
  • Embodiment 3 Power and data link simultaneous backup scheme
  • FIG. 9 is a schematic diagram of a power backup and a data link simultaneous backup scheme according to an embodiment of the present invention. As shown in FIG. 9 , the data link and the power supply of the device can implement the switch backup protection at the same time, that is, the first embodiment. And the integrated backup scheme of the second embodiment.
  • the combination of BPL and POE technologies provides a new backup protection solution for power and data transmission links.
  • the power supply and data link backup system based on the broadband power line and the POE technology described in the embodiments of the present invention can firstly save cost, because the traditional backup protection system requires two sets of equipment to be completed, and only one set is needed by using the embodiment of the present invention.
  • the equipment can complete the backup function; secondly, it is conducive to green energy conservation and environmental protection.
  • the energy consumption of a set of equipment is less than the energy consumption of two sets of equipment; finally, it is easy to implement, and there is no need to re-erect lines and other infrastructure to save costs.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the present invention may employ computer-usable storage media (including but not limited to disks) in one or more of the computer-usable program code embodied therein. A form of computer program product embodied on a memory and optical storage, etc.).
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the combination of BPL and POE technologies provides a new backup protection solution for power and data transmission links.
  • the power backup method and device, the link backup method and device, the system and the related computer storage medium based on the broadband power line and the POE technology described in the embodiments of the present invention can firstly save cost because the traditional backup protection system
  • the system requires two sets of equipment to be completed.
  • only one set of equipment can complete the backup function;
  • it is beneficial to green energy conservation and environmental protection obviously the energy consumption of one set of equipment is less than the energy consumption of two sets of equipment; There is no need to re-erect infrastructure such as lines to save costs.

Abstract

本发明公开了一种链路备份方法,该方法包括:监测两个设备之间的有源以太网技术POE传输链路是否正常,在监测到所述POE传输链路出现异常的情况下,将所述POE传输链路切换至宽带电力线技术BPL链路,通过BPL链路传输两个设备之间的数据。同时,本发明还公开了一种电源备份方法、链路和电源备份方法、链路备份装置、电源备份装置及链路和电源备份系统。

Description

链路备份、电源备份方法、装置及系统、存储介质 技术领域
本发明涉及通讯领域,特别是涉及一种链路备份方法、电源备份方法、链路备份装置、电源备份装置、链路和电源备份系统、以及相关计算机存储介质。
背景技术
随着通讯技术的高速发展,宽带电力线通信获得广泛应用,其利用现有的电力网,以电力线作为一种新型的信息传输媒介实现信号传输。以太网传输应用已经相当成熟,可以在传输信号的同时提供电源;其中,在近年来得到广泛应用之一的以太网为有源以太网技术(POE,Power over Ethernet)。
宽带电力线技术(BPL,Broadband over Power Lines)是一种允许数据在电力线上进行传输的技术,能够有效降低布线成本。人们经常把BPL称为电力线通信(PLC)。
POE指的是在现有的以太网Cat.5布线基础架构不作任何改动的情况下,在为一些基于IP的终端(如互联网协议(IP,Internet Protocol)电话机、无线局域网接入点(AP,Access Point)、网络摄像机等)传输数据信号的同时,还能为此类设备提供直流供电的技术。POE技术能在确保现有结构化布线安全的同时保证现有网络的正常运作,最大限度地降低成本。
简单来说,BPL技术就是将电力线作为通信链路,电力线在供电的同时可以传输数据信号;POE技术就是在以太网链路上提供电源,即数据链路可以为设备供电。
目前应用于以太网传输的系统为了保证链路的可靠传输,一般会做系 统备份保护,在正常传输链路断开时,保护(备份)链路可以工作,使系统能够正常传输。传统的备份保护需要两套POE设备和传输链路,以分别完成数据链路备份和供电电源备份,不利于节约成本和绿色节能。
针对相关技术中传统备份保护方案不利于节约成本和绿色节能的问题,目前尚未提出有效的解决方案。
发明内容
针对相关技术中传统备份保护方案不利于节约成本和绿色节能的问题,本发明实施例提供了一种链路备份、电源备份方法、链路备份装置、电源备份装置、链路和电源备份系统、以及相关计算机存储介质,用以解决上述技术问题。
本发明实施例提供了一种链路备份方法,所述方法包括:监测两个设备之间的有源以太网技术POE传输链路是否正常;在监测到所述POE传输链路出现异常的情况下,将所述POE传输链路切换至宽带电力线技术BPL链路;通过所述BPL链路传输两个设备之间的数据。
上述方案中,监测两个设备之间的所述POE传输链路是否正常包括:在指定时间内确定出两个设备未接收以太网报文的情况下,触发其中一个设备向另一设备发送检测报文;如果确定出在预设时间内所述设备未接收到所述另一设备的响应报文,则判定两个设备之间的所述POE传输链路出现异常;所述响应报文为对所述检测报文的应答;如果确定出在预设时间内所述设备接收到所述另一设备的响应报文,则判定两个设备之间的所述POE传输链路正常。
上述方案中,通过所述BPL链路传输两个设备之间的数据包括:通过两个设备之间的通信握手方式,判断两个设备的链路状态;如果确定出两个设备的链路均切换至所述BPL链路,则通过所述BPL链路传输数据;如果确定出两个设备的链路没有都切换至所述BPL链路,则触发两个设备均 切换回所述POE传输链路,重新执行链路状态的判断操作。
上述方案中,在通过所述BPL链路传输两个设备之间的数据之后,所述方法还包括:当两个设备之间通过所述POE传输链路互相发送以太网报文时,在确定出两个设备均接收到对方设备发送的响应报文时,将所述BPL链路切换至所述POE传输链路。
本发明实施例提供了一种供电电源备份方法,所述方法包括:监测设备的供电电源是否正常;在监测到供电电源出现异常的情况下,从BPL供电切换为POE供电;其中,所述POE供电是指在通过POE传输链路传输数据的同时,提供直流供电。
上述方案中,从BPL供电切换至所述POE供电,包括:在监测到供电电源出现异常的情况下,发出告警信号;其中,所述告警信号用于触发供电电源的切换,使所述BPL供电切换至所述POE供电。
本发明实施例还提供了一种基于BPL技术和POE技术的链路和电源备份方法,所述方法包括前述的链路备份方法和前述的电源备份方法;其中,所述链路备份方法和所述电源备份方法同时执行。
本发明实施例还提供了一种链路备份装置,所述装置包括:
链路监测模块,配置为监测两个设备之间的有源以太网技术POE传输链路是否正常;
数据切换模块,配置为在监测到所述POE传输链路出现异常的情况下,将所述POE传输链路切换至宽带电力线技术BPL链路;
数据传输模块,配置为通过所述BPL链路传输两个设备之间的数据。
上述方案中,所述链路监测模块包括:
检测报文发送子模块,配置为在指定时间内确定出两个设备未接收以太网报文的情况下,触发其中一个设备向另一设备发送检测报文;所述响应报文为对所述检测报文的应答;
判定子模块,配置为确定出在预设时间内所述设备未接收到所述另一设备的响应报文的情况下,判定两个设备之间的所述POE传输链路出现异常;
所述判定子模块,还配置为确定出在预设时间内所述设备接收到所述另一设备的响应报文的情况下,判定两个设备之间的所述POE传输链路正常。
上述方案中,所述数据传输模块包括:
链路状态判断子模块,配置为通过两个设备之间的通信握手方式,判断两个设备的链路状态;
第一处理子模块,配置为在确定出两个设备的链路均切换至所述BPL链路的情况下,通过所述BPL链路传输数据;
第二处理子模块,配置为在确定出两个设备的链路没有都切换至所述BPL链路的情况下,触发两个设备均切换回所述POE传输链路,并触发所述链路状态判断子模块以重新执行链路状态的判断操作。
上述方案中,所述装置还包括:
链路回切模块,配置为在两个设备之间通过所述POE传输链路互相发送以太网报文时,在确定出两个设备均接收到对方设备发送的响应报文时,将所述BPL链路切换至所述POE传输链路。
本发明实施例还提供了一种电源备份装置,所述装置包括:
电源监测模块,配置为监测设备的供电电源是否正常;
电源切换模块,配置为在监测到供电电源出现异常的情况下,从宽带电力线技术BPL供电切换至有源以太网技术POE供电;其中,所述POE供电是指在通过POE传输链路传输数据的同时,提供直流供电。
上述方案中,所述电源切换模块包括:
告警子模块,配置为在监测到供电电源出现异常的情况下,发出告警 信号;其中,所述告警信号用于触发供电电源的切换,使所述BPL供电切换为所述POE供电。
本发明实施例还提供了一种基于BPL技术和POE技术的链路和电源备份系统,所述系统包括:数据链路备份装置和供电电源备份装置;其中,
所述数据链路备份装置,配置为监测两个设备之间的POE传输链路是否正常,在监测到所述POE传输链路出现异常的情况下,将所述POE传输链路切换至BPL链路,通过所述BPL链路传输两个设备之间的数据;
所述供电电源备份装置,配置为监测设备的供电电源是否正常,在监测到供电电源出现异常的情况下,从BPL供电切换至POE供电;其中,所述POE供电是指在通过POE传输链路传输数据的同时,提供直流供电。
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有第一组计算机可执行指令,所述第一组计算机可执行指令用于执行前述的链路备份方法。
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有第二组计算机可执行指令,所述第二组计算机可执行指令用于执行前述的电源备份方法。
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有第三组计算机可执行指令,所述第三组计算机可执行指令用于执行前述的基于BPL技术和POE技术的链路和电源备份方法。
本发明实施例提出了一种解决电源和数据链路备份保护的全新解决方案,解决了相关技术中传统备份保护方案不利于节约成本和绿色节能的问题,电源备份时可通过POE进行供电。
本发明实施例的有益效果主要是:首先可以节约成本,因为传统的备份保护系统需要两套设备完成,利用本发明实施例,只需一套设备即可以完成备份功能;其次有利于绿色节能环保,显然一套设备的能耗要小于两 套设备的能耗;最后易于实施,不需要重新架设线路等基础设施,节约成本。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
附图说明
图1是根据本发明实施例的链路备份方法的流程图;
图2是根据本发明实施例的电源备份方法的流程图;
图3是根据本发明实施例的链路备份装置的结构框图;
图4是根据本发明实施例的电源备份装置的结构框图;
图5是根据本发明实施例的基于BPL技术和POE技术的链路和电源备份系统的结构框图;
图6根据本发明实施例的基于BPL和POE技术的链路和电源备份系统的一具体结构示意图;
图7是根据本发明实施例的实现链路备份方案的示意图;
图8是根据本发明实施例的实现电源备份方案的示意图;
图9是根据本发明实施例的实现电源和链路同时备份方案的示意图。
具体实施方式
为了解决相关技术中传统备份保护方案不利于节约成本和绿色节能的问题,本发明实施例提供了一种链路备份、电源备份方法、装置、系统及相关计算机存储介质,以下结合附图以及实施例,对本发明实施例进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不限定本发明。
本发明实施例将BPL技术和POE技术应用于一套设备系统中,利用 BPL技术实现在电力线上传输数据时,可以作为以太网数据传输的备份链路;同时利用POE技术具有提供电源的功能,实现了设备电源的备份保护,即在一套设备上应用BPL和POE技术就可以实现电源和数据传输链路的备份保护。下面通过具体实施例进行介绍。
本实施例提供了一种链路备份方法,通过POE传输链路进行以太网报文的传输,在POE传输链路出现异常时,备份至BPL链路,通过BPL链路传输数据信号;其中,BPL链路允许数据在电力线上传输。
图1是根据本发明实施例的链路备份方法的流程图,如图1所示,该方法包括以下步骤(步骤S102-步骤S106):
步骤S102,监测两个设备之间的POE传输链路是否正常。
步骤S104,在监测到POE传输链路出现异常的情况下,将POE传输链路切换至BPL链路。
步骤S106,通过BPL链路传输两个设备之间的数据。
本实施例解决了相关技术中传统备份保护方案不利于节约成本和绿色节能的问题,电源备份时可通过POE进行供电,该供电需要在POE供电功率范围内,目前技术可以实现100W(当然,前述100W受目前技术限制,后续技术发展功率会增加,此处并不限定某特定功率)以内的POE供电。本实施例的有益效果主要是:首先可以节约成本,因为传统的备份保护系统需要两套设备完成,利用本发明实施例只需一套设备即可以完成备份功能;其次有利于绿色节能环保,显然一套设备的能耗要小于两套设备的能耗;最后易于实施,不需要重新架设线路等基础设施,节约成本。
在本实施例中,监测两个设备之间的POE传输链路是否正常,可以通过以下优选实施方式实现:在指定时间内确定出两个设备之间未接收以太网报文的情况下,触发其中一个设备向另一设备发送检测报文;如果确定出在预设时间内所述设备未接收到所述另一设备的针对所述检测报文的响 应报文,则判定两个设备之间的POE传输链路出现异常;如果确定出在预设时间内所述设备接收到所述另一设备的针对所述检测报文的响应报文,则判定两个设备之间的POE传输链路正常。
在本实施例中,在两个设备之间通过BPL链路传输数据,可以通过以下优选实施方式实现:在两个设备之间通过通信握手的方式,判断两个设备的链路状态;如果确定出两个设备的链路均切换至BPL链路,则触发两个设备通过BPL链路传输数据;如果确定出两个设备的链路没有都切换至BPL链路,则触发两个设备均切换回POE传输链路,作为一个具体实施方式,可以为同时切换回POE传输链路,重新执行链路状态的判断操作。
在本实施例中,在通过BPL链路传输两个设备之间的数据之后,该数据链路备份方法还包括:当两个设备之间通过POE传输链路互相发送以太网报文时,确定出在两个设备均接收到对方设备发送的针对所述以太网报文的响应报文时,将BPL链路切换至POE传输链路。
本发明实施例还提供了第一种计算机存储介质,所述第一种计算机存储介质中存储有第一组计算机可执行指令,所述第一组计算机可执行指令用于执行上述的数据链路备份方法。
本实施例提供了一种电源备份方法,通过BPL供电,在供电电源出现异常时,通过POE供电,POE链路在传输数据的同时,可以提供直流供电技术。
图2是根据本发明实施例的电源备份方法的流程图,如图2所示,该方法包括以下步骤(步骤S202-步骤S204):
步骤S202,监测设备的供电电源是否正常;
步骤S204,在监测到供电电源出现异常的情况下,从BPL供电切换至POE供电;其中,POE供电是指在通过POE传输链路传输数据的同时,提供直流供电。
本实施例解决了相关技术中传统备份保护方案不利于节约成本和绿色节能的问题,电源备份时可通过POE进行供电,该供电需要在POE供电功率范围内,目前技术可以实现100W以内的POE供电。
在本实施例中,从BPL供电(电力线供电)切换至POE供电,可以通过以下优选实施方式实现:在监测到供电电源出现异常的情况下,发出告警信号;其中,告警信号用于触发供电电源的切换,使得设备从BPL供电切换至POE供电。
在本实施例中,供电电源出现异常包括以下情形至少之一:电源断电、电压超出正常范围。
本发明实施例还提供了第二种计算机存储介质,所述第二种计算机存储介质中存储有第二组计算机可执行指令,所述第二组计算机可执行指令用于执行上述的供电电源备份方法。
本实施例提供了一种基于BPL技术和POE技术的链路和电源备份方法,该方法包括上述实施例介绍的数据链路备份方法,和上述实施例介绍的供电电源备份方法;其中,数据链路备份方法和供电电源备份方法同时执行。
本发明实施例还提供了第三种计算机存储介质,所述第三种计算机存储介质中存储有第三组计算机可执行指令,所述第三组计算机可执行指令用于执行上述的链路和电源备份方法。
对应于上述实施例提供的链路备份方法,本实施例提供了一种链路备份装置,该装置用以实现上述实施例。
图3是根据本发明实施例的链路备份装置的结构框图,如图3所示,该装置包括:链路监测模块10、数据切换模块12和数据传输模块14。下面对该结构进行详细介绍。
链路监测模块10,配置为监测两个设备之间的有源以太网技术POE传 输链路是否正常;
数据切换模块12,连接至链路监测模块10,配置为在监测到POE传输链路出现异常的情况下,将POE传输链路切换至BPL链路;
数据传输模块14,连接至数据切换模块12,配置为通过BPL链路传输两个设备之间的数据。
本实施例解决了相关技术中传统备份保护方案不利于节约成本和绿色节能的问题,实现了电源备份时可通过POE进行供电,该供电需要在POE供电功率范围内,目前技术可以实现100W以内的POE供电。本实施例的有益效果主要是:首先可以节约成本,因为传统的备份保护系统需要两套设备完成,利用本发明实施例,只需一套设备即可以完成备份功能;其次有利于绿色节能环保,显然一套设备的能耗要小于两套设备的能耗;最后易于实施,不需要重新架设线路等基础设施,节约成本。
本实施例还提供了一种优选实施方式,上述链路监测模块10包括:检测报文发送子模块,配置为在指定时间内确定出两个设备之间未接收以太网报文的情况下,触发其中一个设备向另一设备发送检测报文;判定子模块,配置为在预设时间内确定出所述设备未接收到所述另一设备的针对所述检测报文的响应报文的情况下,判定两个设备之间的POE传输链路出现异常;判定子模块,还配置为在确定出预设时间内所述设备接收到另一设备的所述响应报文的情况下,判定为两个设备之间的POE传输链路正常。
本实施例还提供了一种优选实施方式,上述数据传输模块14包括:链路状态判断子模块,配置为通过两个设备之间的通信握手方式,判断两个设备的链路状态;第一处理子模块,配置为在确定出两个设备的链路均切换至BPL链路的情况下,通过BPL链路传输两个设备之间的数据;第二处理子模块,配置为在确定出两个设备的链路没有都切换至BPL链路的情况下,触发两个设备均切换回POE传输链路,并触发所述链路状态判断子模 块以重新执行链路状态的判断操作。
本实施例还提供了一种优选实施方式,上述装置还包括:链路回切模块,配置为在两个设备之间通过POE传输链路互相发送以太网报文时,确定出两个设备均接收到对方设备发送的针对所述以太网报文的响应报文时,将BPL链路切换至POE传输链路。
在实际应用中,所述链路监测模块10、数据切换模块12、数据传输模块14、链路回切模块均可由中央处理单元(CPU,Central Processing Unit)、或数字信号处理(DSP,Digital Signal Processor)、或微处理器(MPU,Micro Processor Unit)、或现场可编程门阵列(FPGA,Field Programmable Gate Array)等来实现;所述CPU、DSP、MPU、FPGA均可内置于设备中。
对应于上述实施例介绍的电源备份方法,本实施例提供了一种电源备份装置,该装置用以实现上述实施例。
图4是根据本发明实施例的电源备份装置的结构框图,如图4所示,该装置包括:电源监测模块20和电源切换模块22。下面对该结构进行详细介绍。
电源监测模块20,配置为监测设备的供电电源是否正常;
电源切换模块22,连接至电源监测模块20,配置为在监测到供电电源出现异常的情况下,从BPL供电切换为POE供电;其中,POE供电是指在通过POE传输链路传输数据的同时,提供直流供电。
本实施例解决了相关技术中传统备份保护方案不利于节约成本和绿色节能的问题,电源备份时可通过POE进行供电,该供电需要在POE供电功率范围内,目前技术可以实现100W以内的POE供电。本实施例的有益效果主要是:首先可以节约成本,因为传统的备份保护系统需要两套设备完成,利用本发明实施例,只需一套设备即可以完成备份功能;其次有利于绿色节能环保,显然一套设备的能耗要小于两套设备的能耗;最后易于实 施,不需要重新架设线路等基础设施,节约成本。
本实施例还提供了一种优选实施方式,上述电源切换模块22包括:告警子模块,配置为在监测到供电电源出现异常的情况下,发出告警信号;其中,告警信号用于触发供电电源的切换,从BPL供电(电力线供电)切换为POE供电。
对应于上述实施例介绍的基于BPL技术和POE技术的链路备份、电源备份方法,本实施例提供了一种基于BPL技术和POE技术的链路和电源备份系统,该系统用以实现上述实施例。图5是根据本发明实施例的基于BPL技术和POE技术的链路和电源备份系统的结构框图,如图5所示,该系统包括:数据链路备份装置和供电电源备份装置;其中,所述数据链路备份装置的具体组成及其各部分功能请参见前述对图3的说明;所述供电电源备份装置具体组成及其各部分功能请参见前述对图4的说明;此处不再赘述。
在实际应用中,所述电源监测模块20和电源切换模块22均可由CPU、或DSP、或MPU、或FPGA等来实现;所述CPU、DSP、MPU、FPGA均可内置于设备中。
图6是根据本发明实施例的基于BPL和POE技术的链路和电源备份系统的一具体结构示意图,能够实现系统的电源和链路的备份保护功能。当电力线和通信线缆同时都具备供电和信号传输的功能时,本实施例的两套供电和备份系统功能完全相同,没有区别。其中:
如图6所示,本实施例中的A设备和B设备是同一种设备,设备内包含BPL模块、POE模块、电源模块、电源切换开关、以太网数据收发单元、数据切换控制模块和数据处理模块。图6中所示的实线表示实际存在的链路,以太网线传输数据,电力线用来供电;图6中所示的虚线表示用于备份保护功能时提供的潜在通路,点横虚线表示以太网线提供电源,点虚线 表示通过电力线传输数据。
本系统中各模块的功能如下:
电源切换开关,实现电源备份时电力线供电和POE供电的检测和切换。
电源模块,实现电源的转换,即将电力线或POE的供电源转换成适合于设备使用的电源,同时用于数据通信时提供BPL信号的传输通路。
BPL模块,实现电力线信号的调制和解调功能。
POE模块,实现POE供电的功能。
以太网数据收发单元,实现以太网数据的传输。
数据切换控制模块,实现通信链路备份的控制和检测功能。
数据处理模块,完成以太网数据的处理和通信功能。
A设备和B设备构成一个传输系统,互为发送和接收设备,正常工作时,电源和数据链路都是按照图中实线所示的链路来工作,虚线的所示的链路提供系统的备份保护。在设备正常工作时,系统备份的电源和通信链路也处于备用工作状态,当设备正常工作的电源和通信链路故障时,可以实现软切换。
下面结合上述通信链路和电源备份保护系统,通过实施例进行具体介绍。
实施例一:数据链路备份方案
图7是根据本发明实施例的实现链路备份方案的示意图,如图7所示:
假设A设备和B设备在正常运行过程中,即设备用电力线供电,使用以太网传输数据;当A设备的数据处理模块长时间(具体时长可以根据网络状况设定)接收不到B设备发送的以太网报文,则A设备向B设备发送检测报文,该报文需要B设备响应并进行应答,A经过一定时间没有收到B的响应报文,则A设备判断为A、B设备之间的以太网传输链路出现故障或者断开,这时候A设备和B设备互相收不到对方的数据,与此同时, B设备也进行同样的检测操作,数据切换控制模块根据数据链路的备份保护规则,将数据链路由E切换到F,数据链路切换后,A设备和B设备首先进行通信握手以确认之前的状态和切换后的状态,如果A设备和B设备的状态确认为同时已经切换到F链路,则通过链路F进行数据传输,此时BPL模块工作;如果握手确认的状态A设备是以太网链路作为数据的传输链路而B设备是以电力线作为数据的传输链路,则A设备和B设备同时切换回原来的数据传输链路,即使原来的数据传输链路存在故障也会切换回原来的传输链路,继续A设备和B设备继续判断链路状态直至状态正确。如果握手确认A设备和B设备的状态相同,这时点虚线提供的数据备份链路上的数据通过BPL模块经过数据链路F输入到数据处理模块以进行数据处理,至此实现了数据链路的备份保护。
就目前的技术而言,通过BPL链路进行数据传输的可靠性远不如通过以太网链路的数据通信,所以在A设备和B设备在使用备份的数据链路通信的同时,也同时发送以太网数据检测报文,当A设备和B设备之间以太网链路存在故障时,两个设备互相收不到对端的应答报文。当以太网链路修复后,A设备或B设备可以检测到对端的报文,同时发出响应报文,A设备发出检测报文,收到B设备的响应报文,B设备也有同样的操作,则A设备和B设备发出切换数据通信链路的请求报文给对端,在获得对端的响应报文答复后,A设备和B设备数据切换控制模块将通信链路切换到以太网通信链路。
实施例二:电源备份方案
图8是根据本发明实施例的实现电源备份方案的示意图,如图8所示:
假设A设备和B设备在正常运行过程中,B设备的供电电源出现问题,比如电源断电或者电压过低(电源模块中有检测电路,电压在某个区间为正常,电压超出该区间范围则告警),电源模块具备检测设备供电电源的功 能,如果检测到C给B设备的供电超出正常的区间范围,则给数据处理模块发出告警信息;告警信号同时触发电源切换开关,切换供电电源,B设备中电源模块的供电就会由C提供电源切换到由D提供的电源。电源模块具备供电保持功能,在电源断开的20ms时间内能够正常输出供电电源,电源的切换操作要求在20ms内完成,可以保证电源供电的连续性,实现电源的软件换,设备实现了电源的备份保护。POE技术的应用已经比较成熟,电源可以一直使用POE供电。
实施例三:电源和数据链路同时备份方案
图9是根据本发明实施例的实现电源和数据链路同时备份方案的示意图,如图9所示:本发明实施例可以实现设备的数据链路和电源同时实现切换备份保护,即实施例一和实施例二的综合备份方案。
本发明实施例中,将BPL和POE技术相结合,提供了一种全新的电源和数据传输链路的备份保护解决方案。采用本发明实施例所描述的基于宽带电力线和POE技术组成的电源和数据链路备份系统,首先可以节约成本,因为传统的备份保护系统需要两套设备完成,利用本发明实施例只需一套设备即可以完成备份功能;其次有利于绿色节能环保,显然一套设备的能耗要小于两套设备的能耗;最后易于实施,不需要重新架设线路等基础设施,节约成本。
尽管为示例目的,已经公开了本发明的优选实施例,本领域的技术人员将意识到各种改进、增加和取代也是可能的,因此,本发明的范围应当不限于上述实施例。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘 存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
工业实用性
本发明实施例中,将BPL和POE技术相结合,提供了一种全新的电源和数据传输链路的备份保护解决方案。采用本发明实施例所描述的基于宽带电力线和POE技术组成的电源备份方法和装置、链路备份方法和装置、系统及相关计算机存储介质,首先可以节约成本,因为传统的备份保护系 统需要两套设备完成,利用本发明实施例只需一套设备即可以完成备份功能;其次有利于绿色节能环保,显然一套设备的能耗要小于两套设备的能耗;最后易于实施,不需要重新架设线路等基础设施,节约成本。

Claims (17)

  1. 一种链路备份方法,所述方法包括:
    监测两个设备之间的有源以太网技术POE传输链路是否正常;
    在监测到所述POE传输链路出现异常的情况下,将所述POE传输链路切换至宽带电力线技术BPL链路;
    通过所述BPL链路传输两个设备之间的数据。
  2. 根据权利要求1所述的方法,其中,监测两个设备之间的所述POE传输链路是否正常包括:
    在指定时间内确定出两个设备未接收以太网报文的情况下,触发其中一个设备向另一设备发送检测报文;
    如果确定出在预设时间内所述设备未接收到所述另一设备的响应报文,则判定两个设备之间的所述POE传输链路出现异常;所述响应报文为对所述检测报文的应答;
    如果确定出在预设时间内所述设备接收到所述另一设备的响应报文,则判定两个设备之间的所述POE传输链路正常。
  3. 根据权利要求1所述的方法,其中,通过所述BPL链路传输两个设备之间的数据包括:
    通过两个设备之间的通信握手方式,判断两个设备的链路状态;
    如果确定出两个设备的链路均切换至所述BPL链路,则通过所述BPL链路传输数据;
    如果确定出两个设备的链路没有都切换至所述BPL链路,则触发两个设备均切换回所述POE传输链路,重新执行链路状态的判断操作。
  4. 根据权利要求1所述的方法,其中,在通过所述BPL链路传输两个设备之间的数据之后,所述方法还包括:
    当两个设备之间通过所述POE传输链路互相发送以太网报文时,
    在确定出两个设备均接收到对方设备发送的响应报文时,将所述BPL链路切换至所述POE传输链路。
  5. 一种电源备份方法,所述方法包括:
    监测设备的供电电源是否正常;
    在监测到供电电源出现异常的情况下,从宽带电力线技术BPL供电切换至有源以太网技术POE供电;其中,所述POE供电是指在通过POE传输链路传输数据的同时,提供直流供电。
  6. 根据权利要求5所述的方法,其中,从BPL供电切换至所述POE供电,包括:
    在监测到供电电源出现异常的情况下,发出告警信号;其中,所述告警信号用于触发供电电源的切换,使所述BPL供电切换至所述POE供电。
  7. 一种基于BPL技术和POE技术的链路和电源备份方法,其中,所述方法包括权利要求1至4任一项所述的链路备份方法,和权利要求5或6所述的电源备份方法;其中,所述链路备份方法和所述电源备份方法同时执行。
  8. 一种链路备份装置,所述装置包括:
    链路监测模块,配置为监测两个设备之间的有源以太网技术POE传输链路是否正常;
    数据切换模块,配置为在监测到所述POE传输链路出现异常的情况下,将所述POE传输链路切换至宽带电力线技术BPL链路;
    数据传输模块,配置为通过所述BPL链路传输两个设备之间的数据。
  9. 根据权利要求8所述的装置,其中,所述链路监测模块包括:
    检测报文发送子模块,配置为在指定时间内确定出两个设备未接收以太网报文的情况下,触发其中一个设备向另一设备发送检测报文;所述响应报文为对所述检测报文的应答;
    判定子模块,配置为确定出在预设时间内所述设备未接收到所述另一设备的响应报文的情况下,判定两个设备之间的所述POE传输链路出现异常;
    所述判定子模块,还配置为确定出在预设时间内所述设备接收到所述另一设备的响应报文的情况下,判定两个设备之间的所述POE传输链路正常。
  10. 根据权利要求8所述的装置,其中,所述数据传输模块包括:
    链路状态判断子模块,配置为通过两个设备之间的通信握手方式,判断两个设备的链路状态;
    第一处理子模块,配置为在确定出两个设备的链路均切换至所述BPL链路的情况下,通过所述BPL链路传输数据;
    第二处理子模块,配置为在确定出两个设备的链路没有都切换至所述BPL链路的情况下,触发两个设备均切换回所述POE传输链路,并触发所述链路状态判断子模块以重新执行链路状态的判断操作。
  11. 根据权利要求8所述的装置,其中,所述装置还包括:
    链路回切模块,配置为在两个设备之间通过所述POE传输链路互相发送以太网报文时,在确定出两个设备均接收到对方设备发送的响应报文时,将所述BPL链路切换至所述POE传输链路。
  12. 一种电源备份装置,所述装置包括:
    电源监测模块,配置为监测设备的供电电源是否正常;
    电源切换模块,配置为在监测到供电电源出现异常的情况下,从宽带电力线技术BPL供电切换至有源以太网技术POE供电;其中,所述POE供电是指在通过POE传输链路传输数据的同时,提供直流供电。
  13. 根据权利要求12所述的装置,其中,所述电源切换模块包括:
    告警子模块,配置为在监测到供电电源出现异常的情况下,发出告警 信号;其中,所述告警信号用于触发供电电源的切换,使所述BPL供电切换为所述POE供电。
  14. 一种基于BPL技术和POE技术的链路和电源备份系统,所述系统包括:数据链路备份装置和供电电源备份装置;其中,
    所述数据链路备份装置,配置为监测两个设备之间的有源以太网技术POE传输链路是否正常,在监测到所述POE传输链路出现异常的情况下,将所述POE传输链路切换至宽带电力线技术BPL链路,通过所述BPL链路传输两个设备之间的数据;
    所述供电电源备份装置,配置为监测设备的供电电源是否正常,在监测到供电电源出现异常的情况下,从BPL供电切换至POE供电;其中,所述POE供电是指在通过POE传输链路传输数据的同时,提供直流供电。
  15. 一种计算机存储介质,所述计算机存储介质中存储有第一组计算机可执行指令,所述第一组计算机可执行指令用于执行权利要求1至4任一项所述的链路备份方法。
  16. 一种计算机存储介质,所述计算机存储介质中存储有第二组计算机可执行指令,所述第二组计算机可执行指令用于执行权利要求5或6所述的电源备份方法。
  17. 一种计算机存储介质,所述计算机存储介质中存储有第三组计算机可执行指令,所述第三组计算机可执行指令用于执行权利要求7所述的基于BPL技术和POE技术的链路和电源备份方法。
PCT/CN2014/088687 2014-06-09 2014-10-15 链路备份、电源备份方法、装置及系统、存储介质 WO2015188553A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US15/317,581 US20170134263A1 (en) 2014-06-09 2014-10-15 Link backup and power source backup method, device and system, and storage medium
EP14894462.2A EP3145118B1 (en) 2014-06-09 2014-10-15 Link backup and power source backup method, device and system, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410252290.9 2014-06-09
CN201410252290.9A CN105323080B (zh) 2014-06-09 2014-06-09 一种链路备份、电源备份方法、装置及系统

Publications (1)

Publication Number Publication Date
WO2015188553A1 true WO2015188553A1 (zh) 2015-12-17

Family

ID=54832824

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/088687 WO2015188553A1 (zh) 2014-06-09 2014-10-15 链路备份、电源备份方法、装置及系统、存储介质

Country Status (4)

Country Link
US (1) US20170134263A1 (zh)
EP (1) EP3145118B1 (zh)
CN (1) CN105323080B (zh)
WO (1) WO2015188553A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112615755A (zh) * 2019-12-18 2021-04-06 北京金风慧能技术有限公司 数据传输方法和系统

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107210997B (zh) * 2014-11-19 2021-03-19 领特投资两合有限公司 物理介质相关层绑定
CN107979474B (zh) * 2016-10-21 2020-06-26 华为技术有限公司 网络设备及供电方法
WO2019006590A1 (zh) * 2017-07-03 2019-01-10 深圳配天智能技术研究院有限公司 工业控制系统通信方法及工业控制系统
CN109803293B (zh) * 2019-01-02 2022-05-24 新华三技术有限公司 一种数据传输方法及装置
CN114598418A (zh) * 2020-12-07 2022-06-07 山东新松工业软件研究院股份有限公司 一种应用于编码器数据传输的方法、装置及系统
CN115460026A (zh) * 2022-10-09 2022-12-09 西安现代控制技术研究所 双余度电源载波通信方法及装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436883A (zh) * 2008-12-03 2009-05-20 华为技术有限公司 一种电力调制解调器
US20090217062A1 (en) * 2008-02-25 2009-08-27 Broadcom Corporation System and method for communicating information relating to powered device power interruption and associated power sourcing equipment fallback power
CN101710860A (zh) * 2009-11-18 2010-05-19 中兴通讯股份有限公司 一种用户端设备及其实现电源控制的方法
CN102074998A (zh) * 2009-11-19 2011-05-25 国基电子(上海)有限公司 保护电路及以太网用电设备
CN102497276A (zh) * 2011-12-20 2012-06-13 青岛海信网络科技股份有限公司 一种电源切换电路及具有所述电路的网络摄像机
CN102545962A (zh) * 2011-12-14 2012-07-04 中兴通讯股份有限公司 网络信号传输方法、设备及系统
CN103152183A (zh) * 2013-01-30 2013-06-12 国光电器股份有限公司 电力猫交换设备及电力信号与网络信号互相转换的方法

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7212492B1 (en) * 2002-05-22 2007-05-01 Nortel Networks Limited Technique for providing a control and management protocol for an ethernet layer in an ethernet network
CN100499485C (zh) * 2004-04-08 2009-06-10 华为技术有限公司 一种以太网链路状态维护方法
US7873129B2 (en) * 2006-11-09 2011-01-18 Main.Net Communications Ltd. PHY clock synchronization in a BPL network
CN101252448B (zh) * 2008-03-31 2010-12-22 杭州华三通信技术有限公司 受电设备的断电检测方法和系统以及供电设备
CN101321071A (zh) * 2008-06-03 2008-12-10 胡钊洪 Poe开关电源适配器
US8483291B2 (en) * 2011-06-30 2013-07-09 Broadcom Corporation Analog to digital converter with increased sub-range resolution

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090217062A1 (en) * 2008-02-25 2009-08-27 Broadcom Corporation System and method for communicating information relating to powered device power interruption and associated power sourcing equipment fallback power
CN101436883A (zh) * 2008-12-03 2009-05-20 华为技术有限公司 一种电力调制解调器
CN101710860A (zh) * 2009-11-18 2010-05-19 中兴通讯股份有限公司 一种用户端设备及其实现电源控制的方法
CN102074998A (zh) * 2009-11-19 2011-05-25 国基电子(上海)有限公司 保护电路及以太网用电设备
CN102545962A (zh) * 2011-12-14 2012-07-04 中兴通讯股份有限公司 网络信号传输方法、设备及系统
CN102497276A (zh) * 2011-12-20 2012-06-13 青岛海信网络科技股份有限公司 一种电源切换电路及具有所述电路的网络摄像机
CN103152183A (zh) * 2013-01-30 2013-06-12 国光电器股份有限公司 电力猫交换设备及电力信号与网络信号互相转换的方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112615755A (zh) * 2019-12-18 2021-04-06 北京金风慧能技术有限公司 数据传输方法和系统

Also Published As

Publication number Publication date
US20170134263A1 (en) 2017-05-11
EP3145118A4 (en) 2018-02-14
EP3145118A1 (en) 2017-03-22
CN105323080A (zh) 2016-02-10
CN105323080B (zh) 2019-08-16
EP3145118B1 (en) 2019-03-20

Similar Documents

Publication Publication Date Title
WO2015188553A1 (zh) 链路备份、电源备份方法、装置及系统、存储介质
EP2798782B1 (en) Technique for handling a status change in an interconnect node
CN103401696A (zh) 一种工业设备中的双网络冗余通讯系统及通讯方法
WO2016095344A1 (zh) 链路切换方法、装置及线卡
CN104901834A (zh) 一种网络服务器自动切换的方法及系统
JP2011188072A (ja) 障害検知復旧システム、障害検知復旧方法、及びその復旧用プログラム
CN103118387A (zh) 一种主备模式的瘦ap冗余接入控制方法
JP5706347B2 (ja) 二重化制御システム
CN104536853B (zh) 一种保障双控制器存储设备资源连续可用性的装置
CN104796287A (zh) 一种epon环网故障检测方法
CN105553766A (zh) 异常节点动态追踪集群节点状态的监测方法
US20220200842A1 (en) Method for network restoration when communication failure occurs in rapienet system
KR102032898B1 (ko) PoE 라인을 이용한 원격전원 제어 방법 및 그 장치
CN112822039B (zh) 双机热备系统主备模式切换的方法
JP7220997B2 (ja) 施設監視システム、および、施設監視システムにおける通信方法
US11272384B2 (en) Systems and methods for increasing the reliability of a wireless communication connection
JP3777809B2 (ja) 二重化通信システムの回線異常検出方法
JP6204397B2 (ja) 通信機、通信システム、通信方法およびプログラム
CN107294519B (zh) 信号分发处理的方法及装置
JP6591828B2 (ja) 中継装置および中継システム
CN107682600B (zh) 摄像机和网关
CN105704422B (zh) 一种视频会议组网系统及其方法
US20140184419A1 (en) Alarm communication recovery system and method
WO2023185214A1 (zh) 网络切换方法、节点、电子设备和可读存储介质
JP5922601B2 (ja) ネットワーク装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14894462

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 15317581

Country of ref document: US

REEP Request for entry into the european phase

Ref document number: 2014894462

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014894462

Country of ref document: EP