WO2022105628A1 - Communication control method and apparatus, and optical network unit - Google Patents

Communication control method and apparatus, and optical network unit Download PDF

Info

Publication number
WO2022105628A1
WO2022105628A1 PCT/CN2021/129064 CN2021129064W WO2022105628A1 WO 2022105628 A1 WO2022105628 A1 WO 2022105628A1 CN 2021129064 W CN2021129064 W CN 2021129064W WO 2022105628 A1 WO2022105628 A1 WO 2022105628A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
host
heartbeat
state
onu
Prior art date
Application number
PCT/CN2021/129064
Other languages
French (fr)
Chinese (zh)
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 华为技术有限公司
Publication of WO2022105628A1 publication Critical patent/WO2022105628A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/22Adaptations for optical transmission
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the field of radio and television, and in particular, to a communication control method, device and optical network unit.
  • a Community Antenna Television (CATV) system is a broadcast television system that includes a broadcast television data transmitter, an Optical Line Terminal (OLT), and an Optical Network Unit (ONU). After the radio and television data provided by the radio and television data transmitter and the network data provided by the OLT are converted into two optical signals, they are synthesized into one optical signal by means of wavelength division multiplexing (WDM), which is transmitted to the optical fiber.
  • WDM wavelength division multiplexing
  • the ONU based on the acquired optical signal processing, obtains the electrical signal corresponding to the broadcast television data and the electrical signal corresponding to the network data.
  • the ONU is also called an optical network terminal, which includes a radio frequency (Radio Frequency, RF) module (also called a CATV module) and a host.
  • the host is provided with an optical device-on-board (BOSA On Board, BOB) module, and the RF module is used to obtain And output the electrical signal corresponding to the radio and television data, the BOB module is used to acquire and output the electrical signal corresponding to the network data, and the host is used to provide the Internet access signal based on the electrical signal corresponding to the network data.
  • the RF module is connected to the host through pin headers or cables, and the RF module works under the management of the host.
  • the connection between the RF module and the host is simple, it is easy to be attacked by physical attacks, causing the RF module to be disconnected, resulting in data loss of the RF module. Therefore, the reliability of the current ONU is low.
  • Embodiments of the present application provide a communication control method, device, and optical network unit.
  • the technical solution is as follows:
  • a first aspect provides a communication control method applied to an optical network unit ONU, the method comprising:
  • connection status between the host and the radio frequency RF module, and the host and the optical device are connected to the on-board BOB module; after determining that the connection status between the host and the RF module is disconnected, at least one module in the ONU executes the sending status At least one of indication information, stopping power supply to the RF module and stopping data output of the RF module, the state indication information is used to indicate that the connection state between the host and the RF module is a disconnected state.
  • At least one module in the ONU executes the process of sending status indication information, stopping power supply for the RF module, and stopping the data output of the RF module. At least one of them can avoid the data loss of the RF module caused by physical attacks and improve the reliability of the ONU.
  • the ONU there are various ways for the ONU to obtain the connection state between the host and the radio frequency RF module, and the embodiments of the present application take the following two ways as examples for description.
  • the ONU obtains the connection status between the host and the RF module through the heartbeat mechanism to determine whether to execute the target process.
  • the process of acquiring the connection state between the host and the radio frequency RF module includes: acquiring the connection state between the host and the RF module through a heartbeat mechanism.
  • the ONU can obtain the connection status between the host and the RF module by monitoring the first heartbeat information and/or the second heartbeat information.
  • the ONU determines the connection state between the host and the RF module by detecting the first heartbeat information.
  • the process includes: detecting whether the host has received the first heartbeat information sent by the RF module; when detecting that the host has not received the first heartbeat information for m consecutive times, determining that the connection state between the host and the RF module is connected In the disconnected state, the m is a preset positive integer.
  • the ONU determines the connection state between the host and the RF module by detecting the second heartbeat information.
  • the process includes: detecting whether the RF module has received the second heartbeat information sent by the host; when it is detected that the RF module has not received the second heartbeat information for n consecutive times, determining that the connection state between the host and the RF module is The connection is disconnected, and n is a preset positive integer.
  • the process of stopping the data output of the RF module includes: controlling the RF module to stop the data output. By controlling the RF module to stop data output, when the connection between the host and the RF module is disconnected, the RF module can still be prevented from outputting electrical signals corresponding to broadcast and television data, and data loss caused by physical attacks can be prevented.
  • the ONU determines whether to execute the target process by reading the information of the RF module on the control line. Then the process of obtaining the connection state of the host and the radio frequency RF module includes: reading the information of the RF module through the control line between the host and the RF module; when the information read of the RF module is empty, determining the host The connection state with the RF module is disconnected.
  • the sending the status indication information includes: controlling the host to send the status indication information; the stopping of supplying power to the RF module includes: controlling the power supply in the ONU Stop powering this RF module.
  • the host includes a power supply control circuit and the power supply, the power supply control circuit is connected to the power supply, and controlling the power supply in the ONU to stop supplying power to the RF module includes: controlling the power supply to stop supplying power to the RF module through the power supply control circuit .
  • the state indication information is used to indicate that the connection state between the host and the RF module is a disconnected state, and the state indication information may be alarm information.
  • the host sends the status indication information to the OLT through the BOB module, so that the OLT notifies the administrator of the communication system.
  • the status indication information may be sent to the OLT in the form of the aforementioned transmitted optical signal.
  • the host is further connected with an alarm module, and the host sends the status indication information through the alarm module to warn others around the ONU to stop physical attacks on the ONU.
  • the alarm module may be a flasher and/or a sounder (eg, a horn).
  • the administrator can be notified of the abnormal connection status between the host and the RF module, so that the administrator can control the ONU and prevent physical attacks. data loss. Or, warn others around the ONU to stop the physical attack on the ONU, so as to reduce the data loss caused by the physical attack.
  • the power-off of the RF module can be realized, so that the RF module stops working and prevents the RF module from still outputting the power corresponding to the broadcast TV data. signal to prevent data loss caused by physical attacks.
  • the method further includes: after detecting that the default output state of the RF module is an on state, updating the default output state of the RF module to an off state.
  • the method further includes: reading a first flag register, where the first flag register is used to indicate whether the RF module supports the heartbeat mechanism; after reading the first flag register, it indicates that the RF module supports the heartbeat mechanism heartbeat mechanism, and after receiving the instruction indicating to open the heartbeat mechanism, update the state of the heartbeat switch register to the open state, and the open state of the heartbeat switch register is used to indicate the opening of the heartbeat mechanism; read the second flag register, the second flag The register is used to indicate whether the heartbeat mechanism of the RF module is successfully turned on; after reading the second flag register to indicate that the heartbeat mechanism of the RF module is turned on successfully, read the heartbeat register of the RF module, and the heartbeat register is used to write Heartbeat information generated during the execution of the heartbeat mechanism.
  • the ONU realizes the function compatibility of the conventional ONU by detecting one or more flag registers.
  • the present application provides a communication control device.
  • the communication control device is applied to an ONU.
  • the communication control device may include at least one module, and the at least one module may be used to implement the first aspect or various aspects of the first aspect. It is possible to implement the provided communication control method.
  • the present application provides an optical network unit ONU, the ONU includes: an optical device on-board BOB module, a host and a radio frequency RF module, the host is connected to the BOB module, the ONU further includes: a processor and a memory; the The memory is used to store computer instructions; the processor is used to execute the computer instructions stored in the memory, so that the ONU executes the first aspect or the communication control method provided by various possible implementations of the first aspect.
  • the host and the RF module are connected through a connector, and the connector includes an effective connection structure for transmitting information and a redundant connection structure not used for transmitting information.
  • the effective connection structure is a pin header for transmitting information
  • the redundant connection structure is a redundant pin header.
  • the connector may include double pin headers; or the effective connection structure is a cable for transmitting information, and the redundant connection structure is The structure is redundant cable, so the connector can include double cable.
  • the present application provides a computer-readable storage medium, where computer instructions are stored in the computer-readable storage medium, and the computer instructions instruct the computer device to execute the above-mentioned first aspect or various possible implementations of the first aspect. method.
  • the present application provides a computer program product comprising computer instructions stored in a computer-readable storage medium.
  • the processor of the computer device may read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to perform the method provided by the first aspect or various possible implementations of the first aspect.
  • the present application provides a chip, which may include a programmable logic circuit and/or program instructions, which are used to implement the communication control method according to any one of the first aspects when the chip is running.
  • At least one module in the ONU executes the process of sending status indication information, stopping power supply for the RF module, and stopping the data output of the RF module. At least one of them can avoid the data loss of the RF module caused by physical attacks and improve the reliability of the ONU.
  • FIG. 1 is a schematic diagram of an application environment of a communication system 10 involved in a communication control method provided by an embodiment of the present application;
  • FIG. 2 is a schematic diagram of an ONU provided by an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of an ONU provided by an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a communication control method provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of another ONU provided by an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a communication control method provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a communication control apparatus provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of another communication control apparatus provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of another communication control apparatus provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of another ONU provided by an embodiment of the present application.
  • FIG. 1 is a schematic diagram of an application environment of a communication system 10 involved in a communication control method provided by an embodiment of the present application.
  • the communication system 10 is a CATV system.
  • the communication system 10 includes: a broadcast television data transmitter 101 , an OLT 102 , a processing module 103 and an ONU 104 .
  • the broadcast TV data transmitter 101 is used for outputting broadcast TV data; the OLT102 is used for outputting network data; the processing module 103 is used for converting the broadcast TV data provided by the broadcast TV data transmitter 101 and the network data provided by the OLT102 into two-way optical signals , synthesized into one optical signal by WDM, and the optical signal is transmitted to ONU104 by optical fiber; ONU104 is used to process the obtained optical signal to obtain the electrical signal corresponding to the radio and television data and the electrical signal corresponding to the network data.
  • the ONU 104 is also used to output the electrical signal corresponding to the broadcast TV data to an analog-to-digital conversion device (such as a set-top box) or a TV set connected to the TV set, so that the TV set can play the broadcast TV data processed by the electric signal;
  • the electrical signal corresponding to the network data provides the Internet access signal.
  • FIG. 2 is a schematic diagram of an ONU 104 provided by an embodiment of the present application.
  • ONU104 includes RF1041, BOB module 1042 and host 1043.
  • RF module 1041 is used to acquire and output the electrical signal corresponding to the broadcast television data;
  • BOB module 1042 is used to acquire and output the electrical signal corresponding to the network data;
  • host 1043 and BOB module 1042 Connection the host 1043 is used to provide the Internet access signal based on the electrical signal corresponding to the network data output by the BOB module 1042 .
  • the RF module 1041 is connected to the host 1043 through a connector.
  • the connector may include a pin header or a cable.
  • the connector is a 20-pin (pin) header.
  • the connector includes a control line, for example, the control line is a two-wire serial bus (Inter-Integrated Circuit, I2C).
  • the host manages the RF module through the control line. For example, the management of the RF module by the host includes: parameter configuration of the RF module, output enable and/or switch control, and the like.
  • the host 1043 can be regarded as a master device, and the RF module 1041 can be regarded as a slave device.
  • the RF module 1041 works under the management of the host 1043 .
  • the host 1043 is further configured to receive the management data sent by the OLT 102 through the BOB module 1042, and manage the RF module 1041 based on the management data.
  • a traditional ONU is provided with a three-way optical component (also called a three-way module), which integrates the functions of the aforementioned RF module 1041 and BOB module 1042, but first of all, the cost of the three-way optical component is high, and its manufacturing materials and The manufacturing cost of the components is relatively high; secondly, the analog circuit and the digital circuit in the three-way optical component are designed on a common board, and multiple shielding covers and absorbing materials need to be installed to reduce the problem of electromagnetic interference; thirdly, the volume of the three-way optical component is larger, and the miniaturization of ONU104 cannot be guaranteed.
  • a three-way optical component also called a three-way module
  • the RF module 1041 and the BOB module 1042 are set separately (also called independent sets), the manufacturing cost of each module is greatly reduced compared to the three-way optical assembly; and the simulation in the RF module 1041
  • the circuit and the digital circuit in the BOB module 1042 are set separately, and the electromagnetic interference between them is less, and the number of shielding covers and wave absorbing materials to be set is reduced; in addition, the RF module 1041 and the BOB module 1042 are set separately, and the two The overall volume is smaller than the three-way optical component, thereby realizing the miniaturization of the ONU104.
  • FIG. 3 is a schematic structural diagram of an ONU 104 provided by an embodiment of the present application.
  • the RF module 1041 includes one of a WDM module, a photoelectric conversion chip, a Low Noise Amplifier (LNA), an attenuator (ATT), a Power Amplifier (PA), an impedance matching module and a controller or more, wherein the WDM module, the photoelectric conversion chip, the LNA, the ATT, the PA and the impedance matching module are connected in sequence.
  • the WDM module is used to divide the received optical signal into an optical signal corresponding to the radio and television data and an optical signal corresponding to the network data by means of WDM, and transmit the optical signal corresponding to the radio and television data to the photoelectric conversion chip.
  • the optical signal corresponding to the network data is transmitted to a bidirectional optical subassembly (BOSA); the photoelectric conversion chip is connected to the voltage output terminal VCC, and is used to photoelectrically convert the received optical signal to obtain an electrical signal; the LNA is used to convert the received optical signal.
  • BOSA bidirectional optical subassembly
  • the electrical signal is used for low-noise amplification; ATT is used to perform automatic attenuation control on the strength of the received electrical signal (the strength reflects the strength of the optical signal corresponding to the network data); PA is used to amplify the received optical signal; impedance The matching module is used to perform impedance matching on the received electrical signal, and output the impedance-matched electrical signal as the output signal of the RF module; the controller is connected to the ATT, and the controller is used to control the ATT, and the controller can be a micro-controller Unit (Microcontroller Unit, MCU).
  • MCU micro-controller Unit
  • the control bus of the controller is connected to the host 1043 through pin headers or cables.
  • the BOB module 1042 includes BOSAs and drivers.
  • BOSA includes an optical transmitting module (Transmitter Optical Subassembly, TOSA) and an optical receiving module (Receiver Optical Subassembly, ROSA).
  • TOSA Transmitter Optical Subassembly
  • ROSA Receiveiver Optical Subassembly
  • TOSA Transmitter Optical Subassembly
  • ROSA Receiveiver Optical Subassembly
  • TOSA is used to generate the emission optical signal under the control of the driver, and transmit the emission optical signal to the WDM module, and the WDM module transmits the emission optical signal through the optical fiber.
  • the WDM module may not be located in the RF module.
  • it may be concentrated on the BOB module, the host, or other modules. The implementation of the present application This example is not repeated here.
  • the wavelengths of the optical signal corresponding to the aforementioned broadcast and television data, the optical signal corresponding to the network data, and the emitted optical signal are different.
  • the wavelength of the optical signal corresponding to the broadcast television data is 1550 nm (nanometer); the wavelength of the optical signal corresponding to the network data is 1490 nm, and the wavelength of the emitted optical signal is 1310 nm.
  • the host 1043 is connected to the BOB module 1042 , and in general, the BOB module 1042 is set on the host 1043 .
  • the host 1043 is made of a printed circuit board (Printed Circuit Board, PCB), which is the main structure of the ONU, and may also be called a main board or a product board.
  • the host may include a network interface (referred to as a network port), through which an Internet access signal can be provided based on an electrical signal corresponding to network data.
  • the host may also include a controller and other devices (not shown).
  • the RF module 1041 can run services independently, but is no longer managed by other devices.
  • the ONU can obtain and output the electrical signal corresponding to the radio and television data, that is, it can play the radio and television data normally, but cannot monitor the viewing time and calculate the television fee. Therefore, the reliability of the current ONU is low.
  • the connection state between the host and the RF module includes two states, namely, a connection maintained state and a connection disconnected state.
  • the connection state is the normal connection state.
  • the connection state between the host and the RF module is the connection state, it means that the host and the RF module have not been physically attacked;
  • the disconnected state is the abnormal connection state.
  • the connection status of the RF module is disconnected, it means that the host and the RF module may be physically attacked.
  • the ONU after the ONU obtains the connection status between the host and the RF module and determines that the connection status between the host and the RF module is disconnected, at least one module in the ONU executes the target process.
  • the target process includes at least one of: sending status indication information, stopping power supply to the RF module, and stopping data output of the RF module.
  • the state indication information is used to indicate that the connection state between the host and the RF module is a disconnected state. In this way, data loss caused by the disconnection of the RF module in the ONU can be avoided, thereby improving the reliability of the ONU.
  • the ONU There are various ways for the ONU to obtain the connection state between the host and the radio frequency RF module, and the embodiment of the present application uses the following two ways as examples to describe the communication control method.
  • the ONU obtains the connection status between the host and the RF module through the heartbeat mechanism to determine whether to execute the target process.
  • 4 is a schematic flowchart of a communication control method provided by an embodiment of the present application, and the method includes:
  • the ONU obtains the connection state between the host and the RF module through the heartbeat mechanism.
  • the heartbeat mechanism is a working mechanism completed by the host in the ONU and the RF module.
  • the main implementation method is to detect whether the connection is normal by sending specific messages at intervals.
  • the execution process of the heartbeat mechanism includes: the RF module sends the first heartbeat information to the host; the host receives the first heartbeat information after receiving the first heartbeat information. Then, the second heartbeat information is sent to the RF module. Or, the host sends the second heartbeat information to the RF module, and the RF module sends the first heartbeat information to the host after receiving the second heartbeat information.
  • the ONU can obtain the connection status between the host and the RF module by monitoring the first heartbeat information and/or the second heartbeat information.
  • the ONU determines the connection state between the host and the RF module by detecting the first heartbeat information.
  • the process includes:
  • A1. Detect whether the host receives the first heartbeat information sent by the RF module.
  • the ONU starts the heartbeat mechanism after determining that the start condition of the heartbeat mechanism is reached.
  • the conditions for enabling the heartbeat mechanism include: the ONU is provided with a heartbeat switch register, and the state of the heartbeat switch register is an open state; or, the heartbeat mechanism opening period is reached, or, an instruction instructing to open the heartbeat mechanism is received, the instruction
  • the instruction to turn on the heartbeat mechanism may be an instruction received by the host, which may be sent by the OLT, or may be triggered by a user, for example, triggered by a control button set on the ONU.
  • the ONU After determining that the heartbeat mechanism of the ONU is enabled, the ONU detects whether the host receives the first heartbeat information sent by the RF module.
  • the ONU periodically detects the first heartbeat information, and the duration of each detection period is equal. After detecting that the host does not receive the first heartbeat information for m consecutive times, it is determined that the connection state between the host and the RF module is a disconnected state.
  • m is at least 2, and the probability of false detection can be reduced through multiple cycles of detection, and the accuracy of the determined connection state can be ensured.
  • the ONU may implement periodic detection of the first heartbeat information through a timer.
  • the timing duration of the timer is set to be S1 seconds, and the timing duration is the duration of one detection cycle. It is detected whether the host computer receives the first heartbeat information sent by the RF module within the time period of the timer, and the detection result is the detection result of one detection cycle.
  • connection state between the host computer and the RF module is the connection maintaining state.
  • the ONU determines that the connection state between the host and the RF module is the connection maintained state in the detection period.
  • the ONU includes a first controller for controlling the host, and the first controller controls the host to perform the aforementioned A1 to A3.
  • the first controller is located on the host.
  • the first controller After writing the second heartbeat information: X to the heartbeat register of the RF module, the first controller periodically detects whether the RF module writes back the first heartbeat information: Y.
  • the first controller does not detect the first heartbeat information written back by the RF module: Y, update the number of disconnections, so that the updated number of disconnections is F+1, and enter the next During the detection period, until the updated number of disconnected pipes is equal to m, it is determined that the connection state between the host and the RF module is a disconnected state.
  • the first controller After detecting the first heartbeat information: Y written back by the RF module in any detection period, the first controller determines that the connection state between the host and the RF module is the connection maintaining state.
  • the first controller may also perform other steps according to specific scenarios.
  • the first controller may turn off the heartbeat mechanism of the first controller until the enabling condition of the heartbeat mechanism is reached again.
  • the first controller may subsequently execute S402 to turn off the heartbeat mechanism until the enabling condition of the heartbeat mechanism is reached again.
  • the first controller can turn off the heartbeat mechanism of the first controller after reaching the specified condition, so as to reduce the power consumed by the continuous execution of the heartbeat mechanism and save the power consumption of the ONU. energy consumption.
  • the ONU determines the connection state between the host and the RF module by detecting the second heartbeat information.
  • the process includes:
  • the ONU starts the heartbeat mechanism after determining that the start condition of the heartbeat mechanism is reached.
  • the conditions for enabling the heartbeat mechanism include: the ONU is provided with a heartbeat switch register, and the state of the heartbeat switch register is an open state; or, the heartbeat mechanism opening period is reached;
  • the instruction to turn on the heartbeat mechanism may be an instruction received by the RF module, which may be sent by the host, or may be triggered by the user, for example, triggered by a control button set on the ONU.
  • the ONU After determining that the heartbeat mechanism of the ONU is enabled, the ONU detects whether the RF module receives the second heartbeat information sent by the host.
  • n is a preset positive integer.
  • the ONU periodically detects the second heartbeat information, and the duration of each detection period is equal. After detecting that the RF module has not received the second heartbeat information for n consecutive times, it is determined that the connection state between the host and the RF module is a disconnected state.
  • n is at least 2, and the probability of false detection can be reduced through multiple cycles of detection, and the accuracy of the determined connection state can be ensured.
  • the ONU may implement periodic detection of the second heartbeat information through a timer.
  • the timing duration of the timer is set to be S2 seconds, and the timing duration is the duration of one detection cycle. Detect whether the RF module receives the second heartbeat information sent by the host within the time period of the timer, and the detection result is the detection result of one detection cycle.
  • connection state between the host and the RF module is the connection maintaining state.
  • the ONU determines that the connection state between the host and the RF module is the connection maintained state in the detection period.
  • the ONU includes a second controller for controlling the RF module, and the second controller controls the RF module to perform the aforementioned B1 to B3.
  • the second controller is located on the RF module.
  • the second controller may be the controller in the RF module 1041 in FIG. 3 , or may be a newly added controller in the RF module 1041 .
  • the aforementioned second heartbeat information may be heartbeat information actively sent by the host, or may be heartbeat information sent after being triggered by the first heartbeat information sent by the RF module.
  • a heartbeat register is set in the RF module, the first heartbeat information is Y, and the second heartbeat information is X.
  • the aforementioned B1 to B3 can be respectively replaced with the following B11 to B13:
  • the second controller periodically detects whether the host writes the second heartbeat information: X in the heartbeat register.
  • the second controller After detecting that the host writes the second heartbeat information: X in the heartbeat register in any detection period, the second controller determines that the connection state between the host and the RF module is a connection hold state.
  • the second controller may also perform other steps according to specific scenarios.
  • the second controller may turn off the heartbeat mechanism of the second controller until the enabling condition of the heartbeat mechanism is reached again.
  • the second controller can turn off the heartbeat mechanism of the second controller after reaching the specified condition, so as to reduce the power consumption for the continuous execution of the heartbeat mechanism, and save the energy consumption of the ONU.
  • the ONU may execute the foregoing first implementation manner and second implementation manner synchronously. That is, the ONU determines the connection state between the host and the RF module by detecting the first heartbeat information and the second heartbeat information respectively.
  • the aforementioned S1 and the aforementioned S2 may be equal, and the aforementioned m and n may be the same, so as to achieve the consistency of the detection results of the connection status on the RF module side and the host side.
  • the aforementioned shutdown action of the heartbeat mechanism can be initiated by the host according to the actual situation (for example, initiated at any time). After the host initiates the shutdown action of the heartbeat mechanism, both the host and the RF module exit the heartbeat mechanism.
  • the ONU determines that the connection state between the host and the RF module is a disconnected state, at least one module in the ONU executes the target process.
  • the ONU may include a first controller for controlling the host and/or a second controller for controlling the RF module, for controllers controlling different modules in the ONU, the modules to be controlled and the target processes to be executed are different.
  • the module controlled by the first controller is the host, and the executed target process includes sending status indication information and/or stopping power supply to the RF module.
  • the process of sending the status indication information includes: controlling the host to send the status indication information; and stopping the power supply for the RF module includes: controlling the power supply in the ONU to stop supplying power to the RF module.
  • the state indication information is used to indicate that the connection state between the host and the RF module is a disconnected state, and the state indication information may be alarm information.
  • the host sends the status indication information to the OLT through the BOB module, so that the OLT notifies the administrator of the communication system. Referring to FIG. 3 , the status indication information may be sent to the OLT in the form of the aforementioned transmitted optical signal.
  • the host is further connected with an alarm module, and the host sends the status indication information through the alarm module to warn others around the ONU to stop physical attacks on the ONU.
  • the alarm module may be a flasher and/or a sounder (eg, a horn).
  • the administrator can be notified of the abnormal connection status between the host and the RF module, so that the administrator can control the ONU and prevent physical attacks. data loss. Or, warn others around the ONU to stop the physical attack on the ONU, so as to reduce the data loss caused by the physical attack.
  • FIG. 5 is a schematic structural diagram of another ONU 104 provided by an embodiment of the present application.
  • the host 1043 includes a power supply control circuit 1043a and a power supply 1043b.
  • the power supply control circuit 1043a is connected to the power supply 1043b, and the power supply 1043b is connected to the RF module 1041.
  • the power supply 1043b is connected to the RF module 1041 through a power cable.
  • the host 1043 further includes a first controller 1043c, the first controller 1043c is connected to the power supply control circuit 1043a, and the first controller 1043c controls the power supply control circuit 1043a to The control power supply 1043a stops supplying power to the RF module 1041 .
  • the RF module By controlling the power supply 1043a to stop supplying power to the RF module 1041, when the connection state between the host and the RF module is disconnected, the RF module can be powered off, thereby making the RF module stop working and preventing the RF module from still outputting broadcast TV data corresponding to electrical signals to prevent data loss caused by physical attacks.
  • the power cord will not be cut. Therefore, the connection between the power supply 1043b and the RF module 1041 will not be disconnected, and the ONU can control the power supply 1043a to stop supplying power to the RF module 1041 through the power supply control circuit 1043a.
  • the module controlled by the second controller is the RF module
  • the target process to be executed includes: stopping the data output of the RF module.
  • the process of stopping the data output of the RF module includes: controlling the RF module to stop the data output.
  • the RF module has a status identification bit
  • the second controller may set the status identification bit of the RF module to an output-disabled state, thereby controlling the RF module to stop data output.
  • the RF module By controlling the RF module to stop data output, when the connection between the host and the RF module is disconnected, the RF module can still be prevented from outputting electrical signals corresponding to broadcast TV data, and data loss caused by physical attacks can be prevented.
  • the ONU is further provided with one or more flag registers, and the ONU realizes the function compatibility of the traditional ONU by detecting the flag registers.
  • the ONU can also perform the following register detection process:
  • the instruction for instructing to enable the heartbeat mechanism may be an application layer instruction issued by the OLT. It should be noted that, after reading the first flag register indicating that the RF module supports the heartbeat mechanism, and receiving an instruction indicating not to enable the heartbeat mechanism, the ONU stops operating.
  • the ONU can stop the action.
  • the heartbeat register is used to write the aforementioned first heartbeat information or second heartbeat information.
  • the aforementioned first flag register, heartbeat switch register, second flag register, and heartbeat register may be set in the RF module, for example, in the controller of the RF module.
  • the host 1043 and the RF module 1041 are connected through a connector, and the connector includes an effective connection structure for transmitting information and a redundant connection structure not used for transmitting information.
  • the effective connection structure is a pin header for transmitting information
  • the redundant connection structure is a redundant pin header.
  • the connector may include double pin headers; or the effective connection structure is a cable for transmitting information, and the redundant connection structure is The structure is redundant cable, so the connector can include double cable.
  • the effective connection structure and the easy connection structure can be staggered one by one or two by two or irregularly arranged, so as to create difficulties for others who want to attack the ONU, thereby increasing the difficulty of the attack and reducing the probability of successful attack.
  • an effective connection structure includes a power cord and a management cord.
  • the power cord cannot be cut in order to ensure the disconnection of the RF module.
  • Adding redundant connection structures makes it impossible for others to distinguish which connection structures can be cut and which cannot be cut, thereby increasing the attack difficulty of the connection structure and improving the reliability of the connector.
  • At least one module in the ONU executes sending status indication information, stops supplying power to the RF module, and stops the RF module. At least one of the data outputs of the module avoids the data loss of the RF module caused by physical attacks, and improves the reliability of the ONU.
  • the ONU determines whether to execute the target process by reading the information of the RF module on the control line.
  • 6 is a schematic flowchart of a communication control method provided by an embodiment of the present application, and the method includes:
  • the ONU reads the information of the RF module through the control line between the host and the RF module. Execute S502 or S504.
  • S501 may be performed by a first controller that controls the host.
  • the first controller can be located on the host, so that the information of the RF module can be read through the control line between the host and the RF module.
  • the ONU After the ONU is started, it reads the information of the RF module through the control line. If the information of the RF module cannot be read, that is, the information of the read RF module is empty, indicating that the control line between the host and the RF module is not connected. , the connection state between the host and the RF module is disconnected.
  • the ONU determines that the connection state between the host and the radio frequency RF module is a disconnected state when the information of the RF module read continuously for d times is empty.
  • d is a preset positive integer. For example, d ⁇ 2.
  • the ONU After the ONU is started, it periodically reads the information of the RF module through the control line, and the duration of each detection period is equal. After the information of the RF module is read continuously for d times, it is determined that the connection state between the host and the RF module is a disconnected state. Through multiple cycles of detection, the probability of false detection can be reduced, and the accuracy of the determined connection state can be ensured.
  • the ONU can stop the periodic reading process of the information of the RF module, until the enabling condition of the reading process is reached again.
  • the periodic reading process of the information of the RF module is stopped until the enabling condition of the reading process is reached again.
  • the ONU can stop the periodic reading process of the information of the RF module after reaching the specified condition, so as to reduce the power consumed by the continuous execution of the reading process and save the energy consumption of the ONU.
  • the ONU determines that the connection state between the host and the radio frequency RF module is a connection hold state.
  • the ONU reads the information of the RF module through the control line, that is, the information of the read RF module is not empty, it means that the control line between the host and the RF module is connected, and the connection status between the host and the RF module is The connection remains state.
  • At least one module in the ONU executes sending status indication information, stops supplying power to the RF module, and stops the RF module. At least one of the data outputs of the module avoids the data loss of the RF module caused by physical attacks, and improves the reliability of the ONU.
  • the ONU may also perform other control procedures according to specific scenarios.
  • the ONU can also detect whether the default output state of the RF module is an on state; after detecting that the default output state of the RF module is an on state, Update the default output state of the RF module to the off state; after detecting that the default output state of the RF module is the off state, keep the default output state of the RF module unchanged.
  • the ONU determines that the connection state between the host and the RF module is the connection keeping open state
  • the ONU detects whether the default output state of the RF module is the open state.
  • a default flag bit may be set in the RF module, the default flag bit is used to indicate the default output state of the RF module, and the ONU determines the default output state of the RF module by detecting the default flag bit.
  • the default output state of the RF module is generally set to the open state, but after the ONU leaves the factory, if the default output state of the RF module is the open state, it is easy to cause physical attacks. Therefore, by setting the default output state of the RF module to the off state, the data loss of the RF module caused by physical attacks can be reduced.
  • the RF module further includes a memory, and the ONU saves the default output state of the RF module in the memory.
  • the memory is flash memory.
  • the ONU may also control the temporary output state of the RF module under the control of the OLT.
  • the temporary output state includes an on state or an off state.
  • the temporary output state refers to the state of the ONU in the period from one power-on to power-off. Compared with the aforementioned default output state, the temporary output state is maintained for a shorter period of time, which is a volatile state.
  • the ONU receives the application layer command issued by the OLT. When the application layer command indicates that the temporary output state of the RF module is on, the ONU controls the output signal of the RF module to start outputting; when the application layer command indicates the temporary output state of the RF module In the off state, the ONU controls the output signal of the RF module to stop outputting. The ONU does not store the temporary output state of the RF module in memory. After the ONU is powered off and then restarted, the output state of the RF module is the same as the default output state.
  • the aforementioned first controller and the second controller may be controllers in the host and the RF module, respectively, and the functions corresponding to the aforementioned communication methods can be implemented by upgrading the software of the two controllers, without the need for The transformation of the hardware has effectively saved the hardware cost.
  • the ONU controls the host side to send status indication information or stops supplying power to the RF module, and controls the RF module side to stop the data output of the RF module, the interlock between the host and the RF module can be realized, further reducing the data loss of the RF module, effectively improving the ONU reliability.
  • the foregoing embodiments are all described by taking the foregoing communication control method applied to a physical attack prevention scenario as an example.
  • the communication control method can also be applied to other scenarios.
  • it is used in fault monitoring scenarios.
  • the occurrence of the failure can also be monitored by detecting the connection state between the host and the RF module. Since the faulty device cannot complete the normal work, the detection result is that the connection between the host and the RF module is disconnected.
  • the ONU can prompt the administrator or user that the ONU is faulty by executing the above-mentioned target process. Repair in time.
  • the device is applied to an ONU, and the ONU is also called an optical modem.
  • the device 60 includes:
  • the acquisition module 601 is used to acquire the connection status between the host and the radio frequency RF module, and the host is connected with the optical device on-board BOB module;
  • the execution module 602 is used for, after determining that the connection state between the host and the RF module is a disconnected state, at least one module in the ONU executes the sending of status indication information, stopping power supply for the RF module and stopping the operation of the RF module. At least one of data output, the state indication information is used to indicate that the connection state between the host and the RF module is a disconnected state.
  • At least one module in the ONU executes the sending of status indication information, stops supplying power to the RF module, and stops. At least one of the data outputs of the RF module avoids data loss of the RF module caused by physical attacks, and improves the reliability of the ONU.
  • the obtaining module 601 is configured to obtain the connection status between the host and the RF module through a heartbeat mechanism.
  • the obtaining module 601 is configured to: detect whether the host has received the first heartbeat information sent by the RF module; when detecting that the host has not received the first heartbeat information for m consecutive times, determine the The connection state between the host and the RF module is a disconnected state, and the m is a preset positive integer.
  • the obtaining module 601 is configured to: read the information of the RF module through the control line between the host and the RF module; when the read information of the RF module is empty, determine the host The connection state with the RF module is disconnected.
  • the execution module 602 is configured to: control the host to send status indication information; and/or control the power supply in the ONU to stop supplying power to the RF module.
  • the host includes a power supply control circuit and the power supply
  • the power supply control circuit is connected to the power supply
  • the execution module 602 is configured to: control the power supply to stop supplying power to the RF module through the power supply control circuit.
  • the obtaining module 601 is used to: detect whether the RF module has received the second heartbeat information sent by the host; when it is detected that the RF module has not received the second heartbeat information for n consecutive times , it is determined that the connection state between the host and the RF module is a disconnected state, and the n is a preset positive integer.
  • the execution module 602 is configured to: control the RF module to stop data output.
  • FIG. 8 is a schematic structural diagram of another communication control apparatus 60 provided by an embodiment of the present application, and the apparatus 60 further includes:
  • the first update module 603 is configured to update the default output state of the RF module to an off state after detecting that the default output state of the RF module is an on state.
  • FIG. 9 is a schematic structural diagram of another communication control apparatus 60 provided by an embodiment of the present application, and the apparatus 60 further includes:
  • the first reading module 604 is used to read the first flag register, which is used to indicate whether the RF module supports the heartbeat mechanism;
  • the second update module 605 is used to obtain the first flag register indication after reading The RF module supports the heartbeat mechanism, and after receiving the instruction indicating that the heartbeat mechanism is turned on, the state of the heartbeat switch register is updated to the on state, and the on state of the heartbeat switch register is used to indicate that the heartbeat mechanism is turned on;
  • the second reading module 606 For reading the second flag register, the second flag register is used to indicate whether the heartbeat mechanism of the RF module is turned on successfully;
  • the third reading module 607 is used to obtain the second flag register to indicate the RF module after reading. After the heartbeat mechanism is successfully enabled, the heartbeat register of the RF module is read, and the heartbeat register is used to write the heartbeat information generated during the execution of the heartbeat mechanism.
  • FIG. 10 is a schematic structural diagram of another ONU 70 provided by an embodiment of the present application.
  • the ONU 70 includes a processor 701 , a memory 702 , a communication interface 703 and a bus 704 .
  • the number of processors 701 may be one or more, and FIG. 10 only illustrates one of the processors 701.
  • the processor 701 may be a central processing unit (central processing unit, CPU). If the ONU 70 has multiple processors 701, the multiple processors 701 may be of different types, or may be the same. Optionally, the multiple processors 701 of the ONU 70 may also be integrated into a multi-core processor.
  • the memory 702 stores computer instructions and data; the memory 702 may store computer instructions and data required to implement the communication control method provided by the present application, for example, the memory 702 stores instructions for implementing the steps of the communication control method.
  • the memory 702 may be any one or any combination of the following storage media: non-volatile memory (eg read only memory (ROM), solid state drive (SSD), hard disk (HDD), optical disk), volatile memory.
  • the communication interface 703 may be any one or any combination of the following devices: a network interface (eg, an Ethernet interface), a wireless network card, and other devices with a network access function.
  • the communication interface 703 is used for data communication between the ONU 70 and other computer equipment or terminals.
  • a bus 704 may connect the processor 701 with the memory 702 and the communication interface 703 .
  • the processor 701 can access the memory 702, and can also use the communication interface 703 to perform data interaction with other computer devices or terminals.
  • the ONU 70 further includes a BOB module 705 , a host 706 and an RF module 707 , and the host 706 is connected to the BOB module 705 .
  • the aforementioned processor 701 , memory 702 , communication interface 703 and bus 704 may all be integrated in the host 706 .
  • the ONU 70 executes the computer instructions in the memory 702, so that the ONU 70 implements the communication control method provided in this application.
  • the host 706 and the RF module 707 are connected through a connector, and the connector includes an effective connection structure for transmitting information and a redundant connection structure not used for transmitting information.
  • the effective connection structure is a pin header for transmitting information
  • the redundant connection structure is a redundant pin header.
  • the connector may include double pin headers; or the effective connection structure is a cable for transmitting information, and the redundant connection structure is The structure is redundant cable, so the connector can include double cable.
  • the effective connection structure and the easy connection structure can be staggered one by one or two by two or irregularly arranged, so as to create difficulties for others who want to attack the ONU, thereby increasing the difficulty of the attack and reducing the probability of successful attack.
  • An embodiment of the present application further provides a communication system, where the communication system includes the ONU provided by the embodiment of the present application, and the ONU may include the foregoing communication control apparatus.
  • the communication system may also include a broadcast television data transmitter, an OLT, a processing module, and the like.
  • a broadcast television data transmitter for the structure of the communication system, reference may be made to the structure of the communication system in the foregoing FIG. 1 , which is not described repeatedly in this embodiment of the present application.
  • a non-transitory computer-readable storage medium including instructions such as a memory including instructions, is also provided, and the instructions can be executed by a processor of a server to complete the communication control shown in the various embodiments of the present application.
  • the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
  • the above-mentioned embodiments it may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • software it may be implemented in whole or in part in the form of a computer program product comprising one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated.
  • the computer may be a general purpose computer, a computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website, computer, server, or data
  • the center transmits to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, etc. that includes one or more available media integrated.
  • the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media, or semiconductor media (eg, solid state drives), and the like.
  • the terms “first”, “second” and “third” are used for descriptive purposes only and should not be understood as indicating or implying relative importance.
  • the term “at least one” refers to one or more, and the term “plurality” refers to two or more, unless expressly limited otherwise.
  • A refers to B, which means that A is the same as B or A is a simple variation of B.
  • the communication control apparatus executes the communication control method
  • only the division of the above-mentioned functional modules is used as an example for illustration.
  • the above-mentioned functions may be allocated to different functional modules as required.
  • To complete that is, to divide the internal structure of the device into different functional modules to complete all or part of the functions described above.
  • the communication control apparatus and the communication control method embodiments provided by the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, which will not be repeated here.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

Disclosed are a communication control method and apparatus, and an optical network unit, which belong to the field of broadcast televisions. The method comprises: acquiring a connection state of a host and a radio frequency (RF) module, wherein the host is connected to a BOSA on board (BOB) module; and after the connection state of the host and the RF module is determined to be a disconnected state, at least one module in an ONU executing at least one of sending state indication information, stopping supplying power to the RF module and stopping data outputting of the RF module, wherein the state indication information is used for indicating that the connection state of the host and the RF module is in the disconnected state. By means of the present application, the reliability of an ONU can be improved. The present application is used for the transmission of network data and broadcast television data.

Description

通信控制方法、装置及光网络单元Communication control method, device and optical network unit
本申请要求于2020年11月18日提交的申请号为202011294953.5、发明名称为“通信控制方法、装置及光网络单元”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202011294953.5 and the invention title "communication control method, device and optical network unit" filed on November 18, 2020, the entire contents of which are incorporated into this application by reference.
技术领域technical field
本申请涉及广播电视领域,特别涉及一种通信控制方法、装置及光网络单元。The present application relates to the field of radio and television, and in particular, to a communication control method, device and optical network unit.
背景技术Background technique
社区公共电视天线(Community Antenna Television,CATV)系统是一种广播电视系统,其包括广播电视数据发射机、光线路终端(Optical Line Terminal,OLT)以及光网络单元(optical network unit,ONU)。广播电视数据发射机提供的广播电视数据和OLT提供的网络数据,在转化为两路光信号后,通过波分复用(Wavelength Division Multiplexing,WDM)的方式合成为一路光信号,由光纤传输至ONU,ONU基于获取的光信号处理得到广播电视数据对应的电信号以及与网络数据对应的电信号。A Community Antenna Television (CATV) system is a broadcast television system that includes a broadcast television data transmitter, an Optical Line Terminal (OLT), and an Optical Network Unit (ONU). After the radio and television data provided by the radio and television data transmitter and the network data provided by the OLT are converted into two optical signals, they are synthesized into one optical signal by means of wavelength division multiplexing (WDM), which is transmitted to the optical fiber. The ONU, based on the acquired optical signal processing, obtains the electrical signal corresponding to the broadcast television data and the electrical signal corresponding to the network data.
其中,ONU也称光网络终端,其包括射频(Radio Frequency,RF)模块(也称CATV模块)和主机,主机上设置有光器件在板(BOSA On Board,BOB)模块,RF模块用于获取并输出该广播电视数据对应的电信号,BOB模块用于获取并输出该网络数据对应的电信号,主机用于基于与网络数据对应的电信号提供上网信号。RF模块与主机通过排针或者排线连接,RF模块在主机的管理下工作。但是,由于RF模块与主机之间的连接简单,很容易受到物理攻击,引起RF模块的脱管,导致RF模块的数据损失,因此,目前的ONU的可靠性较低。Among them, the ONU is also called an optical network terminal, which includes a radio frequency (Radio Frequency, RF) module (also called a CATV module) and a host. The host is provided with an optical device-on-board (BOSA On Board, BOB) module, and the RF module is used to obtain And output the electrical signal corresponding to the radio and television data, the BOB module is used to acquire and output the electrical signal corresponding to the network data, and the host is used to provide the Internet access signal based on the electrical signal corresponding to the network data. The RF module is connected to the host through pin headers or cables, and the RF module works under the management of the host. However, since the connection between the RF module and the host is simple, it is easy to be attacked by physical attacks, causing the RF module to be disconnected, resulting in data loss of the RF module. Therefore, the reliability of the current ONU is low.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种通信控制方法、装置及光网络单元。该技术方案如下:Embodiments of the present application provide a communication control method, device, and optical network unit. The technical solution is as follows:
第一方面,提供一种通信控制方法,应用于光网络单元ONU,该方法包括:A first aspect provides a communication control method applied to an optical network unit ONU, the method comprising:
获取主机与射频RF模块的连接状态,该主机与光器件在板BOB模块连接;在确定该主机与该RF模块的连接状态为连接断开状态后,由该ONU中的至少一个模块执行发出状态指示信息、停止为该RF模块供电和停止该RF模块的数据输出中的至少一种,该状态指示信息用于指示该主机与该RF模块的连接状态为连接断开状态。Obtain the connection status between the host and the radio frequency RF module, and the host and the optical device are connected to the on-board BOB module; after determining that the connection status between the host and the RF module is disconnected, at least one module in the ONU executes the sending status At least one of indication information, stopping power supply to the RF module and stopping data output of the RF module, the state indication information is used to indicate that the connection state between the host and the RF module is a disconnected state.
本申请实施例中,ONU在检测到主机与RF模块的连接状态为连接断开状态后,由ONU中的至少一个模块执行发出状态指示信息、停止为RF模块供电和停止RF模块的数据输出中的至少一种,避免了物理攻击所带来的RF模块的数据损失,提高了ONU的可靠性。In the embodiment of this application, after the ONU detects that the connection state between the host and the RF module is disconnected, at least one module in the ONU executes the process of sending status indication information, stopping power supply for the RF module, and stopping the data output of the RF module. At least one of them can avoid the data loss of the RF module caused by physical attacks and improve the reliability of the ONU.
其中,ONU获取主机与射频RF模块的连接状态的方式有多种,本申请实施例以以下两种方式为例进行说明。There are various ways for the ONU to obtain the connection state between the host and the radio frequency RF module, and the embodiments of the present application take the following two ways as examples for description.
在第一种方式中,ONU通过心跳机制获取主机与RF模块的连接状态,以确定是否执行目标流程。则获取主机与射频RF模块的连接状态的过程,包括:通过心跳机制获 取该主机与该RF模块的连接状态。In the first method, the ONU obtains the connection status between the host and the RF module through the heartbeat mechanism to determine whether to execute the target process. The process of acquiring the connection state between the host and the radio frequency RF module includes: acquiring the connection state between the host and the RF module through a heartbeat mechanism.
基于该心跳机制,ONU可以通过监测第一心跳信息和/或第二心跳信息实现主机与RF模块的连接状态的获取。Based on the heartbeat mechanism, the ONU can obtain the connection status between the host and the RF module by monitoring the first heartbeat information and/or the second heartbeat information.
本申请实施例以以下两种实现方式为例进行说明:在第一种实现方式中,ONU通过检测第一心跳信息来确定主机与RF模块的连接状态。该过程包括:检测该主机是否接收到该RF模块发送的第一心跳信息;当检测到该主机连续m次未接收到该第一心跳信息时,确定该主机与该RF模块的连接状态为连接断开状态,该m为预设的正整数。The embodiments of the present application are described by taking the following two implementation manners as examples: In the first implementation manner, the ONU determines the connection state between the host and the RF module by detecting the first heartbeat information. The process includes: detecting whether the host has received the first heartbeat information sent by the RF module; when detecting that the host has not received the first heartbeat information for m consecutive times, determining that the connection state between the host and the RF module is connected In the disconnected state, the m is a preset positive integer.
在第二种实现方式中,ONU通过检测第二心跳信息来确定主机与RF模块的连接状态。该过程包括:检测该RF模块是否接收到该主机发送的第二心跳信息;当检测到该RF模块连续n次未接收到该第二心跳信息时,确定该主机与该RF模块的连接状态为连接断开状态,该n为预设的正整数。对应的,该停止该RF模块的数据输出的过程,包括:控制该RF模块停止数据输出。通过控制RF模块停止数据输出,可以在主机与RF模块的连接状态为连接断开状态时,避免RF模块仍然输出广播电视数据对应的电信号,防止物理攻击所带来的数据损失。In the second implementation manner, the ONU determines the connection state between the host and the RF module by detecting the second heartbeat information. The process includes: detecting whether the RF module has received the second heartbeat information sent by the host; when it is detected that the RF module has not received the second heartbeat information for n consecutive times, determining that the connection state between the host and the RF module is The connection is disconnected, and n is a preset positive integer. Correspondingly, the process of stopping the data output of the RF module includes: controlling the RF module to stop the data output. By controlling the RF module to stop data output, when the connection between the host and the RF module is disconnected, the RF module can still be prevented from outputting electrical signals corresponding to broadcast and television data, and data loss caused by physical attacks can be prevented.
在第二种方式中,ONU通过在控制线上读取RF模块的信息,以确定是否执行目标流程。则获取主机与射频RF模块的连接状态的过程,包括:通过该主机与该RF模块之间的控制线读取该RF模块的信息;当读取该RF模块的信息为空时,确定该主机与射频RF模块的连接状态为连接断开状态。In the second way, the ONU determines whether to execute the target process by reading the information of the RF module on the control line. Then the process of obtaining the connection state of the host and the radio frequency RF module includes: reading the information of the RF module through the control line between the host and the RF module; when the information read of the RF module is empty, determining the host The connection state with the RF module is disconnected.
与前述第一种方式的第一种实现方式以及第二种方式对应的,该发出状态指示信息包括:控制该主机发出状态指示信息;该停止为该RF模块供电包括:控制该ONU中的电源停止为该RF模块供电。Corresponding to the first implementation manner and the second manner of the aforementioned first manner, the sending the status indication information includes: controlling the host to send the status indication information; the stopping of supplying power to the RF module includes: controlling the power supply in the ONU Stop powering this RF module.
其中,该主机包括电源控制电路以及该电源,该电源控制电路与该电源连接,该控制该ONU中的电源停止为该RF模块供电包括:通过该电源控制电路控制该电源停止为该RF模块供电。The host includes a power supply control circuit and the power supply, the power supply control circuit is connected to the power supply, and controlling the power supply in the ONU to stop supplying power to the RF module includes: controlling the power supply to stop supplying power to the RF module through the power supply control circuit .
其中,该状态指示信息用于指示主机与RF模块的连接状态为连接断开状态,该状态指示信息可以为告警信息。在一种可选示例中,主机通过BOB模块将该状态指示信息发送OLT,以供OLT通知通信系统的管理人员。该状态指示信息可以以前述发射光信号的形式发送给OLT。在另一种可选示例中,主机还连接有告警模块,主机通过该告警模块发出该状态指示信息,以警告该ONU周围的他人停止对ONU的物理攻击。例如,该告警模块可以为闪光灯和/或讯响器(如喇叭)。The state indication information is used to indicate that the connection state between the host and the RF module is a disconnected state, and the state indication information may be alarm information. In an optional example, the host sends the status indication information to the OLT through the BOB module, so that the OLT notifies the administrator of the communication system. The status indication information may be sent to the OLT in the form of the aforementioned transmitted optical signal. In another optional example, the host is further connected with an alarm module, and the host sends the status indication information through the alarm module to warn others around the ONU to stop physical attacks on the ONU. For example, the alarm module may be a flasher and/or a sounder (eg, a horn).
通过发出状态指示信息,可以在主机与RF模块的连接状态为连接断开状态时,通知管理人员主机与RF模块的异常的连接状态,从而便于管理人员对ONU进行控制,防止物理攻击所带来的数据损失。或者,警告该ONU周围的他人停止对ONU的物理攻击,以减少物理攻击所带来的数据损失。By sending out status indication information, when the connection between the host and the RF module is disconnected, the administrator can be notified of the abnormal connection status between the host and the RF module, so that the administrator can control the ONU and prevent physical attacks. data loss. Or, warn others around the ONU to stop the physical attack on the ONU, so as to reduce the data loss caused by the physical attack.
通过控制电源停止为RF模块供电,可以在主机与RF模块的连接状态为连接断开状态时,实现RF模块的断电,从而使得RF模块停止工作,避免RF模块仍然输出广播电视数据对应的电信号,防止物理攻击所带来的数据损失。By controlling the power supply to stop supplying power to the RF module, when the connection state between the host and the RF module is disconnected, the power-off of the RF module can be realized, so that the RF module stops working and prevents the RF module from still outputting the power corresponding to the broadcast TV data. signal to prevent data loss caused by physical attacks.
可选地,该方法还包括:在检测到该RF模块的默认输出状态为开启状态后,将该RF模块的默认输出状态更新为关闭状态。Optionally, the method further includes: after detecting that the default output state of the RF module is an on state, updating the default output state of the RF module to an off state.
通过将该RF模块的默认输出状态设置为关闭状态,可以减少物理攻击所导致的 RF模块的数据损失。By setting the default output state of the RF module to an off state, data loss of the RF module caused by physical attacks can be reduced.
在一种可选方式中,该方法还包括:读取第一标志寄存器,该第一标志寄存器用于指示该RF模块是否支持心跳机制;在读取得到该第一标志寄存器指示该RF模块支持心跳机制,且接收到指示开启心跳机制的指令后,将心跳开关寄存器的状态更新为开启状态,该心跳开关寄存器的开启状态用于指示开启心跳机制;读取第二标志寄存器,该第二标志寄存器用于指示该RF模块的心跳机制是否开启成功;在读取得到该第二标志寄存器指示该RF模块的心跳机制开启成功后,读取该RF模块的心跳寄存器,该心跳寄存器用于写入该心跳机制执行过程中产生的心跳信息。如此,ONU通过检测一个或多个标志寄存器来实现对传统的ONU的功能的兼容。In an optional manner, the method further includes: reading a first flag register, where the first flag register is used to indicate whether the RF module supports the heartbeat mechanism; after reading the first flag register, it indicates that the RF module supports the heartbeat mechanism heartbeat mechanism, and after receiving the instruction indicating to open the heartbeat mechanism, update the state of the heartbeat switch register to the open state, and the open state of the heartbeat switch register is used to indicate the opening of the heartbeat mechanism; read the second flag register, the second flag The register is used to indicate whether the heartbeat mechanism of the RF module is successfully turned on; after reading the second flag register to indicate that the heartbeat mechanism of the RF module is turned on successfully, read the heartbeat register of the RF module, and the heartbeat register is used to write Heartbeat information generated during the execution of the heartbeat mechanism. In this way, the ONU realizes the function compatibility of the conventional ONU by detecting one or more flag registers.
第二方面,本申请提供一种通信控制装置,该通信控制装置应用于ONU,该通信控制装置可以包括至少一个模块,该至少一个模块可以用于实现上述第一方面或者第一方面的各种可能实现提供的该通信控制方法。In a second aspect, the present application provides a communication control device. The communication control device is applied to an ONU. The communication control device may include at least one module, and the at least one module may be used to implement the first aspect or various aspects of the first aspect. It is possible to implement the provided communication control method.
第三方面,本申请提供一种光网络单元ONU,该ONU包括:光器件在板BOB模块、主机以及射频RF模块,该主机与该BOB模块连接,该ONU还包括:处理器和存储器;该存储器,用于存储计算机指令;该处理器,用于执行该存储器存储的计算机指令,使得该ONU执行第一方面或者第一方面的各种可能实现提供的通信控制方法。In a third aspect, the present application provides an optical network unit ONU, the ONU includes: an optical device on-board BOB module, a host and a radio frequency RF module, the host is connected to the BOB module, the ONU further includes: a processor and a memory; the The memory is used to store computer instructions; the processor is used to execute the computer instructions stored in the memory, so that the ONU executes the first aspect or the communication control method provided by various possible implementations of the first aspect.
在本申请实施例中,主机与RF模块通过连接器连接,该连接器包括用于传输信息的有效连接结构和不用于传输信息的冗余连接结构。例如,有效连接结构为用于传输信息的排针,冗余连接结构为冗余排针,如此,连接器可以包括双排针;或者有效连接结构为用于传输信息的排线,冗余连接结构为冗余排线,如此,连接器可以包括双排线。In the embodiment of the present application, the host and the RF module are connected through a connector, and the connector includes an effective connection structure for transmitting information and a redundant connection structure not used for transmitting information. For example, the effective connection structure is a pin header for transmitting information, and the redundant connection structure is a redundant pin header. Thus, the connector may include double pin headers; or the effective connection structure is a cable for transmitting information, and the redundant connection structure is The structure is redundant cable, so the connector can include double cable.
第四方面,本申请提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机指令,该计算机指令指示该计算机设备执行上述第一方面或者第一方面的各种可能实现提供的方法。In a fourth aspect, the present application provides a computer-readable storage medium, where computer instructions are stored in the computer-readable storage medium, and the computer instructions instruct the computer device to execute the above-mentioned first aspect or various possible implementations of the first aspect. method.
第五方面,本申请提供一种计算机程序产品,该计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器可以从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述第一方面或者第一方面的各种可能实现提供的方法。In a fifth aspect, the present application provides a computer program product comprising computer instructions stored in a computer-readable storage medium. The processor of the computer device may read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to perform the method provided by the first aspect or various possible implementations of the first aspect.
第六方面,本申请提供一种芯片,该芯片可以包括可编程逻辑电路和/或程序指令,当该芯片运行时用于实现如第一方面任一该的通信控制方法。In a sixth aspect, the present application provides a chip, which may include a programmable logic circuit and/or program instructions, which are used to implement the communication control method according to any one of the first aspects when the chip is running.
本申请实施例中,ONU在检测到主机与RF模块的连接状态为连接断开状态后,由ONU中的至少一个模块执行发出状态指示信息、停止为RF模块供电和停止RF模块的数据输出中的至少一种,避免了物理攻击所带来的RF模块的数据损失,提高了ONU的可靠性。In the embodiment of this application, after the ONU detects that the connection state between the host and the RF module is disconnected, at least one module in the ONU executes the process of sending status indication information, stopping power supply for the RF module, and stopping the data output of the RF module. At least one of them can avoid the data loss of the RF module caused by physical attacks and improve the reliability of the ONU.
附图说明Description of drawings
图1是本申请实施例提供的通信控制方法所涉及的通信系统10的一种应用环境的示意图;FIG. 1 is a schematic diagram of an application environment of a communication system 10 involved in a communication control method provided by an embodiment of the present application;
图2是本申请实施例提供的一种ONU的示意图;2 is a schematic diagram of an ONU provided by an embodiment of the present application;
图3是本申请实施例提供的一种ONU的结构示意图;3 is a schematic structural diagram of an ONU provided by an embodiment of the present application;
图4是本申请实施例提供的一种通信控制方法的流程示意图;4 is a schematic flowchart of a communication control method provided by an embodiment of the present application;
图5是本申请实施例提供的另一种ONU的结构示意图;5 is a schematic structural diagram of another ONU provided by an embodiment of the present application;
图6是本申请实施例提供的一种通信控制方法的流程示意图;6 is a schematic flowchart of a communication control method provided by an embodiment of the present application;
图7是本申请实施例提供的一种通信控制装置的结构示意图;FIG. 7 is a schematic structural diagram of a communication control apparatus provided by an embodiment of the present application;
图8是本申请实施例提供的另一种通信控制装置的结构示意图;FIG. 8 is a schematic structural diagram of another communication control apparatus provided by an embodiment of the present application;
图9是本申请实施例提供的又一种通信控制装置的结构示意图;9 is a schematic structural diagram of another communication control apparatus provided by an embodiment of the present application;
图10是本申请实施例提供的另一种ONU的结构示意图。FIG. 10 is a schematic structural diagram of another ONU provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的原理和技术方案更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the principles and technical solutions of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
图1是本申请实施例提供的通信控制方法所涉及的通信系统10的一种应用环境的示意图。示例的,该通信系统10为CATV系统。如图1所示,该通信系统10包括:广播电视数据发射机101、OLT102、处理模块103以及ONU104。广播电视数据发射机101用于输出广播电视数据;OLT102用于输出网络数据;处理模块103用于将广播电视数据发射机101提供的广播电视数据和OLT102提供的网络数据,转化为两路光信号,通过WDM的方式合成为一路光信号,并将该一路光信号由光纤传输至ONU104;ONU104用于基于获取的光信号处理得到广播电视数据对应的电信号以及与网络数据对应的电信号。ONU104还用于将与广播电视数据对应的电信号输出至与电视机连接的模数转换装置(如机顶盒)或者电视机,以便于电视机播放由该电信号处理得到的广播电视数据;基于与网络数据对应的电信号提供上网信号。FIG. 1 is a schematic diagram of an application environment of a communication system 10 involved in a communication control method provided by an embodiment of the present application. For example, the communication system 10 is a CATV system. As shown in FIG. 1 , the communication system 10 includes: a broadcast television data transmitter 101 , an OLT 102 , a processing module 103 and an ONU 104 . The broadcast TV data transmitter 101 is used for outputting broadcast TV data; the OLT102 is used for outputting network data; the processing module 103 is used for converting the broadcast TV data provided by the broadcast TV data transmitter 101 and the network data provided by the OLT102 into two-way optical signals , synthesized into one optical signal by WDM, and the optical signal is transmitted to ONU104 by optical fiber; ONU104 is used to process the obtained optical signal to obtain the electrical signal corresponding to the radio and television data and the electrical signal corresponding to the network data. The ONU 104 is also used to output the electrical signal corresponding to the broadcast TV data to an analog-to-digital conversion device (such as a set-top box) or a TV set connected to the TV set, so that the TV set can play the broadcast TV data processed by the electric signal; The electrical signal corresponding to the network data provides the Internet access signal.
图2是本申请实施例提供的一种ONU104的示意图。ONU104包括RF1041、BOB模块1042和主机1043,RF模块1041用于获取并输出该广播电视数据对应的电信号;BOB模块1042用于获取并输出该网络数据对应的电信号;主机1043与BOB模块1042连接,主机1043用于基于BOB模块1042输出的与网络数据对应的电信号,提供上网信号。RF模块1041与主机1043通过连接器连接,该连接器可以包括排针或者排线,例如该连接器为20针(pin)排针,图2是RF模块与主机通过排线连接的示意图。该连接器包括控制线,示例的,该控制线为两线式串行总线(Inter-Integrated Circuit,I2C)。主机通过该控制线对RF模块进行管理。示例的,主机对RF模块的管理包括:对RF模块的参数配置、输出使能和/或开关控制等。FIG. 2 is a schematic diagram of an ONU 104 provided by an embodiment of the present application. ONU104 includes RF1041, BOB module 1042 and host 1043. RF module 1041 is used to acquire and output the electrical signal corresponding to the broadcast television data; BOB module 1042 is used to acquire and output the electrical signal corresponding to the network data; host 1043 and BOB module 1042 Connection, the host 1043 is used to provide the Internet access signal based on the electrical signal corresponding to the network data output by the BOB module 1042 . The RF module 1041 is connected to the host 1043 through a connector. The connector may include a pin header or a cable. For example, the connector is a 20-pin (pin) header. FIG. 2 is a schematic diagram of the connection between the RF module and the host through a cable. The connector includes a control line, for example, the control line is a two-wire serial bus (Inter-Integrated Circuit, I2C). The host manages the RF module through the control line. For example, the management of the RF module by the host includes: parameter configuration of the RF module, output enable and/or switch control, and the like.
在ONU104中,主机1043可视为主设备,RF模块1041可视为从设备。RF模块1041在主机1043的管理下工作。主机1043还用于通过BOB模块1042接收OLT102发送的管理数据,并基于该管理数据对RF模块1041进行管理,该管理数据从OLT102到RF模块1041的传输过程可以参考前述网络数据的传输过程。In the ONU 104, the host 1043 can be regarded as a master device, and the RF module 1041 can be regarded as a slave device. The RF module 1041 works under the management of the host 1043 . The host 1043 is further configured to receive the management data sent by the OLT 102 through the BOB module 1042, and manage the RF module 1041 based on the management data. For the transmission process of the management data from the OLT 102 to the RF module 1041, refer to the aforementioned network data transmission process.
需要说明的是,传统的ONU中设置有三向光组件(也称三向模块),其集成了前述RF模块1041和BOB模块1042的功能,但是首先,三向光组件成本高昂,其制造材料和组件的制造成本都较高;其次,三向光组件中模拟电路与数字电路共板设计,需要设置多个屏蔽罩及吸波材料,以减少电磁干扰问题;再者,三向光组件的体积较大,无法保证ONU104的小型化。It should be noted that a traditional ONU is provided with a three-way optical component (also called a three-way module), which integrates the functions of the aforementioned RF module 1041 and BOB module 1042, but first of all, the cost of the three-way optical component is high, and its manufacturing materials and The manufacturing cost of the components is relatively high; secondly, the analog circuit and the digital circuit in the three-way optical component are designed on a common board, and multiple shielding covers and absorbing materials need to be installed to reduce the problem of electromagnetic interference; thirdly, the volume of the three-way optical component is larger, and the miniaturization of ONU104 cannot be guaranteed.
本申请实施例提供的ONU104,由于RF模块1041和BOB模块1042是分别设置(也 称独立设置)的,每个模块的制造成本相对于三向光组件有大幅降低;并且RF模块1041中的模拟电路和BOB模块1042中的数字电路分别设置,相互之间的电磁干扰较少,减少所设置的屏蔽罩及吸波材料的数量;再者,将RF模块1041和BOB模块1042分别设置,两者的整体体积小于三向光组件,从而实现ONU104的小型化。In the ONU 104 provided in this embodiment of the present application, since the RF module 1041 and the BOB module 1042 are set separately (also called independent sets), the manufacturing cost of each module is greatly reduced compared to the three-way optical assembly; and the simulation in the RF module 1041 The circuit and the digital circuit in the BOB module 1042 are set separately, and the electromagnetic interference between them is less, and the number of shielding covers and wave absorbing materials to be set is reduced; in addition, the RF module 1041 and the BOB module 1042 are set separately, and the two The overall volume is smaller than the three-way optical component, thereby realizing the miniaturization of the ONU104.
图3是本申请实施例提供的一种ONU104的结构示意图。其中,RF模块1041包括WDM模块、光电转换芯片、低噪声放大器(Low Noise Amplifier,LNA)、衰减器(attenuator,ATT)、功率放大器(Power Amplifier,PA)、阻抗匹配模块和控制器中的一个或多个,其中,WDM模块、光电转换芯片、LNA、ATT、PA和阻抗匹配模块依次连接。WDM模块用于将接收的一路光信号通过WDM的方式分为与广播电视数据对应的光信号以及与网络数据对应的光信号,并将与广播电视数据对应的光信号传输至光电转换芯片,将与网络数据对应的光信号传输至双向光模块(Bidirectional Optical Subassembly,BOSA);光电转换芯片与电压输出端VCC连接,用于对接收的光信号进行光电转换得到电信号;LNA用于对接收的电信号进行低噪声放大;ATT用于对接收的电信号的强度(该强度反映了与网络数据对应的光信号的强度)进行自动衰减控制;PA用于对接收的光信号进行放大处理;阻抗匹配模块用于对接收的电信号进行阻抗匹配,并将阻抗匹配后的电信号作为RF模块的输出信号输出;控制器与ATT连接,控制器用于对ATT进行控制,该控制器可以为微控制单元(Microcontroller Unit,MCU)。该控制器的控制总线通过排针或排线与主机1043连接。FIG. 3 is a schematic structural diagram of an ONU 104 provided by an embodiment of the present application. The RF module 1041 includes one of a WDM module, a photoelectric conversion chip, a Low Noise Amplifier (LNA), an attenuator (ATT), a Power Amplifier (PA), an impedance matching module and a controller or more, wherein the WDM module, the photoelectric conversion chip, the LNA, the ATT, the PA and the impedance matching module are connected in sequence. The WDM module is used to divide the received optical signal into an optical signal corresponding to the radio and television data and an optical signal corresponding to the network data by means of WDM, and transmit the optical signal corresponding to the radio and television data to the photoelectric conversion chip. The optical signal corresponding to the network data is transmitted to a bidirectional optical subassembly (BOSA); the photoelectric conversion chip is connected to the voltage output terminal VCC, and is used to photoelectrically convert the received optical signal to obtain an electrical signal; the LNA is used to convert the received optical signal. The electrical signal is used for low-noise amplification; ATT is used to perform automatic attenuation control on the strength of the received electrical signal (the strength reflects the strength of the optical signal corresponding to the network data); PA is used to amplify the received optical signal; impedance The matching module is used to perform impedance matching on the received electrical signal, and output the impedance-matched electrical signal as the output signal of the RF module; the controller is connected to the ATT, and the controller is used to control the ATT, and the controller can be a micro-controller Unit (Microcontroller Unit, MCU). The control bus of the controller is connected to the host 1043 through pin headers or cables.
BOB模块1042包括BOSA和驱动器。其中,BOSA包括光发射模块(Transmitter Optical Subassembly,TOSA)和光接收模块(Receiver Optical Subassembly,ROSA),ROSA用于接收WDM模块传输的与网络数据对应的光信号,将接收的光信号转换为电信号,并将该光信号传输至驱动器;TOSA用于在驱动器的控制下生成发射光信号,并将发射光信号传输至WDM模块,由WDM模块通过光纤传输该发射光信号。The BOB module 1042 includes BOSAs and drivers. Among them, BOSA includes an optical transmitting module (Transmitter Optical Subassembly, TOSA) and an optical receiving module (Receiver Optical Subassembly, ROSA). ROSA is used to receive the optical signal corresponding to the network data transmitted by the WDM module, and convert the received optical signal into an electrical signal. , and transmit the optical signal to the driver; TOSA is used to generate the emission optical signal under the control of the driver, and transmit the emission optical signal to the WDM module, and the WDM module transmits the emission optical signal through the optical fiber.
图3是本申请实施例提供的ONU的示意性结构图,在实际实现时,WDM模块还可以不位于RF模块中,例如,其可以集中在BOB模块、主机上或其他模块中,本申请实施例对此不做赘述。3 is a schematic structural diagram of an ONU provided by an embodiment of the present application. In actual implementation, the WDM module may not be located in the RF module. For example, it may be concentrated on the BOB module, the host, or other modules. The implementation of the present application This example is not repeated here.
需要说明的是,前述广播电视数据对应的光信号、与网络数据对应的光信号以及发射光信号的波长不同。例如,广播电视数据对应的光信号的波长为1550nm(纳米);与网络数据对应的光信号的波长为1490nm,发射光信号的波长为1310nm。It should be noted that the wavelengths of the optical signal corresponding to the aforementioned broadcast and television data, the optical signal corresponding to the network data, and the emitted optical signal are different. For example, the wavelength of the optical signal corresponding to the broadcast television data is 1550 nm (nanometer); the wavelength of the optical signal corresponding to the network data is 1490 nm, and the wavelength of the emitted optical signal is 1310 nm.
主机1043与BOB模块1042连接,通常情况下,该BOB模块1042设置在主机1043上。主机1043由印制电路板(Printed Circuit Board,PCB)制成,其是ONU的主要结构,其又可以称为主板或者产品板。该主机可以包括网络接口(简称网口),通过该网口可以基于与网络数据对应的电信号提供上网信号。主机还可以包括控制器和其他器件(图中未示出)。The host 1043 is connected to the BOB module 1042 , and in general, the BOB module 1042 is set on the host 1043 . The host 1043 is made of a printed circuit board (Printed Circuit Board, PCB), which is the main structure of the ONU, and may also be called a main board or a product board. The host may include a network interface (referred to as a network port), through which an Internet access signal can be provided based on an electrical signal corresponding to network data. The host may also include a controller and other devices (not shown).
如图2和图3所示,由于RF模块与主机之间的连接简单,很容易受到物理攻击,引起RF模块的脱管。例如,RF模块1041与主机1042之间的排针或者排线被人有意或无意断开之后,RF模块1041可以独立运行业务,但不再受其他设备管理。具体可以表现在ONU可以获取并输出该广播电视数据对应的电信号,即能正常播放广播电视数据,但无法监控观看时长并计算电视费用等。因此,目前的ONU的可靠性较低。As shown in Figure 2 and Figure 3, due to the simple connection between the RF module and the host, it is vulnerable to physical attacks, causing the RF module to be disconnected. For example, after the pin header or cable between the RF module 1041 and the host 1042 is disconnected intentionally or unintentionally, the RF module 1041 can run services independently, but is no longer managed by other devices. Specifically, the ONU can obtain and output the electrical signal corresponding to the radio and television data, that is, it can play the radio and television data normally, but cannot monitor the viewing time and calculate the television fee. Therefore, the reliability of the current ONU is low.
本申请实施例中,主机与RF模块的连接状态包括连接保持状态和连接断开状态共两种状态。其中,连接保持状态即为正常的连接状态,在主机与RF模块的连接状态为连接保持状态时,说明主机与RF模块未受到物理攻击;连接断开状态即为异常的连接状态,在主机与RF模块的连接状态为连接断开状态时,说明主机与RF模块可能受到物理攻击。In the embodiment of the present application, the connection state between the host and the RF module includes two states, namely, a connection maintained state and a connection disconnected state. Among them, the connection state is the normal connection state. When the connection state between the host and the RF module is the connection state, it means that the host and the RF module have not been physically attacked; the disconnected state is the abnormal connection state. When the connection status of the RF module is disconnected, it means that the host and the RF module may be physically attacked.
基于前述原理,本申请实施例中,ONU在获取主机与射频RF模块的连接状态,并确定主机与RF模块的连接状态为连接断开状态后,由ONU中的至少一个模块执行目标流程,该目标流程包括:发出状态指示信息、停止为RF模块供电和停止RF模块的数据输出中的至少一种。该状态指示信息用于指示主机与RF模块的连接状态为连接断开状态。如此可以避免ONU中RF模块的脱管所带来的数据损失,从而提高ONU的可靠性。其中,ONU获取主机与射频RF模块的连接状态的方式有多种,本申请实施例以以下两种方式为例,对通信控制方法进行说明。Based on the foregoing principles, in this embodiment of the present application, after the ONU obtains the connection status between the host and the RF module and determines that the connection status between the host and the RF module is disconnected, at least one module in the ONU executes the target process. The target process includes at least one of: sending status indication information, stopping power supply to the RF module, and stopping data output of the RF module. The state indication information is used to indicate that the connection state between the host and the RF module is a disconnected state. In this way, data loss caused by the disconnection of the RF module in the ONU can be avoided, thereby improving the reliability of the ONU. There are various ways for the ONU to obtain the connection state between the host and the radio frequency RF module, and the embodiment of the present application uses the following two ways as examples to describe the communication control method.
在第一种方式中,ONU通过心跳机制获取主机与RF模块的连接状态,以确定是否执行目标流程。图4是本申请实施例提供的一种通信控制方法的流程示意图,该方法包括:In the first method, the ONU obtains the connection status between the host and the RF module through the heartbeat mechanism to determine whether to execute the target process. 4 is a schematic flowchart of a communication control method provided by an embodiment of the present application, and the method includes:
S401、ONU通过心跳机制获取主机与RF模块的连接状态。S401. The ONU obtains the connection state between the host and the RF module through the heartbeat mechanism.
心跳机制是由ONU中的主机与RF模块配合完成的工作机制,主要实现方式是通过间隔发送特定消息来探测连接是否正常。当主机与RF模块的连接状态为连接保持状态时,也即是两者能够正常工作时,该心跳机制的执行过程包括:RF模块向主机发送第一心跳信息;主机在接收到第一心跳信息后,向RF模块发送第二心跳信息。或者,主机向RF模块发送第二心跳信息,RF模块在接收到第二心跳信息后,向主机发送第一心跳信息。基于该心跳机制,ONU可以通过监测第一心跳信息和/或第二心跳信息实现主机与RF模块的连接状态的获取。The heartbeat mechanism is a working mechanism completed by the host in the ONU and the RF module. The main implementation method is to detect whether the connection is normal by sending specific messages at intervals. When the connection state between the host and the RF module is in the connected state, that is, when the two can work normally, the execution process of the heartbeat mechanism includes: the RF module sends the first heartbeat information to the host; the host receives the first heartbeat information after receiving the first heartbeat information. Then, the second heartbeat information is sent to the RF module. Or, the host sends the second heartbeat information to the RF module, and the RF module sends the first heartbeat information to the host after receiving the second heartbeat information. Based on the heartbeat mechanism, the ONU can obtain the connection status between the host and the RF module by monitoring the first heartbeat information and/or the second heartbeat information.
本申请实施例以以下两种实现方式为例进行说明:The embodiments of the present application are described by taking the following two implementation manners as examples:
在第一种实现方式中,ONU通过检测第一心跳信息来确定主机与RF模块的连接状态。该过程包括:In a first implementation manner, the ONU determines the connection state between the host and the RF module by detecting the first heartbeat information. The process includes:
A1、检测主机是否接收到RF模块发送的第一心跳信息。A1. Detect whether the host receives the first heartbeat information sent by the RF module.
ONU在确定达到心跳机制的开启条件后,开启心跳机制。示例的,该心跳机制的开启条件包括:ONU中设置有心跳开关寄存器,该心跳开关寄存器的状态为开启状态;或者,达到心跳机制开启周期,或者,接收到指示开启心跳机制的指令,该指示开启心跳机制的指令可以是主机所接收的指令,其可以由OLT发送,也可以由用户触发,例如通过设置在ONU上的控制按钮触发。The ONU starts the heartbeat mechanism after determining that the start condition of the heartbeat mechanism is reached. Exemplarily, the conditions for enabling the heartbeat mechanism include: the ONU is provided with a heartbeat switch register, and the state of the heartbeat switch register is an open state; or, the heartbeat mechanism opening period is reached, or, an instruction instructing to open the heartbeat mechanism is received, the instruction The instruction to turn on the heartbeat mechanism may be an instruction received by the host, which may be sent by the OLT, or may be triggered by a user, for example, triggered by a control button set on the ONU.
在确定ONU的心跳机制开启后,ONU检测主机是否接收到RF模块发送的第一心跳信息。After determining that the heartbeat mechanism of the ONU is enabled, the ONU detects whether the host receives the first heartbeat information sent by the RF module.
A2、当检测到主机连续m次未接收到第一心跳信息时,确定主机与RF模块的连接状态为连接断开状态,m为预设的正整数。A2. When it is detected that the host has not received the first heartbeat information for m consecutive times, determine that the connection state between the host and the RF module is a disconnected state, and m is a preset positive integer.
示例的,ONU在心跳机制开始后,周期性进行第一心跳信息的检测,各个检测周期的时长相等。在连续m次检测到主机未接收到第一心跳信息后,确定主机与RF模块的连接状态为连接断开状态。示例的,m至少为2,通过多个周期的检测可以降低误检测的概率,保证确定的连接状态的准确度。For example, after the heartbeat mechanism starts, the ONU periodically detects the first heartbeat information, and the duration of each detection period is equal. After detecting that the host does not receive the first heartbeat information for m consecutive times, it is determined that the connection state between the host and the RF module is a disconnected state. Exemplarily, m is at least 2, and the probability of false detection can be reduced through multiple cycles of detection, and the accuracy of the determined connection state can be ensured.
在一种可选实现方式中,ONU可以通过定时器实现第一心跳信息的周期性检测。例如,设置定时器的定时时长为S1秒,该定时时长即为一个检测周期的时长。在定时器的定时时长内检测主机是否接收到RF模块发送的第一心跳信息,该检测结果即为一个检测周期的检测结果。In an optional implementation manner, the ONU may implement periodic detection of the first heartbeat information through a timer. For example, the timing duration of the timer is set to be S1 seconds, and the timing duration is the duration of one detection cycle. It is detected whether the host computer receives the first heartbeat information sent by the RF module within the time period of the timer, and the detection result is the detection result of one detection cycle.
A3、当检测到主机接收到第一心跳信息时,确定主机与RF模块的连接状态为连接保持状态。A3. When it is detected that the host computer receives the first heartbeat information, it is determined that the connection state between the host computer and the RF module is the connection maintaining state.
参考A2,若在某一检测周期检测到主机接收到第一心跳信息,则ONU确定在该检测周期主机与RF模块的连接状态为连接保持状态。Referring to A2, if it is detected that the host receives the first heartbeat information in a certain detection period, the ONU determines that the connection state between the host and the RF module is the connection maintained state in the detection period.
在一种可选方式中,ONU包括用于控制主机的第一控制器,该第一控制器控制主机执行前述A1至A3。可选地,该第一控制器位于主机上。In an optional manner, the ONU includes a first controller for controlling the host, and the first controller controls the host to perform the aforementioned A1 to A3. Optionally, the first controller is located on the host.
其中,前述第一心跳信息可以是RF模块主动发送的心跳信息,也可以是由主机发送的第二心跳信息触发后所发送的心跳信息。假设第一心跳信息是由主机发送的第二心跳信息触发后发送的心跳信息,RF模块中设置有心跳寄存器,第一心跳信息为Y,第二心跳信息为X。则第一控制器的心跳机制启动后,初始化脱管数F=0。然后执行A1至A3。其中,前述A1至A3可以分别替换为下述A11至A13:The aforementioned first heartbeat information may be heartbeat information actively sent by the RF module, or may be heartbeat information sent after being triggered by the second heartbeat information sent by the host. It is assumed that the first heartbeat information is the heartbeat information sent after being triggered by the second heartbeat information sent by the host, the RF module is provided with a heartbeat register, the first heartbeat information is Y, and the second heartbeat information is X. Then, after the heartbeat mechanism of the first controller is started, the number of disconnections F=0 is initialized. Then perform A1 to A3. Wherein, the aforementioned A1 to A3 can be respectively replaced by the following A11 to A13:
A11、第一控制器向RF模块的心跳寄存器写入第二心跳信息:X之后,周期性检测RF模块是否回写第一心跳信息:Y。A11. After writing the second heartbeat information: X to the heartbeat register of the RF module, the first controller periodically detects whether the RF module writes back the first heartbeat information: Y.
A21、在每个检测周期中,若第一控制器未检测到RF模块回写的第一心跳信息:Y,则更新脱管数,使得更新后的脱管数为F+1,进入下个检测周期,直至更新后的脱管数等于m,确定主机与RF模块的连接状态为连接断开状态。A21. In each detection cycle, if the first controller does not detect the first heartbeat information written back by the RF module: Y, update the number of disconnections, so that the updated number of disconnections is F+1, and enter the next During the detection period, until the updated number of disconnected pipes is equal to m, it is determined that the connection state between the host and the RF module is a disconnected state.
A31、在任一检测周期检测到RF模块回写的第一心跳信息:Y后,第一控制器确定主机与RF模块的连接状态为连接保持状态。A31. After detecting the first heartbeat information: Y written back by the RF module in any detection period, the first controller determines that the connection state between the host and the RF module is the connection maintaining state.
值得说明的是,第一控制器在确定主机与RF模块的连接状态后,还可以根据具体场景执行其他步骤。在第一种可选方式中,第一控制器在确定主机与RF模块的连接状态为连接保持状态后,可以再次初始化脱管数F=0,并重复执行前述A11至A31,以实现心跳机制的持续执行,从而持续进行确定主机与RF模块的连接状态的监控。在第二种可选方式中,第一控制器在确定主机与RF模块的连接状态为连接保持状态后,可以关闭第一控制器的心跳机制,直至再次达到心跳机制的开启条件。在第三种可选方式中,第一控制器在确定主机与RF模块的连接状态为连接断开状态后,可以后续S402执行后关闭心跳机制,直至再次达到心跳机制的开启条件。通过该第二种可选方式和第三种可选方式,第一控制器可以在达到指定条件后,关闭第一控制器的心跳机制,减少心跳机制的持续执行所耗费的电量,节约ONU的能耗。It should be noted that, after determining the connection state between the host and the RF module, the first controller may also perform other steps according to specific scenarios. In the first optional manner, after determining that the connection state between the host and the RF module is in the connection hold state, the first controller may re-initialize the disconnection number F=0, and repeatedly execute the aforementioned A11 to A31 to implement the heartbeat mechanism continuous execution, so as to continuously monitor the connection status between the host and the RF module. In the second optional manner, after the first controller determines that the connection state between the host and the RF module is the connection maintained state, the first controller may turn off the heartbeat mechanism of the first controller until the enabling condition of the heartbeat mechanism is reached again. In a third optional manner, after determining that the connection state between the host and the RF module is a disconnected state, the first controller may subsequently execute S402 to turn off the heartbeat mechanism until the enabling condition of the heartbeat mechanism is reached again. Through the second optional method and the third optional method, the first controller can turn off the heartbeat mechanism of the first controller after reaching the specified condition, so as to reduce the power consumed by the continuous execution of the heartbeat mechanism and save the power consumption of the ONU. energy consumption.
在第二种实现方式中,ONU通过检测第二心跳信息来确定主机与RF模块的连接状态。该过程包括:In the second implementation manner, the ONU determines the connection state between the host and the RF module by detecting the second heartbeat information. The process includes:
B1、检测RF模块是否接收到主机发送的第二心跳信息。B1. Detect whether the RF module receives the second heartbeat information sent by the host.
ONU在确定达到心跳机制的开启条件后,开启心跳机制。示例的,该心跳机制的开启条件包括:ONU中设置有心跳开关寄存器,该心跳开关寄存器的状态为开启状态;或者,达到心跳机制开启周期;或者,接收到指示开启心跳机制的指令,该指示开启心跳机制的指令可以是RF模块所接收的指令,其可以由主机发送,也可以由用户触发,例如通过设置在ONU上的控制按钮触发。The ONU starts the heartbeat mechanism after determining that the start condition of the heartbeat mechanism is reached. Exemplarily, the conditions for enabling the heartbeat mechanism include: the ONU is provided with a heartbeat switch register, and the state of the heartbeat switch register is an open state; or, the heartbeat mechanism opening period is reached; The instruction to turn on the heartbeat mechanism may be an instruction received by the RF module, which may be sent by the host, or may be triggered by the user, for example, triggered by a control button set on the ONU.
在确定ONU的心跳机制开启后,ONU检测RF模块是否接收到主机发送的第二心跳信息。After determining that the heartbeat mechanism of the ONU is enabled, the ONU detects whether the RF module receives the second heartbeat information sent by the host.
B2、当检测到RF模块连续n次未接收到第二心跳信息时,确定主机与RF模块的连接状态为连接断开状态,n为预设的正整数。B2. When it is detected that the RF module has not received the second heartbeat information for n consecutive times, it is determined that the connection state between the host and the RF module is a disconnected state, and n is a preset positive integer.
示例的,ONU在心跳机制开始后,周期性进行第二心跳信息的检测,各个检测周期的时长相等。在连续n次检测到RF模块未接收到第二心跳信息后,确定主机与RF模块的连接状态为连接断开状态。示例的,n至少为2,通过多个周期的检测可以降低误检测的概率,保证确定的连接状态的准确度。For example, after the heartbeat mechanism starts, the ONU periodically detects the second heartbeat information, and the duration of each detection period is equal. After detecting that the RF module has not received the second heartbeat information for n consecutive times, it is determined that the connection state between the host and the RF module is a disconnected state. Exemplarily, n is at least 2, and the probability of false detection can be reduced through multiple cycles of detection, and the accuracy of the determined connection state can be ensured.
在一种可选实现方式中,ONU可以通过定时器实现第二心跳信息的周期性检测。例如,设置定时器的定时时长为S2秒,该定时时长即为一个检测周期的时长。在定时器的定时时长内检测RF模块是否接收到主机发送的第二心跳信息,该检测结果即为一个检测周期的检测结果。In an optional implementation manner, the ONU may implement periodic detection of the second heartbeat information through a timer. For example, the timing duration of the timer is set to be S2 seconds, and the timing duration is the duration of one detection cycle. Detect whether the RF module receives the second heartbeat information sent by the host within the time period of the timer, and the detection result is the detection result of one detection cycle.
B3、当检测到RF模块接收到第二心跳信息时,确定主机与RF模块的连接状态为连接保持状态。B3. When it is detected that the RF module receives the second heartbeat information, it is determined that the connection state between the host and the RF module is the connection maintaining state.
参考B2,若在某一检测周期检测到RF模块接收到第二心跳信息,则ONU确定在该检测周期主机与RF模块的连接状态为连接保持状态。Referring to B2, if it is detected that the RF module receives the second heartbeat information in a certain detection period, the ONU determines that the connection state between the host and the RF module is the connection maintained state in the detection period.
在一种可选方式中,ONU包括用于控制RF模块的第二控制器,该第二控制器控制RF模块执行前述B1至B3。可选地,该第二控制器位于RF模块上。示例的,第二控制器可以为图3中RF模块1041中的控制器,也可以是在RF模块1041中新增的控制器。In an optional manner, the ONU includes a second controller for controlling the RF module, and the second controller controls the RF module to perform the aforementioned B1 to B3. Optionally, the second controller is located on the RF module. For example, the second controller may be the controller in the RF module 1041 in FIG. 3 , or may be a newly added controller in the RF module 1041 .
其中,前述第二心跳信息可以是主机主动发送的心跳信息,也可以是由RF模块发送的第一心跳信息触发后所发送的心跳信息。假设第二心跳信息是由主机主动发送的心跳信息,RF模块中设置有心跳寄存器,第一心跳信息为Y,第二心跳信息为X。则第二控制器的心跳机制启动后,初始化脱管数G=0。然后执行B1至B3。其中,前述B1至B3可以分别替换为下述B11至B13:The aforementioned second heartbeat information may be heartbeat information actively sent by the host, or may be heartbeat information sent after being triggered by the first heartbeat information sent by the RF module. Assuming that the second heartbeat information is heartbeat information actively sent by the host, a heartbeat register is set in the RF module, the first heartbeat information is Y, and the second heartbeat information is X. Then, after the heartbeat mechanism of the second controller is started, the number of disconnected pipes G=0 is initialized. Then execute B1 to B3. Wherein, the aforementioned B1 to B3 can be respectively replaced with the following B11 to B13:
B11、第二控制器周期性检测主机是否在心跳寄存器写入第二心跳信息:X。B11. The second controller periodically detects whether the host writes the second heartbeat information: X in the heartbeat register.
B21、在每个检测周期中,若第二控制器未检测到主机在心跳寄存器写入的第二心跳信息:X,则更新脱管数,使得更新后的脱管数为G+1,进入下个检测周期,直至更新后的脱管数等于n,确定主机与RF模块的连接状态为连接断开状态。B21. In each detection cycle, if the second controller does not detect the second heartbeat information written by the host in the heartbeat register: X, update the number of disconnections so that the updated number of disconnections is G+1, and enter In the next detection cycle, until the updated number of disconnected pipes is equal to n, it is determined that the connection state between the host and the RF module is a disconnected state.
B31、在任一检测周期检测到主机在心跳寄存器写入第二心跳信息:X后,第二控制器确定主机与RF模块的连接状态为连接保持状态。B31. After detecting that the host writes the second heartbeat information: X in the heartbeat register in any detection period, the second controller determines that the connection state between the host and the RF module is a connection hold state.
值得说明的是,第二控制器在确定主机与RF模块的连接状态后,还可以根据具体场景执行其他步骤。在第一种可选方式中,第二控制器在确定主机与RF模块的连接状态为连接保持状态后,可以再次初始化脱管数G=0,并重复执行前述B11至B31,以实现心跳机制的持续执行,从而持续进行确定主机与RF模块的连接状态的监控。在第二种可选方式中,第二控制器在确定主机与RF模块的连接状态为连接保持状态后,可以关闭第二控制器的心跳机制,直至再次达到心跳机制的开启条件。通过该第二种可选方式,第二控制器可以在达到指定条件后,关闭第二控制器的心跳机制,减少心跳机制的持续执行所耗费的电量,节约ONU的能耗。It should be noted that, after determining the connection state between the host and the RF module, the second controller may also perform other steps according to specific scenarios. In the first alternative, after the second controller determines that the connection state between the host and the RF module is in the connected state, the second controller may re-initialize the disconnected number G=0, and repeatedly execute the foregoing B11 to B31 to implement the heartbeat mechanism continuous execution, so as to continuously monitor the connection status between the host and the RF module. In the second optional manner, after the second controller determines that the connection state between the host and the RF module is the connection maintained state, the second controller may turn off the heartbeat mechanism of the second controller until the enabling condition of the heartbeat mechanism is reached again. Through the second optional method, the second controller can turn off the heartbeat mechanism of the second controller after reaching the specified condition, so as to reduce the power consumption for the continuous execution of the heartbeat mechanism, and save the energy consumption of the ONU.
在本申请实施例中,ONU可以同步执行前述第一种实现方式和第二种实现方式。也即是,ONU分别通过检测第一心跳信息和第二心跳信息来确定主机与RF模块的连接 状态。如此,前述S1和前述S2可以相等,前述m和n可以相同,从而实现在RF模块侧和主机侧的连接状态的检测结果一致性。In this embodiment of the present application, the ONU may execute the foregoing first implementation manner and second implementation manner synchronously. That is, the ONU determines the connection state between the host and the RF module by detecting the first heartbeat information and the second heartbeat information respectively. In this way, the aforementioned S1 and the aforementioned S2 may be equal, and the aforementioned m and n may be the same, so as to achieve the consistency of the detection results of the connection status on the RF module side and the host side.
值得说明的是,前述心跳机制的关闭动作可以由主机根据实际情况发起(例如随时发起),在主机发起心跳机制的关闭动作后,主机和RF模块均退出心跳机制。It is worth noting that the aforementioned shutdown action of the heartbeat mechanism can be initiated by the host according to the actual situation (for example, initiated at any time). After the host initiates the shutdown action of the heartbeat mechanism, both the host and the RF module exit the heartbeat mechanism.
S402、ONU在确定主机与RF模块的连接状态为连接断开状态后,由ONU中的至少一个模块执行目标流程。S402. After the ONU determines that the connection state between the host and the RF module is a disconnected state, at least one module in the ONU executes the target process.
参考S401,由于ONU可以包括控制主机的第一控制器和/或用于控制RF模块的第二控制器,对于控制ONU中不同模块的控制器,其控制的模块以及执行的目标流程不同。Referring to S401, since the ONU may include a first controller for controlling the host and/or a second controller for controlling the RF module, for controllers controlling different modules in the ONU, the modules to be controlled and the target processes to be executed are different.
例如,与前述S401的第一种实现方式对应的,第一控制器控制的模块为主机,执行的目标流程包括发出状态指示信息和/或停止为RF模块供电。其中,发出状态指示信息的过程包括:控制主机发出状态指示信息;停止为RF模块供电包括:控制ONU中的电源停止为RF模块供电。For example, corresponding to the first implementation manner of the foregoing S401, the module controlled by the first controller is the host, and the executed target process includes sending status indication information and/or stopping power supply to the RF module. The process of sending the status indication information includes: controlling the host to send the status indication information; and stopping the power supply for the RF module includes: controlling the power supply in the ONU to stop supplying power to the RF module.
其中,该状态指示信息用于指示主机与RF模块的连接状态为连接断开状态,该状态指示信息可以为告警信息。在一种可选示例中,主机通过BOB模块将该状态指示信息发送OLT,以供OLT通知通信系统的管理人员。参考图3,该状态指示信息可以以前述发射光信号的形式发送给OLT。在另一种可选示例中,主机还连接有告警模块,主机通过该告警模块发出该状态指示信息,以警告该ONU周围的他人停止对ONU的物理攻击。例如,该告警模块可以为闪光灯和/或讯响器(如喇叭)。The state indication information is used to indicate that the connection state between the host and the RF module is a disconnected state, and the state indication information may be alarm information. In an optional example, the host sends the status indication information to the OLT through the BOB module, so that the OLT notifies the administrator of the communication system. Referring to FIG. 3 , the status indication information may be sent to the OLT in the form of the aforementioned transmitted optical signal. In another optional example, the host is further connected with an alarm module, and the host sends the status indication information through the alarm module to warn others around the ONU to stop physical attacks on the ONU. For example, the alarm module may be a flasher and/or a sounder (eg, a horn).
通过发出状态指示信息,可以在主机与RF模块的连接状态为连接断开状态时,通知管理人员主机与RF模块的异常的连接状态,从而便于管理人员对ONU进行控制,防止物理攻击所带来的数据损失。或者,警告该ONU周围的他人停止对ONU的物理攻击,以减少物理攻击所带来的数据损失。By issuing status indication information, when the connection between the host and the RF module is disconnected, the administrator can be notified of the abnormal connection status between the host and the RF module, so that the administrator can control the ONU and prevent physical attacks. data loss. Or, warn others around the ONU to stop the physical attack on the ONU, so as to reduce the data loss caused by the physical attack.
图5是本申请实施例提供的另一种ONU104的结构示意图。其中,主机1043包括电源控制电路1043a以及电源1043b,电源控制电路1043a与电源1043b连接,电源1043b与RF模块1041连接,例如,该电源1043b与RF模块1041通过电源线连接。在一种可选方式中,如图5所示,主机1043还包括第一控制器1043c,第一控制器1043c与电源控制电路1043a连接,该第一控制器1043c通过控制电源控制电路1043a,以控制电源1043a停止为RF模块1041供电。通过控制电源1043a停止为RF模块1041供电,可以在主机与RF模块的连接状态为连接断开状态时,实现RF模块的断电,从而使得RF模块停止工作,避免RF模块仍然输出广播电视数据对应的电信号,防止物理攻击所带来的数据损失。FIG. 5 is a schematic structural diagram of another ONU 104 provided by an embodiment of the present application. The host 1043 includes a power supply control circuit 1043a and a power supply 1043b. The power supply control circuit 1043a is connected to the power supply 1043b, and the power supply 1043b is connected to the RF module 1041. For example, the power supply 1043b is connected to the RF module 1041 through a power cable. In an optional manner, as shown in FIG. 5 , the host 1043 further includes a first controller 1043c, the first controller 1043c is connected to the power supply control circuit 1043a, and the first controller 1043c controls the power supply control circuit 1043a to The control power supply 1043a stops supplying power to the RF module 1041 . By controlling the power supply 1043a to stop supplying power to the RF module 1041, when the connection state between the host and the RF module is disconnected, the RF module can be powered off, thereby making the RF module stop working and preventing the RF module from still outputting broadcast TV data corresponding to electrical signals to prevent data loss caused by physical attacks.
需要说明的是,由于他人在对ONU进行物理攻击时,为了保证RF模块正常工作,不会剪断该电源线。因此,电源1043b与RF模块1041的连接不会断开,而ONU则可以通过该电源控制电路1043a控制电源1043a停止为RF模块1041供电。It should be noted that when others physically attack the ONU, in order to ensure the normal operation of the RF module, the power cord will not be cut. Therefore, the connection between the power supply 1043b and the RF module 1041 will not be disconnected, and the ONU can control the power supply 1043a to stop supplying power to the RF module 1041 through the power supply control circuit 1043a.
又例如,与前述S401的第二种实现方式对应的,第二控制器控制的模块为RF模块,执行的目标流程包括:停止RF模块的数据输出。其中,停止RF模块的数据输出的过程包括:控制RF模块停止数据输出。示例的,RF模块具有状态标识位,第二控制器可以将RF模块的状态标识位设置为禁止输出状态,从而控制RF模块停止数据输出。For another example, corresponding to the second implementation manner of S401, the module controlled by the second controller is the RF module, and the target process to be executed includes: stopping the data output of the RF module. The process of stopping the data output of the RF module includes: controlling the RF module to stop the data output. For example, the RF module has a status identification bit, and the second controller may set the status identification bit of the RF module to an output-disabled state, thereby controlling the RF module to stop data output.
通过控制RF模块停止数据输出,可以在主机与RF模块的连接状态为连接断开状态时,避免RF模块仍然输出广播电视数据对应的电信号,防止物理攻击所带来的数据损失。By controlling the RF module to stop data output, when the connection between the host and the RF module is disconnected, the RF module can still be prevented from outputting electrical signals corresponding to broadcast TV data, and data loss caused by physical attacks can be prevented.
本申请实施例中,ONU中还设置有一个或多个标志寄存器,ONU通过检测该标志寄存器来实现对传统的ONU的功能的兼容。例如,在前述S401之前,ONU还可以执行以下寄存器检测流程:In the embodiment of the present application, the ONU is further provided with one or more flag registers, and the ONU realizes the function compatibility of the traditional ONU by detecting the flag registers. For example, before the aforementioned S401, the ONU can also perform the following register detection process:
C1、读取第一标志寄存器,第一标志寄存器用于指示RF模块是否支持心跳机制。C1. Read the first flag register, where the first flag register is used to indicate whether the RF module supports the heartbeat mechanism.
C2、在读取得到第一标志寄存器指示RF模块支持心跳机制,且接收到指示开启心跳机制的指令后,将心跳开关寄存器的状态更新为开启状态,该心跳开关寄存器的开启状态用于指示开启心跳机制。C2. After reading the first flag register indicating that the RF module supports the heartbeat mechanism, and after receiving the instruction indicating to open the heartbeat mechanism, update the state of the heartbeat switch register to the open state, and the open state of the heartbeat switch register is used to indicate the open state Heartbeat mechanism.
示例的,该指示开启心跳机制的指令可以为OLT下发的应用层指令。值得说明的是,在读取得到第一标志寄存器指示RF模块支持心跳机制,且接收到指示不开启心跳机制的指令后,ONU停止动作。For example, the instruction for instructing to enable the heartbeat mechanism may be an application layer instruction issued by the OLT. It should be noted that, after reading the first flag register indicating that the RF module supports the heartbeat mechanism, and receiving an instruction indicating not to enable the heartbeat mechanism, the ONU stops operating.
C3、读取第二标志寄存器,该第二标志寄存器用于指示RF模块的心跳机制是否开启成功。C3. Read the second flag register, where the second flag register is used to indicate whether the heartbeat mechanism of the RF module is successfully enabled.
C4、在读取得到第二标志寄存器指示RF模块的心跳机制开启成功后,读取RF模块的心跳寄存器,心跳寄存器用于写入心跳机制执行过程中产生的心跳信息。C4. After reading the second flag register indicating that the heartbeat mechanism of the RF module is successfully enabled, read the heartbeat register of the RF module, and the heartbeat register is used to write the heartbeat information generated during the execution of the heartbeat mechanism.
值得说明的是,在一次或多次读取得到第二标志寄存器指示RF模块的心跳机制开启失败后,ONU可以停止动作。It is worth noting that, after one or more times of reading the second flag register to indicate that the heartbeat mechanism of the RF module fails to be enabled, the ONU can stop the action.
可选地,该心跳寄存器用于写入前述第一心跳信息或第二心跳信息。Optionally, the heartbeat register is used to write the aforementioned first heartbeat information or second heartbeat information.
示例的,前述第一标志寄存器、心跳开关寄存器、第二标志寄存器和心跳寄存器可以设置于RF模块中,例如设置在RF模块的控制器中。Exemplarily, the aforementioned first flag register, heartbeat switch register, second flag register, and heartbeat register may be set in the RF module, for example, in the controller of the RF module.
如前所述,主机1043与RF模块1041通过连接器连接,该连接器包括用于传输信息的有效连接结构和不用于传输信息的冗余连接结构。例如,有效连接结构为用于传输信息的排针,冗余连接结构为冗余排针,如此,连接器可以包括双排针;或者有效连接结构为用于传输信息的排线,冗余连接结构为冗余排线,如此,连接器可以包括双排线。其中,有效连接结构和容易连接结构可以一一交错排列或者两两交错排列或者不规律排列,如此给想要对ONU进行攻击的他人制造困难,从而提高攻击难度,减少攻击成功概率。例如,有效连接结构包括电源线和管理线,由于他人在对ONU进行物理攻击时,为了保证RF模块的脱管工作,不能剪断该电源线。而增加冗余连接结构使得他人无法分辨哪些连接结构是能够剪断的,哪些不能剪断,从而增大了连接结构的攻击难度,提高了连接器的可靠性。As mentioned above, the host 1043 and the RF module 1041 are connected through a connector, and the connector includes an effective connection structure for transmitting information and a redundant connection structure not used for transmitting information. For example, the effective connection structure is a pin header for transmitting information, and the redundant connection structure is a redundant pin header. Thus, the connector may include double pin headers; or the effective connection structure is a cable for transmitting information, and the redundant connection structure is The structure is redundant cable, so the connector can include double cable. Among them, the effective connection structure and the easy connection structure can be staggered one by one or two by two or irregularly arranged, so as to create difficulties for others who want to attack the ONU, thereby increasing the difficulty of the attack and reducing the probability of successful attack. For example, an effective connection structure includes a power cord and a management cord. When others physically attack the ONU, the power cord cannot be cut in order to ensure the disconnection of the RF module. Adding redundant connection structures makes it impossible for others to distinguish which connection structures can be cut and which cannot be cut, thereby increasing the attack difficulty of the connection structure and improving the reliability of the connector.
综上所述,本申请实施例中,ONU在检测到主机与RF模块的连接状态为连接断开状态后,由ONU中的至少一个模块执行发出状态指示信息、停止为RF模块供电和停止RF模块的数据输出中的至少一种,避免了物理攻击所带来的RF模块的数据损失,提高了ONU的可靠性。To sum up, in this embodiment of the present application, after the ONU detects that the connection state between the host and the RF module is disconnected, at least one module in the ONU executes sending status indication information, stops supplying power to the RF module, and stops the RF module. At least one of the data outputs of the module avoids the data loss of the RF module caused by physical attacks, and improves the reliability of the ONU.
在第二种方式中,ONU通过在控制线上读取RF模块的信息,以确定是否执行目标流程。图6是本申请实施例提供的一种通信控制方法的流程示意图,该方法包括:In the second way, the ONU determines whether to execute the target process by reading the information of the RF module on the control line. 6 is a schematic flowchart of a communication control method provided by an embodiment of the present application, and the method includes:
S501、ONU通过主机与RF模块之间的控制线读取RF模块的信息。执行S502或S504。S501, the ONU reads the information of the RF module through the control line between the host and the RF module. Execute S502 or S504.
示例的,S501可以由控制主机的第一控制器执行。该第一控制器可以位于主机上,如此可以实现通过主机与RF模块之间的控制线读取RF模块的信息。Exemplarily, S501 may be performed by a first controller that controls the host. The first controller can be located on the host, so that the information of the RF module can be read through the control line between the host and the RF module.
S502、当读取RF模块的信息为空时,ONU确定主机与射频RF模块的连接状态为连接断开状态。执行S503。S502. When the information read from the RF module is empty, the ONU determines that the connection state between the host and the radio frequency RF module is a disconnected state. Execute S503.
ONU在启动后,通过控制线读取RF模块的信息,如果无法读取到RF模块的信息,也即是读取的RF模块的信息为空,说明主机与射频RF模块之间的控制线不通,主机与射频RF模块的连接状态为连接断开状态。After the ONU is started, it reads the information of the RF module through the control line. If the information of the RF module cannot be read, that is, the information of the read RF module is empty, indicating that the control line between the host and the RF module is not connected. , the connection state between the host and the RF module is disconnected.
在一种可选实现方式中,ONU在连续d次读取RF模块的信息为空时,确定主机与射频RF模块的连接状态为连接断开状态。d为预设的正整数。例如,d≥2。In an optional implementation manner, the ONU determines that the connection state between the host and the radio frequency RF module is a disconnected state when the information of the RF module read continuously for d times is empty. d is a preset positive integer. For example, d≥2.
示例的,ONU在启动后,周期性通过控制线读取RF模块的信息,各个检测周期的时长相等。在连续d次读取RF模块的信息为空后,确定主机与RF模块的连接状态为连接断开状态。通过多个周期的检测可以降低误检测的概率,保证确定的连接状态的准确度。For example, after the ONU is started, it periodically reads the information of the RF module through the control line, and the duration of each detection period is equal. After the information of the RF module is read continuously for d times, it is determined that the connection state between the host and the RF module is a disconnected state. Through multiple cycles of detection, the probability of false detection can be reduced, and the accuracy of the determined connection state can be ensured.
值得说明的是,ONU在确定主机与RF模块的连接状态为连接保持状态后,可以停止RF模块的信息的周期性读取流程,直至再次达到读取流程的开启条件。或者,在后续S503执行后停止RF模块的信息的周期性读取流程,直至再次达到读取流程的开启条件。通过前述方式,ONU可以在达到指定条件后,停止RF模块的信息的周期性读取流程,减少读取流程的持续执行所耗费的电量,节约ONU的能耗。It is worth noting that, after the ONU determines that the connection state between the host and the RF module is the connection hold state, the ONU can stop the periodic reading process of the information of the RF module, until the enabling condition of the reading process is reached again. Alternatively, after the subsequent execution of S503, the periodic reading process of the information of the RF module is stopped until the enabling condition of the reading process is reached again. In the foregoing manner, the ONU can stop the periodic reading process of the information of the RF module after reaching the specified condition, so as to reduce the power consumed by the continuous execution of the reading process and save the energy consumption of the ONU.
S503、ONU在确定主机与RF模块的连接状态为连接断开状态后,由ONU中的至少一个模块执行目标流程。S503: After the ONU determines that the connection state between the host and the RF module is a disconnected state, at least one module in the ONU executes the target process.
S503的过程可以参考前述S402,本申请实施例对此不做赘述。For the process of S503, reference may be made to the foregoing S402, which is not repeated in this embodiment of the present application.
S504、当读取RF模块的信息不为空时,ONU确定主机与射频RF模块的连接状态为连接保持状态。S504 , when the information read from the RF module is not empty, the ONU determines that the connection state between the host and the radio frequency RF module is a connection hold state.
如果ONU通过控制线读取到RF模块的信息,也即是读取的RF模块的信息不为空,说明主机与射频RF模块之间的控制线导通,主机与射频RF模块的连接状态为连接保持状态。If the ONU reads the information of the RF module through the control line, that is, the information of the read RF module is not empty, it means that the control line between the host and the RF module is connected, and the connection status between the host and the RF module is The connection remains state.
综上所述,本申请实施例中,ONU在检测到主机与RF模块的连接状态为连接断开状态后,由ONU中的至少一个模块执行发出状态指示信息、停止为RF模块供电和停止RF模块的数据输出中的至少一种,避免了物理攻击所带来的RF模块的数据损失,提高了ONU的可靠性。To sum up, in this embodiment of the present application, after the ONU detects that the connection state between the host and the RF module is disconnected, at least one module in the ONU executes sending status indication information, stops supplying power to the RF module, and stops the RF module. At least one of the data outputs of the module avoids the data loss of the RF module caused by physical attacks, and improves the reliability of the ONU.
在本申请实施例中,ONU还可以根据具体场景执行其他控制流程。示例的,在前述S401之前或S402之后,或者,在S501之前或S504之后,ONU还可以检测RF模块的默认输出状态是否为开启状态后;在检测到RF模块的默认输出状态为开启状态后,将RF模块的默认输出状态更新为关闭状态;在检测到RF模块的默认输出状态为关闭状态后,保持RF模块的默认输出状态不变。在一种可选方式中,ONU在确定主机与RF模块的连接状态为连接保持开状态后,再检测RF模块的默认输出状态是否为开启状态后。示例的,RF模块中可以设置有默认标志位,该默认标志位用于指示RF模块的默认输出状态,ONU通过检测该默认标志位来确定RF模块的默认输出状态。In this embodiment of the present application, the ONU may also perform other control procedures according to specific scenarios. Exemplarily, before S401 or after S402, or before S501 or after S504, the ONU can also detect whether the default output state of the RF module is an on state; after detecting that the default output state of the RF module is an on state, Update the default output state of the RF module to the off state; after detecting that the default output state of the RF module is the off state, keep the default output state of the RF module unchanged. In an optional manner, after the ONU determines that the connection state between the host and the RF module is the connection keeping open state, the ONU detects whether the default output state of the RF module is the open state. For example, a default flag bit may be set in the RF module, the default flag bit is used to indicate the default output state of the RF module, and the ONU determines the default output state of the RF module by detecting the default flag bit.
由于在ONU出厂前,为了便于ONU测试,RF模块的默认输出状态一般设置为开启状态,但是在ONU出厂后,RF模块的默认输出状态如果是开启状态,容易在物理攻击 时,出现RF模块的数据损失,因此通过将该RF模块的默认输出状态设置为关闭状态,可以减少物理攻击所导致的RF模块的数据损失。Because before the ONU leaves the factory, in order to facilitate the ONU test, the default output state of the RF module is generally set to the open state, but after the ONU leaves the factory, if the default output state of the RF module is the open state, it is easy to cause physical attacks. Therefore, by setting the default output state of the RF module to the off state, the data loss of the RF module caused by physical attacks can be reduced.
值得说明的是,RF模块的默认输出状态在更新后,通常需要持续保存该默认输出状态。在一种可选方式中,RF模块还包括存储器,ONU将RF模块的默认输出状态保存在存储器中。示例的,该存储器为闪存(flash)。It is worth noting that, after the default output state of the RF module is updated, it is usually necessary to keep the default output state. In an optional manner, the RF module further includes a memory, and the ONU saves the default output state of the RF module in the memory. Illustratively, the memory is flash memory.
示例的,ONU还可以在OLT的控制下,控制RF模块的暂时输出状态。该暂时输出状态包括开启状态或关闭状态。该暂时输出状态指的是ONU在一次上电到断电的时段内的状态。相对于前述默认输出状态,该暂时输出状态维持的时长较短,其为一种易失性状态。例如,ONU接收OLT下发的应用层指令,当该应用层指令指示RF模块的暂时输出状态为开启状态时,ONU控制RF模块的输出信号开始输出;当该应用层指令指示RF的暂时输出状态为关闭状态时,ONU控制RF模块的输出信号停止输出。ONU不将RF模块的暂时输出状态保存在存储器中。在ONU断电再重启后,RF模块的输出状态与默认输出状态一致。For example, the ONU may also control the temporary output state of the RF module under the control of the OLT. The temporary output state includes an on state or an off state. The temporary output state refers to the state of the ONU in the period from one power-on to power-off. Compared with the aforementioned default output state, the temporary output state is maintained for a shorter period of time, which is a volatile state. For example, the ONU receives the application layer command issued by the OLT. When the application layer command indicates that the temporary output state of the RF module is on, the ONU controls the output signal of the RF module to start outputting; when the application layer command indicates the temporary output state of the RF module In the off state, the ONU controls the output signal of the RF module to stop outputting. The ONU does not store the temporary output state of the RF module in memory. After the ONU is powered off and then restarted, the output state of the RF module is the same as the default output state.
在本申请实施例中,前述第一控制器和第二控制器可以分别为主机和RF模块中的控制器,对两者的控制器的软件进行升级即可实现前述通信方法对应的功能,无需进行硬件的改造,有效节约了硬件成本。并且当ONU控制主机侧发出状态指示信息或停止为RF模块供电,同时控制RF模块侧停止RF模块的数据输出时,可以实现主机和RF模块的互锁,进一步降低RF模块的数据损失,有效提高ONU的可靠性。In the embodiment of the present application, the aforementioned first controller and the second controller may be controllers in the host and the RF module, respectively, and the functions corresponding to the aforementioned communication methods can be implemented by upgrading the software of the two controllers, without the need for The transformation of the hardware has effectively saved the hardware cost. And when the ONU controls the host side to send status indication information or stops supplying power to the RF module, and controls the RF module side to stop the data output of the RF module, the interlock between the host and the RF module can be realized, further reducing the data loss of the RF module, effectively improving the ONU reliability.
值得说明的是,前述实施例均以前述通信控制方法应用于防物理攻击场景为例进行说明。在实际实现时,该通信控制方法还可以应用于其他场景。例如应用于故障监控场景。当RF模块、主机和控制线中的至少一者出现故障,也可以通过检测主机与RF模块的连接状态来监测到故障的发生。由于出现故障的器件,无法完成正常的工作,因此检测结果为主机与RF模块的连接状态为连接断开状态,ONU通过执行前述目标流程,可以提示管理人员或用户ONU出现故障,如此实现ONU的及时维修。It should be noted that, the foregoing embodiments are all described by taking the foregoing communication control method applied to a physical attack prevention scenario as an example. In actual implementation, the communication control method can also be applied to other scenarios. For example, it is used in fault monitoring scenarios. When at least one of the RF module, the host and the control line fails, the occurrence of the failure can also be monitored by detecting the connection state between the host and the RF module. Since the faulty device cannot complete the normal work, the detection result is that the connection between the host and the RF module is disconnected. The ONU can prompt the administrator or user that the ONU is faulty by executing the above-mentioned target process. Repair in time.
图7是本申请实施例提供的一种通信控制装置60的结构示意图,该装置应用于ONU,该ONU也称为光猫,该装置60包括:7 is a schematic structural diagram of a communication control device 60 provided by an embodiment of the present application. The device is applied to an ONU, and the ONU is also called an optical modem. The device 60 includes:
获取模块601,用于获取主机与射频RF模块的连接状态,该主机与光器件在板BOB模块连接;The acquisition module 601 is used to acquire the connection status between the host and the radio frequency RF module, and the host is connected with the optical device on-board BOB module;
执行模块602,用于在确定该主机与该RF模块的连接状态为连接断开状态后,由该ONU中的至少一个模块执行发出状态指示信息、停止为该RF模块供电和停止该RF模块的数据输出中的至少一种,该状态指示信息用于指示该主机与该RF模块的连接状态为连接断开状态。The execution module 602 is used for, after determining that the connection state between the host and the RF module is a disconnected state, at least one module in the ONU executes the sending of status indication information, stopping power supply for the RF module and stopping the operation of the RF module. At least one of data output, the state indication information is used to indicate that the connection state between the host and the RF module is a disconnected state.
综上所述,本申请实施例中,执行模块在检测到主机与RF模块的连接状态为连接断开状态后,由ONU中的至少一个模块执行发出状态指示信息、停止为RF模块供电和停止RF模块的数据输出中的至少一种,避免了物理攻击所带来的RF模块的数据损失,提高了ONU的可靠性。To sum up, in the embodiment of the present application, after the execution module detects that the connection state between the host and the RF module is disconnected, at least one module in the ONU executes the sending of status indication information, stops supplying power to the RF module, and stops. At least one of the data outputs of the RF module avoids data loss of the RF module caused by physical attacks, and improves the reliability of the ONU.
在一种可选方式中,该获取模块601,用于:通过心跳机制获取该主机与该RF模块的连接状态。In an optional manner, the obtaining module 601 is configured to obtain the connection status between the host and the RF module through a heartbeat mechanism.
在一种示例中,该获取模块601,用于:检测该主机是否接收到该RF模块发送的 第一心跳信息;当检测到该主机连续m次未接收到该第一心跳信息时,确定该主机与该RF模块的连接状态为连接断开状态,该m为预设的正整数。In an example, the obtaining module 601 is configured to: detect whether the host has received the first heartbeat information sent by the RF module; when detecting that the host has not received the first heartbeat information for m consecutive times, determine the The connection state between the host and the RF module is a disconnected state, and the m is a preset positive integer.
在另一种示例中,该获取模块601,用于:通过该主机与该RF模块之间的控制线读取该RF模块的信息;当读取该RF模块的信息为空时,确定该主机与射频RF模块的连接状态为连接断开状态。In another example, the obtaining module 601 is configured to: read the information of the RF module through the control line between the host and the RF module; when the read information of the RF module is empty, determine the host The connection state with the RF module is disconnected.
其中,执行模块602用于:控制该主机发出状态指示信息;和/或,控制该ONU中的电源停止为该RF模块供电。The execution module 602 is configured to: control the host to send status indication information; and/or control the power supply in the ONU to stop supplying power to the RF module.
可选地,该主机包括电源控制电路以及该电源,该电源控制电路与该电源连接,该执行模块602,用于:通过该电源控制电路控制该电源停止为该RF模块供电。Optionally, the host includes a power supply control circuit and the power supply, the power supply control circuit is connected to the power supply, and the execution module 602 is configured to: control the power supply to stop supplying power to the RF module through the power supply control circuit.
在一种可选方式中,该获取模块601,用于:检测该RF模块是否接收到该主机发送的第二心跳信息;当检测到该RF模块连续n次未接收到该第二心跳信息时,确定该主机与该RF模块的连接状态为连接断开状态,该n为预设的正整数。示例的,该执行模块602,用于:控制该RF模块停止数据输出。In an optional manner, the obtaining module 601 is used to: detect whether the RF module has received the second heartbeat information sent by the host; when it is detected that the RF module has not received the second heartbeat information for n consecutive times , it is determined that the connection state between the host and the RF module is a disconnected state, and the n is a preset positive integer. Exemplarily, the execution module 602 is configured to: control the RF module to stop data output.
图8是本申请实施例提供的另一种通信控制装置60的结构示意图,该装置60还包括:FIG. 8 is a schematic structural diagram of another communication control apparatus 60 provided by an embodiment of the present application, and the apparatus 60 further includes:
第一更新模块603,用于在检测到该RF模块的默认输出状态为开启状态后,将该RF模块的默认输出状态更新为关闭状态。The first update module 603 is configured to update the default output state of the RF module to an off state after detecting that the default output state of the RF module is an on state.
图9是本申请实施例提供的又一种通信控制装置60的结构示意图,该装置60还包括:FIG. 9 is a schematic structural diagram of another communication control apparatus 60 provided by an embodiment of the present application, and the apparatus 60 further includes:
第一读取模块604,用于读取第一标志寄存器,该第一标志寄存器用于指示该RF模块是否支持心跳机制;第二更新模块605,用于在读取得到该第一标志寄存器指示该RF模块支持心跳机制,且接收到指示开启心跳机制的指令后,将心跳开关寄存器的状态更新为开启状态,该心跳开关寄存器的开启状态用于指示开启心跳机制;第二读取模块606,用于读取第二标志寄存器,该第二标志寄存器用于指示该RF模块的心跳机制是否开启成功;第三读取模块607,用于在读取得到该第二标志寄存器指示该RF模块的心跳机制开启成功后,读取该RF模块的心跳寄存器,该心跳寄存器用于写入该心跳机制执行过程中产生的心跳信息。The first reading module 604 is used to read the first flag register, which is used to indicate whether the RF module supports the heartbeat mechanism; the second update module 605 is used to obtain the first flag register indication after reading The RF module supports the heartbeat mechanism, and after receiving the instruction indicating that the heartbeat mechanism is turned on, the state of the heartbeat switch register is updated to the on state, and the on state of the heartbeat switch register is used to indicate that the heartbeat mechanism is turned on; the second reading module 606, For reading the second flag register, the second flag register is used to indicate whether the heartbeat mechanism of the RF module is turned on successfully; the third reading module 607 is used to obtain the second flag register to indicate the RF module after reading. After the heartbeat mechanism is successfully enabled, the heartbeat register of the RF module is read, and the heartbeat register is used to write the heartbeat information generated during the execution of the heartbeat mechanism.
图10是本申请实施例提供的另一种ONU70的结构示意图,该ONU70包括:处理器701、存储器702、通信接口703和总线704。FIG. 10 is a schematic structural diagram of another ONU 70 provided by an embodiment of the present application. The ONU 70 includes a processor 701 , a memory 702 , a communication interface 703 and a bus 704 .
ONU70中,处理器701的数量可以是一个或多个,图10仅示意了其中一个处理器701。可选地,处理器701,可以是中央处理器(central processing unit,CPU)。如果ONU70具有多个处理器701,多个处理器701的类型可以不同,或者可以相同。可选地,ONU70的多个处理器701还可以集成为多核处理器。In the ONU 70, the number of processors 701 may be one or more, and FIG. 10 only illustrates one of the processors 701. Optionally, the processor 701 may be a central processing unit (central processing unit, CPU). If the ONU 70 has multiple processors 701, the multiple processors 701 may be of different types, or may be the same. Optionally, the multiple processors 701 of the ONU 70 may also be integrated into a multi-core processor.
存储器702存储计算机指令和数据;存储器702可以存储实现本申请提供的通信控制方法所需的计算机指令和数据,例如,存储器702存储用于实现通信控制方法的步骤的指令。存储器702可以是以下存储介质的任一种或任一种组合:非易失性存储器(例如只读存储器(ROM)、固态硬盘(SSD)、硬盘(HDD)、光盘),易失性存储器。The memory 702 stores computer instructions and data; the memory 702 may store computer instructions and data required to implement the communication control method provided by the present application, for example, the memory 702 stores instructions for implementing the steps of the communication control method. The memory 702 may be any one or any combination of the following storage media: non-volatile memory (eg read only memory (ROM), solid state drive (SSD), hard disk (HDD), optical disk), volatile memory.
通信接口703可以是以下器件的任一种或任一种组合:网络接口(例如以太网接口)、无线网卡等具有网络接入功能的器件。The communication interface 703 may be any one or any combination of the following devices: a network interface (eg, an Ethernet interface), a wireless network card, and other devices with a network access function.
通信接口703用于ONU70与其它计算机设备或者终端进行数据通信。The communication interface 703 is used for data communication between the ONU 70 and other computer equipment or terminals.
总线704可以将处理器701与存储器702和通信接口703连接。这样,通过总线704,处理器701可以访问存储器702,还可以利用通信接口703与其它计算机设备或者终端进行数据交互。A bus 704 may connect the processor 701 with the memory 702 and the communication interface 703 . In this way, through the bus 704, the processor 701 can access the memory 702, and can also use the communication interface 703 to perform data interaction with other computer devices or terminals.
该ONU70还包括:BOB模块705、主机706以及RF模块707,所述主机706与所述BOB模块705连接。示例的,前述处理器701、存储器702、通信接口703和总线704均可以集成在主机706中。The ONU 70 further includes a BOB module 705 , a host 706 and an RF module 707 , and the host 706 is connected to the BOB module 705 . For example, the aforementioned processor 701 , memory 702 , communication interface 703 and bus 704 may all be integrated in the host 706 .
示例的,本申请实施例提供的ONU的结构还可以参考前述图2、图3和图5的ONU中的结构。Illustratively, for the structure of the ONU provided by the embodiment of the present application, reference may also be made to the structure of the ONU in the foregoing FIG. 2 , FIG. 3 , and FIG. 5 .
在本申请中,ONU70执行存储器702中的计算机指令,使得ONU70实现本申请提供的通信控制方法。In this application, the ONU 70 executes the computer instructions in the memory 702, so that the ONU 70 implements the communication control method provided in this application.
如前所述,主机706以及RF模块707通过连接器连接,该连接器包括用于传输信息的有效连接结构和不用于传输信息的冗余连接结构。例如,有效连接结构为用于传输信息的排针,冗余连接结构为冗余排针,如此,连接器可以包括双排针;或者有效连接结构为用于传输信息的排线,冗余连接结构为冗余排线,如此,连接器可以包括双排线。其中,有效连接结构和容易连接结构可以一一交错排列或者两两交错排列或者不规律排列,如此给想要对ONU进行攻击的他人制造困难,从而提高攻击难度,减少攻击成功概率。As mentioned above, the host 706 and the RF module 707 are connected through a connector, and the connector includes an effective connection structure for transmitting information and a redundant connection structure not used for transmitting information. For example, the effective connection structure is a pin header for transmitting information, and the redundant connection structure is a redundant pin header. Thus, the connector may include double pin headers; or the effective connection structure is a cable for transmitting information, and the redundant connection structure is The structure is redundant cable, so the connector can include double cable. Among them, the effective connection structure and the easy connection structure can be staggered one by one or two by two or irregularly arranged, so as to create difficulties for others who want to attack the ONU, thereby increasing the difficulty of the attack and reducing the probability of successful attack.
本申请实施例还提供一种通信系统,该通信系统包括本申请实施例提供的ONU,该ONU可以包括前述通信控制装置。该通信系统还可以包括广播电视数据发射机、OLT和处理模块等。该通信系统的结构可以参考前述图1中通信系统的结构,本申请实施例对此不做赘述。An embodiment of the present application further provides a communication system, where the communication system includes the ONU provided by the embodiment of the present application, and the ONU may include the foregoing communication control apparatus. The communication system may also include a broadcast television data transmitter, an OLT, a processing module, and the like. For the structure of the communication system, reference may be made to the structure of the communication system in the foregoing FIG. 1 , which is not described repeatedly in this embodiment of the present application.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器,上述指令可由服务器的处理器执行以完成本申请各个实施例所示的通信控制方法。例如,该非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory including instructions, is also provided, and the instructions can be executed by a processor of a server to complete the communication control shown in the various embodiments of the present application. method. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现,所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机的可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质,或者半导体介质(例如固态硬盘)等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product comprising one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, a computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website, computer, server, or data The center transmits to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, etc. that includes one or more available media integrated. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media, or semiconductor media (eg, solid state drives), and the like.
在本申请中,术语“第一”、“第二”和“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。术语“至少一个”表示1个或多个,术语“多个”指两个 或两个以上,除非另有明确的限定。A参考B,指的是A与B相同或者A为B的简单变形。In this application, the terms "first", "second" and "third" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The term "at least one" refers to one or more, and the term "plurality" refers to two or more, unless expressly limited otherwise. A refers to B, which means that A is the same as B or A is a simple variation of B.
需要说明的是:上述实施例提供的通信控制装置在执行该通信控制方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的通信控制装置与通信控制方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the communication control apparatus provided in the above-mentioned embodiments executes the communication control method, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions may be allocated to different functional modules as required. To complete, that is, to divide the internal structure of the device into different functional modules to complete all or part of the functions described above. In addition, the communication control apparatus and the communication control method embodiments provided by the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, which will not be repeated here.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above embodiments can be completed by hardware, or can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, etc.
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only optional embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the protection of the present application. within the range.

Claims (19)

  1. 一种通信控制方法,其特征在于,应用于光网络单元ONU,所述方法包括:A communication control method, characterized in that, applied to an optical network unit ONU, the method comprising:
    获取主机与射频RF模块的连接状态,所述主机与光器件在板BOB模块连接;Obtain the connection status between the host and the radio frequency RF module, and the host is connected with the optical device on-board BOB module;
    在确定所述主机与所述RF模块的连接状态为连接断开状态后,由所述ONU中的至少一个模块执行发出状态指示信息、停止为所述RF模块供电和停止所述RF模块的数据输出中的至少一种,所述状态指示信息用于指示所述主机与所述RF模块的连接状态为连接断开状态。After it is determined that the connection state between the host and the RF module is a disconnected state, at least one module in the ONU executes sending status indication information, stopping power supply to the RF module and stopping the data of the RF module At least one of the outputs, the state indication information is used to indicate that the connection state between the host and the RF module is a disconnected state.
  2. 根据权利要求1所述的方法,其特征在于,所述获取主机与射频RF模块的连接状态,包括:The method according to claim 1, wherein the acquiring the connection status between the host and the radio frequency RF module comprises:
    通过心跳机制获取所述主机与所述RF模块的连接状态。The connection status between the host and the RF module is acquired through a heartbeat mechanism.
  3. 根据权利要求2所述的方法,其特征在于,所述通过心跳机制获取所述主机与所述RF模块的连接状态,包括:The method according to claim 2, wherein the acquiring the connection status between the host and the RF module through a heartbeat mechanism comprises:
    检测所述主机是否接收到所述RF模块发送的第一心跳信息;Detecting whether the host receives the first heartbeat information sent by the RF module;
    当检测到所述主机连续m次未接收到所述第一心跳信息时,确定所述主机与所述RF模块的连接状态为连接断开状态,所述m为预设的正整数。When it is detected that the host has not received the first heartbeat information for m consecutive times, it is determined that the connection state between the host and the RF module is a disconnected state, where m is a preset positive integer.
  4. 根据权利要求1所述的方法,其特征在于,所述获取主机与射频RF模块的连接状态,包括:The method according to claim 1, wherein the acquiring the connection status between the host and the radio frequency RF module comprises:
    通过所述主机与所述RF模块之间的控制线读取所述RF模块的信息;Read the information of the RF module through the control line between the host and the RF module;
    当读取所述RF模块的信息为空时,确定所述主机与射频RF模块的连接状态为连接断开状态。When the information read from the RF module is empty, it is determined that the connection state between the host and the radio frequency RF module is a disconnected state.
  5. 根据权利要求3或4所述的方法,其特征在于,所述发出状态指示信息包括:控制所述主机发出状态指示信息;The method according to claim 3 or 4, wherein the sending the status indication information comprises: controlling the host to send the status indication information;
    所述停止为所述RF模块供电包括:控制所述ONU中的电源停止为所述RF模块供电。The stopping of supplying power to the RF module includes: controlling the power supply in the ONU to stop supplying power to the RF module.
  6. 根据权利要求2所述的方法,其特征在于,所述通过心跳机制获取所述主机与所述RF模块的连接状态,包括:The method according to claim 2, wherein the acquiring the connection status between the host and the RF module through a heartbeat mechanism comprises:
    检测所述RF模块是否接收到所述主机发送的第二心跳信息;Detecting whether the RF module receives the second heartbeat information sent by the host;
    当检测到所述RF模块连续n次未接收到所述第二心跳信息时,确定所述主机与所述RF模块的连接状态为连接断开状态,所述n为预设的正整数;When it is detected that the RF module has not received the second heartbeat information for n consecutive times, it is determined that the connection state between the host and the RF module is a disconnected state, and the n is a preset positive integer;
    所述停止所述RF模块的数据输出包括:控制所述RF模块停止数据输出。The stopping the data output of the RF module includes: controlling the RF module to stop the data output.
  7. 根据权利要求1至6任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 6, wherein the method further comprises:
    在检测到所述RF模块的默认输出状态为开启状态后,将所述RF模块的默认输出 状态更新为关闭状态。After detecting that the default output state of the RF module is an on state, the default output state of the RF module is updated to an off state.
  8. 根据权利要求2、3或6所述的方法,其特征在于,所述方法还包括:The method according to claim 2, 3 or 6, wherein the method further comprises:
    读取第一标志寄存器,所述第一标志寄存器用于指示所述RF模块是否支持心跳机制;Read the first flag register, the first flag register is used to indicate whether the RF module supports the heartbeat mechanism;
    在读取得到所述第一标志寄存器指示所述RF模块支持心跳机制,且接收到指示开启心跳机制的指令后,将心跳开关寄存器的状态更新为开启状态,所述心跳开关寄存器的开启状态用于指示开启心跳机制;After reading the first flag register indicating that the RF module supports the heartbeat mechanism, and after receiving the instruction indicating to enable the heartbeat mechanism, the state of the heartbeat switch register is updated to the open state, and the open state of the heartbeat switch register is determined by To instruct to open the heartbeat mechanism;
    读取第二标志寄存器,所述第二标志寄存器用于指示所述RF模块的心跳机制是否开启成功;Read the second flag register, the second flag register is used to indicate whether the heartbeat mechanism of the RF module is successfully turned on;
    在读取得到所述第二标志寄存器指示所述RF模块的心跳机制开启成功后,读取所述RF模块的心跳寄存器,所述心跳寄存器用于写入所述心跳机制执行过程中产生的心跳信息。After reading the second flag register indicating that the heartbeat mechanism of the RF module is successfully enabled, read the heartbeat register of the RF module, and the heartbeat register is used to write the heartbeat generated during the execution of the heartbeat mechanism. information.
  9. 一种通信控制装置,其特征在于,应用于光网络单元ONU,所述装置包括:A communication control device, characterized in that, applied to an optical network unit ONU, the device comprising:
    获取模块,用于获取主机与射频RF模块的连接状态,所述主机与光器件在板BOB模块连接;an acquisition module for acquiring the connection status between the host and the radio frequency RF module, where the host is connected to the optical device on-board BOB module;
    执行模块,用于在确定所述主机与所述RF模块的连接状态为连接断开状态后,由所述ONU中的至少一个模块执行发出状态指示信息、停止为所述RF模块供电和停止所述RF模块的数据输出中的至少一种,所述状态指示信息用于指示所述主机与所述RF模块的连接状态为连接断开状态。The execution module is used for, after determining that the connection state between the host and the RF module is a disconnected state, at least one module in the ONU executes sending status indication information, stops supplying power to the RF module, and stops all modules. at least one of the data outputs of the RF module, and the state indication information is used to indicate that the connection state between the host and the RF module is a disconnected state.
  10. 根据权利要求9所述的装置,其特征在于,所述获取模块,用于:The device according to claim 9, wherein the acquisition module is used for:
    通过心跳机制获取所述主机与所述RF模块的连接状态。The connection status between the host and the RF module is acquired through a heartbeat mechanism.
  11. 根据权利要求10所述的装置,其特征在于,所述获取模块,用于:The device according to claim 10, wherein the acquisition module is configured to:
    检测所述主机是否接收到所述RF模块发送的第一心跳信息;Detecting whether the host receives the first heartbeat information sent by the RF module;
    当检测到所述主机连续m次未接收到所述第一心跳信息时,确定所述主机与所述RF模块的连接状态为连接断开状态,所述m为预设的正整数。When it is detected that the host has not received the first heartbeat information for m consecutive times, it is determined that the connection state between the host and the RF module is a disconnected state, where m is a preset positive integer.
  12. 根据权利要求9所述的装置,其特征在于,所述获取模块,用于:The device according to claim 9, wherein the acquisition module is used for:
    通过所述主机与所述RF模块之间的控制线读取所述RF模块的信息;Read the information of the RF module through the control line between the host and the RF module;
    当读取所述RF模块的信息为空时,确定所述主机与射频RF模块的连接状态为连接断开状态。When the information read from the RF module is empty, it is determined that the connection state between the host and the radio frequency RF module is a disconnected state.
  13. 根据权利要求11或12所述的装置,其特征在于,所述执行模块,用于:The device according to claim 11 or 12, wherein the execution module is configured to:
    控制所述主机发出状态指示信息;controlling the host to send status indication information;
    和/或,控制所述ONU中的电源停止为所述RF模块供电。And/or, controlling the power supply in the ONU to stop supplying power to the RF module.
  14. 根据权利要求10所述的装置,其特征在于,所述获取模块,用于:The device according to claim 10, wherein the acquisition module is configured to:
    检测所述RF模块是否接收到所述主机发送的第二心跳信息;Detecting whether the RF module receives the second heartbeat information sent by the host;
    当检测到所述RF模块连续n次未接收到所述第二心跳信息时,确定所述主机与所述RF模块的连接状态为连接断开状态,所述n为预设的正整数;When it is detected that the RF module has not received the second heartbeat information for n consecutive times, it is determined that the connection state between the host and the RF module is a disconnected state, and the n is a preset positive integer;
    所述执行模块,用于:控制所述RF模块停止数据输出。The execution module is configured to: control the RF module to stop data output.
  15. 根据权利要求9至14任一所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 9 to 14, wherein the device further comprises:
    第一更新模块,用于在检测到所述RF模块的默认输出状态为开启状态后,将所述RF模块的默认输出状态更新为关闭状态。The first update module is configured to update the default output state of the RF module to an off state after detecting that the default output state of the RF module is an on state.
  16. 根据权利要求10、11或14所述的装置,其特征在于,所述装置还包括:The device according to claim 10, 11 or 14, wherein the device further comprises:
    第一读取模块,用于读取第一标志寄存器,所述第一标志寄存器用于指示所述RF模块是否支持心跳机制;The first reading module is used to read the first flag register, and the first flag register is used to indicate whether the RF module supports the heartbeat mechanism;
    第二更新模块,用于在读取得到所述第一标志寄存器指示所述RF模块支持心跳机制,且接收到指示开启心跳机制的指令后,将心跳开关寄存器的状态更新为开启状态,所述心跳开关寄存器的开启状态用于指示开启心跳机制;The second update module is configured to update the state of the heartbeat switch register to an open state after reading the first flag register indicating that the RF module supports the heartbeat mechanism, and after receiving an instruction instructing to enable the heartbeat mechanism, and the The open state of the heartbeat switch register is used to indicate that the heartbeat mechanism is turned on;
    第二读取模块,用于读取第二标志寄存器,所述第二标志寄存器用于指示所述RF模块的心跳机制是否开启成功;The second reading module is used to read the second flag register, and the second flag register is used to indicate whether the heartbeat mechanism of the RF module is successfully enabled;
    第三读取模块,用于在读取得到所述第二标志寄存器指示所述RF模块的心跳机制开启成功后,读取所述RF模块的心跳寄存器,所述心跳寄存器用于写入所述心跳机制执行过程中产生的心跳信息。The third reading module is configured to read the heartbeat register of the RF module after the second flag register indicates that the heartbeat mechanism of the RF module is successfully enabled, and the heartbeat register is used to write the heartbeat register of the RF module. Heartbeat information generated during the execution of the heartbeat mechanism.
  17. 一种光网络单元ONU,其特征在于,所述ONU包括:光器件在板BOB模块、主机以及射频RF模块,所述主机与所述BOB模块连接,所述ONU还包括:An optical network unit ONU, characterized in that the ONU comprises: an optical device on-board BOB module, a host and a radio frequency RF module, the host is connected to the BOB module, and the ONU further comprises:
    处理器和存储器;processor and memory;
    所述存储器,用于存储计算机指令;the memory for storing computer instructions;
    所述处理器,用于执行所述存储器存储的计算机指令,使得所述ONU执行权利要求1至8任一所述的通信控制方法。The processor is configured to execute the computer instructions stored in the memory, so that the ONU executes the communication control method according to any one of claims 1 to 8.
  18. 根据权利要求17所述的ONU,其特征在于,所述主机与所述RF模块通过连接器连接,所述连接器包括用于传输信息的有效连接结构和不用于传输信息的冗余连接结构。The ONU according to claim 17, wherein the host and the RF module are connected through a connector, and the connector includes an effective connection structure for transmitting information and a redundant connection structure not used for transmitting information.
  19. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括计算机指令,所述计算机指令指示计算机设备执行权利要求1至8任一所述的通信控制方法。A computer-readable storage medium, characterized in that the computer-readable storage medium comprises computer instructions, the computer instructions instructing a computer device to execute the communication control method according to any one of claims 1 to 8.
PCT/CN2021/129064 2020-11-18 2021-11-05 Communication control method and apparatus, and optical network unit WO2022105628A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011294953.5A CN114520892B (en) 2020-11-18 2020-11-18 Communication control method and device and optical network unit
CN202011294953.5 2020-11-18

Publications (1)

Publication Number Publication Date
WO2022105628A1 true WO2022105628A1 (en) 2022-05-27

Family

ID=81595427

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/129064 WO2022105628A1 (en) 2020-11-18 2021-11-05 Communication control method and apparatus, and optical network unit

Country Status (2)

Country Link
CN (1) CN114520892B (en)
WO (1) WO2022105628A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277585A (en) * 2017-08-17 2017-10-20 四川九州电子科技股份有限公司 Support CATV, ONT, WIFI pattern of fusion set top box
US20190104044A1 (en) * 2017-09-29 2019-04-04 Jigang Yang Heart beat monitoring for broadband access devices and enterprise devices
CN110875859A (en) * 2018-09-04 2020-03-10 北京京东尚科信息技术有限公司 Method and system for monitoring network connection abnormity
CN211959225U (en) * 2020-05-13 2020-11-17 北京太平洋莱特科技有限公司 Optical network unit capable of controlling CATV state

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030182665A1 (en) * 2002-03-20 2003-09-25 Se-Oh Kwon Apparatus and method for managing cable modem based on web
EP2126779A4 (en) * 2006-12-15 2010-03-31 Bluebird Soft Co Ltd Rfid device and methods for controlling power supply according to connection with host and operation mode
CN106470068A (en) * 2015-08-21 2017-03-01 中兴通讯股份有限公司 A kind of reverse method of Gbit passive optical network system, changeover apparatus and equipment
CN105101411B (en) * 2015-09-07 2018-10-09 太原科技大学 Self-healing is accurately positioned substation, system and link self-healing method
EP3319258B1 (en) * 2015-12-23 2019-11-27 Huawei Technologies Co., Ltd. Service take-over method and storage device, and service take-over apparatus
CN108259655A (en) * 2016-12-29 2018-07-06 中兴通讯股份有限公司 A kind of communication means and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277585A (en) * 2017-08-17 2017-10-20 四川九州电子科技股份有限公司 Support CATV, ONT, WIFI pattern of fusion set top box
US20190104044A1 (en) * 2017-09-29 2019-04-04 Jigang Yang Heart beat monitoring for broadband access devices and enterprise devices
CN110875859A (en) * 2018-09-04 2020-03-10 北京京东尚科信息技术有限公司 Method and system for monitoring network connection abnormity
CN211959225U (en) * 2020-05-13 2020-11-17 北京太平洋莱特科技有限公司 Optical network unit capable of controlling CATV state

Also Published As

Publication number Publication date
CN114520892A (en) 2022-05-20
CN114520892B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
US8467303B2 (en) Method and apparatus for preventing network conflict
US8260977B2 (en) CEC communications device, audio and visual device using thereof, and CEC communications method
US20080191851A1 (en) Power line communication apparatus, registration status confirmation method, and power line communication system
US20070053285A1 (en) Method And Apparatus For Recovery From Faults In A Loop Network
JP2013513193A (en) Network for active cables.
EP3660691A1 (en) Method, apparatus and device for rate adjustment of usb data transmission, and storage medium
US8224182B2 (en) Switch device, connection system and connection control method
WO2022105628A1 (en) Communication control method and apparatus, and optical network unit
US20060087975A1 (en) Methods and systems for providing redundancy protection in a Y-cable-based signal transmitter arrangement
US20080091819A1 (en) Ethernet Ping Watchdog
US20160156518A1 (en) Server for automatically switching sharing-network
US7995598B2 (en) Small form factor pluggable (SFP) status indicator
TW201322660A (en) Optical fiber transmission switching device and control method thereof
WO2024066449A1 (en) Communication fault processing method and system, and device
EP2177999B1 (en) Terminal device
TW201423409A (en) Management device for managing multiple control cards and management system and control card using the management device
JP4166708B2 (en) DATA COMMUNICATION DEVICE, DATA COMMUNICATION SYSTEM, DATA COMMUNICATION METHOD, DATA COMMUNICATION PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM
US10110304B2 (en) Communication device and inspection method
Cisco Chapter 4 - Troubleshooting
JP7195333B2 (en) Submarine cable failure judgment method and device
CN111858264A (en) Method, system, equipment and medium for preventing cable from being pulled out mistakenly
US20160132416A1 (en) Communication monitoring system
WO2019242266A1 (en) Port connection state monitoring system and method
US8775695B2 (en) Specific identification information management device, information processing device, and specific identification information setting method
JP2006178889A (en) Connector device having easy installation connection guidance function

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21893775

Country of ref document: EP

Kind code of ref document: A1