Disclosure of Invention
The invention aims to: the method, the equipment and the power over Ethernet system for sending and receiving the management signal are provided to realize the management of the cross equipment in the switchboard, the same twisted pair is used for transmitting the service signal and the management signal, the throughput rate of the service signal is not influenced, and the complexity and the cost of the cross equipment can be obviously reduced.
In order to achieve the above object, an embodiment of the present invention provides a method for sending a management signal, which is used in a power over ethernet system, and includes: the method comprises the steps that a sending end device couples a service signal to a twisted pair wire through a differential mode signal pin of an isolation transformer device positioned at the sending end to form a differential mode service signal, wherein the absolute values of two potential values in the differential mode service signal are the same, and the polarities of the two potential values are opposite; wherein the method further comprises:
the sending end equipment injects a management signal to a central lead of the isolation transformer device positioned at a sending end;
superposing the injected management signal to a twisted pair wire to form a common mode management signal, wherein the absolute values of two potential values in the common mode management signal are the same, and the polarities of the two potential values are the same;
and transmitting the common mode management signal and the differential mode service signal to receiving end equipment together through the twisted pair.
In order to achieve the above object, another embodiment of the present invention provides a method for receiving a management signal, which is used in a power over ethernet system, and includes:
receiving end equipment receives a common mode management signal and a differential mode service signal from a twisted pair wire;
and extracting the common mode management signal through a central lead of an isolation transformer device positioned at a receiving end to form a management signal.
In order to achieve the above object, a further embodiment of the present invention provides an isolation transformer apparatus for a power over ethernet system, connected to a twisted pair, including: and the central lead is used for superposing the injected management signal to the twisted pair to form a common mode management signal and extracting the common mode management signal from the differential mode service signal and the common mode management signal received by the twisted pair to form the management signal.
In order to achieve the above object, a further embodiment of the present invention provides a power over ethernet device including the above isolation transformer apparatus, further including: and the control unit is used for generating a control signal to be injected into the central lead of the isolation transformer device and receiving a management signal output from the central lead. The power over ethernet device may be a switch or a midspan device.
To achieve the above object, a further embodiment of the present invention provides a power over ethernet system including the above power over ethernet device, wherein:
the Ethernet power supply equipment is a switch, and the control unit is a processor; or,
the Ethernet power supply equipment is midspan equipment, and the control unit is an Ethernet power supply control device;
the switch and the midspan device are connected by twisted pair lines.
By the invention, the management signals can be mutually transmitted between the sending terminal equipment and the receiving terminal equipment; in addition, management signals do not need to be inserted into the service, so that the throughput rate of effective data is not affected, and the transmission efficiency is optimized.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Detailed Description
Method embodiment one
The present embodiment provides a method for transmitting and receiving a management signal, including the steps shown in fig. 2. Wherein, steps 101-104 represent the sending method of the management signal; steps 111 to 114 show the method of receiving the management signal.
Step 101, a sending terminal device couples a service signal to a twisted pair wire through a differential mode signal pin of an isolation transformer device at the sending terminal to form a differential mode service signal; preferably, the absolute values of the two potential values in the differential mode signal are the same and opposite in polarity.
Step 102, the sending end device injects a management signal to a central lead of an isolation transformer device located at the sending end.
Specifically, the management signal from the control unit of the transmitting-end device may be injected onto the central lead of the isolation transformer apparatus at the transmitting end after passing through the transmitting-end isolation apparatus.
This is because the control unit, such as a processor in a switch or a power over ethernet control device in an inter-span device, usually uses a specific interface as a management channel to send and receive management signals. These specific interfaces may be IIC standard interfaces, RS485 standard interfaces, or RS232 standard interfaces, etc. Because different power supply systems are generally adopted between the sending end equipment and the receiving end equipment, such as a switch and midspan equipment, different ground potentials can be provided, the interface damage can be caused by the inconsistency of the ground potentials, and the potential difference can be effectively isolated by adopting the isolating device at the end of the switch, so that the effect of preventing the interface damage is achieved.
Step 103, the sending end device superimposes the injected management signal on the twisted pair to form a common mode management signal; preferably, the two potential values in the common mode signal have the same absolute value and the same polarity.
And 104, transmitting the common mode management signal and the differential mode service signal formed on the twisted pair to receiving end equipment by the transmitting end equipment through the twisted pair.
And step 111, the receiving end equipment receives the differential mode service signal and the common mode management signal from the twisted pair.
And 112, the receiving end equipment extracts the differential mode service signal through a differential mode signal pin of the isolation transformer device positioned at the receiving end to form a service signal.
The differential mode service signal is represented by the potential difference of two transmission lines of the twisted pair, so that the original service signal can be recovered by the mode of solving the potential difference and the like. In this case, although the common mode management signal is transmitted also on the twisted pair, the common mode management signal is equal in potential on both transmission lines of the twisted pair and can be cancelled by determining the potential difference, and therefore, the restoration of the traffic signal is not affected.
And 113, extracting the common mode management signal by the receiving end equipment through a central lead of an isolation transformer device positioned at the receiving end to form a management signal.
Step 114, the transmission of management is completed through the above steps, and after the management signal is formed, the management signal can be output to the control unit of the receiving end device.
Here, "differential mode" in the present embodiment means that a transmitted signal is represented by a potential difference between two transmission lines of a twisted pair; "common mode" means that the transmitted signal is represented by transmitting the same potential on both transmission lines of the twisted pair. The existing Ethernet only uses the differential mode transmission mode to transmit the service signal, because the differential mode transmission mode has excellent noise resistance, and is suitable for high-speed and long-distance transmission; the common mode transmission system is weak in noise resistance and can only perform low-speed and short-distance transmission. However, in this embodiment, since the device to be controlled, such as a midspan device, does not usually need a processor or a complicated decoding device, and the data size of the management signal for controlling the midspan device is not large, and the structure is not complicated, the need for control management can be satisfied only by transmitting the management signal by a common mode transmission method using a low-speed and simple protocol.
The common mode management signal and the differential mode service signal which are simultaneously transmitted on the twisted pair line can not interfere with each other through the isolation transformer device, and can be independently identified at a receiving end. The following are exemplified:
the electric potentials of differential mode service signals on two transmission lines of a twisted pair are assumed to be +5v and-5 v respectively; the potentials of the common mode management signal on the two transmission lines of the twisted pair are +4v and +4v respectively. After being superposed on the twisted pair, the potentials on the two transmission lines are +9v and-1 v respectively. At a receiving end, obtaining a service signal of +9v- (-1v) 10v by calculating the difference of potentials on two transmission lines of a twisted pair; the management signal is (+9v-1v)/2 ═ 4v by arithmetically averaging the potentials on the two transmission lines of the twisted pair. The calculation result is matched with the differential mode service signal and the common management signal before superposition, so that the two types of signals are isolated and do not interfere with each other.
It should be noted that, the order of execution of the steps of forming and extracting the differential mode traffic signal and the common mode management signal is not limited, that is, the differential mode traffic signal is formed or extracted first and then the common mode management signal is formed or extracted first, or the common mode management signal is formed or extracted first and then the differential mode traffic signal is formed or extracted, or both of them are formed at the same time, which can be selected appropriately according to actual needs.
By the method of the embodiment, management signals can be mutually transmitted between the sending terminal equipment and the receiving terminal equipment; moreover, management signals do not need to be inserted into the service, so that the throughput rate of effective data is not influenced, and the transmission efficiency is optimized; in addition, the controlled device, such as a midspan device, does not need complex decoding equipment and a special processor, and only needs a PoE control chip with a simple management function, and the chip can be provided with one or more communication interfaces such as IIC standard, RS485 standard and RS232 standard, so the realization is simple and easy, and the modification cost is low.
Method embodiment two
In this embodiment, taking a sending end device as a switch and a receiving end device as a midspan device as an example, a sending method and a receiving method for a management signal are provided, as shown in fig. 3, including the following steps:
step 201, a switch couples a service signal to a twisted pair wire through a differential mode signal pin of an isolation transformer device at the end of the switch to form a differential mode service signal; preferably, the absolute values of the two potential values in the differential mode signal are the same and opposite in polarity.
In step 202, the switch injects a management signal from a processor of the switch onto a central lead of an isolation transformer device located at the switch side.
The management signal in this embodiment is used to control the midspan equipment, for example, to instruct the midspan equipment to start or stop supplying power, and to instruct a specific power supply voltage.
Step 203, the exchanger superimposes the injected management signal on the twisted pair to form a common mode management signal; preferably, the two potential values in the common mode management signal have the same absolute value and the same polarity.
In step 204, the switch transmits the common mode management signal and the differential mode traffic signal already formed on the twisted pair to the midspan equipment over the twisted pair.
In step 211, the midspan device receives differential mode traffic signals and common mode management signals from the twisted pair.
And step 212, the midspan equipment extracts the differential mode service signal through a differential mode signal pin of an isolation transformer device positioned at the midspan equipment end to form a service signal.
The midspan equipment extracts the common mode management signal through the center leads of the isolation transformer devices located at the midspan equipment end to form a management signal, step 213.
After the management signal is formed, the management signal may be output to the poe device of the midspan in step 214.
The Ethernet power control device receives the management signal and controls the midspan equipment according to the management signal.
By the method, the control management of the midspan equipment is realized by the switch without inserting the management signal into the service, so that the throughput rate of effective data is not influenced, and the transmission efficiency is optimized; in addition, the receiving end equipment does not need to be added with an additional processor and a complex decoding device, so the realization is simple and easy, and the modification cost is low.
Method embodiment three
In this embodiment, taking a sending end device as a midspan device and a receiving end device as an exchange as an example, another sending method and receiving method for a management signal are provided, as shown in fig. 4, including the following steps:
step 301, a midspan equipment couples a service signal to a twisted pair wire through a differential mode signal pin of an isolation transformer device located at a midspan equipment end to form a differential mode service signal; preferably, the absolute values of the two potential values in the differential mode traffic signal are the same, and the polarities are opposite.
Midspan equipment injects a management signal from the poe control device of the midspan equipment onto the center pigtail of the isolation transformer device at the midspan equipment end, step 302.
The management signal in this embodiment is used to reply control feedback information or information such as a current operating state to the switch for the midspan device, so that the switch can acquire the operating state of the midspan device in time, and determine whether to perform further control adjustment on the midspan device.
Step 303, the midspan equipment superimposes the injected management signal onto the twisted pair to form a common mode management signal; preferably, the two potential values in the common mode management signal have the same absolute value and the same polarity.
The midspan device transmits the common mode management signal and the differential mode traffic signal that has been formed on the twisted pair to the switch over the twisted pair, step 304.
In step 311, the switch receives a differential mode traffic signal and a common mode management signal from the twisted pair.
In step 312, the switch extracts the differential mode service signal through the differential mode signal pin of the isolation transformer device located at the switch end to form a service signal.
Step 313, the switch extracts the common mode management signal to form a management signal through a central lead of an isolation transformer device located at the switch end.
After the management signal is formed, the management signal may be output to a processor of the switch, step 314.
The processor of the switch can read and write the register of the PoE control chip through the standard interface, and determine whether to further control and adjust the cross-span equipment according to the information such as the running state of the cross-span equipment and the like represented in the management signal and the specific requirement.
By the method, the management signal is sent to the switch by the midspan equipment, so that the information such as the running state of the midspan equipment is provided. Management signals do not need to be inserted into the service, so that the throughput rate of effective data is not influenced, and the transmission efficiency is optimized; in addition, the receiving end equipment does not need to be added with an additional processor and a complex decoding device, so the realization is simple and easy, and the modification cost is low.
Apparatus and System embodiments
The present embodiment provides a power over ethernet system comprising switch 10 and midspan device 20 as power over ethernet devices connected by twisted pair 30 as shown in fig. 5. Each Ethernet power supply device comprises a control unit and an isolation transformer device.
The isolation transformer device is an element applied to the Ethernet and is composed of a plurality of coil windings, and the element used on equipment is isolated from a cable. The characteristics of the isolation transformer arrangement are: differential mode signals on the cable can be coupled unimpeded through the coil winding of the isolation transformer arrangement to the component side; likewise, the differential mode signal of the element side can also be coupled to the cable side. But the common mode signal cannot pass through the isolation transformer arrangement.
The isolation transformer arrangement described in this embodiment is connected to twisted pair on the cable side, with differential mode signal pins and a center lead. The differential mode signal pin is used for coupling a service signal to the twisted pair to form a differential mode service signal, and is used for extracting the differential mode service signal from the differential mode service signal and the common mode management signal received by the twisted pair to form the service signal; the central lead is used for superposing the injected management signal to the twisted pair to form a common mode management signal, and is used for extracting the common mode management signal from the differential mode service signal and the common mode management signal received by the twisted pair to form the management signal. The absolute values of two potential values in the differential mode service signal are the same, and the polarities are opposite; the absolute values of the two potential values in the common mode management signal are the same, and the polarities are the same.
The central lead provides a path for common mode management signals, the management signals injected by the central lead can be transmitted to the twisted pair wires to form common mode management signals, differential mode signals on the twisted pair wires can not be output by the central lead due to mutual cancellation, and therefore isolation is achieved
Specifically, in this embodiment, the control unit in the switch 10 is a processor 12, and the isolation transformer device is an isolation transformer device 11 located at the switch end; the control unit in midspan equipment 20 is a power over ethernet control device 22 and the isolation transformer device is an isolation transformer device 21 located at the midspan equipment end. The working principle is as follows:
when switch 10 transmits signals to midspan equipment 20, at the transmit end, switch 10 couples service signals to twisted pairs 30 through differential mode signal pins 1102 of isolation transformer arrangement 11 located at the switch end to form differential mode service signals; injecting a management signal from the processor 12 onto the center lead 1101 of the isolation transformer device 11 at the switch end and superimposing it onto the twisted pair 30 to form a common mode management signal; the common mode management signal and the differential mode traffic signal are then transmitted to midspan equipment 20 over twisted pair 30.
At the receiving end, midspan apparatus 20 receives differential mode traffic signals and common mode management signals from twisted pair 30; extracting a differential mode service signal through a differential mode signal pin 2102 of an isolation transformer device 21 positioned at a midspan equipment end to form a service signal; extracting a common mode management signal to form a management signal through a center lead 2101 of an isolation transformer device 21 positioned at a midspan equipment end; the management signal is output to the power over ethernet control unit 22 of midspan device 20. After receiving the management signal, the poe control device 22 can control the midspan equipment 20 according to the management signal.
When midspan equipment 20 transmits signals to switch 10, at the transmit end, midspan equipment 20 couples the traffic signals onto twisted pairs 30 through differential mode signal pins 2102 of isolation transformer apparatus 21 located at the midspan equipment end to form differential mode traffic signals; injecting a management signal from the poe control device 22 onto the center lead 2101 of the isolation transformer device 21 at the midspan equipment end and superimposing it onto the twisted pair 30 to form a common mode management signal; the common mode management signal and the differential mode traffic signal are transmitted to the switch 10 over the twisted pair 30.
At the receiving end, the switch 10 receives the differential mode traffic signal and the common mode management signal from the twisted pair 30; extracting a differential mode service signal through a differential mode signal pin 1102 of an isolation transformer device 11 positioned at the end of the switch to form a service signal; extracting the common mode management signal through a central lead 1101 of the isolation transformer device 11 located at the switch end to form a management signal; the management signal is output to the processor 12 of the switch 10. So that the processor 12 can determine whether to perform further control adjustment on the inter-bay device 20 according to the information such as the operation state of the inter-bay device 20 indicated in the management signal.
In addition, in order to provide a protection effect and prevent the interface from being damaged, an isolation device may be further disposed in the ethernet power supply device, and the isolation device is located between the isolation transformer device and the control unit and is used for isolating a potential difference between the ethernet power supply device at the transmitting end and the ethernet power supply device at the receiving end. Specifically, in this embodiment, an isolation device 13 at the switch end may be disposed in the switch 10, and respectively connected to the processor 12 and the isolation transformer device 11 at the switch end; midspan equipment 20 may be provided with midspan equipment end isolation devices 23 connected to the poe control device 23 and the isolation transformer device 21 located at the midspan equipment end, respectively. For isolating the potential difference between switch 10 and midspan equipment 20 to prevent interface damage.
By the device, the equipment and the system, management signals can be mutually transmitted between the sending end equipment and the receiving end equipment; moreover, management signals do not need to be inserted into the service, so that the throughput rate of effective data is not influenced, and the transmission efficiency is optimized; in addition, no additional processor and complicated decoding device are required to be added in the controlled equipment, so the method is simple and easy to implement and has low modification cost.
It should be noted that, the above embodiments have described in detail the case of transmitting the differential mode service signal and the common mode management signal on the twisted pair simultaneously, but if only the common mode management signal is transmitted on the twisted pair and the differential mode service signal is not transmitted, the above embodiments may also be applicable, and only the steps related to transmitting and receiving the differential mode service signal are deleted, which is not described herein again.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.