WO2021244329A1 - 设备控制方法及设备、通信系统 - Google Patents

设备控制方法及设备、通信系统 Download PDF

Info

Publication number
WO2021244329A1
WO2021244329A1 PCT/CN2021/095203 CN2021095203W WO2021244329A1 WO 2021244329 A1 WO2021244329 A1 WO 2021244329A1 CN 2021095203 W CN2021095203 W CN 2021095203W WO 2021244329 A1 WO2021244329 A1 WO 2021244329A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
power supply
power
operating state
supply cable
Prior art date
Application number
PCT/CN2021/095203
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 EP21818264.0A priority Critical patent/EP4175234A4/en
Publication of WO2021244329A1 publication Critical patent/WO2021244329A1/zh
Priority to US18/074,869 priority patent/US20230134181A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission
    • H04B10/2575Radio-over-fibre, e.g. radio frequency signal modulated onto an optical carrier
    • H04B10/25752Optical arrangements for wireless networks
    • H04B10/25758Optical arrangements for wireless networks between a central unit and a single remote unit by means of an optical fibre
    • H04B10/25759Details of the reception of RF signal or the optical conversion before the optical fibre
    • 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
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/50Transmitters
    • H04B10/564Power control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/80Optical aspects relating to the use of optical transmission for specific applications, not provided for in groups H04B10/03 - H04B10/70, e.g. optical power feeding or optical transmission through water
    • H04B10/806Arrangements for feeding power
    • H04B10/808Electrical power feeding of an optical transmission system

Definitions

  • This application relates to the field of communication technology, and in particular to a device control method, device, and communication system.
  • a communication system usually includes multiple devices (such as switches and routers) connected to each other, and the devices in the communication system can transmit communication data.
  • the photoelectric composite cable includes: an optical fiber and a power supply cable.
  • the equipment in the communication system can transmit a DC signal for power supply through the power supply cable, and transmit a data signal for communication through an optical fiber.
  • This application provides a device control method, device, and communication system, which can solve the problem of the single function of the device in the current communication system.
  • the technical solution is as follows:
  • a communication system in a first aspect, includes a first device and a second device connected by a photoelectric composite cable, wherein the photoelectric composite cable includes an optical fiber and a power supply cable.
  • the optical fiber is used to transmit data signals
  • the power supply cable is used to transmit direct current.
  • the first device is used to send a first AC signal to the second device through the power supply cable, and the second device is used to switch an operating state according to the first AC signal.
  • the first AC signal is used to instruct the second device to switch the operating state.
  • the first device may send the first AC signal to the second device through the power supply cable to instruct the second device to switch the operating state. Therefore, the functions of the first device and the second device are enriched.
  • the power supply cable originally transmits DC power, and the first AC signal can be superimposed on the power supply cable with the DC power and transmitted to the second device. Since the first AC signal is an AC signal, the first AC signal and the DC power are supplying power. When the cables are simultaneously transmitted, they do not affect each other. Therefore, the effective transmission of the first AC signal and the DC power can be realized at the same time.
  • the second device is further configured to: send a second AC signal to the first device through the power supply cable; the first device is further configured to generate the first device according to the current operating state AC signal.
  • the second AC signal is used to indicate the current operating state of the second device. It can be seen that the second device can also feed back its current operating state to the first device through the second AC signal.
  • the second AC signal can also be superimposed on the power supply cable with the DC power and transmitted to the first device, and since the second AC signal is an AC signal, the second AC signal will not affect the DC power on the power supply cable. Therefore, the effective transmission of the second AC signal and the DC power can be realized at the same time.
  • the first device may determine whether it is necessary to control the second device to switch the operating state according to the current operating state of the second device indicated by the second AC signal.
  • the first device may send the first AC signal for indicating the switching of the operating state to the second device through the above-mentioned power supply cable.
  • the basis for the first device to determine whether it is necessary to control the switching operation state of the second device may include: the current operation state of the second device.
  • the basis may not be limited to this.
  • the basis may include: the satisfaction of the power down-regulation condition and the power up-regulation condition.
  • the first device may determine that the second device needs to be controlled to switch the operating state .
  • the power down-regulation condition includes: the amount of data to be sent by the first device to the second device is less than a first threshold, and/or the operating current of the second device is less than a second threshold; the power is up-regulated
  • the condition includes: the amount of data to be sent by the first device to the second device is greater than or equal to the first threshold, and/or the operating current of the second device is greater than or equal to the second threshold.
  • the first device is further configured to send a third AC signal to the second device through the power supply cable; the second device is configured to generate the second AC signal according to the third AC signal Signal.
  • the third AC signal is used to query the current operating state of the second device. It can be seen that the second device sending the second AC signal to the first device may be a spontaneous operation of the second device, or may be an operation of the second device under the instruction of the first device.
  • the first device is also used to send a third AC signal to the second device through the power supply cable, and the first device is The third AC signal is used to query the current operating state of the second device; the second device is used to generate the aforementioned second AC signal according to the third AC signal, and then transmit the second AC signal to the first device through the power supply cable.
  • the third AC signal can also be superimposed on the power supply cable with the above DC power and transmitted to the second device, and since the third AC signal is an AC signal, the third AC signal will not affect the DC power on the power supply cable. Therefore, the effective transmission of the third AC signal and the DC power can be realized at the same time.
  • the second device includes: a power management circuit and a plurality of electric devices; the power management circuit is connected to the power supply cable and at least part of the electric devices among the plurality of electric devices; The power management circuit is continuously in the power-on state before and after the switching operation state of the second device; the power management circuit is used to: receive the DC power and the first AC signal transmitted on the power supply cable, and according to The first AC signal supplies power to the at least part of the electric devices or prohibits the supply of power to the at least part of the electric devices, so as to switch the operating state of the second device. It can be seen that the second device can switch the operating state by adjusting the power supply of at least some of the above-mentioned electrical devices.
  • the at least part of the electrical device includes: an optical port.
  • the optical port is connected to the optical fiber in the photoelectric composite cable for receiving the data signal sent by the first device through the optical fiber and sending the data signal to be sent to the first device to the optical fiber.
  • the at least part of the electrical device includes an optical port, if the power management circuit prohibits power supply to the optical port, the optical port of the second device cannot work, and the first device and the second device cannot transmit data signals through the optical fiber.
  • the first device may also transmit the direct current and the first alternating current signal to the second device through the power supply cable.
  • the power management circuit in the second device After the power management circuit in the second device receives the first AC signal, if it supplies power to at least some of the above-mentioned electrical devices according to the first AC signal, the optical port can start working, and the first device and the second device can pass through the optical fiber Perform data signal transmission.
  • the AC signal (such as the above-mentioned first AC signal, second AC signal, and third AC signal) transmitted between the first device 01 and the second device 02 through the power supply cable may be an analog signal or a digital signal.
  • these AC signals may all be signals that meet serial physical interface standards (for example, meet serial physical interface standards such as RS-485, RS-422, RS-232, etc.).
  • these AC signals may also be analog signals.
  • the waveforms of these AC signals are different, such as square waves, sine waves, pulse waves, etc., respectively.
  • the difference in the waveform of the AC signal may also be that one or more of the characteristics such as the frequency, amplitude, and period of the plurality of AC signals are different.
  • AC signals transmitted between the first device and the second device are signals that meet the serial physical interface standard
  • these AC signals may be related to registers in the second device.
  • the second device further includes: an instruction register; the instruction register is connected to the power management circuit, and the instruction register is continuously in the power-on state before and after the second device switches the operating state; the The first AC signal is used for requesting to write a state switching instruction for instructing the second device to switch the operating state to the instruction register; the power management circuit is used for writing in the instruction register according to the first AC signal The state switching instruction is written, and the state switching instruction written in the instruction register is executed to supply power to the at least part of the electric devices, or to prohibit the power supply to the at least part of the electric devices.
  • the second device further includes: a status register; the status register is connected to the power management circuit, and the status register is continuously in the power-on state before and after the second device switches the operating state; so
  • the status register is used to store the current operating status of the second device, the third AC signal is used to request to read the current operating status stored in the status register; the power management circuit is used to store the current operating status according to the The third AC signal reads the current operating state stored in the status register, and generates the second AC signal.
  • the first device includes: a connected manager and a first level adjuster
  • the second device includes: a second level adjuster, a power management circuit, and a plurality of power-consuming devices
  • the The first level adjuster and the second level adjuster are both connected to the power supply cable
  • the power management circuit is connected to the second level adjuster and at least part of the plurality of electrical devices
  • the power-consuming device is connected;
  • the power management circuit is continuously in the power-on state before and after the switching operation state of the second device;
  • the manager is used to generate the first AC signal and the third AC signal;
  • the first The level adjuster is used to increase the level of the first AC signal and the third AC signal, and send the increased level of the first level adjuster to the second level adjuster through the power supply cable
  • the second level adjuster is used to restore the levels of the first AC signal and the third AC signal, and send the first AC signal to the power management circuit AC signal and the third AC signal, and the DC power transmitted on the
  • a communication device in a second aspect, includes an optical port and an electrical port.
  • the optical port is used to connect to an optical fiber in an optoelectronic composite cable.
  • the communication device is further configured to: receive a second AC signal sent by the another device through the power supply cable; and generate the first AC signal according to the current operating state.
  • the second AC signal is used to indicate the current operating state of the another device.
  • the communication device is further configured to send a third AC signal to the another device through the power supply cable, and the third AC signal is used to query the current operating state of the another device .
  • the first AC signal, the second AC signal, and the third AC signal are all signals that meet the serial physical interface standard.
  • AC signals transmitted between the first device and the other device are signals that meet the serial physical interface standard
  • these AC signals may be related to a register in the other device.
  • the other device further includes: an instruction register; the instruction register is connected to the power management circuit, and the instruction register is continuously in the power-on state before and after the other device switches the operating state; the The first AC signal is used for requesting to write a state switching instruction for instructing the other device to switch the operating state to the instruction register.
  • the another device further includes: a status register; the status register is connected to the power management circuit, and the status register is continuously in the power-on state before and after the other device switches the operating state; The status register is used to store the current operating status of the another device, and the third AC signal is used to request to read the current operating status stored in the status register.
  • the waveforms of the first AC signal, the second AC signal, and the third AC signal are different from each other.
  • the communication device includes: a connected manager and a first level adjuster; the first level adjuster is connected to the power supply cable; the manager is used to generate the first communication Signal and the third AC signal; the first level adjuster is used to increase the level of the first AC signal and the third AC signal, and send it to the other device through the power supply cable Sending the first AC signal and the third AC signal with the increased level; the first level adjuster is also configured to receive the second AC with the increased level through the power supply cable Signal and restore the level of the second AC signal, and send the second AC signal to the manager.
  • the power down-regulation condition when the power down-regulation condition is satisfied, the power of the another device is reduced after switching the operating state; when the power up-regulation condition is satisfied, the power of the another device is increased after the power-down condition is switched; the power down-regulation condition includes : The amount of data to be sent by the first device to the another device is less than a first threshold, and/or the operating current of the another device is less than a second threshold; the power up-regulation condition includes: The amount of data to be sent by a device to the other device is greater than or equal to the first threshold, and/or, the operating current of the another device is greater than or equal to the second threshold.
  • a communication device in a third aspect, includes an optical port and an electrical port.
  • the optical port is used to connect to an optical fiber in an optoelectronic composite cable.
  • the communication device is used for : Receive a first AC signal sent by another device through the power supply cable; switch the operating state in response to receiving the first AC signal.
  • the communication device is further configured to send a second AC signal to the another device through the power supply cable, and the second AC signal is used to indicate the current operating state of the communication device.
  • the communication device is further configured to: receive a third AC signal sent by the another device through the power supply cable; and generate the second AC signal according to the third AC signal.
  • the third AC signal is used to query the current operating state of the communication device.
  • the communication device includes: a power management circuit and a plurality of electric devices; the power management circuit is connected to the power supply cable and at least part of the electric devices among the plurality of electric devices; the The power management circuit continues to be in the power-on state before and after the switching operation state of the communication device; the power management circuit is used to: receive the direct current and the first alternating current signal transmitted on the power supply cable, and according to the The first AC signal supplies power to the at least part of the electric devices or prohibits the power supply to the at least part of the electric devices, so as to switch the operating state of the communication device.
  • the at least part of the electrical device includes: the optical port.
  • the first AC signal, the second AC signal, and the third AC signal are all signals that meet the serial physical interface standard.
  • these AC signals may be related to registers in the communication device.
  • the communication device further includes: an instruction register; the instruction register is connected to the power management circuit, and the instruction register is continuously in the power-on state before and after the communication device switches the operating state; the first The AC signal is used to request to write a state switching instruction for instructing the communication device to switch the operating state to the instruction register; the power management circuit is used to write all the instructions in the instruction register according to the first AC signal The state switching instruction is executed, and the state switching instruction written in the instruction register is executed to supply power to the at least part of the electric devices, or to prohibit the power supply to the at least part of the electric devices.
  • the communication device further includes: a status register; the status register is connected to the power management circuit, and the status register is continuously in the power-on state before and after the communication device switches the operating state; the state The register is used to store the current operating state of the communication device, the third AC signal is used to request to read the current operating state stored in the status register; the power management circuit is used to store the current operating state according to the third AC The signal reads the current operating state stored in the state register, and generates the second AC signal.
  • the waveforms of the first AC signal, the second AC signal, and the third AC signal are different from each other.
  • the communication device includes: a second level adjuster, a power management circuit, and a plurality of power-consuming devices; the second level adjusters are all connected to the power supply cable, and the power management circuit is connected to The second level adjuster is connected to at least some of the electrical devices among the plurality of electrical devices; the power management circuit continues to be in the power-on state before and after the communication device switches the operating state; the second electrical device The level adjuster is used to restore the levels of the first AC signal and the third AC signal, and send the first AC signal and the third AC signal to the power management circuit, and the power supply cable
  • the DC power transmitted on the above; the power management circuit is used to generate the second AC signal, and according to the first AC signal, to supply power to the at least part of the electrical device, or prohibit the at least part of the
  • the electrical device supplies power to switch the operating state of the communication device; the second level adjuster is used to increase the level of the second AC signal, and adjust the level to the first level through the power supply cable
  • the transmitter sends the second AC signal
  • the power down-regulation condition when the power down-regulation condition is satisfied, the power of the communication device is reduced after switching the operating state; when the power up-regulation condition is satisfied, the power of the communication device is increased after the switching operation state; the power down-regulation condition includes: The amount of data to be sent by the other device to the communication device is less than a first threshold, and/or the operating current of the communication device is less than a second threshold; the power up-regulation condition includes: the other device is to be sent The amount of data to the communication device is greater than or equal to the first threshold, and/or the operating current of the communication device is greater than or equal to the second threshold.
  • a device control method includes: sending a first AC signal to another device through a power supply cable in a photoelectric composite cable, and the first AC signal is used to instruct the other device The device switches the operating state; wherein, the photoelectric composite cable further includes an optical fiber, the optical fiber is used to transmit data signals, and the power supply cable is used to transmit direct current.
  • the method further includes: receiving a second AC signal sent by the another device through the power supply cable; and generating the first AC signal according to the current operating state.
  • the second AC signal is used to indicate the current operating state of the another device.
  • the method further includes: sending a third AC signal to the another device through the power supply cable, where the third AC signal is used to query the current operating state of the another device.
  • the first AC signal, the second AC signal, and the third AC signal are all signals that meet the serial physical interface standard.
  • the method is used in a communication device, and when the AC signals transmitted between the communication device and the other device are signals that meet the serial physical interface standard, these AC signals can be connected to the communication device in the other device. Register related.
  • the other device further includes: an instruction register; the instruction register is connected to the power management circuit, and the instruction register is continuously in the power-on state before and after the other device switches the operating state; the The first AC signal is used for requesting to write a state switching instruction for instructing the other device to switch the operating state to the instruction register.
  • the another device further includes: a status register; the status register is connected to the power management circuit, and the status register is continuously in the power-on state before and after the other device switches the operating state; The status register is used to store the current operating status of the another device, and the third AC signal is used to request to read the current operating status stored in the status register.
  • the waveforms of the first AC signal, the second AC signal, and the third AC signal are different from each other.
  • the communication device includes: a connected manager and a first level adjuster; the first level adjuster is connected to the power supply cable; the manager is used to generate the first communication Signal and the third AC signal; the first level adjuster is used to increase the level of the first AC signal and the third AC signal, and send it to the other device through the power supply cable Sending the first AC signal and the third AC signal with the increased level; the first level adjuster is also configured to receive the second AC with the increased level through the power supply cable Signal and restore the level of the second AC signal, and send the second AC signal to the manager.
  • the power down-regulation condition when the power down-regulation condition is satisfied, the power of the another device is reduced after switching the operating state; when the power up-regulation condition is satisfied, the power of the another device is increased after the power-down condition is switched; the power down-regulation condition includes : The amount of data to be sent by the communication device to the other device is less than a first threshold, and/or the operating current of the another device is less than a second threshold; the power up-regulation condition includes: the communication device The amount of data to be sent to the another device is greater than or equal to the first threshold, and/or the operating current of the another device is greater than or equal to the second threshold.
  • a device control method includes: receiving a first AC signal sent by another device through a power supply cable in a photoelectric composite cable; and in response to receiving the first AC signal, switching Operating state; wherein, the photoelectric composite cable further includes an optical fiber, the optical fiber is used to transmit data signals, and the power supply cable is used to transmit direct current.
  • the method is applied to a communication device, and the method further includes: sending a second AC signal to the other device through the power supply cable, and the second AC signal is used to instruct the communication device to Current operating status.
  • the method further includes: receiving a third AC signal sent by the another device through the power supply cable; and generating the second AC signal according to the third AC signal.
  • the third AC signal is used to query the current operating state of the communication device.
  • the communication device includes: a power management circuit and a plurality of electric devices; the power management circuit is connected to the power supply cable and at least part of the electric devices among the plurality of electric devices; the The power management circuit continues to be in the power-on state before and after the switching operation state of the communication device; the power management circuit is used to: receive the direct current and the first alternating current signal transmitted on the power supply cable, and according to the The first AC signal supplies power to the at least part of the electric devices or prohibits the power supply to the at least part of the electric devices, so as to switch the operating state of the communication device.
  • the at least part of the electrical device includes: the optical port.
  • the first AC signal, the second AC signal, and the third AC signal are all signals that meet the serial physical interface standard.
  • these AC signals may be related to registers in the communication device.
  • the communication device further includes: an instruction register; the instruction register is connected to the power management circuit, and the instruction register is continuously in the power-on state before and after the communication device switches the operating state; the first The AC signal is used to request to write a state switching instruction for instructing the communication device to switch the operating state to the instruction register; the power management circuit is used to write all the instructions in the instruction register according to the first AC signal The state switching instruction is executed, and the state switching instruction written in the instruction register is executed to supply power to the at least part of the electric devices, or to prohibit the power supply to the at least part of the electric devices.
  • the communication device further includes: a status register; the status register is connected to the power management circuit, and the status register is continuously in the power-on state before and after the communication device switches the operating state; the state The register is used to store the current operating state of the communication device, the third AC signal is used to request to read the current operating state stored in the status register; the power management circuit is used to store the current operating state according to the third AC The signal reads the current operating state stored in the state register, and generates the second AC signal.
  • the waveforms of the first AC signal, the second AC signal, and the third AC signal are different from each other.
  • the communication device includes: a second level adjuster, a power management circuit, and a plurality of power-consuming devices; the second level adjusters are all connected to the power supply cable, and the power management circuit is connected to The second level adjuster is connected to at least some of the electrical devices among the plurality of electrical devices; the power management circuit continues to be in the power-on state before and after the communication device switches the operating state; the second electrical device The level adjuster is used to restore the levels of the first AC signal and the third AC signal, and send the first AC signal and the third AC signal to the power management circuit, and the power supply cable
  • the DC power transmitted on the above; the power management circuit is used to generate the second AC signal, and according to the first AC signal, to supply power to the at least part of the electrical device, or prohibit the at least part of the
  • the electrical device supplies power to switch the operating state of the communication device; the second level adjuster is used to increase the level of the second AC signal, and adjust the level to the first level through the power supply cable
  • the transmitter sends the second AC signal
  • the power down-regulation condition when the power down-regulation condition is satisfied, the power of the communication device is reduced after switching the operating state; when the power up-regulation condition is satisfied, the power of the communication device is increased after the switching operation state; the power down-regulation condition includes: The amount of data to be sent by the other device to the communication device is less than a first threshold, and/or the operating current of the communication device is less than a second threshold; the power up-regulation condition includes: the other device is to be sent The amount of data to the communication device is greater than or equal to the first threshold, and/or the operating current of the communication device is greater than or equal to the second threshold.
  • FIG. 1 is a schematic structural diagram of a communication system provided by an embodiment of this application.
  • FIG. 2 is a schematic structural diagram of another communication system provided by an embodiment of this application.
  • FIG. 3 is a schematic structural diagram of still another communication system provided by an embodiment of this application.
  • Fig. 4 is a flowchart of a device control method provided by an embodiment of the application.
  • the embodiment of the present application provides a communication system.
  • the communication system includes: a first device 01 and a second device 02 connected by a photoelectric composite cable.
  • the first device 01 and the second device 02 can be any communication devices, such as switches, routers, etc.
  • the first device 01 and the second device 02 can be different types of communication devices, or they can be the same type of communication devices. This application The embodiment does not limit this.
  • the photoelectric composite cable connecting the first device 01 and the second device 02 includes: an optical fiber and a power supply cable, wherein both ends of the optical fiber and the power supply cable are connected to the first device 01 and the second device 02 respectively .
  • the power supply cable can be any cable that can supply power, such as a copper cable (including two or more copper wires), a twisted pair (including a shielded twisted pair or an unshielded twisted pair).
  • the power supply cable may include two paths (not shown in FIG. 1), a first path and a loop of the first path, respectively, wherein the pressure difference between the first path and the loop may be any pressure difference, such as 48 volts.
  • the optical fiber and the power supply cable are separated from each other as an example.
  • the optical fiber and the power supply cable can also be tied together to form an integral cable, which is not limited in the embodiment of the present application.
  • the photoelectric composite cable can support the signal transmission at a higher rate under a longer transmission distance.
  • the photoelectric composite cable can support a signal transmission distance of more than 200 meters; the photoelectric composite cable can support a data signal transmission rate greater than 10Gbps (Gbps means 1000 megabits per second), such as the data signal transmission rate can reach 25Gbps Or 100Gbps.
  • optical fibers are used to transmit data signals, and data signals can be transmitted between the first device 01 and the second device 02 through optical fibers to realize the communication between the first device 01 and the second device 02;
  • the power supply cable is used for transmission DC power, the first device 01 can transmit DC power to the second device through the power supply cable to supply power to the second device 02.
  • the first device 01 serves as a power supply device (PSE)
  • the second device 02 serves as a powered device (PD).
  • PSE power supply device
  • PD powered device
  • the power supply device and the powered device simultaneously transmit data signals and direct current through the photoelectric composite cable.
  • the functions of the devices (such as the aforementioned first device 01 and the second device 02) in the current communication system are still relatively single.
  • the embodiment of the present application gives the first device 01 and the second device 02 new functions, which enriches the functions of the devices in the communication system.
  • the first device 01 is used to send a first AC signal to the second device 02 through a power supply cable, and the first AC signal is used to instruct the second device 02 to switch the operating state; the second device 02 is used to switch the operating state according to the first AC signal.
  • the DC power is originally transmitted on the power supply cable, and the first AC signal and the DC power can be superimposed on the power supply cable and transmitted to the second device 02.
  • the first AC signal is an AC signal
  • the first AC signal and the DC power do not affect each other when they are simultaneously transmitted on the power supply cable. Therefore, the effective transmission of the first AC signal and the DC power can be realized at the same time.
  • the first device may send the first AC signal to the second device through the power supply cable to instruct the second device to switch the operating state. Therefore, the functions of the first device and the second device are enriched.
  • FIG. 2 is a schematic structural diagram of another communication system provided by an embodiment of the application.
  • the second device 02 includes: a power management circuit 021 and a plurality of power-consuming devices.
  • the device may include: an optical port 022 in FIG. 2, a processor (central processing unit, CPU) 023, a wireless local area network (WLAN) module 024, and a radio frequency power amplifier and receiving front end 025.
  • CPU central processing unit
  • WLAN wireless local area network
  • the power management circuit 021 is connected to the power supply cable in the photoelectric composite cable.
  • the second device 02 may also include an electrical port 026, and the power management circuit 021 may be connected to the power supply cable through the electrical port 026 .
  • the power management circuit 021 is also connected to at least some of the plurality of electric devices.
  • the at least part of the electrical components may include: an optical port 022, a CPU 023, a WLAN module 024, a radio frequency power amplifier and a receiving front end 025.
  • the power management circuit 021 may continue to be in the power-on state before and after the second device 02 switches the operating state.
  • the power management circuit 021 is used to: receive the DC power and the first AC signal transmitted on the power supply cable, and according to the first AC signal, supply power to the at least part of the electrical devices connected to it or prohibit power supply to the at least part of the electrical devices , To switch the operating state of the second device 02. It can be seen that the second device 02 can switch the operating state by adjusting the power supply of at least some of the above-mentioned electrical devices.
  • the at least part of the power-consuming device includes: optical port 022, CPU 023, WLAN module 024, radio frequency power amplifier and receiving front-end 025 as an example.
  • the at least part of the power-consuming device can also be connected with These electrical devices are different.
  • the at least part of the electrical devices may also include only a part of the electrical devices in the optical port 022, the CPU 023, the WLAN module 024, the radio frequency power amplifier and the receiving front end 025, which is not limited in the embodiment of the present application.
  • the optical port 022 is connected to the optical fiber in the photoelectric composite cable, and is used to receive the data signal sent by the first device 01 through the optical fiber and send the data signal to be sent to the first device 01 to the optical fiber.
  • the at least part of the electrical device includes the optical port 022
  • the power management circuit 021 prohibits power supply to the optical port 022
  • the optical port 022 of the second device 02 cannot work, and the first device 01 and the second device 02 cannot pass through the optical fiber Perform data signal transmission.
  • the first device 01 may also transmit the direct current and the first alternating current signal to the second device 02 through the power supply cable.
  • the power management circuit 021 in the second device 02 After the power management circuit 021 in the second device 02 receives the first AC signal, if it supplies power to at least some of the above-mentioned electrical devices according to the first AC signal, the optical port 022 can start working, and the first device 01 and the second Device 02 can transmit data signals through optical fibers.
  • the power management circuit 021 may first send a sleep instruction to the CPU 023, so that the CPU 023 can advance some operating data before the power supply is prohibited. Save it.
  • the power management circuit 021 may send a wake-up instruction to the CPU 023, so that the CPU 023 can immediately read some previously saved operating data after being powered on. The normal operation of the CPU 023 after being powered.
  • the power management circuit 021 can be further divided into a first circuit and a second circuit (not shown in FIG. 2) connected in series according to its function, wherein the first circuit and the second circuit are both connected to the power supply through the electrical port 026
  • the cable is connected, and the second circuit is connected to at least part of the above-mentioned electrical devices.
  • the first circuit is used for receiving the first AC signal transmitted on the power supply cable
  • the second circuit is used for receiving the DC power transmitted on the power supply cable.
  • the first circuit is also used to control the second circuit to supply power to or prohibit power supply to the at least part of the electrical devices connected to the second circuit according to the first AC signal, so as to switch the operating state of the second device.
  • the power management circuit 021 can be further divided into a first circuit and a second circuit
  • the first circuit can also be connected to the CPU in the second device, and the above wake-up command and sleep command can both be sent to the CPU by the first circuit.
  • the optical port 022, the CPU 023, the WLAN module 024, the radio frequency power amplifier and the receiving front end 025 can be connected in series in sequence.
  • the CPU 023 of the second device 02 is used to process the signal sent by the external device and generate the signal that needs to be sent to the external device.
  • the external device may include the above-mentioned first device 01, and the data signal that the first device 01 needs to send to the second device 02 can be transmitted to the CPU 023 of the second device 02 through the optical fiber and the optical port 022 in turn;
  • the CPU 023 may sequentially transmit the data signal that needs to be sent to the first device 01 to the first device through the optical port 022 and the optical fiber.
  • the optical port 022 is used to convert the data signal from the optical fiber from an optical signal to an electrical signal, and transmit the converted data signal to the CPU 023, and the optical port 022 is also used to transfer the data signal from the CPU 023.
  • the electrical signal is converted into an optical signal, and the data signal converted into the electrical signal is transmitted to the optical fiber.
  • the above-mentioned external device may also include other devices (not shown in the drawings of the specification) besides the first device 01.
  • the signal that the CPU 023 of the second device 02 needs to send to the other device can be transmitted to the other device through the WLAN module 024, the radio frequency power amplifier, and the receiving front end 025 in sequence.
  • the other device can also transmit the signals that need to be sent to the second device 02 to the CPU 023 of the second device 02 through the radio frequency power amplifier and receiving front end 025 and the WLAN module 024 in sequence.
  • the WLAN module 024 is used to convert the signal from the CPU 023 into a wireless signal that conforms to the WLAN protocol
  • the radio frequency power amplifier and receiving front end 025 are used to convert the wireless signal from the WLAN module 024 into an antenna signal that is convenient for transmission through an antenna.
  • the radio frequency power amplifier and receiving front end 025 is also used to receive the antenna signal sent by the other device through the antenna, convert the antenna signal into a wireless signal conforming to the WLAN protocol, and transmit the wireless signal to the WLAN module 024
  • WLAN module 024 It is also used to convert the wireless signal from the radio frequency power amplifier and the receiving front end 025 into a signal that can be recognized by the CPU 023, and send the signal to the CPU 023.
  • multiple electrical devices in the second device 02 include: optical port 022, CPU023, WLAN module 024, radio frequency power amplifier and receiving front end 025 as an example.
  • the multiple electrical devices may not be limited to these devices, and the structure of the second device 02 is also not limited to the structure shown in FIG. 2, which is not limited in the embodiment of the present application.
  • the second device 02 can switch the operating state according to the first AC signal sent by the first device 01.
  • the second device 02 can also be used to: send to the first device 01 through the above-mentioned power supply cable
  • the second AC signal which is used to indicate the current operating state of the second device 02. It can be seen that the second device 02 can also feed back its current operating state to the first device through the second AC signal.
  • the second AC signal can also be superimposed on the power supply cable with the DC power and transmitted to the first device 01, and since the second AC signal is an AC signal, the second AC signal will not affect the DC power on the power supply cable. Therefore, the effective transmission of the second AC signal and the DC power can be realized at the same time.
  • the first device 01 is also configured to generate the aforementioned first AC signal according to the current operating state of the second device 02. For example, after receiving the second AC signal, the first device 01 can determine whether it is necessary to control the second device 02 to switch the operating state according to the current operating state of the second device 02 indicated by the second AC signal. When it is necessary to control the second device 02 to switch the operating state, the first device 01 may send the first AC signal for instructing the switching of the operating state to the second device 02 through the above-mentioned power supply cable.
  • the basis for the first device 01 to determine whether it is necessary to control the switching operation state of the second device 02 may include: the current operation state of the second device 02, of course, the basis may not be limited to this.
  • the basis may include: the satisfaction of the power down regulation condition and the power up regulation condition. When any one of the power down regulation condition and the power up regulation condition is met, the first device 01 may determine that the second device 02 needs to be controlled to switch operation state.
  • the power down-regulation condition includes: the amount of data to be sent by the first device 01 to the second device 02 is less than the first threshold, and/or the working current of the second device 02 is less than the second threshold;
  • the power-up condition includes: The amount of data to be sent by a device 01 to the second device 02 is greater than or equal to the first threshold, and/or, the operating current of the second device 02 is greater than or equal to the second threshold.
  • the amount of data to be sent from the first device 01 to the second device 02 can be reflected by the capacity of the first input first output (FIFO) container in the first device 01, when the FIFO in the first device 01 When the capacity of the container is less than the capacity threshold, it indicates that the amount of data to be sent by the first device 01 to the second device 02 is less than the first threshold.
  • FIFO first input first output
  • the first device can control the second device to switch between multiple (at least two) operating states, and the power of the second device is different in the multiple operating states, and the power consumption of the second device is different .
  • the first device can control the second device to prohibit power supply to the optical port, so as to reduce the power consumption of the second device 02.
  • the first device can control the second device to prohibit power supply to the CPU, WLAN module, RF power amplifier and receiving front end , Thereby further reducing the power consumption of the second device.
  • the first device can control the second device to supply power to the optical port and the CPU.
  • the downlink service of the second device is running, the first device can control the second device to supply power to the CPU, the WLAN module, the radio frequency power amplifier, and the receiving front end.
  • the first device determines that it is currently necessary to reduce the power consumption of the second device, if the current operating state of the second device is the operating state with the lowest power consumption among its multiple operating states, then the first device can There is no need to control the second device to switch the operating state.
  • the second device 02 sending the second AC signal to the first device 01 may be a spontaneous operation of the second device 02, or may be an operation of the second device 02 under the instruction of the first device 01.
  • the first device 01 is also used to send the second device 02 to the second device 02 through the power supply cable.
  • the third AC signal is used to query the current operating status of the second device 02; the second device 02 is used to generate the above-mentioned second AC signal according to the third AC signal, and then the second AC signal is supplied with power
  • the cable is transmitted to the first device 01.
  • the third AC signal can also be superimposed on the power supply cable with the above DC power and transmitted to the second device 02, and since the third AC signal is an AC signal, the third AC signal will not affect the DC power on the power supply cable. Therefore, the effective transmission of the third AC signal and DC power can be realized at the same time.
  • the first device 01 may send the aforementioned third AC signal to the second device 02 multiple times (for example, periodically sending the third AC signal to the second device 02); each time the second device 02 receives the third AC signal After the AC signal, the second AC signal can be fed back to the first device 01; the first device 01 can determine whether it is necessary to control the second device 02 to switch the operating state according to the second AC signal that the second device 02 feedbacks at least once.
  • first device 01 and the second device 02 send AC signals (such as the above-mentioned first AC signal, second AC signal, and third AC signal) to each other.
  • AC signals such as the above-mentioned first AC signal, second AC signal, and third AC signal
  • the first device 01 includes a connected manager 011 and a first level adjuster 012, and the second device 02 also includes a second level adjuster 027.
  • the first level adjuster 012 and the second level adjuster 027 are both connected to the power supply cable, and the second level adjuster 027 is connected to the power management circuit 021 in the second device 02.
  • the first device 01 may also include an electrical port 013, the first level adjuster 012 is connected to the power supply cable through the electrical port 013 in the first device 01, and the second level adjuster 027 is connected to the electrical port 026 in series.
  • the second level regulator 027 is connected to the power supply cable through the electrical port 026 in the second device 02.
  • the manager 011 in the first device 01 is used to generate AC signals (such as the first AC signal and the third AC signal described above) that need to be sent to the second device, and the generated AC signals (such as the first AC signal and the third AC signal) Signal) is sent to the first level adjuster 012.
  • the first level adjuster 012 is used to increase the level of the AC signal generated by the manager 011, and send it to the second level in the second device 02 through the power supply cable
  • the regulator 027 sends the AC signal whose level is adjusted higher.
  • the second level adjuster 027 in the second device 02 is used to restore the level of the AC signal (such as the first AC signal and the third AC signal) from the first device (such as reducing the level of the AC signal to the The state before high), and send the AC signal after the level is restored to the power management circuit 021.
  • the second level adjuster 027 is also used to send the DC power transmitted on the power supply cable to the power management circuit 021.
  • the power management circuit 021 is not only used to supply power to or prohibit power supply to at least some of the above-mentioned electrical devices according to the received first AC signal, so as to switch the operating state of the second device, the power management circuit 021 can also Used for generating a second AC signal (for example, generating the second AC signal according to the received third AC signal).
  • the power management circuit 021 is also used to send the generated second AC signal to the second level adjuster 027, and the second level adjuster 027 is used to increase the level of the second AC signal generated by the power management circuit 021, and
  • the second AC signal whose level has been adjusted is sent to the first level adjuster 012 in the first device 01 through the power supply cable (such as through the electrical port 026, the power supply cable, and the electrical port 013 in turn).
  • the first level adjuster 021 in the first device 01 is used to restore the level of the second AC signal (for example, lower the level of the second AC signal to the state before the increase), and send power to the manager 011 The second AC signal after the level is restored.
  • the first device 01 may also include a power supply 014, the power supply 014 is connected to the power supply cable through the electrical port 013, the power supply 014 is used to transmit data to the power supply cable through the electrical port 013 Direct current for supplying power to the second device 02.
  • the first device 01 may also include a CPU 015 and an optical port 016.
  • the CPU 015 is connected to the power supply 014, the aforementioned manager 011, and the optical port 016, and the optical port 016 is connected to an optical fiber. Similar to the CPU 023 in the second device 02, the CPU 015 in the first device 01 can also be used to process signals sent by an external device, and generate signals that need to be sent to the external device, which will not be repeated in this embodiment of the application. .
  • the manager 011 and the CPU 015 in the first device 01 are independent of each other, and the power management circuit 021 and the CPU 023 in the second device 02 are independent of each other as an example.
  • the manager 011 may also be at least partially integrated in the CPU 015, and the power management circuit 021 may also be at least partially integrated in the CPU 023, which is not limited in the embodiment of the present application.
  • the modules in the CPU 023 used to implement the functions of the power management circuit 021 may continue to be in the power-on state, and the CPU 023 Modules other than this module can be in either the power-on state or the power-off state.
  • the AC signal (such as the above-mentioned first AC signal, second AC signal, and third AC signal) transmitted between the first device 01 and the second device 02 through the power supply cable may be an analog signal or a digital signal.
  • these AC signals may all be signals that meet serial physical interface standards (for example, meet serial physical interface standards such as RS-485, RS-422, RS-232, etc.).
  • these AC signals may also be analog signals.
  • the waveforms of these AC signals are different, such as square waves, sine waves, pulse waves, etc., respectively.
  • the difference in the waveform of the AC signal may also be that one or more of the characteristics such as the frequency, amplitude, and period of the plurality of AC signals are different.
  • the above-mentioned first AC signal is not only used to instruct the second device 02 to switch operation
  • the state can also be used to indicate the target operating state that the second device 02 needs to switch to.
  • the first AC signal needs to carry information about the target operating state.
  • AC signals transmitted between the first device 01 and the second device 02 are signals that meet the serial physical interface standard
  • these AC signals may be related to registers in the second device 02.
  • the registers in the second device 02 may include: an instruction register 028, which is connected to the power management circuit 021, and the instruction register 028 is continuously on before and after the second device switches the operating state. Electric state.
  • the first AC signal sent by the first device 01 to the second device 02 may be used to request to write a state switching instruction to the instruction register 028, and the state switching instruction is used to instruct the second device to switch the operating state.
  • the state switching instruction may also be used to indicate the target operating state to which the second device 02 needs to be switched.
  • the power management circuit 021 is used to write the state switch instruction in the instruction register according to the first AC signal, and execute the state switch instruction written in the instruction register 028, so as to supply power to at least some of the above-mentioned electric devices or prohibit power supply to Realize the switching of the operating state of the second device 02.
  • the instruction register 028 may include: multiple sets of device bits corresponding to multiple electrical devices in the second device one-to-one, and each set of device bits is used to store a control instruction of a corresponding electrical device.
  • the control instruction Including: power supply instruction and power supply prohibition instruction.
  • the power management circuit 021 can supply power or prohibit power supply to the power-consuming device corresponding to the device bit according to the control instruction stored in each device bit. For example, when the control command in a bit of a certain device is a power supply command, the power management circuit 021 can supply power to the power-consuming device corresponding to the bit of the device according to the power supply command.
  • the control instruction in a certain device bit is a power supply prohibition instruction
  • the power management circuit 021 may prohibit power supply to the power-consuming device corresponding to the device bit according to the power supply prohibition instruction.
  • the instruction register 028 can include a total of 8 device bits (Bit0 ⁇ Bit7). It is assumed that multiple electrical devices in the second device include: power amplifiers, radio frequency transceivers, and physical layer chips (this example (It is different from the electrical components in the second device shown in Figure 2).
  • the multiple sets of device bits in the 8 device bits include: the first set of device bits corresponding to the power amplifier (including: the first device bit Bit0 of the 8 device bits), and the radio frequency transceiver The corresponding second group of device bits (including: the second device bit Bit1 among the eight device bits), and the third group of device bits corresponding to the physical layer chip (including: the first eight device bits) 3 device bits Bit2).
  • Each device bit can record the control command of the corresponding electric device through the state value.
  • the state value may be a binary, octal, or hexadecimal value, and the default state value of each device bit may be 0 or 1, which is not limited in the embodiment of the present application.
  • the registers in the second device 02 may also include: a status register 029; the status register 029 is connected to the power management circuit 021, and the status register 029 continues to be in before and after the second device switches the operating state. Power-on state.
  • the status register 029 is used to store the current operating status of the second device, and the third AC signal sent by the first device 01 can be used to request to read the current operating status stored in the status register 029.
  • the power management circuit 021 may be used to read the current operating state stored in the status register 029 according to the third AC signal, and generate the aforementioned second AC signal according to the current operating state.
  • the status register 029 may include a total of 8 status bits (Bit0 ⁇ Bit7), and these 8 status bits may include: at least one group corresponding to at least one operating parameter of the second device Status bits, each group of status bits is used to record the value of the corresponding operating parameter, and the value of the at least one operating parameter is used to reflect the current operating state of the second device.
  • the multiple groups of status bits include: the first group of status bits corresponding to the operating mode (including: the first status bit Bit0 to the third status bit Bit3 among the 8 status bits) ; The second group of status bits corresponding to the downlink service status (including: the fourth status bit Bit4 among the 8 status bits), and the third group of status bits corresponding to the uplink service status (including: 8 status bits The fifth status bit in the bit is Bit5).
  • These 8 status bits may also include status bits Bit6 to Bit7 in addition to the multiple groups of status bits, and these status bits may be reserved bits.
  • Each status bit can record the value of the corresponding operating parameter through the status value.
  • the state value may be a binary, octal or hexadecimal value, and the default state value of each state bit may be 0 or 1, which is not limited in the embodiment of the present application.
  • the instruction register 028 and the status register 029 are both located outside the power management circuit 021 as an example.
  • the above instruction register 028 and the status register 029 can be integrated in the power management circuit 021.
  • the examples shown in Table 1 and Table 2 are taken as examples to explain the implementation of the instruction register 028 and the status register 029.
  • the implementation of the instruction register 028 and the status register 029 can also be the same as The examples shown in Table 1 and Table 2 are different, which is not limited in the embodiment of the present application.
  • the first device is used as a power supply device
  • the second device is used as a powered device.
  • the first device can control the second device to switch the operating state to adjust the power of the second device, so as to realize the control of the second device. Adjustment of power consumption.
  • the power management circuit in the second device may supply power or prohibit power supply to at least part of the electric devices, and the at least part of the electric devices may include upstream devices and/or downstream devices.
  • the upstream device is used to transmit or process the upstream signal, and the upstream signal is the signal that the second device needs to transmit to the first device; the downstream device is used to transmit or process the downstream signal, and the downstream signal is also the signal that the second device needs to transmit to Signals of devices other than the first device.
  • the power management circuit prohibits power supply to the at least part of the electrical device, which can greatly reduce the power consumption of the second device.
  • the second device can prohibit power supply to the entire CPU during the process of switching the operating state, so that the power consumption of the second device does not include the power consumption of the CPU operation, and further reduces the power of the second device. Consumption.
  • the powered device can control the operation and shutdown of its downstream devices on its own, so as to adjust its own operating state and change its own power consumption.
  • the upstream device in the powered device is all in the running state, resulting in that the power consumption of the powered device is still relatively high.
  • the CPU in the powered device always needs to keep running, resulting in the power consumption of the powered device at least including the power consumption of the CPU. It can be seen that the power consumption that can be reduced by the powered device in the embodiment of the present application is far greater than the power consumption that can be reduced by the powered device in the related art.
  • the communication system includes: a first device and a second device connected to it as an example.
  • the number of first devices in the communication system may not be limited to one, and each first device The number of connected second devices is also not limited to one.
  • the first device 01 and each second device 02 are connected by a photoelectric composite cable (including power supply cables and optical fibers), and each The optical fibers connected to the second device 02 are all connected to the optical port of the first device 01 (not shown in Figure 3), and the power supply cable connected to each second device 02 is connected to the electrical port of the first device 01 ( Figure Not shown in 3).
  • the first device 01 Before the first device 01 sends out an AC signal (such as the above-mentioned first AC signal or the third AC signal), it can first send a notification signal to all the second devices 02 connected to it, and the notification signal is used to indicate to be sent
  • the AC signal is used to send to a certain second device 02 (for example, the notification signal carries the address of the second device 02).
  • the second device 02 After receiving the notification signal, the second device 02 may send a response signal to the first device 01, so that the first device 01 sends the aforementioned AC signal to the outside according to the response signal.
  • each second device 02 can receive the AC signal, only the second device 02 that sends the response signal will recognize and respond to the AC signal.
  • the embodiment of the present application provides a device control method.
  • FIG. 4 is a flowchart of a device control method provided by an embodiment of this application. This method can be used in the communication system provided by an embodiment of this application. As shown in FIG. 4, the device control method may include:
  • the first device sends a third AC signal to the second device through the power supply cable, and the third AC signal is used to query the current operating state of the second device.
  • the first device may send the third AC signal to the second device through the power supply cable one or more times to query the current operating state of the second device one or more times.
  • the third AC signal please refer to the relevant content in the embodiment of the communication system, which is implemented in this application and will not be repeated here.
  • the second device generates a second AC signal according to the third AC signal, where the second AC signal is used to indicate the current operating state of the second device.
  • the second device may generate a second AC signal for indicating the current operating state of the second device according to the third AC signal.
  • the second AC signal please refer to the relevant content in the embodiment of the communication system, which is implemented in this application and will not be repeated here.
  • the second device sends a second AC signal to the first device through the power supply cable.
  • the second device Each time the second device generates the second AC signal, it can send the second AC signal to the first device through the power supply cable.
  • the first device sends the third AC signal to the second device multiple times in S401
  • the second device generates the second AC signal multiple times in S402, and sends the second AC signal multiple times to the first device in S403 Signal.
  • the first device generates a first AC signal according to the current operating state of the second device indicated by the second AC signal, where the first AC signal is used to instruct the second device to switch the operating state.
  • the first device can determine whether it is necessary to control the second device to switch the operating state according to the current operating state indicated by the second AC signal sent by the second device one or more times, for example, to determine whether it is necessary to control the second device to switch the current operating state to Operating state with lower power consumption or higher.
  • the first device may generate a first AC signal for instructing the second device to switch the operating state. How the first device determines whether it is necessary to control the process of switching the operating state of the second device, and the interpretation of the first AC signal, can refer to the relevant content in the above-mentioned communication system embodiment, which is implemented in this application and will not be repeated here.
  • S405 The first device sends the first AC signal to the second device through the power supply cable.
  • the first device After the first device generates the first AC signal, it can send the first AC signal to the second device through the power supply cable to instruct the second device to switch the operating state.
  • S406 The second device switches the operating state according to the first AC signal.
  • the second device After receiving the first AC signal for instructing the switching operation state, the second device can switch the operation state according to the first AC signal.
  • the process of how the second device switches the operating state according to the first AC signal reference may be made to the relevant content in the foregoing communication system embodiment, which is implemented in this application and will not be repeated here.
  • the third AC signal sent by the first device to the second device in S401, the second AC signal sent by the second device to the first device in S403, and the second AC signal sent by the first device to the second device in S405 An AC signal can be transmitted through the power supply cable in the photoelectric composite cable. Moreover, since these AC signals and the DC power transmitted on the power supply cable do not interfere with each other, the effective transmission of these AC signals and DC power can be realized at the same time.
  • the first device may send the first AC signal to the second device through the power supply cable to instruct the second device to switch the operating state. Therefore, the functions of the first device and the second device are enriched.
  • the disclosed devices and the like can be implemented in other configuration methods.
  • the structure of the device described above is only schematic.
  • the division of the structure in the device is only a logical function division, and there may be other division methods in actual implementation.
  • the structures described as separate components may not be physically separated, and some or all of them may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Small-Scale Networks (AREA)
  • Dc Digital Transmission (AREA)
  • Optical Communication System (AREA)

Abstract

公开了一种设备控制方法及设备、通信系统,属于通信技术领域。所述通信系统包括:通过光电复合线缆连接的第一设备和第二设备,光电复合线缆包括:光纤和供电线缆,光纤用于传输数据信号,供电线缆用于传输直流电;第一设备用于通过供电线缆向第二设备发送第一交流信号;第二设备用于根据第一交流信号切换运行状态。其中,第一交流信号用于指示第二设备切换运行状态。本申请可以解决目前通信系统中设备的功能较单一的问题,丰富了通信系统中第一设备和第二设备的功能,本申请用于通信系统。

Description

设备控制方法及设备、通信系统
本申请要求于2020年06月04日提交的申请号为202010501317.9、发明名称为“设备控制方法及设备、通信系统”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。
技术领域
本申请涉及通信技术领域,特别涉及一种设备控制方法及设备、通信系统。
背景技术
通信系统通常包括相互连接的多个设备(如交换机和路由器等),通信系统中的设备间能够传输通信数据。
通信系统中的多个设备通常通过光电复合线缆连接。其中,光电复合线缆包括:光纤和供电线缆,通信系统中的设备之间可以通过供电线缆传输用于供电的直流信号,以及通过光纤传输用于通信的数据信号。
但是,目前通信系统中设备的功能较单一。
发明内容
本申请提供了一种设备控制方法及设备、通信系统,可以解决目前通信系统中设备的功能较单一的问题,所述技术方案如下:
第一方面,提供了一种通信系统,所述通信系统包括:通过光电复合线缆连接的第一设备和第二设备,其中,所述光电复合线缆包括:光纤和供电线缆,所述光纤用于传输数据信号,所述供电线缆用于传输直流电。所述第一设备用于通过所述供电线缆向所述第二设备发送第一交流信号,所述第二设备用于根据所述第一交流信号切换运行状态。其中,所述第一交流信号用于指示所述第二设备切换运行状态。
可以看出,本申请提供的通信系统中,第一设备可以通过供电线缆向第二设备发送第一交流信号,以指示第二设备进行运行状态的切换。所以,丰富了该第一设备和第二设备的功能。并且,供电线缆上原本传输有直流电,该第一交流信号可以与该直流电叠加在供电线缆上并传输至第二设备,由于第一交流信号为交流信号,第一交流信号与直流电在供电线缆上同时传输时互不影响,因此,能够同时实现第一交流信号和直流电的有效传输。
可选地,所述第二设备还用于:通过所述供电线缆向所述第一设备发送第二交流信号;所述第一设备还用于根据所述当前运行状态生成所述第一交流信号。其中,所述第二交流信号用于指示所述第二设备的当前运行状态。可以看出,第二设备还能够将自己的当前运行状态通过第二交流信号反馈给第一设备。其中,该第二交流信号也可以与该直流电叠加在供电线缆上并传输至第一设备,并且由于该第二交流信号为交流信号,第二交流信号并不会影响供电线缆上直流电的传输,因此,能够同时实现第二交流信号和直流电的有效传 输。第一设备在接收到该第二交流信号后,可以根据该第二交流信号指示的第二设备的当前运行状态,判定是否需要控制第二设备切换运行状态。在需要控制第二设备切换运行状态时,第一设备可以通过上述供电线缆向第二设备发送用于指示切换运行状态的第一交流信号。
需要说明的是,第一设备判定是否需要控制第二设备切换运行状态的依据可以包括:第二设备的当前运行状态,当然,该依据也可以并不限于此。可选地,该依据可以包括:功率下调条件和功率上调条件的满足情况,在功率下调条件和功率上调条件中的任一条件满足时,第一设备均可以确定需要控制第二设备切换运行状态。所述功率下调条件包括:所述第一设备待发送至所述第二设备的数据的量小于第一阈值,和/或,所述第二设备的工作电流小于第二阈值;所述功率上调条件包括:所述第一设备待发送至所述第二设备的数据的量大于或等于所述第一阈值,和/或,所述第二设备的工作电流大于或等于所述第二阈值。在功率下调条件满足时,所述第二设备在切换运行状态后功率降低;在功率上调条件满足时,所述第二设备在切换运行状态后功率增高。
可选地,所述第一设备还用于通过所述供电线缆向所述第二设备发送第三交流信号;所述第二设备用于根据所述第三交流信号生成所述第二交流信号。其中,所述第三交流信号用于查询所述第二设备的所述当前运行状态。可以看出,第二设备向第一设备发送第二交流信号可以是第二设备自发的操作,也可以是第二设备在第一设备的指示下的操作。当第二设备向第一设备发送第二交流信号是第二设备在第一设备的指示下的操作时,第一设备还用于通过供电线缆向第二设备发送第三交流信号,该第三交流信号用于查询第二设备的当前运行状态;第二设备用于根据该第三交流信号生成上述第二交流信号,之后再将该第二交流信号通过供电线缆传输至第一设备。其中,第三交流信号也可以与上述直流电叠加在供电线缆上并传输至第二设备,并且,由于该第三交流信号为交流信号,第三交流信号并不会影响供电线缆上直流电的传输,因此,能够同时实现第三交流信号和直流电的有效传输。
可选地,所述第二设备包括:电源管理电路和多个用电器件;所述电源管理电路与所述供电线缆以及所述多个用电器件中的至少部分用电器件连接;所述电源管理电路在所述第二设备切换运行状态前后持续处于上电状态;所述电源管理电路用于:接收所述供电线缆上传输的所述直流电以及所述第一交流信号,并根据所述第一交流信号,向所述至少部分用电器件供电或者禁止向所述至少部分用电器件供电,以切换所述第二设备的运行状态。可以看出,第二设备可以通过调整上述至少部分用电器件的供电情况,实现运行状态的切换。
可选地,所述至少部分用电器件包括:光口。需要说明的是,光口与光电复合线缆中的光纤连接,用于通过光纤接收第一设备发送的数据信号,以及向光纤发送待发送至第一设备的数据信号。在该至少部分用电器件包括光口时,若电源管理电路禁止向光口供电,则第二设备的光口无法工作,该第一设备与第二设备无法通过光纤进行数据信号的传输。此时,第一设备还可以通过供电线缆向第二设备传输直流电和第一交流信号。第二设备中的电源管理电路在接收到该第一交流信号后,若根据第一交流信号向上述至少部分用电器件供电,则光口能够开始工作,第一设备与第二设备能够通过光纤进行数据信号的传输。
在本申请实施例中,第一设备01和第二设备02之间通过供电线缆传输的交流信号(如 上述第一交流信号、第二交流信号和第三交流信号)可以为模拟信号或数字信号。例如,这些交流信号均可以为满足串行物理接口标准(如满足RS-485、RS-422、RS-232等串行物理接口标准)的信号。又例如,这些交流信号也可以是模拟信号。当需要多种交流信号时,为了区别不同的交流信号(如为了使第二交流信号区别于第一交流信号),这些交流信号的波形不同,例如分别为方波、正弦波、脉冲波等。交流信号的波形不同也可以是该多个交流信号的频率、振幅、周期等特征中的一个或多个特征不同。
可选地,在第一设备和第二设备之间传输的交流信号为满足串行物理接口标准的信号时,这些交流信号可以与第二设备中的寄存器相关。
一方面,所述第二设备还包括:指令寄存器;所述指令寄存器与所述电源管理电路相连接,且所述指令寄存器在所述第二设备切换运行状态前后持续处于上电状态;所述第一交流信号用于请求向所述指令寄存器写入用于指示所述第二设备切换运行状态的状态切换指令;所述电源管理电路用于根据所述第一交流信号在所述指令寄存器中写入所述状态切换指令,并执行写入所述指令寄存器的所述状态切换指令,以向所述至少部分用电器件供电,或者,禁止向所述至少部分用电器件供电。
另一方面,所述第二设备还包括:状态寄存器;所述状态寄存器与所述电源管理电路相连接,且所述状态寄存器在所述第二设备切换运行状态前后持续处于上电状态;所述状态寄存器用于存储所述第二设备的当前运行状态,所述第三交流信号用于请求读取所述状态寄存器上存储的所述当前运行状态;所述电源管理电路用于根据所述第三交流信号读取所述状态寄存器上存储的所述当前运行状态,并生成所述第二交流信号。
可选地,所述第一设备包括:相连接的管理器和第一电平调节器,所述第二设备包括:第二电平调节器、电源管理电路和多个用电器件;所述第一电平调节器和所述第二电平调节器均与所述供电线缆连接,所述电源管理电路与所述第二电平调节器以及所述多个用电器件中的至少部分用电器件连接;所述电源管理电路在所述第二设备切换运行状态前后持续处于上电状态;所述管理器用于生成所述第一交流信号和所述第三交流信号;所述第一电平调节器用于调高所述第一交流信号和所述第三交流信号的电平,并通过所述供电线缆向所述第二电平调节器发送电平调高后的所述第一交流信号和所述第三交流信号;所述第二电平调节器用于恢复所述第一交流信号和所述第三交流信号的电平,并向所述电源管理电路发送所述第一交流信号和所述第三交流信号,以及所述供电线缆上传输的所述直流电;所述电源管理电路用于生成所述第二交流信号,以及根据所述第一交流信号,向所述至少部分用电器件供电,或者,禁止向所述至少部分用电器件供电,以切换所述第二设备的运行状态;所述第二电平调节器用于调高所述第二交流信号的电平,并通过所述供电线缆向所述第一电平调节器发送电平调高后的所述第二交流信号;所述第一电平调节器用于恢复所述第二交流信号的电平,并向所述管理器发送所述第二交流信号。
第二方面,提供了一种通信设备,所述通信设备包括光口和电口,所述光口用于和光电复合线缆中的光纤连接,所述电口用于和光电复合线缆中的供电线缆连接,其中,所述光电复合线缆包括所述光纤和所述供电线缆,所述光纤用于传输数据信号,所述供电线缆用于传输直流电;所述通信设备用于通过所述供电线缆向另一设备发送第一交流信号,所述第一交流信号用于指示所述另一设备切换运行状态。
可选地,所述通信设备还用于:通过所述供电线缆接收所述另一设备发送的第二交流 信号;根据所述当前运行状态生成所述第一交流信号。其中,所述第二交流信号用于指示所述另一设备的当前运行状态。
可选地,所述通信设备还用于:通过所述供电线缆向所述另一设备发送第三交流信号,所述第三交流信号用于查询所述另一设备的所述当前运行状态。
可选地,所述第一交流信号、所述第二交流信号和所述第三交流信号均为满足串行物理接口标准的信号。
可选地,在第一设备和另一设备之间传输的交流信号为满足串行物理接口标准的信号时,这些交流信号可以与该另一设备中的寄存器相关。
一方面,所述另一设备还包括:指令寄存器;所述指令寄存器与所述电源管理电路相连接,且所述指令寄存器在所述另一设备切换运行状态前后持续处于上电状态;所述第一交流信号用于请求向所述指令寄存器写入用于指示所述另一设备切换运行状态的状态切换指令。
另一方面,所述另一设备还包括:状态寄存器;所述状态寄存器与所述电源管理电路相连接,且所述状态寄存器在所述另一设备切换运行状态前后持续处于上电状态;所述状态寄存器用于存储所述另一设备的当前运行状态,所述第三交流信号用于请求读取所述状态寄存器上存储的所述当前运行状态。
可选地,所述第一交流信号、所述第二交流信号和所述第三交流信号的波形互不相同。
可选地,所述通信设备包括:相连接的管理器和第一电平调节器;所述第一电平调节器与所述供电线缆连接;所述管理器用于生成所述第一交流信号和所述第三交流信号;所述第一电平调节器用于调高所述第一交流信号和所述第三交流信号的电平,并通过所述供电线缆向所述另一设备发送电平调高后的所述第一交流信号和所述第三交流信号;所述第一电平调节器还用于通过所述供电线缆接收电平调高后的所述第二交流信号,并恢复所述第二交流信号的电平,以及向所述管理器发送所述第二交流信号。
可选地,在功率下调条件满足时,所述另一设备在切换运行状态后功率降低;在功率上调条件满足时,所述另一设备在切换运行状态后功率增高;所述功率下调条件包括:所述第一设备待发送至所述另一设备的数据的量小于第一阈值,和/或,所述另一设备的工作电流小于第二阈值;所述功率上调条件包括:所述第一设备待发送至所述另一设备的数据的量大于或等于所述第一阈值,和/或,所述另一设备的工作电流大于或等于所述第二阈值。
第三方面,提供了一种通信设备,所述通信设备包括光口和电口,所述光口用于和光电复合线缆中的光纤连接,所述电口用于和光电复合线缆中的供电线缆连接,其中,所述光电复合线缆包括所述光纤和所述供电线缆,所述光纤用于传输数据信号,所述供电线缆用于传输直流电;所述通信设备用于:通过所述供电线缆接收另一设备发送的第一交流信号;响应于接收到所述第一交流信号,切换运行状态。
可选地,所述通信设备还用于:通过所述供电线缆向所述另一设备发送第二交流信号,所述第二交流信号用于指示所述通信设备的当前运行状态。
可选地,所述通信设备还用于:通过所述供电线缆接收所述另一设备发送的第三交流信号;根据所述第三交流信号生成所述第二交流信号。其中,所述第三交流信号用于查询所述通信设备的所述当前运行状态。
可选地,所述通信设备包括:电源管理电路和多个用电器件;所述电源管理电路与所 述供电线缆以及所述多个用电器件中的至少部分用电器件连接;所述电源管理电路在所述通信设备切换运行状态前后持续处于上电状态;所述电源管理电路用于:接收所述供电线缆上传输的所述直流电以及所述第一交流信号,并根据所述第一交流信号,向所述至少部分用电器件供电或者禁止向所述至少部分用电器件供电,以切换所述通信设备的运行状态。
可选地,所述至少部分用电器件包括:所述光口。
可选地,所述第一交流信号、所述第二交流信号和所述第三交流信号均为满足串行物理接口标准的信号。
可选地,在另一设备和通信设备之间传输的交流信号为满足串行物理接口标准的信号时,这些交流信号可以与通信设备中的寄存器相关。
一方面,所述通信设备还包括:指令寄存器;所述指令寄存器与所述电源管理电路相连接,且所述指令寄存器在所述通信设备切换运行状态前后持续处于上电状态;所述第一交流信号用于请求向所述指令寄存器写入用于指示所述通信设备切换运行状态的状态切换指令;所述电源管理电路用于根据所述第一交流信号在所述指令寄存器中写入所述状态切换指令,并执行写入所述指令寄存器的所述状态切换指令,以向所述至少部分用电器件供电,或者,禁止向所述至少部分用电器件供电。
另一方面,所述通信设备还包括:状态寄存器;所述状态寄存器与所述电源管理电路相连接,且所述状态寄存器在所述通信设备切换运行状态前后持续处于上电状态;所述状态寄存器用于存储所述通信设备的当前运行状态,所述第三交流信号用于请求读取所述状态寄存器上存储的所述当前运行状态;所述电源管理电路用于根据所述第三交流信号读取所述状态寄存器上存储的所述当前运行状态,并生成所述第二交流信号。
可选地,所述第一交流信号、所述第二交流信号和所述第三交流信号的波形互不相同。
可选地,所述通信设备包括:第二电平调节器、电源管理电路和多个用电器件;所述第二电平调节器均与所述供电线缆连接,所述电源管理电路与所述第二电平调节器以及所述多个用电器件中的至少部分用电器件连接;所述电源管理电路在所述通信设备切换运行状态前后持续处于上电状态;所述第二电平调节器用于恢复所述第一交流信号和所述第三交流信号的电平,并向所述电源管理电路发送所述第一交流信号和所述第三交流信号,以及所述供电线缆上传输的所述直流电;所述电源管理电路用于生成所述第二交流信号,以及根据所述第一交流信号,向所述至少部分用电器件供电,或者,禁止向所述至少部分用电器件供电,以切换所述通信设备的运行状态;所述第二电平调节器用于调高所述第二交流信号的电平,并通过所述供电线缆向所述第一电平调节器发送电平调高后的所述第二交流信号。
可选地,在功率下调条件满足时,所述通信设备在切换运行状态后功率降低;在功率上调条件满足时,所述通信设备在切换运行状态后功率增高;所述功率下调条件包括:所述另一设备待发送至所述通信设备的数据的量小于第一阈值,和/或,所述通信设备的工作电流小于第二阈值;所述功率上调条件包括:所述另一设备待发送至所述通信设备的数据的量大于或等于所述第一阈值,和/或,所述通信设备的工作电流大于或等于所述第二阈值。
第四方面,提供了一种设备控制方法,所述方法包括:通过光电复合线缆中的供电线缆向另一设备发送第一交流信号,所述第一交流信号用于指示所述另一设备切换运行状态;其中,所述光电复合线缆还包括:光纤,所述光纤用于传输数据信号,所述供电线缆用于 传输直流电。
可选地,所述方法还包括:通过所述供电线缆接收所述另一设备发送的第二交流信号;根据所述当前运行状态生成所述第一交流信号。其中,所述第二交流信号用于指示所述另一设备的当前运行状态。
可选地,所述方法还包括:通过所述供电线缆向所述另一设备发送第三交流信号,所述第三交流信号用于查询所述另一设备的所述当前运行状态。
可选地,所述第一交流信号、所述第二交流信号和所述第三交流信号均为满足串行物理接口标准的信号。
可选地,所述方法用于通信设备,在所述通信设备和所述另一设备之间传输的交流信号为满足串行物理接口标准的信号时,这些交流信号可以与另一设备中的寄存器相关。
一方面,所述另一设备还包括:指令寄存器;所述指令寄存器与所述电源管理电路相连接,且所述指令寄存器在所述另一设备切换运行状态前后持续处于上电状态;所述第一交流信号用于请求向所述指令寄存器写入用于指示所述另一设备切换运行状态的状态切换指令。
另一方面,所述另一设备还包括:状态寄存器;所述状态寄存器与所述电源管理电路相连接,且所述状态寄存器在所述另一设备切换运行状态前后持续处于上电状态;所述状态寄存器用于存储所述另一设备的当前运行状态,所述第三交流信号用于请求读取所述状态寄存器上存储的所述当前运行状态。
可选地,所述第一交流信号、所述第二交流信号和所述第三交流信号的波形互不相同。
可选地,所述通信设备包括:相连接的管理器和第一电平调节器;所述第一电平调节器与所述供电线缆连接;所述管理器用于生成所述第一交流信号和所述第三交流信号;所述第一电平调节器用于调高所述第一交流信号和所述第三交流信号的电平,并通过所述供电线缆向所述另一设备发送电平调高后的所述第一交流信号和所述第三交流信号;所述第一电平调节器还用于通过所述供电线缆接收电平调高后的所述第二交流信号,并恢复所述第二交流信号的电平,以及向所述管理器发送所述第二交流信号。
可选地,在功率下调条件满足时,所述另一设备在切换运行状态后功率降低;在功率上调条件满足时,所述另一设备在切换运行状态后功率增高;所述功率下调条件包括:所述通信设备待发送至所述另一设备的数据的量小于第一阈值,和/或,所述另一设备的工作电流小于第二阈值;所述功率上调条件包括:所述通信设备待发送至所述另一设备的数据的量大于或等于所述第一阈值,和/或,所述另一设备的工作电流大于或等于所述第二阈值。
第五方面,提供了一种设备控制方法,所述方法包括:通过光电复合线缆中的供电线缆接收另一设备发送的第一交流信号;响应于接收到所述第一交流信号,切换运行状态;其中,所述光电复合线缆还包括:光纤,所述光纤用于传输数据信号,所述供电线缆用于传输直流电。
可选地,所述方法用于通信设备,所述方法还包括:通过所述供电线缆向所述另一设备发送第二交流信号,所述第二交流信号用于指示所述通信设备的当前运行状态。
可选地,所述方法还包括:通过所述供电线缆接收所述另一设备发送的第三交流信号;根据所述第三交流信号生成所述第二交流信号。其中,所述第三交流信号用于查询所述通信设备的所述当前运行状态。
可选地,所述通信设备包括:电源管理电路和多个用电器件;所述电源管理电路与所述供电线缆以及所述多个用电器件中的至少部分用电器件连接;所述电源管理电路在所述通信设备切换运行状态前后持续处于上电状态;所述电源管理电路用于:接收所述供电线缆上传输的所述直流电以及所述第一交流信号,并根据所述第一交流信号,向所述至少部分用电器件供电或者禁止向所述至少部分用电器件供电,以切换所述通信设备的运行状态。
可选地,所述至少部分用电器件包括:所述光口。
可选地,所述第一交流信号、所述第二交流信号和所述第三交流信号均为满足串行物理接口标准的信号。
可选地,在另一设备和通信设备之间传输的交流信号为满足串行物理接口标准的信号时,这些交流信号可以与通信设备中的寄存器相关。
一方面,所述通信设备还包括:指令寄存器;所述指令寄存器与所述电源管理电路相连接,且所述指令寄存器在所述通信设备切换运行状态前后持续处于上电状态;所述第一交流信号用于请求向所述指令寄存器写入用于指示所述通信设备切换运行状态的状态切换指令;所述电源管理电路用于根据所述第一交流信号在所述指令寄存器中写入所述状态切换指令,并执行写入所述指令寄存器的所述状态切换指令,以向所述至少部分用电器件供电,或者,禁止向所述至少部分用电器件供电。
另一方面,所述通信设备还包括:状态寄存器;所述状态寄存器与所述电源管理电路相连接,且所述状态寄存器在所述通信设备切换运行状态前后持续处于上电状态;所述状态寄存器用于存储所述通信设备的当前运行状态,所述第三交流信号用于请求读取所述状态寄存器上存储的所述当前运行状态;所述电源管理电路用于根据所述第三交流信号读取所述状态寄存器上存储的所述当前运行状态,并生成所述第二交流信号。
可选地,所述第一交流信号、所述第二交流信号和所述第三交流信号的波形互不相同。
可选地,所述通信设备包括:第二电平调节器、电源管理电路和多个用电器件;所述第二电平调节器均与所述供电线缆连接,所述电源管理电路与所述第二电平调节器以及所述多个用电器件中的至少部分用电器件连接;所述电源管理电路在所述通信设备切换运行状态前后持续处于上电状态;所述第二电平调节器用于恢复所述第一交流信号和所述第三交流信号的电平,并向所述电源管理电路发送所述第一交流信号和所述第三交流信号,以及所述供电线缆上传输的所述直流电;所述电源管理电路用于生成所述第二交流信号,以及根据所述第一交流信号,向所述至少部分用电器件供电,或者,禁止向所述至少部分用电器件供电,以切换所述通信设备的运行状态;所述第二电平调节器用于调高所述第二交流信号的电平,并通过所述供电线缆向所述第一电平调节器发送电平调高后的所述第二交流信号。
可选地,在功率下调条件满足时,所述通信设备在切换运行状态后功率降低;在功率上调条件满足时,所述通信设备在切换运行状态后功率增高;所述功率下调条件包括:所述另一设备待发送至所述通信设备的数据的量小于第一阈值,和/或,所述通信设备的工作电流小于第二阈值;所述功率上调条件包括:所述另一设备待发送至所述通信设备的数据的量大于或等于所述第一阈值,和/或,所述通信设备的工作电流大于或等于所述第二阈值。
上述第二方面至第五方面的有益效果可以参考上述第一方面中相应描述中的有益效果,本申请在此不做赘述。
附图说明
图1为本申请实施例提供的一种通信系统的结构示意图;
图2为本申请实施例提供的另一种通信系统的结构示意图;
图3为本申请实施例提供的再一种通信系统的结构示意图;
图4为本申请实施例提供的一种设备控制方法的流程图。
具体实施方式
为使本申请的原理和技术方案更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
本申请实施例提供了一种通信系统,如图1所示,该通信系统包括:通过光电复合线缆连接的第一设备01和第二设备02。
第一设备01和第二设备02可以是任意的通信设备,如交换机、路由器等,第一设备01和第二设备02可以是不同类型的通信设备,也可以是相同类型的通信设备,本申请实施例对此不作限定。
请参考图1,连接第一设备01和第二设备02的光电复合线缆包括:光纤和供电线缆,其中,光纤和供电线缆的两端均分别连接第一设备01和第二设备02。供电线缆可以是任一种能够供电的线缆,如铜缆(其中有两根或更多铜线)、双绞线(包括屏蔽双绞线或非屏蔽双绞线)等。供电线缆可以包括两条通路(图1中未示出),分别为第一通路以及该第一通路的回路,其中第一通路与其回路的压差可以为任意压差,如48伏。图1中以光纤和供电线缆相互分离为例,可选地,该光纤和供电线缆也可以绑在一起,形成一个整体线缆,本申请实施例对此不作限定。光电复合线缆能够支持信号在较长传输距离下实现较高速率的传输。比如,光电复合线缆能够支持信号200米以上的传输距离;光电复合线缆能够支持的数据信号的传输速率大于10Gbps(Gbps表示每秒1000兆比特),如该数据信号的传输速率能够达到25Gbps或100Gbps。
在该通信系统中,光纤用于传输数据信号,第一设备01和第二设备02之间可以通过光纤传输数据信号,实现第一设备01和第二设备02的通信;供电线缆用于传输直流电,第一设备01可以通过该供电线缆向第二设备传输直流电,以向第二设备02供电。此时,第一设备01作为供电设备(PSE),第二设备02作为被供电设备(PD),供电设备与被供电设备通过该光电复合线缆同时进行数据信号和直流电的传输。
但是,目前通信系统中设备(如上述第一设备01和第二设备02)的功能仍然较为单一。在此基础上,本申请实施例赋予第一设备01和第二设备02新增的功能,丰富了通信系统中设备的功能。
示例地,在本申请实施例中,第一设备01用于通过供电线缆向第二设备02发送第一交流信号,该第一交流信号用于指示第二设备02切换运行状态;第二设备02用于根据该第一交流信号切换运行状态。需要说明的是,供电线缆上原本传输有直流电,该第一交流信号可以与该直流电叠加在供电线缆上并传输至第二设备02。并且,由于第一交流信号为交流信号,第一交流信号与直流电在供电线缆上同时传输时互不影响,因此,能够同时实现第一交流信号和直流电的有效传输。
综上所述,本申请实施例提供的通信系统中,第一设备可以通过供电线缆向第二设备发送第一交流信号,以指示第二设备进行运行状态的切换。所以,丰富了该第一设备和第二设备的功能。
示例地,图2为本申请实施例提供的另一种通信系统的结构示意图,如图2所示,该第二设备02包括:电源管理电路021和多个用电器件,该多个用电器件可以包括:图2中的光口022、处理器(central processing unit,CPU)023、无线局域网(wireless local area network,WLAN)模组024、射频功放与接收前端025。
请参考图2,电源管理电路021与光电复合线缆中的供电线缆连接,比如,该第二设备02还可以包括电口026,电源管理电路021可以通过该电口026与供电线缆连接。电源管理电路021还与该多个用电器件中的至少部分用电器件连接。如图2所示,该至少部分用电器件可以包括:光口022、CPU 023、WLAN模组024、射频功放与接收前端025。
电源管理电路021在第二设备02切换运行状态前后可以持续处于上电状态。电源管理电路021用于:接收供电线缆上传输的直流电和第一交流信号,并根据该第一交流信号,向其连接的上述至少部分用电器件供电或者禁止向该至少部分用电器件供电,以切换第二设备02的运行状态。可以看出,第二设备02可以通过调整上述至少部分用电器件的供电情况,实现运行状态的切换。
需要说明的是,本申请实施例中以该至少部分用电器件包括:光口022、CPU 023、WLAN模组024、射频功放与接收前端025为例,当然该至少部分用电器件也可以与这些用电器件不同。比如,该至少部分用电器件也可以仅包括光口022、CPU 023、WLAN模组024、射频功放与接收前端025中的一部分用电器件,本申请实施例对此不作限定。需要说明的是,光口022与光电复合线缆中的光纤连接,用于通过光纤接收第一设备01发送的数据信号,以及向光纤发送待发送至第一设备01的数据信号。在该至少部分用电器件包括光口022时,若电源管理电路021禁止向光口022供电,则第二设备02的光口022无法工作,该第一设备01与第二设备02无法通过光纤进行数据信号的传输。此时,第一设备01还可以通过供电线缆向第二设备02传输直流电和第一交流信号。第二设备02中的电源管理电路021在接收到该第一交流信号后,若根据第一交流信号向上述至少部分用电器件供电,则光口022能够开始工作,第一设备01与第二设备02能够通过光纤进行数据信号的传输。
可选地,在电源管理电路021向第二设备02的CPU 023禁止供电之前,电源管理电路021可以先向CPU 023发送睡眠指令,以便于CPU 023能够在被禁止供电之前,提前将一些运行数据进行保存。在电源管理电路021向第二设备02的CPU 023供电之后,电源管理电路021可以向CPU 023发送唤醒指令,以便于CPU 023能够在被供电之后,立即读取之前保存的一些运行数据,以便于CPU 023在被供电之后的正常运行。
可选地,电源管理电路021可以根据其功能进一步划分为串连的第一电路和第二电路(图2中未示出),其中,第一电路和第二电路均通过电口026与供电线缆连接,第二电路与上述至少部分用电器件连接。第一电路用于接收供电线缆上传输的第一交流信号,第二电路用于接收供电线缆上传输的直流电。第一电路还用于根据该第一交流信号,控制第二电路向其连接的上述至少部分用电器件供电或者禁止向该至少部分用电器件供电,以切换第二设备的运行状态。在电源管理电路021可以进一步划分为第一电路和第二电路的情况下,第一电路还可以与第二设备中的CPU连接,上述唤醒指令和睡眠指令均可以由第一电 路发送至CPU。
进一步地,请继续参考图2,光口022、CPU 023、WLAN模组024、射频功放与接收前端025可以依次串连。第二设备02的CPU 023用于处理外部设备发送的信号,以及生成需要发送至该外部设备的信号。
示例地,该外部设备可以包括上述第一设备01,第一设备01需要发送至第二设备02的数据信号可以依次通过光纤和光口022传输至第二设备02的CPU 023;第二设备02的CPU 023可以将需要发送至第一设备01的数据信号依次通过光口022和光纤传输至第一设备。其中,光口022用于对来自将来自光纤的数据信号由光信号转换为电信号,并将转换为电信号的数据信号传输至CPU 023,光口022还用于将来自CPU 023的数据信号由电信号转换为光信号,并将转换为电信号的该数据信号传输至光纤。
又示例地,上述外部设备还可以包括除第一设备01之外的其他设备(说明书附图中未示出)。第二设备02的CPU 023需要发送至该其他设备的信号可以依次通过WLAN模组024、射频功放与接收前端025传输至该其他设备。该其他设备还可以将需要发送至第二设备02的信号依次通过射频功放与接收前端025、WLAN模组024传输至该第二设备02的CPU 023。其中,该WLAN模组024用于将来自CPU 023的信号转换为符合WLAN协议的无线信号,射频功放与接收前端025用于将来自WLAN模组024的无线信号转换为便于通过天线传输的天线信号。射频功放与接收前端025还用于通过天线接收该其他设备发送的天线信号,并将该天线信号转换为符合WLAN协议的无线信号,以及将该无线信号传输至WLAN模组024;WLAN模组024还用于将来自射频功放与接收前端025的无线信号转换为CPU 023能够识别的信号,并将该信号发送至CPU 023。
需要说明的是,图2中以第二设备02中的多个用电器件包括:光口022、CPU023、WLAN模组024、射频功放与接收前端025为例。当然,该多个用电器件也可以并不局限于这些器件,第二设备02的结构也并不局限于图2所示出的结构,本申请实施例对此不作限定。
上述实施例中,第二设备02可以根据第一设备01发送的第一交流信号切换运行状态,可选地,该第二设备02还可以用于:通过上述供电线缆向第一设备01发送第二交流信号,该第二交流信号用于指示第二设备02的当前运行状态。可以看出,第二设备02还能够将自己的当前运行状态通过第二交流信号反馈给第一设备。其中,该第二交流信号也可以与该直流电叠加在供电线缆上并传输至第一设备01,并且由于该第二交流信号为交流信号,第二交流信号并不会影响供电线缆上直流电的传输,因此,能够同时实现第二交流信号和直流电的有效传输。
在第二设备02能够通过第二交流信号向第一设备01反馈当前运行状态的情况下,第一设备01还用于根据该第二设备02的当前运行状态生成上述第一交流信号。示例地,第一设备01在接收到该第二交流信号后,可以根据该第二交流信号指示的第二设备02的当前运行状态,判定是否需要控制第二设备02切换运行状态。在需要控制第二设备02切换运行状态时,第一设备01可以通过上述供电线缆向第二设备02发送用于指示切换运行状态的第一交流信号。
需要说明的是,第一设备01判定是否需要控制第二设备02切换运行状态的依据可以包括:第二设备02的当前运行状态,当然,该依据也可以并不限于此。示例地,该依据可 以包括:功率下调条件和功率上调条件的满足情况,在功率下调条件和功率上调条件中的任一条件满足时,第一设备01均可以确定需要控制第二设备02切换运行状态。其中,该功率下调条件包括:第一设备01待发送至第二设备02的数据的量小于第一阈值,和/或,第二设备02的工作电流小于第二阈值;功率上调条件包括:第一设备01待发送至第二设备02的数据的量大于或等于第一阈值,和/或,第二设备02的工作电流大于或等于第二阈值。在功率下调条件满足时,第二设备02在根据上述第一交流信号切换运行状态后功率降低;在功率上调条件满足时,第二设备02在根据上述第一交流信号切换运行状态后功率增高。可选地,第一设备01待发送至第二设备02的数据的量可以通过第一设备01中先进先出(First Input First Output,FIFO)容器的容量来体现,当第一设备01中FIFO容器的容量小于容量阈值时,表明第一设备01待发送至第二设备02的数据的量小于第一阈值。
本申请实施例中,第一设备能够控制第二设备在多种(至少两种)运行状态之间进行切换,且该多种运行状态下第二设备的功率不同,第二设备的功耗不同。比如,当第一设备01和第二设备02之间无数据业务时(比如第一设备01待发送至第二设备02的数据的量小于第一阈值,且第二设备02的上行业务处于空闲状态),第一设备可以控制第二设备禁止向光口供电,以降低第二设备02的功耗。当第一设备和第二设备之间无数据业务,且第二设备02的下行业务也处于空闲状态时,第一设备可以控制第二设备禁止向CPU、WLAN模组、射频功放与接收前端供电,从而进一步降低第二设备的功耗。在第一设备与第二设备之间有数据业务时,第一设备可以控制第二设备向光口和CPU供电。在第二设备的下行业务处于运行状态时,第一设备可以控制第二设备向CPU、WLAN模组、射频功放与接收前端供电供电。需要说明的是,在第一设备确定当前需要降低第二设备的功耗时,若第二设备的当前运行状态为其多种运行状态中功耗最低的运行状态,则此时第一设备可以无需控制第二设备进行运行状态的切换。
可选地,第二设备02向第一设备01发送第二交流信号可以是第二设备02自发的操作,也可以是第二设备02在第一设备01的指示下的操作。当第二设备02向第一设备01发送第二交流信号是第二设备02在第一设备01的指示下的操作时,第一设备01还用于通过供电线缆向第二设备02发送第三交流信号,该第三交流信号用于查询第二设备02的当前运行状态;第二设备02用于根据该第三交流信号生成上述第二交流信号,之后再将该第二交流信号通过供电线缆传输至第一设备01。其中,第三交流信号也可以与上述直流电叠加在供电线缆上并传输至第二设备02,并且,由于该第三交流信号为交流信号,第三交流信号并不会影响供电线缆上直流电的传输,因此,能够同时实现第三交流信号和直流电的有效传输。
可选地,第一设备01可以多次向第二设备02发送上述第三交流信号(如周期性地向第二设备02发送第三交流信号);第二设备02在每次接收到第三交流信号后,均可以向第一设备01反馈第二交流信号;第一设备01可以根据第二设备02最近至少一次反馈的第二交流信号,判定是否需要控制第二设备02切换运行状态。
以下将对第一设备01和第二设备02如何向对方发送交流信号(如上述第一交流信号、第二交流信号和第三交流信号)的过程进行讲解。
请继续参考图2,第一设备01包括:相连接的管理器011和第一电平调节器012,第二设备02还包括:第二电平调节器027。该第一电平调节器012和第二电平调节器027均 与供电线缆连接,第二电平调节器027与第二设备02中的电源管理电路021连接。比如,第一设备01也可以还包括电口013,第一电平调节器012通过第一设备01中的电口013连接至供电线缆,第二电平调节器027串连在电口026和电源管理电路021之间的通路上,第二电平调节器027通过第二设备02中的电口026连接至供电线缆。
第一设备01中的管理器011用于生成需要发送至第二设备的交流信号(如上述第一交流信号和第三交流信号,并将生成的交流信号(如第一交流信号和第三交流信号)发送至第一电平调节器012。第一电平调节器012用于调高管理器011生成的交流信号的电平,并通过供电线缆向第二设备02中的第二电平调节器027发送电平调高后的该交流信号。
第二设备02中的第二电平调节器027用于恢复来自第一设备的交流信号(如第一交流信号和第三交流信号)的电平(如将交流信号的电平调低至调高前的状态),并向电源管理电路021发送电平恢复后的该交流信号。第二电平调节器027还用于向电源管理电路021发送供电线缆上传输的直流电。电源管理电路021不仅用于根据接收到的第一交流信号,向上述至少部分用电器件供电或者禁止向该至少部分用电器件供电,以切换第二设备的运行状态,电源管理电路021还可以用于生成第二交流信号(比如根据接收到的第三交流信号生成该第二交流信号)。电源管理电路021还用于将生成的第二交流信号发送至第二电平调节器027,第二电平调节器027用于调高电源管理电路021生成的第二交流信号的电平,并通过供电线缆(如依次通过电口026、供电线缆和电口013)向第一设备01中的第一电平调节器012发送电平调高后的第二交流信号。第一设备01中的第一电平调节器021用于恢复第二交流信号的电平(比如将第二交流信号的电平调低至调高前的状态),并向管理器011发送电平恢复后的第二交流信号。
请继续参考图2,第一设备01还可以包括供电器014,该供电器014通过上述电口013连接至供电线缆,该供电器014用于通过电口013向供电线缆上传输用于向第二设备02供电的直流电。该第一设备01还可以包括CPU 015和光口016,CPU 015与供电器014、上述管理器011以及光口016均连接,光口016连接至光纤。类似第二设备02中的CPU 023,该第一设备01中的CPU 015也可以用于处理外部设备发送的信号,以及生成需要发送至该外部设备的信号,本申请实施例在此不做赘述。
需要说明的是,本申请实施例中以第一设备01中的管理器011与CPU 015相互独立,且第二设备02中的电源管理电路021与CPU 023相互独立为例。可选地,该管理器011也可以至少部分集成在CPU 015中,电源管理电路021也可以至少部分集成在CPU 023中,本申请实施例对此不作限定。可选地,当电源管理电路021集成在CPU 023中时,在第二设备02切换运行状态前后,CPU 023中用于实现电源管理电路021的功能的模块可以持续处于上电状态,CPU 023中除该模块之外的模块可以处于上电状态或下电状态。
在本申请实施例中,第一设备01和第二设备02之间通过供电线缆传输的交流信号(如上述第一交流信号、第二交流信号和第三交流信号)可以为模拟信号或数字信号。例如,这些交流信号均可以为满足串行物理接口标准(如满足RS-485、RS-422、RS-232等串行物理接口标准)的信号。又例如,这些交流信号也可以是模拟信号。当需要多种交流信号时,为了区别不同的交流信号(如为了使第二交流信号区别于第一交流信号),这些交流信号的波形不同,例如分别为方波、正弦波、脉冲波等。交流信号的波形不同也可以是该多个交流信号的频率、振幅、周期等特征中的一个或多个特征不同。
可选地,当第一设备01和第二设备02之间通过供电线缆传输的交流信号为满足串行物理接口标准的信号时,上述第一交流信号不仅用于指示第二设备02切换运行状态,还可以用于指示第二设备02需要切换至的目标运行状态。此时,该第一交流信号需要携带该目标运行状态的信息。
可选地,在第一设备01和第二设备02之间传输的交流信号为满足串行物理接口标准的信号时,这些交流信号可以与第二设备02中的寄存器相关。
一方面,如图2所示,第二设备02中的寄存器可以包括:指令寄存器028,该指令寄存器028与电源管理电路021连接,且指令寄存器028在第二设备切换运行状态前后均持续处于上电状态。第一设备01发送给第二设备02的第一交流信号可以用于请求向该指令寄存器028中写入状态切换指令,该状态切换指令用于指示第二设备切换运行状态。可选地,该状态切换指令还可以用于指示第二设备02需要切换至的目标运行状态。电源管理电路021用于根据该第一交流信号在指令寄存器中写入该状态切换指令,并执行写入指令寄存器028的该状态切换指令,以向上述至少部分用电器件供电或者禁止供电,以实现第二设备02运行状态的切换。
示例地,指令寄存器028可以包括:与第二设备中的多个用电器件一一对应的多组器件比特位,每组器件比特位用于存储对应的用电器件的控制指令,该控制指令包括:供电指令和禁止供电指令。电源管理电路021可以根据每个器件比特位中存储的控制指令,对该器件比特位对应的用电器件进行供电或禁止供电。如当某一器件比特位中的控制指令为供电指令时,电源管理电路021可以根据该供电指令,对该器件比特位对应的用电器件进行供电。当某一器件比特位中的控制指令为禁止供电指令时,电源管理电路021可以根据该禁止供电指令,禁止对该器件比特位对应的用电器件进行供电。
如表1所示,指令寄存器028可以共包括:8个器件比特位(Bit0~Bit7),假设第二设备中的多个用电器件包括:功率放大器、射频收发器和物理层芯片(该示例与图2示出的第二设备中的用电器件不同)。此时,这8个器件比特位中的多组器件比特位包括:功率放大器对应的第一组器件比特位(包括:8个器件比特位中的第1个器件比特位Bit0),射频收发器对应的第二组器件比特位(包括:8个器件比特位中的第2个器件比特位Bit1),以及物理层芯片对应的第三组器件比特位(包括:8个器件比特位中的第3个器件比特位Bit2)。这8个器件比特位还可以包括除该多组器件比特位之外的器件比特位Bit3~Bit7,这些器件比特位可以为预留位。每个器件比特位可以通过状态值记录对应的用电器件的控制指令。比如,表1中当器件比特位的状态值为1时,该器件比特位用于记录对应的用电器件的供电指令,当器件比特位的状态值为0时,该器件比特位用于记录对应的用电器件的禁止供电指令。可选地,该状态值可以是2进制、8进制或16进制的数值,每个器件比特位默认的状态值可以是0也可以是1,本申请实施例对此不作限定。
表1
Figure PCTCN2021095203-appb-000001
Figure PCTCN2021095203-appb-000002
另一方面,如图2所示,第二设备02中的寄存器还可以包括:状态寄存器029;状态寄存器029与电源管理电路021相连接,且状态寄存器029在第二设备切换运行状态前后持续处于上电状态。状态寄存器029用于存储第二设备的当前运行状态,第一设备01发送的上述第三交流信号可以用于请求读取状态寄存器029上存储的当前运行状态。电源管理电路021可以用于根据该第三交流信号读取状态寄存器029上存储的当前运行状态,并根据该当前运行状态生成上述第二交流信号。
如表2所示,状态寄存器029可以共包括:8个状态比特位(Bit0~Bit7),这8个状态比特位可以包括:与第二设备的至少一个运行参数一一对应的至少一组状态比特位,每组状态比特位用于记录对应的运行参数的值,该至少一个运行参数的值用于体现第二设备的当前运行状态。如表2所示,该多组状态比特位包括:运行模式对应的第一组状态比特位(包括:8个状态比特位中的第1个状态比特位Bit0至第3个状态比特位Bit3);下行业务状态对应的第二组状态比特位(包括:8个状态比特位中的第4个状态比特位Bit4),以及上行业务状态对应的第三组状态比特位(包括:8个状态比特位中的第5个状态比特位Bit5)。这8个状态比特位还可以包括除该多组状态比特位之外的状态比特位Bit6~Bit7,这些状态比特位可以为预留位。每个状态比特位可以通过状态值记录对应的运行参数的值。比如,表2中当第一组状态比特位Bit0~Bit3的状态值为0000时,该第一组状态比特位用于记录第二设备的运行模式为模式1,当第二组状态比特位Bit4的状态值为0时,该第二组状态比特位用于记录第二设备的下行业务状态为运行。可选地,该状态值可以是2进制、8进制或16进制的数值,每个状态比特位默认的状态值可以是0也可以是1,本申请实施例对此不作限定。
表2
Figure PCTCN2021095203-appb-000003
需要说明的是,本申请实施例中以指令寄存器028和状态寄存器029均位于电源管理电路021之外为例,可选地,上述指令寄存器028和状态寄存器029均可以集成在电源管理电路021中。本申请实施例中以表1和表2所示的示例为例,对指令寄存器028和状态 寄存器029的实现方式进行了讲解,可选地,指令寄存器028和状态寄存器029的实现方式也可以与表1和表2所示的示例不同,本申请实施例对此不作限定。
根据以上实施例可知,第一设备作为供电设备,第二设备作为被供电设备,第一设备能够控制第二设备进行运行状态的切换,以调整第二设备的功率,从而实现对第二设备的功耗的调整。第二设备在切换运行状态的过程中,第二设备中的电源管理电路可以向至少部分用电器件供电或者禁止供电,该至少部分用电器件可以包括上行器件和/或下行器件。其中,上行器件用于传输或处理上行信号,上行信号也即是第二设备需要传输至第一设备的信号;下行器件用于传输或处理下行信号,下行信号也即是第二设备需要传输至除第一设备之外的其他设备的信号。在该至少部分既包括上行器件又包括下行器件时,电源管理电路禁止向该至少部分用电器件供电,能够使第二设备的功耗大幅度的降低。另外,本申请实施例中,第二设备能够在切换运行状态的过程中,禁止向整个CPU供电,使得第二设备的功耗并不包含CPU运行的功耗,进一步降低了第二设备的功耗。
相关技术中,被供电设备能够自行控制其下行器件的运行和关闭,以实现自身运行状态的调整,改变自身的功耗。但是,无论被供电设备的下行器件是运行还是关闭,该被供电设备中的上行器件均处于运行状态,导致被供电设备的功耗仍然较高。并且,被供电设备中的CPU始终需要保持运行状态,导致被供电设备的功耗至少包含CPU运行的功耗。可见,本申请实施例中被供电设备能够降低的功耗远远大于相关技术中被供电设备能够降低的功耗。
需要说明的是,本申请实施例中以通信系统包括:一个第一设备及其连接的一个第二设备为例,该通信系统中第一设备的个数可以不限于一个,每个第一设备连接的第二设备的个数也不限于一个。当第一设备连接有多个第二设备时,如图3所示,第一设备01与每个第二设备02均通过一条光电复合线缆(包括供电线缆和光纤)连接,每个第二设备02所连接的光纤均连接至第一设备01的光口(图3中未示出),每个第二设备02所连接的供电线缆均连接至第一设备01的电口(图3中未示出)。第一设备01在向外发出的交流信号(如上述第一交流信号或第三交流信号)前,可以先向其连接的所有第二设备02均发送通知信号,该通知信号用于指示待发送的交流信号用于发送至的某一第二设备02(比如该通知信号携带有该第二设备02的地址)。该第二设备02在接收到该通知信号后,可以向第一设备01发送响应信号,以便于第一设备01根据该响应信号向外发送上述交流信号。此时,虽然各个第二设备02均能够接收到该交流信号,但只有发送响应信号的第二设备02会对该交流信号进行识别以及响应。
基于本申请实施例提供的通信系统,本申请实施例提供了一种设备控制方法。
示例地,图4为本申请实施例提供的设备控制方法的流程图,该方法可以用于本申请实施例提供的通信系统,如图4所示,该设备控制方法可以包括:
S401、第一设备通过供电线缆向第二设备发送第三交流信号,第三交流信号用于查询第二设备的当前运行状态。
第一设备可以一次或多次通过供电线缆向第二设备发送第三交流信号,以一次或多次查询第二设备的当前运行状态。该第三交流信号的解释请参考通信系统实施例中的相关内容,本申请实施了在此不做赘述。
S402、第二设备根据第三交流信号生成第二交流信号,第二交流信号用于指示第二设备的当前运行状态。
第二设备在每次接收到第一设备发送的第三交流信号后,均可以根据该第三交流信号生成用于指示第二设备的当前运行状态的第二交流信号。该第二交流信号的解释请参考通信系统实施例中的相关内容,本申请实施了在此不做赘述。
S403、第二设备通过供电线缆向第一设备发送第二交流信号。
第二设备在每次生成第二交流信号后,均可以通过供电线缆向第一设备发送该第二交流信号。当第一设备在S401中多次向第二设备发送第三交流信号时,第二设备在S402中会多次生成第二交流信号,并在S403中会多次向第一设备发送第二交流信号。
S404、第一设备根据第二交流信号所指示的第二设备的当前运行状态生成第一交流信号,第一交流信号用于指示第二设备切换运行状态。
第一设备可以根据第二设备一次或多次发送的第二交流信号所指示的当前运行状态,确定是否需要控制第二设备切换运行状态,比如确定是否需要控制第二设备将当前运行状态切换至功耗更低或者更高的运行状态。在确定需要控制第一设备切换运行状态时,该第一设备可以生成用于指示第二设备切换运行状态的第一交流信号。第一设备如何确定是否需要控制第二设备切换运行状态的过程,以及第一交流信号的解释,均可以参考上述通信系统实施例中的相关内容,本申请实施了在此不做赘述。
S405、第一设备通过供电线缆向第二设备发送第一交流信号。
第一设备在生成第一交流信号后,便可以通过供电线缆向第二设备发送该第一交流信号,以指示第二设备切换运行状态。
S406、第二设备根据第一交流信号切换运行状态。
第二设备在接收到用于指示切换运行状态的第一交流信号后,便可以根据该第一交流信号切换运行状态。第二设备如何根据第一交流信号切换运行状态的过程,可以参考上述通信系统实施例中的相关内容,本申请实施了在此不做赘述。
需要说明的是,S401中第一设备向第二设备发送的第三交流信号,S403中第二设备向第一设备发送的第二交流信号,以及S405中第一设备向第二设备发送的第一交流信号,均可以通过光电复合线缆中的供电线缆传输。并且,由于这些交流信号与供电线缆上传输的直流电并不会互相干扰,因此,能够同时实现这些交流信号和直流电的有效传输。
综上所述,本申请实施例提供的设备控制方法中,第一设备可以通过供电线缆向第二设备发送第一交流信号,以指示第二设备进行运行状态的切换。所以,丰富了该第一设备和第二设备的功能。
本申请实施例提供的方法实施例中操作的先后顺序能够进行适当调整,操作也能够根据情况进行相应增减,比如,上述S401和S402可以不执行,S403和S404也可以不执行。任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化的方法,都应涵盖在本申请的保护范围之内,因此不再赘述。
需要说明的是,本申请中的“至少一个”指的是一个或多个,“多个”指的是两个或两个以上。在本公开中,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。本申请中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存 在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。本申请实施例提供的方法实施例能够与相应的通信系统实施例相互参考,本申请实施例对此不做限定。
在本申请提供的实施例中,应该理解到,所揭露的设备等可以通过其它的构成方式实现。例如,以上所描述的设备的结构仅仅是示意性的,例如,设备中结构的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。作为分离部件说明的结构也可以不是物理上分开的,可以根据实际的需要选择其中的部分或者全部来实现本实施例方案的目的。

Claims (17)

  1. 一种通信系统,其特征在于,所述通信系统包括:通过光电复合线缆连接的第一设备和第二设备,所述光电复合线缆包括:光纤和供电线缆,所述光纤用于传输数据信号,所述供电线缆用于传输直流电;
    所述第一设备用于通过所述供电线缆向所述第二设备发送第一交流信号,所述第一交流信号用于指示所述第二设备切换运行状态;
    所述第二设备用于根据所述第一交流信号切换运行状态。
  2. 根据权利要求1所述的通信系统,其特征在于,所述第二设备还用于:通过所述供电线缆向所述第一设备发送第二交流信号,所述第二交流信号用于指示所述第二设备的当前运行状态;
    所述第一设备还用于根据所述当前运行状态生成所述第一交流信号。
  3. 根据权利要求2所述的通信系统,其特征在于,所述第一设备还用于通过所述供电线缆向所述第二设备发送第三交流信号,所述第三交流信号用于查询所述第二设备的所述当前运行状态;
    所述第二设备用于根据所述第三交流信号生成所述第二交流信号。
  4. 一种通信设备,其特征在于,所述通信设备包括光口和电口,所述光口用于和光电复合线缆中的光纤连接,所述电口用于和光电复合线缆中的供电线缆连接,其中,所述光电复合线缆包括所述光纤和所述供电线缆,所述光纤用于传输数据信号,所述供电线缆用于传输直流电;
    所述通信设备用于通过所述供电线缆向另一设备发送第一交流信号,所述第一交流信号用于指示所述另一设备切换运行状态。
  5. 根据权利要求4所述的通信设备,其特征在于,所述通信设备还用于:
    通过所述供电线缆接收所述另一设备发送的第二交流信号,所述第二交流信号用于指示所述另一设备的当前运行状态;
    根据所述当前运行状态生成所述第一交流信号。
  6. 根据权利要求5所述的通信设备,其特征在于,所述通信设备还用于:通过所述供电线缆向所述另一设备发送第三交流信号,所述第三交流信号用于查询所述另一设备的所述当前运行状态。
  7. 根据权利要求6所述的通信设备,其特征在于,所述第一交流信号、所述第二交流信号和所述第三交流信号均为满足串行物理接口标准的信号。
  8. 根据权利要求6所述的通信设备,其特征在于,所述第一交流信号、所述第二交流信 号和所述第三交流信号的波形互不相同。
  9. 一种通信设备,其特征在于,所述通信设备包括光口和电口,所述光口用于和光电复合线缆中的光纤连接,所述电口用于和光电复合线缆中的供电线缆连接,其中,所述光电复合线缆包括所述光纤和所述供电线缆,所述光纤用于传输数据信号,所述供电线缆用于传输直流电;
    所述通信设备用于:
    通过所述供电线缆接收另一设备发送的第一交流信号;
    响应于接收到所述第一交流信号,切换运行状态。
  10. 根据权利要求9所述的通信设备,其特征在于,所述通信设备还用于:通过所述供电线缆向所述另一设备发送第二交流信号,所述第二交流信号用于指示所述通信设备的当前运行状态。
  11. 根据权利要求10所述的通信设备,其特征在于,所述通信设备还用于:
    通过所述供电线缆接收所述另一设备发送的第三交流信号,所述第三交流信号用于查询所述通信设备的所述当前运行状态;
    根据所述第三交流信号生成所述第二交流信号。
  12. 根据权利要求11所述的通信设备,其特征在于,所述第一交流信号、所述第二交流信号和所述第三交流信号均为满足串行物理接口标准的信号。
  13. 根据权利要求11所述的通信设备,其特征在于,所述第一交流信号、所述第二交流信号和所述第三交流信号的波形互不相同。
  14. 根据权利要求11至13任一所述的通信设备,其特征在于,所述通信设备包括:电源管理电路和多个用电器件;
    所述电源管理电路与所述供电线缆以及所述多个用电器件中的至少部分用电器件连接;所述电源管理电路在所述通信设备切换运行状态前后持续处于上电状态;
    所述电源管理电路用于:接收所述供电线缆上传输的所述直流电以及所述第一交流信号,并根据所述第一交流信号,向所述至少部分用电器件供电或者禁止向所述至少部分用电器件供电,以切换所述通信设备的运行状态。
  15. 根据权利要求14所述的通信设备,其特征在于,所述至少部分用电器件包括所述光口。
  16. 一种设备控制方法,其特征在于,所述方法包括:
    通过光电复合线缆中的供电线缆向另一设备发送交流信号,所述交流信号用于指示所述另一设备切换运行状态;
    其中,所述光电复合线缆还包括:光纤,所述光纤用于传输数据信号,所述供电线缆用于传输直流电。
  17. 一种设备控制方法,其特征在于,所述方法包括:
    通过光电复合线缆中的供电线缆接收另一设备发送的交流信号;
    响应于接收到所述交流信号,切换运行状态;
    其中,所述光电复合线缆还包括:光纤,所述光纤用于传输数据信号,所述供电线缆用于传输直流电。
PCT/CN2021/095203 2020-06-04 2021-05-21 设备控制方法及设备、通信系统 WO2021244329A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21818264.0A EP4175234A4 (en) 2020-06-04 2021-05-21 DEVICE CONTROL METHOD, COMMUNICATION DEVICE AND SYSTEM
US18/074,869 US20230134181A1 (en) 2020-06-04 2022-12-05 Device Control Method, Device, and Communication System

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010501317.9 2020-06-04
CN202010501317.9A CN113765678B (zh) 2020-06-04 2020-06-04 设备控制方法及设备、通信系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/074,869 Continuation US20230134181A1 (en) 2020-06-04 2022-12-05 Device Control Method, Device, and Communication System

Publications (1)

Publication Number Publication Date
WO2021244329A1 true WO2021244329A1 (zh) 2021-12-09

Family

ID=78783832

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/095203 WO2021244329A1 (zh) 2020-06-04 2021-05-21 设备控制方法及设备、通信系统

Country Status (4)

Country Link
US (1) US20230134181A1 (zh)
EP (1) EP4175234A4 (zh)
CN (1) CN113765678B (zh)
WO (1) WO2021244329A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116455477A (zh) * 2022-01-06 2023-07-18 中兴通讯股份有限公司 供电方法及其装置、存储介质、程序产品
CN117914355A (zh) * 2022-10-12 2024-04-19 华为技术有限公司 一种设备控制方法及装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060262463A1 (en) * 2005-05-17 2006-11-23 Mah Pat Y Power supply
CN102866761A (zh) * 2012-08-22 2013-01-09 南京神易网络科技有限公司 一种通过双绞线集中供电的智能计算机系统
CN104412541A (zh) * 2013-03-05 2015-03-11 优倍快网络公司 混合式光纤和以太网供电
CN204836199U (zh) * 2015-07-29 2015-12-02 杭州海康威视数字技术股份有限公司 Poe供电模块及设置有poe供电模块的线缆
CN205408023U (zh) * 2015-12-23 2016-07-27 国家海洋局第一海洋研究所 一种水下光纤数传系统
EP3661193A1 (en) * 2017-08-22 2020-06-03 Hangzhou Hikvision Digital Technology Co., Ltd. Signal transmission system and signal transmission method

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4569195B2 (ja) * 2003-11-14 2010-10-27 富士ゼロックス株式会社 信号伝送装置
JP5257527B2 (ja) * 2012-02-03 2013-08-07 日立電線株式会社 光電気複合伝送モジュール
DE102012203437A1 (de) * 2012-03-05 2013-09-05 Kabel BW GmbH Netzabschnitt eines Datenkommunikations- oder/und Übertragungsnetzwerks mit aufladbareEnergiespeicheranordnungen aufweisenden Netzstationen
CN104810102A (zh) * 2014-01-23 2015-07-29 广东夏野日用电器有限公司 光电复合线缆
CN204349576U (zh) * 2015-01-29 2015-05-20 李新领 一种直流远程供电系统用交直流电无缝切换装置
CN105656018B (zh) * 2016-01-22 2018-05-11 济南爱默生电源有限公司 应用于高速公路直流远供电源交流局端机供电系统及方法
CN109428329B (zh) * 2017-08-21 2021-03-23 上海中车艾森迪海洋装备有限公司 一种水下供电系统
EP3763131A4 (en) * 2018-03-08 2021-12-15 Radius Universal, A Limited Liability Company of the State of New York FIBER OPTIC POWER SUPPLY AND COMMUNICATION NETWORK
CN109599950A (zh) * 2019-01-03 2019-04-09 安徽省禹坤自动化科技有限公司 一种基于sdh的变电站电力调度数据网设备电源控制装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060262463A1 (en) * 2005-05-17 2006-11-23 Mah Pat Y Power supply
CN102866761A (zh) * 2012-08-22 2013-01-09 南京神易网络科技有限公司 一种通过双绞线集中供电的智能计算机系统
CN104412541A (zh) * 2013-03-05 2015-03-11 优倍快网络公司 混合式光纤和以太网供电
CN204836199U (zh) * 2015-07-29 2015-12-02 杭州海康威视数字技术股份有限公司 Poe供电模块及设置有poe供电模块的线缆
CN205408023U (zh) * 2015-12-23 2016-07-27 国家海洋局第一海洋研究所 一种水下光纤数传系统
EP3661193A1 (en) * 2017-08-22 2020-06-03 Hangzhou Hikvision Digital Technology Co., Ltd. Signal transmission system and signal transmission method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4175234A4

Also Published As

Publication number Publication date
CN113765678A (zh) 2021-12-07
CN113765678B (zh) 2022-06-28
US20230134181A1 (en) 2023-05-04
EP4175234A1 (en) 2023-05-03
EP4175234A4 (en) 2023-11-29

Similar Documents

Publication Publication Date Title
WO2021244329A1 (zh) 设备控制方法及设备、通信系统
US8793511B1 (en) Power management for power over ethernet (PoE) system based on network communication transmission rate
US8082453B2 (en) Power sharing between midspan and endspan for higher power PoE
US7567579B2 (en) Multiple current limits for power over ethernet controller
US5878221A (en) Network for multimedia asynchronous transfer mode digital signal transmission and components thereof
EP0689743B1 (en) Bus transceiver with binary data transmission mode and ternary control transmission mode
US5799041A (en) Network for multimedia asynchronous transfer mode digital signal transmission and components thereof
US20060020736A1 (en) Method and apparatus for extending communications over USB
CN101964713B (zh) 一种网络方法及系统
EP1971082B1 (en) Selective mode PHY device and method for managing power utilization using same
US9722765B2 (en) Method and apparatus for managing processing in TDD frames to enable power dissipation reduction
CN103959755A (zh) 数字用户线收发器的高效功率管理的符号门控非连续模式
CN107135082A (zh) 一种利用两个供电端设备共同供电的系统及方法
CN110247674B (zh) 基于电源电压编码调制的一线通射频前端控制方法及系统
KR20110052322A (ko) 이더넷 장치 및 그의 전송률 조절 방법
US9063736B2 (en) Method and apparatus for reducing a link rate of communication device in a pre-standby state upon detecting no traffic for a predetermined time period
CN110601721A (zh) 数字用户线的功耗动态管理装置及应用方法
US8112127B2 (en) Communication system capable of adjusting power consumed thereby
GB2419440A (en) An adapter for a computer which performs transmission rate conversion and opto-electric conversion on received optical signals
CN115882699B (zh) 一种使用光纤环形通信实现均流的方法
KR20010003431A (ko) 이더넷 스위치에서 오버플로우 발생 방지를 위한 데이터전송속도 자동 조정장치 및 방법
US11995025B2 (en) Active cable supporting high-speed signal link training
CN113285891B (zh) 用于过载式网络交换的带宽分配装置与相关网络交换装置
EP3240252B1 (en) Subcarrier information indication method, apparatus and system
KR100310292B1 (ko) 대칭형 가변속도의 디지털 가입자 회선 처리장치

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: 21818264

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021818264

Country of ref document: EP

Effective date: 20221214

NENP Non-entry into the national phase

Ref country code: DE