WO2022217786A1 - Cross-network communicaton method, apparatus, and system for multi-bus network, and storage medium - Google Patents

Cross-network communicaton method, apparatus, and system for multi-bus network, and storage medium Download PDF

Info

Publication number
WO2022217786A1
WO2022217786A1 PCT/CN2021/109500 CN2021109500W WO2022217786A1 WO 2022217786 A1 WO2022217786 A1 WO 2022217786A1 CN 2021109500 W CN2021109500 W CN 2021109500W WO 2022217786 A1 WO2022217786 A1 WO 2022217786A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
pon
olt port
pon network
bridge
Prior art date
Application number
PCT/CN2021/109500
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 WO2022217786A1 publication Critical patent/WO2022217786A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40169Flexible bus arrangements
    • H04L12/40176Flexible bus arrangements involving redundancy
    • H04L12/40189Flexible bus arrangements involving redundancy by using a plurality of bus systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/403Bus networks with centralised control, e.g. polling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a method, apparatus, system, device and storage medium for cross-network communication in a multi-bus network.
  • Passive Optical Network in optical network communication technology does not contain any electronic devices and electronic power supplies, which can avoid electromagnetic interference and lightning effects of external equipment. , reduce the failure rate of lines and external equipment, and improve system reliability.
  • a typical PON network includes an OLT optical module and multiple ONU modules, and uses a bus, the downlink adopts the form of broadcast, and the uplink adopts the form of time division multiplexing to realize network communication.
  • a multi-bus network cross-network communication method is applied to a multi-bus network cross-network communication system
  • the multi-bus network cross-network communication system includes a bridge and a PON network, wherein the bridge includes an OLT port, and the The OLT port includes a first OLT port and a second OLT port, the PON network includes a first PON network and a second PON network, the first PON network corresponds to the first OLT port, and the second PON network Corresponding to the second OLT port; the method includes:
  • the method further includes:
  • the network link status of the OLT port in the PON network and the bridge is detected;
  • the ONU port corresponding to the ONU unit of the NC device is disabled, and the connection port of the PON network is replaced by the network
  • the OLT port in the bridge is switched to the standby OLT port of the NC device.
  • the detecting whether the data frame needs to be transmitted to the second PON network includes:
  • Time synchronization is performed on the NC devices in the first PON network and the second PON network;
  • a message configuration is performed on the NC device, and when the NC device in the first PON network sends a message to the NT device in the second PON network within a preset time period, the preset time period A null message is configured for the NC device in the second PON network.
  • broadcasting the data frame to the second PON network through the second OLT port in the bridge includes:
  • the data frame is broadcast to the second PON network through the second OLT port.
  • a multi-bus network cross-network communication device the device is applied to a multi-bus network cross-network communication system, the multi-bus network cross-network communication system includes a bridge and a PON network, wherein the bridge includes an OLT port, and the The OLT port includes a first OLT port and a second OLT port, the PON network includes a first PON network and a second PON network, the first PON network corresponds to the first OLT port, and the second PON network Corresponding to the second OLT port; the device includes:
  • a single network transmission module configured to receive data frames through the first OLT port in the bridge, and broadcast the data frames to the first PON network;
  • a cross-network transmission module is used to detect whether the data frame needs to be transmitted to the second PON network, and if necessary, broadcast the data frame to the second OLT port in the bridge Two PON networks.
  • a multi-bus network cross-network communication system comprising:
  • the network bridge includes an OLT port, and the OLT port includes a first OLT port and a second OLT port;
  • the PON network includes a first PON network and a second PON network; the first OLT port is connected to the first PON network through an optical splitter, and the second OLT port is connected to the second PON through an optical splitter network;
  • the bridge is configured to receive data frames through the first OLT port, broadcast the data frames to the first PON network, and detect whether the data frames need to be transmitted to the second PON network, if necessary , the data frame is broadcast to the second PON network through the second OLT port in the bridge.
  • the NC device in the PON network corresponds to a spare OLT port, and the spare OLT port is connected to the corresponding PON network through the optical splitter; the NC device is used when the network link The PON network is connected through the standby OLT port when the state is in the disconnected state for a continuous preset number of operation cycles.
  • the NC device corresponds to one ONU port
  • the standby OLT port is connected to the ONU port of the NC device through the optical splitter.
  • a computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the methods described above when the processor executes the computer program.
  • the above-mentioned multi-bus network cross-network communication method, device, system, computer equipment and storage medium receive data frames through the first OLT port in the bridge, broadcast the data frames to the first PON network, and detect that the data frames need to be sent When transmitting to the second PON network, the data frame is broadcast to the second PON network through the second OLT port, so that data transmission conflicts between networks can be avoided and interconnected communication of multiple PON networks can be realized.
  • FIG. 1 is a schematic structural diagram of a multi-bus network cross-network communication system according to an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a multi-bus network cross-network communication method according to an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of an off-grid communication method in an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of message configuration in an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of time synchronization in an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of message arrangement in an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of a possible implementation manner of step S300 according to an embodiment of the present application.
  • FIG. 8 is a structural block diagram of a multi-bus network cross-network communication device according to an embodiment of the present application.
  • FIG. 9 is an internal structure diagram of a computer device in an embodiment of the present application.
  • a multi-bus network cross-network communication system which specifically includes:
  • the network bridge includes an OLT port, and the OLT port includes a first OLT port and a second OLT port;
  • the PON network includes a first PON network and a second PON network; the first OLT port is connected to the first PON network through an optical splitter, and the second OLT port is connected to the second PON network through an optical splitter;
  • the bridge is used to receive the data frame through the first OLT port and broadcast the data frame to the first PON network.
  • the bridge detects whether the data frame needs to be transmitted to the second PON network.
  • the OLT port broadcasts the data frame to the second PON network.
  • the multi-bus network cross-network communication system includes a network bridge, and a plurality of PON networks connected to the network bridge.
  • a plurality of OLT (Optical Line Terminal) ports connected to the PON network are provided in the bridge, and the OLT ports in the bridge communicate with the NC (Network Controller, network) in the corresponding PON network through the optical splitter
  • NC Network Controller, network
  • the ONU (Optical Network Unit, optical network unit) port of the controller) device is connected to realize the connection between the bridge and the PON network.
  • the multi-bus network cross-network communication system receives data frames through the first OLT port, broadcasts the data frames to the first PON network, and transmits the data frames to the second PON network through the second OLT port in the bridge when the data frame needs to be transmitted to the second PON network. , broadcast the data frame to the second PON network.
  • the NC device in the PON network corresponds to a spare OLT port, and the spare OLT port is connected to the corresponding PON network through an optical splitter; In the disconnected state, connect to the PON network through the spare OLT port.
  • the NC device in the PON network can also be connected to the spare OLT port in the NC device.
  • the OLT port in the bridge is unavailable or does not need to be connected to the bridge
  • a single PON network can realize the normal operation of the PON network by connecting with the standby OLT port.
  • the spare OLT port can be connected to the corresponding PON network through an optical splitter.
  • the NC device corresponds to one ONU port, and the standby OLT port is connected to the ONU port of the NC device through an optical splitter.
  • the above-mentioned multi-bus network cross-network communication system can realize the interconnection of multiple PON networks by adding network bridges.
  • a single PON network can operate normally in a single subnet after being separated from the entire network.
  • a method for multi-bus network cross-network communication is provided, and the method is applied to the multi-bus network cross-network communication system in FIG. 1 as an example to illustrate, including the following steps:
  • Step S100 receiving the data frame through the first OLT port in the bridge, and broadcasting the data frame to the first PON network.
  • Step S200 detecting whether the data frame needs to be transmitted to the second PON network, and if necessary, broadcasting the data frame to the second PON network through the second OLT port in the bridge.
  • the bridge includes an OLT port, the OLT port includes a first OLT port and a second OLT port, the PON network includes a first PON network and a second PON network, the first PON network corresponds to the first OLT port, and the second PON network corresponds to The second OLT port corresponds.
  • initialize the address segment of the PON network corresponding to each port of the bridge configure the address segment of the PON network corresponding to at least one OLT port in the bridge, and establish the connection relationship between the OLT port and each PON network, so that the PON network
  • the first PON network corresponds to the first OLT port in the bridge
  • the second PON network corresponds to the second OLT port in the bridge.
  • the first OLT port in the bridge receives the downlink data frame
  • the first OLT port broadcasts the data frame to the corresponding first PON network, and at the same time, detects whether the data frame needs to be transmitted to The second PON network, if not needed, discards the current data frame, if necessary, forwards the data frame to the second OLT port through the bridge, and broadcasts the data frame to the second PON network through the second OLT port.
  • the bridge OLT port After the bridge OLT port receives the FC frame, it broadcasts the FC frame to the current PON network, and at the same time judges whether the current FC frame is an FC frame transmitted to other PON networks, and if not, then broadcasts the FC frame to the current PON network. The FC frame is discarded after being broadcast into the current PON network. If the current FC frame is an FC frame that needs to be transmitted to other PON networks, the FC frame is forwarded to the OLT port corresponding to the other PON network, and the FC frame enters the other PON network through the OLT port.
  • the above-mentioned multi-bus network cross-network communication method receives the data frame through the first OLT port in the bridge, broadcasts the data frame to the first PON network, and when it is detected that the data frame needs to be transmitted to the second PON network, transmits the data frame through the network.
  • the second OLT port in the bridge broadcasts the data frame to the second PON network, thereby avoiding data transmission conflicts between networks and realizing interconnection and communication of multiple PON networks.
  • a kind of off-grid communication mode is provided, and the method is applied to the multi-bus network inter-network communication system in Figure 1 as an example to illustrate, including the following steps:
  • Step S410 through the ONU unit of the NC device in the PON network, detect the network link status of the PON network and the OLT port in the bridge.
  • Step S420 when the network link state is disconnected in the continuous preset number of operating cycles, then disable the ONU port corresponding to the ONU unit of the NC equipment, and connect the connection port of the PON network by the OLT port in the bridge. Switch to the alternate OLT port of the NC device.
  • the preset number of running cycles is a predetermined number of running cycles, which can be one stack running cycle, three stack running cycles, and five stack running cycles, and the time when the link state is in the disconnected state reaches the preset number of times.
  • the PON network can be considered to be off the bridge.
  • an ONU unit is set for the NC equipment in the PON network, and the network link state of the PON network and the OLT port in the bridge is detected by the ONU unit.
  • the connection port is switched from the OLT port in the bridge to the standby OLT port of the NC device, so that the NC device communicates with the NT (Network Terminal, network terminal) device through the standby OLT port.
  • NT Network Terminal, network terminal
  • the ONU port corresponding to the ONU unit of the NC equipment can be disabled, and the connection port of the PON network can be changed from The OLT port in the bridge is switched to the standby OLT port of the NC device, so that the NC device communicates with the NT (Network Terminal, network terminal) device through the standby OLT port.
  • NT Network Terminal, network terminal
  • the NC device includes a spare OLT port, and the spare OLT port is connected to the input of the optical splitter, and the connection relationship is shown in FIG. 1 .
  • the ONU unit of the NC device disables the ONU port of the NC device after judging the three cycles of the link port, and switches the connection with the OLT port of the bridge to the standby OLT port, so that the NC The standby OLT port of the device is connected to the network, and the NC device realizes the data downlink function of the OLT unit.
  • the NC device sends commands and receives the data and status of the NT device through the standby OLT port.
  • the network link state of the OLT port in the PON network and the bridge is detected, and when the network link state is disconnected in a continuous preset number of operating cycles In the state, the ONU port corresponding to the ONU unit of the NC equipment is disabled, and the connection port of the PON network is switched from the OLT port in the bridge to the standby OLT port of the NC equipment. Therefore, it can be realized that a single PON network can operate normally in a single subnet after it is separated from the entire multi-bus network inter-network communication system by means of a spare OLT port.
  • a message configuration method is provided, and the method is applied to the multi-bus network cross-network communication system in FIG. 1 as an example to illustrate, including the following steps:
  • Step S301 time synchronization is performed on the NC devices in the first PON network and the second PON network.
  • Step S302 according to the time synchronization result, perform message configuration on the NC equipment, when the NC equipment in the first PON network sends a message to the NT equipment in the second PON network within a preset time period, it is the second PON within the preset time period.
  • NC devices in the network configure empty messages.
  • time synchronization is performed on the NC devices in the first PON network and the second PON network.
  • the bridge device performs time synchronization on the NC device nodes of the FC-EA-1553 in each PON network through the class 1558 process, and the synchronization process is initiated by the NC device, as shown in Figure 5, which is a schematic diagram of the time synchronization process.
  • message configuration is performed on the NC device.
  • the NC device in the first PON network sends a message to the NT device in the second PON network within the preset time period
  • the message is sent to the NT device in the second PON network within the preset time period.
  • NC device configuration empty message.
  • the time synchronization accuracy of each NC device is at the microsecond level, and each NC device arranges messages according to the time synchronization result.
  • FIG. 6 it is a schematic flowchart of message arrangement.
  • the NC in the PON1 network when the NC in the PON1 network sends a message to the NT in the PON N, the NC in the PON N network configures a null message in the corresponding time period to ensure that there is no upstream data in the current network and avoid upstream data conflicts.
  • time synchronization is performed on the NC devices in the first PON network and the second PON network, and according to the time synchronization result, message configuration is performed on the NC devices.
  • the NT device in the second PON network sends a message
  • a null message is configured for the NC device in the second PON network within a preset time period. Therefore, it can be ensured that there is no upstream data in the current PON network, and conflict of upstream data can be avoided.
  • step S300 it is a schematic flowchart of a possible implementation manner of step S300, including the following steps:
  • Step S310 the data frame received by the first OLT port is forwarded to the second OLT port through the bridge.
  • Step S320 broadcast the data frame to the second PON network through the second OLT port.
  • the data frame received by the first OLT port is forwarded to the second OLT port through the bridge, and then the data frame is broadcast to the corresponding OLT port through the second OLT port.
  • the second PON network when the data frame needs to be transmitted to the second PON network, the data frame received by the first OLT port is forwarded to the second OLT port through the bridge, and then the data frame is broadcast to the corresponding OLT port through the second OLT port.
  • the second PON network when the data frame needs to be transmitted to the second PON network, the data frame received by the first OLT port is forwarded to the second OLT port through the bridge, and then the data frame is broadcast to the corresponding OLT port through the second OLT port.
  • the second PON network when the data frame needs to be transmitted to the second PON network, the data frame received by the first OLT port is forwarded to the second OLT port through the bridge, and then the data frame is broadcast to the corresponding OLT port through the second OLT port.
  • the data frame received by the first OLT port is forwarded to the second OLT port through the bridge, and the data frame is broadcast to the second PON network through the second OLT port.
  • Data forwarding can be realized through bridges, avoiding data transmission conflicts between networks, and realizing interconnected communication of multiple PON networks.
  • FIGS. 2-7 are shown in sequence according to the arrows, these steps are not necessarily executed in the sequence shown by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIGS. 2-7 may include multiple steps or multiple stages. These steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. The execution of these steps or stages The order is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the steps or phases within the other steps.
  • a multi-bus network inter-network communication device is provided.
  • the multi-bus network inter-network communication device is applied to a multi-bus network inter-network communication system.
  • the multi-bus network inter-network communication system includes: A bridge and a PON network, wherein the bridge includes an OLT port, the OLT port includes a first OLT port and a second OLT port, the PON network includes a first PON network and a second PON network, and the first PON network corresponds to the first OLT port , the second PON network corresponds to the second OLT port;
  • the multi-bus network cross-network communication device includes: a single-network transmission module 801 and a cross-network transmission module 802, wherein:
  • a single network transmission module 801, configured to receive the data frame through the first OLT port in the bridge, and broadcast the data frame to the first PON network;
  • the cross-network transmission module 802 is used to detect whether the data frame needs to be transmitted to the second PON network, and if necessary, broadcast the data frame to the second PON network through the second OLT port in the bridge.
  • the multi-bus network cross-network communication device further includes a network switching module for: detecting the network link status of the OLT port in the PON network and the bridge through the ONU unit of the NC device in the PON network; When the network link state is disconnected for a continuous preset number of running cycles, the ONU port corresponding to the ONU unit of the NC device is disabled, and the connection port of the PON network is switched from the OLT port in the bridge to the NC Alternate OLT port for the device.
  • the multi-bus network cross-network communication device further includes a time synchronization module, configured to: perform time synchronization on the NC devices in the first PON network and the second PON network; Message configuration, when the NC device in the first PON network sends a message to the NT device in the second PON network within the preset time period, configure a null message for the NC device in the second PON network within the preset time period.
  • a time synchronization module configured to: perform time synchronization on the NC devices in the first PON network and the second PON network; Message configuration, when the NC device in the first PON network sends a message to the NT device in the second PON network within the preset time period, configure a null message for the NC device in the second PON network within the preset time period.
  • the cross-network transmission module 802 is further configured to: forward the data frame received by the first OLT port to the second OLT port through the bridge; and broadcast the data frame to the second PON through the second OLT port network.
  • Each module in the above multi-bus network cross-network communication device may be implemented in whole or in part by software, hardware and combinations thereof.
  • the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • a computer device is provided, and the computer device may be a terminal, and its internal structure diagram may be as shown in FIG. 9 .
  • the computer equipment includes a processor, memory, a communication interface, a display screen, and an input device connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium, an internal memory.
  • the nonvolatile storage medium stores an operating system and a computer program.
  • the internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium.
  • the communication interface of the computer device is used for wired or wireless communication with an external terminal, and the wireless communication can be realized by WIFI, operator network, NFC (Near Field Communication) or other technologies.
  • WIFI Wireless Fidelity
  • NFC Near Field Communication
  • the computer program is executed by the processor, a multi-bus network cross-network communication method is realized.
  • the display screen of the computer equipment may be a liquid crystal display screen or an electronic ink display screen
  • the input device of the computer equipment may be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the computer equipment , or an external keyboard, trackpad, or mouse.
  • FIG. 9 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
  • a server including a memory and a processor, a computer program is stored in the memory, and the processor implements the following steps when executing the computer program:
  • the processor also implements the following steps when executing the computer program: by the ONU unit of the NC device in the PON network, detecting the network link state of the OLT port in the PON network and the bridge; when the network link state is at When the continuous preset number of running cycles are in the disconnected state, the ONU port corresponding to the ONU unit of the NC equipment is disabled, and the connection port of the PON network is switched from the OLT port in the bridge to the standby OLT port of the NC equipment.
  • the processor further implements the following steps when executing the computer program: time synchronization is performed on the NC devices in the first PON network and the second PON network; according to the time synchronization result, message configuration is performed on the NC devices.
  • time synchronization is performed on the NC devices in the first PON network and the second PON network; according to the time synchronization result, message configuration is performed on the NC devices.
  • the NC device in the PON network sends a message to the NT device in the second PON network within the preset time period, a null message is configured for the NC device in the second PON network within the preset time period.
  • the processor further implements the following steps when executing the computer program: forwarding the data frame received by the first OLT port to the second OLT port through the bridge; broadcasting the data frame to the second OLT port through the second OLT port PON network.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
  • the ONU unit of the NC device in the PON network detects the network link status of the OLT port in the PON network and the bridge; when the network link status When it is disconnected for a continuous preset number of running cycles, the ONU port corresponding to the ONU unit of the NC equipment is disabled, and the connection port of the PON network is switched from the OLT port in the bridge to the standby OLT port of the NC equipment .
  • time synchronization is performed on the NC devices in the first PON network and the second PON network; according to the time synchronization result, message configuration is performed on the NC devices.
  • message configuration is performed on the NC devices.
  • the following steps are further implemented: forwarding the data frame received by the first OLT port to the second OLT port through the bridge; broadcasting the data frame to the second OLT port through the second OLT port Two PON networks.
  • Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, or optical memory, and the like.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • the RAM may be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

Abstract

The present application relates to a cross-network communication method, apparatus, and system for a multi-bus network, a computer device, and a storage medium. The method is applied to the cross-network communication system for the multi-bus network. The cross-network communication system for the multi-bus network comprises a network bridge and a PON network. The network bridge comprises an OLT port. The OLT port comprises a first OLT port and a second OLT port. The PON network comprises a first PON network and a second PON network. The first PON network corresponds to the first OLT port, and the second PON network corresponds to the second OLT port. The method comprises: receiving a data frame by means of the first OLT port in the network bridge, and broadcasting the data frame to the first PON network; detecting whether the data frame needs to be transmitted to the second PON network, and if so, broadcasting the data frame to the second PON network by means of the second OLT port in the network bridge. Therefore, data transmission conflicts between networks can be avoided, thereby achieving interconnected communication between multiple PON networks.

Description

多总线网络跨网通信方法、装置、系统、设备和存储介质Multi-bus network cross-network communication method, apparatus, system, device and storage medium
相关申请Related applications
本申请要求2021年04月13日申请的,申请号为202110392282.4,名称为“多总线网络跨网通信方法、装置、系统、设备和存储介质”的中国专利申请的优先权,在此将其全文引入作为参考。This application claims the priority of the Chinese patent application filed on April 13, 2021, the application number is 202110392282.4, and the title is "Multi-bus network cross-network communication method, device, system, equipment and storage medium", the full text of which is hereby incorporated Incorporated by reference.
技术领域technical field
本申请涉及通信技术领域,特别是涉及一种多总线网络跨网通信方法、装置、系统、设备和存储介质。The present application relates to the field of communication technologies, and in particular, to a method, apparatus, system, device and storage medium for cross-network communication in a multi-bus network.
背景技术Background technique
随着通信技术的发展,出现了光网络通信技术,光网络通信技术中的无源光纤网络(PON,Passive Optical Network)不含有任何电子器件及电子电源,能够避免外部设备的电磁干扰和雷电影响,减少线路和外部设备的故障率,提高系统可靠性。典型的PON网络包括一个OLT光模块和多个ONU模块,并采用一条总线,下行采用广播的形式,上行采用分时复用的形式实现网络通信。With the development of communication technology, optical network communication technology has emerged. Passive Optical Network (PON, Passive Optical Network) in optical network communication technology does not contain any electronic devices and electronic power supplies, which can avoid electromagnetic interference and lightning effects of external equipment. , reduce the failure rate of lines and external equipment, and improve system reliability. A typical PON network includes an OLT optical module and multiple ONU modules, and uses a bus, the downlink adopts the form of broadcast, and the uplink adopts the form of time division multiplexing to realize network communication.
然而,典型的PON网络下行为广播的方式,当需要多个PON网络互联通信时,会引起网络间的数据传输冲突,无法实现多个PON网络的互联通信。However, in a typical PON network down-broadcast mode, when multiple PON networks are required to communicate with each other, data transmission conflicts between the networks will occur, and the interconnection and communication of multiple PON networks cannot be realized.
发明内容SUMMARY OF THE INVENTION
基于此,有必要针对上述技术问题,提供一种能够实现多个PON网络互联通信的多总线网络跨网通信方法、装置、系统、计算机设备和存储介质。Based on this, it is necessary to provide a multi-bus network cross-network communication method, device, system, computer equipment and storage medium capable of realizing interconnection and communication of multiple PON networks in response to the above technical problems.
一种多总线网络跨网通信方法,所述方法应用于多总线网络跨网通信系统,所述多总线网络跨网通信系统包括网桥和PON网络,其中,所述网桥包括OLT端口,所述OLT端口包括第一OLT端口和第二OLT端口,所述PON网络包括第一PON网络和第二PON网络,所述第一PON网络与所述第一OLT端口对应,所述第二PON网络与所述第二OLT端口对应;所述方法包括:A multi-bus network cross-network communication method, the method is applied to a multi-bus network cross-network communication system, the multi-bus network cross-network communication system includes a bridge and a PON network, wherein the bridge includes an OLT port, and the The OLT port includes a first OLT port and a second OLT port, the PON network includes a first PON network and a second PON network, the first PON network corresponds to the first OLT port, and the second PON network Corresponding to the second OLT port; the method includes:
通过所述网桥中的第一OLT端口接收数据帧,并将所述数据帧广播至所述第一PON网络;Receive data frames through the first OLT port in the bridge, and broadcast the data frames to the first PON network;
检测是否需要将所述数据帧传输至所述第二PON网络,若需要,则通过所述网桥中的第二OLT端口,将所述数据帧广播至所述第二PON网络。Detecting whether the data frame needs to be transmitted to the second PON network, and if necessary, broadcasting the data frame to the second PON network through the second OLT port in the bridge.
在其中一个实施例中,所述方法还包括:In one embodiment, the method further includes:
通过所述PON网络中的NC设备的ONU单元,检测所述PON网络与所述网桥中的OLT端口的网络链路状态;Through the ONU unit of the NC equipment in the PON network, the network link status of the OLT port in the PON network and the bridge is detected;
当所述网络链路状态在连续预设数量的运行周期内均为断开状态时,则禁用所述NC设备的ONU单元对应的ONU端口,并将所述PON网络的连接端口由所述网桥中的OLT端口切换至所述NC设备的备用OLT端口。When the network link state is disconnected for a continuous preset number of operating cycles, the ONU port corresponding to the ONU unit of the NC device is disabled, and the connection port of the PON network is replaced by the network The OLT port in the bridge is switched to the standby OLT port of the NC device.
在其中一个实施例中,所述检测是否需要将所述数据帧传输至所述第二PON网络之前,包括:In one embodiment, before the detecting whether the data frame needs to be transmitted to the second PON network includes:
对所述第一PON网络和所述第二PON网络中的NC设备进行时间同步;Time synchronization is performed on the NC devices in the first PON network and the second PON network;
根据时间同步结果,对所述NC设备进行消息配置,当所述第一PON网络中的NC设备在预设时段向所述第二PON网络中的NT设备发送消息时,在所述预设时段内为所述第二PON网络中的NC设备配置空消息。According to the time synchronization result, a message configuration is performed on the NC device, and when the NC device in the first PON network sends a message to the NT device in the second PON network within a preset time period, the preset time period A null message is configured for the NC device in the second PON network.
在其中一个实施例中,所述通过所述网桥中的第二OLT端口,将所述数据帧广播至所述第二PON网络,包括:In one of the embodiments, broadcasting the data frame to the second PON network through the second OLT port in the bridge includes:
通过所述网桥将所述第一OLT端口接收到的数据帧转发至所述第二OLT端口;forwarding the data frame received by the first OLT port to the second OLT port through the bridge;
通过所述第二OLT端口,将所述数据帧广播至所述第二PON网络。The data frame is broadcast to the second PON network through the second OLT port.
一种多总线网络跨网通信装置,所述装置应用于多总线网络跨网通信系统,所述多总线网络跨网通信系统包括网桥和PON网络,其中,所述网桥包括OLT端口,所述OLT端口包括第一OLT端口和第二OLT端口,所述PON网络包括第一PON网络和第二PON网络,所述第一PON网络与所述第一OLT端口对应,所述第二PON网络与所述第二OLT端口对应;所述装置包括:A multi-bus network cross-network communication device, the device is applied to a multi-bus network cross-network communication system, the multi-bus network cross-network communication system includes a bridge and a PON network, wherein the bridge includes an OLT port, and the The OLT port includes a first OLT port and a second OLT port, the PON network includes a first PON network and a second PON network, the first PON network corresponds to the first OLT port, and the second PON network Corresponding to the second OLT port; the device includes:
单网络传输模块,用于通过所述网桥中的第一OLT端口接收数据帧,并将所述数据帧广播至所述第一PON网络;a single network transmission module, configured to receive data frames through the first OLT port in the bridge, and broadcast the data frames to the first PON network;
跨网络传输模块,用于检测是否需要将所述数据帧传输至所述第二PON网络,若需要,则通过所述网桥中的第二OLT端口,将所述数据帧广播至所述第二PON网络。A cross-network transmission module is used to detect whether the data frame needs to be transmitted to the second PON network, and if necessary, broadcast the data frame to the second OLT port in the bridge Two PON networks.
一种多总线网络跨网通信系统,所述系统包括:A multi-bus network cross-network communication system, the system comprising:
网桥,所述网桥包括OLT端口,所述OLT端口包括第一OLT端口和第二OLT端口;a network bridge, the network bridge includes an OLT port, and the OLT port includes a first OLT port and a second OLT port;
PON网络,所述PON网络包括第一PON网络和第二PON网络;所述第一OLT端口通过分光器连接所述第一PON网络,所述第二OLT端口通过分光器连接所述第二PON网 络;PON network, the PON network includes a first PON network and a second PON network; the first OLT port is connected to the first PON network through an optical splitter, and the second OLT port is connected to the second PON through an optical splitter network;
所述网桥用于通过第一OLT端口接收数据帧,并将所述数据帧广播至所述第一PON网络,以及检测是否需要将所述数据帧传输至所述第二PON网络,若需要,则通过所述网桥中的第二OLT端口,将所述数据帧广播至所述第二PON网络。The bridge is configured to receive data frames through the first OLT port, broadcast the data frames to the first PON network, and detect whether the data frames need to be transmitted to the second PON network, if necessary , the data frame is broadcast to the second PON network through the second OLT port in the bridge.
在其中一个实施例中,所述PON网络中的NC设备对应一个备用OLT端口,所述备用OLT端口通过所述分光器与对应的PON网络连接;所述NC设备用于当所述网络链路状态在连续预设数量的运行周期内均为断开状态时,通过所述备用OLT端口连接所述PON网络。In one of the embodiments, the NC device in the PON network corresponds to a spare OLT port, and the spare OLT port is connected to the corresponding PON network through the optical splitter; the NC device is used when the network link The PON network is connected through the standby OLT port when the state is in the disconnected state for a continuous preset number of operation cycles.
在其中一个实施例中,所述NC设备对应一个ONU端口,所述备用OLT端口通过所述分光器与所述NC设备的ONU端口连接。In one embodiment, the NC device corresponds to one ONU port, and the standby OLT port is connected to the ONU port of the NC device through the optical splitter.
一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述任一项所述的方法的步骤。A computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the methods described above when the processor executes the computer program.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一项所述的方法的步骤。A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of any of the methods described above.
上述多总线网络跨网通信方法、装置、系统、计算机设备和存储介质,通过网桥中的第一OLT端口接收数据帧,将数据帧广播至第一PON网络,并在检测到需要将数据帧传输至第二PON网络时,通过第二OLT端口,将数据帧广播至第二PON网络,从而能够避免网络间的数据传输冲突,实现多个PON网络的互联通信。The above-mentioned multi-bus network cross-network communication method, device, system, computer equipment and storage medium receive data frames through the first OLT port in the bridge, broadcast the data frames to the first PON network, and detect that the data frames need to be sent When transmitting to the second PON network, the data frame is broadcast to the second PON network through the second OLT port, so that data transmission conflicts between networks can be avoided and interconnected communication of multiple PON networks can be realized.
附图说明Description of drawings
图1为本申请一个实施例中多总线网络跨网通信系统的结构示意图。FIG. 1 is a schematic structural diagram of a multi-bus network cross-network communication system according to an embodiment of the present application.
图2为本申请一个实施例中多总线网络跨网通信方法的流程示意图。FIG. 2 is a schematic flowchart of a multi-bus network cross-network communication method according to an embodiment of the present application.
图3为本申请一个实施例中离网通信方式的流程示意图。FIG. 3 is a schematic flowchart of an off-grid communication method in an embodiment of the present application.
图4为本申请一个实施例中消息配置的流程示意图。FIG. 4 is a schematic flowchart of message configuration in an embodiment of the present application.
图5为本申请一个实施例中时间同步的流程示意图。FIG. 5 is a schematic flowchart of time synchronization in an embodiment of the present application.
图6为本申请一个实施例中消息排布的流程示意图。FIG. 6 is a schematic flowchart of message arrangement in an embodiment of the present application.
图7为本申请一个实施例为步骤S300的一种可实施方式的流程示意图。FIG. 7 is a schematic flowchart of a possible implementation manner of step S300 according to an embodiment of the present application.
图8为本申请一个实施例中多总线网络跨网通信装置的结构框图。FIG. 8 is a structural block diagram of a multi-bus network cross-network communication device according to an embodiment of the present application.
图9为本申请一个实施例中计算机设备的内部结构图。FIG. 9 is an internal structure diagram of a computer device in an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,甚至可以为个,以便这里描述的本申请的实施例,能够在除了这里图示或描述的以外的顺序实施。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。It should be noted that the terms "first", "second", etc. in the description and claims of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It should be understood that the data so used may be interchanged under appropriate circumstances, and may even be singular, so that the embodiments of the application described herein can be implemented in sequences other than those illustrated or described herein. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as recited in the appended claims.
在一个实施例中,如图1所示,提供了一种多总线网络跨网通信系统,具体包括:In one embodiment, as shown in FIG. 1, a multi-bus network cross-network communication system is provided, which specifically includes:
网桥,网桥包括OLT端口,OLT端口包括第一OLT端口和第二OLT端口;a network bridge, the network bridge includes an OLT port, and the OLT port includes a first OLT port and a second OLT port;
PON网络,PON网络包括第一PON网络和第二PON网络;第一OLT端口通过分光器连接第一PON网络,第二OLT端口通过分光器连接第二PON网络;PON network, the PON network includes a first PON network and a second PON network; the first OLT port is connected to the first PON network through an optical splitter, and the second OLT port is connected to the second PON network through an optical splitter;
网桥用于通过第一OLT端口接收数据帧,并将数据帧广播至第一PON网络,网桥检测是否需要将数据帧传输至第二PON网络,若需要,则通过网桥中的第二OLT端口,将数据帧广播至第二PON网络。The bridge is used to receive the data frame through the first OLT port and broadcast the data frame to the first PON network. The bridge detects whether the data frame needs to be transmitted to the second PON network. The OLT port broadcasts the data frame to the second PON network.
具体地,如图1所示,该多总线网络跨网通信系统包括一个网桥,以及多个与网桥连接的PON网络。其中,在网桥中设置有多个与PON网络连接的OLT(Optical Line Terminal,光线路终端)端口,网桥中的OLT端口通过分光器与对应的PON网络的中的NC(Network Controller,网络控制器)设备的ONU(Optical Network Unit,光网络单元)端口连接,以实现网桥与PON网络的连接。该多总线网络跨网通信系统通过第一OLT端口接收数据帧,将数据帧广播至第一PON网络,并在需要将数据帧传输至第二PON网络时,通过网桥中的第二OLT端口,将数据帧广播至第二PON网络。Specifically, as shown in FIG. 1 , the multi-bus network cross-network communication system includes a network bridge, and a plurality of PON networks connected to the network bridge. Among them, a plurality of OLT (Optical Line Terminal) ports connected to the PON network are provided in the bridge, and the OLT ports in the bridge communicate with the NC (Network Controller, network) in the corresponding PON network through the optical splitter The ONU (Optical Network Unit, optical network unit) port of the controller) device is connected to realize the connection between the bridge and the PON network. The multi-bus network cross-network communication system receives data frames through the first OLT port, broadcasts the data frames to the first PON network, and transmits the data frames to the second PON network through the second OLT port in the bridge when the data frame needs to be transmitted to the second PON network. , broadcast the data frame to the second PON network.
在一些实施例中,PON网络中的NC设备对应一个备用OLT端口,备用OLT端口通过分光器与对应的PON网络连接;NC设备用于当网络链路状态在连续预设数量的运行周期内均为断开状态时,通过备用OLT端口连接PON网络。In some embodiments, the NC device in the PON network corresponds to a spare OLT port, and the spare OLT port is connected to the corresponding PON network through an optical splitter; In the disconnected state, connect to the PON network through the spare OLT port.
具体地,PON网络中的NC设备除可与网桥中的OLT端口连接外,还可以与NC设备中的备用OLT端口连接,当网桥中的OLT端口不可用或者不需要与网桥连接时,例如,网络链路状态在连续预设数量的运行周期内均为断开状态时,单个PON网络可以通过与备用OLT端口的连接,实现PON网络的正常运行。其中,单个PON网络运行时,可以使备用OLT端口通过分光器与对应的PON网络连接。在一些实施例中,NC设备对应一个 ONU端口,备用OLT端口通过分光器与NC设备的ONU端口连接。从而实现PON网络的单独运行。Specifically, in addition to being connected to the OLT port in the bridge, the NC device in the PON network can also be connected to the spare OLT port in the NC device. When the OLT port in the bridge is unavailable or does not need to be connected to the bridge For example, when the network link state is disconnected for a continuous preset number of operation cycles, a single PON network can realize the normal operation of the PON network by connecting with the standby OLT port. Wherein, when a single PON network is running, the spare OLT port can be connected to the corresponding PON network through an optical splitter. In some embodiments, the NC device corresponds to one ONU port, and the standby OLT port is connected to the ONU port of the NC device through an optical splitter. Thus, the independent operation of the PON network is realized.
上述多总线网络跨网通信系统,通过添加网桥的方式,能够实现多个PON网络的互联。同时,通过备用OLT端口的方式,可实现单个PON网络脱离整个网络后,在单个子网内正常运行。The above-mentioned multi-bus network cross-network communication system can realize the interconnection of multiple PON networks by adding network bridges. At the same time, by means of the standby OLT port, a single PON network can operate normally in a single subnet after being separated from the entire network.
在一个实施例中,如图2所示,提供了一种多总线网络跨网通信方法,以该方法应用于图1中的多总线网络跨网通信系统为例进行说明,包括以下步骤:In one embodiment, as shown in FIG. 2 , a method for multi-bus network cross-network communication is provided, and the method is applied to the multi-bus network cross-network communication system in FIG. 1 as an example to illustrate, including the following steps:
步骤S100,通过网桥中的第一OLT端口接收数据帧,并将数据帧广播至第一PON网络。Step S100, receiving the data frame through the first OLT port in the bridge, and broadcasting the data frame to the first PON network.
步骤S200,检测是否需要将数据帧传输至第二PON网络,若需要,则通过网桥中的第二OLT端口,将数据帧广播至第二PON网络。Step S200, detecting whether the data frame needs to be transmitted to the second PON network, and if necessary, broadcasting the data frame to the second PON network through the second OLT port in the bridge.
其中,网桥包括OLT端口,OLT端口包括第一OLT端口和第二OLT端口,PON网络包括第一PON网络和第二PON网络,第一PON网络与第一OLT端口对应,第二PON网络与第二OLT端口对应。The bridge includes an OLT port, the OLT port includes a first OLT port and a second OLT port, the PON network includes a first PON network and a second PON network, the first PON network corresponds to the first OLT port, and the second PON network corresponds to The second OLT port corresponds.
具体地,初始化网桥各个端口对应PON网络的地址段,对网桥中至少一个OLT端口对应的PON网络的地址段进行配置,建立OLT端口与各个PON网络之间的连接关系,使得PON网络中的第一PON网络与网桥中的第一OLT端口对应,第二PON网络与网桥中的第二OLT端口对应。在对网桥进行初始化后,当网桥中的第一OLT端口接收到下行数据帧后,第一OLT端口将数据帧广播至对应的第一PON网络,同时,检测是否需要将数据帧传输至第二PON网络,若不需要,则丢弃当前数据帧,若需要,则通过网桥,将数据帧转发至第二OLT端口,通过第二OLT端口,将数据帧广播至第二PON网络。Specifically, initialize the address segment of the PON network corresponding to each port of the bridge, configure the address segment of the PON network corresponding to at least one OLT port in the bridge, and establish the connection relationship between the OLT port and each PON network, so that the PON network The first PON network corresponds to the first OLT port in the bridge, and the second PON network corresponds to the second OLT port in the bridge. After the bridge is initialized, when the first OLT port in the bridge receives the downlink data frame, the first OLT port broadcasts the data frame to the corresponding first PON network, and at the same time, detects whether the data frame needs to be transmitted to The second PON network, if not needed, discards the current data frame, if necessary, forwards the data frame to the second OLT port through the bridge, and broadcasts the data frame to the second PON network through the second OLT port.
示例地,网桥OLT端口接收到FC帧后,将该FC帧广播到当前PON网络中,同时判断当前FC帧是否为传输到其他PON网络中的FC帧,若不是,则在将该FC帧广播到当前PON网络中后丢弃该FC帧。若当前FC帧是需要传输到其他PON网络中的FC帧,则在将FC帧转发到其他PON网络对应的OLT端口,FC帧通过OLT端口进入其他PON网络中。For example, after the bridge OLT port receives the FC frame, it broadcasts the FC frame to the current PON network, and at the same time judges whether the current FC frame is an FC frame transmitted to other PON networks, and if not, then broadcasts the FC frame to the current PON network. The FC frame is discarded after being broadcast into the current PON network. If the current FC frame is an FC frame that needs to be transmitted to other PON networks, the FC frame is forwarded to the OLT port corresponding to the other PON network, and the FC frame enters the other PON network through the OLT port.
上述多总线网络跨网通信方法,通过网桥中的第一OLT端口接收数据帧,将数据帧广播至第一PON网络,并在检测到需要将数据帧传输至第二PON网络时,通过网桥中的第二OLT端口,将数据帧广播至第二PON网络,从而避免网络间的数据传输冲突,实现多个PON网络的互联通信。The above-mentioned multi-bus network cross-network communication method receives the data frame through the first OLT port in the bridge, broadcasts the data frame to the first PON network, and when it is detected that the data frame needs to be transmitted to the second PON network, transmits the data frame through the network. The second OLT port in the bridge broadcasts the data frame to the second PON network, thereby avoiding data transmission conflicts between networks and realizing interconnection and communication of multiple PON networks.
在一个实施例中,如图3所示,提供了一种离网通信方式,以该方法应用于图1中的 多总线网络跨网通信系统为例进行说明,包括以下步骤:In one embodiment, as shown in Figure 3, a kind of off-grid communication mode is provided, and the method is applied to the multi-bus network inter-network communication system in Figure 1 as an example to illustrate, including the following steps:
步骤S410,通过PON网络中的NC设备的ONU单元,检测PON网络与网桥中的OLT端口的网络链路状态。Step S410, through the ONU unit of the NC device in the PON network, detect the network link status of the PON network and the OLT port in the bridge.
步骤S420,当网络链路状态在连续预设数量的运行周期内均为断开状态时,则禁用NC设备的ONU单元对应的ONU端口,并将PON网络的连接端口由网桥中的OLT端口切换至NC设备的备用OLT端口。Step S420, when the network link state is disconnected in the continuous preset number of operating cycles, then disable the ONU port corresponding to the ONU unit of the NC equipment, and connect the connection port of the PON network by the OLT port in the bridge. Switch to the alternate OLT port of the NC device.
其中,预设数量的运行周期是预定数量的运行周期,可以为一个栈运行周期、三个栈运行周期、五个栈运行周期不等,链路状态为断开状态的时间达到预设数量的运行周期时,可认为PON网络已脱离网桥。The preset number of running cycles is a predetermined number of running cycles, which can be one stack running cycle, three stack running cycles, and five stack running cycles, and the time when the link state is in the disconnected state reaches the preset number of times. During the run cycle, the PON network can be considered to be off the bridge.
具体地,为PON网络中的NC设备设置ONU单元,通过ONU单元检测PON网络与网桥中的OLT端口的网络链路状态,当将网络链路状态判定为断开状态时,将PON网络的连接端口由网桥中的OLT端口切换至NC设备的备用OLT端口,使得NC设备通过备用OLT端口与NT(Network Terminal,网络终端)设备进行通信。具体地,当网络链路状态为断开状态达到预设栈运行周期时,认为PON网络已脱离网桥,此时可禁用NC设备的ONU单元对应的ONU端口,并将PON网络的连接端口由网桥中的OLT端口切换至NC设备的备用OLT端口,使得NC设备通过备用OLT端口与NT(Network Terminal,网络终端)设备进行通信。Specifically, an ONU unit is set for the NC equipment in the PON network, and the network link state of the PON network and the OLT port in the bridge is detected by the ONU unit. The connection port is switched from the OLT port in the bridge to the standby OLT port of the NC device, so that the NC device communicates with the NT (Network Terminal, network terminal) device through the standby OLT port. Specifically, when the network link state is disconnected and reaches the preset stack running period, it is considered that the PON network has separated from the network bridge. At this time, the ONU port corresponding to the ONU unit of the NC equipment can be disabled, and the connection port of the PON network can be changed from The OLT port in the bridge is switched to the standby OLT port of the NC device, so that the NC device communicates with the NT (Network Terminal, network terminal) device through the standby OLT port.
示例地,NC设备包含了一路备用OLT端口,该备用OLT端口连接到分光器的输入上,连接关系如图1所示。当PON网络和网桥断开连接后,NC设备的ONU单元在判断链路端口的三个周期后,禁用NC设备的ONU端口,将与网桥OLT端口的连接切换至备用OLT端口,使NC设备的备用OLT端口接入网内,由NC设备实现OLT单元的数据下行功能,NC设备通过备用OLT端口发送命令和接收NT设备的数据和状态。For example, the NC device includes a spare OLT port, and the spare OLT port is connected to the input of the optical splitter, and the connection relationship is shown in FIG. 1 . When the PON network and the bridge are disconnected, the ONU unit of the NC device disables the ONU port of the NC device after judging the three cycles of the link port, and switches the connection with the OLT port of the bridge to the standby OLT port, so that the NC The standby OLT port of the device is connected to the network, and the NC device realizes the data downlink function of the OLT unit. The NC device sends commands and receives the data and status of the NT device through the standby OLT port.
上述实施例中,通过PON网络中的NC设备的ONU单元,检测PON网络与网桥中的OLT端口的网络链路状态,当网络链路状态在连续预设数量的运行周期内均为断开状态时,则禁用NC设备的ONU单元对应的ONU端口,并将PON网络的连接端口由网桥中的OLT端口切换至NC设备的备用OLT端口。从而,可通过备用OLT端口的方式,实现单个PON网络脱离整个多总线网络跨网通信系统后,能够在单个子网内正常运行。In the above-mentioned embodiment, by the ONU unit of the NC equipment in the PON network, the network link state of the OLT port in the PON network and the bridge is detected, and when the network link state is disconnected in a continuous preset number of operating cycles In the state, the ONU port corresponding to the ONU unit of the NC equipment is disabled, and the connection port of the PON network is switched from the OLT port in the bridge to the standby OLT port of the NC equipment. Therefore, it can be realized that a single PON network can operate normally in a single subnet after it is separated from the entire multi-bus network inter-network communication system by means of a spare OLT port.
在一个实施例中,如图4所示,提供了一种消息配置方式,以该方法应用于图1中的多总线网络跨网通信系统为例进行说明,包括以下步骤:In one embodiment, as shown in FIG. 4 , a message configuration method is provided, and the method is applied to the multi-bus network cross-network communication system in FIG. 1 as an example to illustrate, including the following steps:
步骤S301,对第一PON网络和第二PON网络中的NC设备进行时间同步。Step S301, time synchronization is performed on the NC devices in the first PON network and the second PON network.
步骤S302,根据时间同步结果,对NC设备进行消息配置,当第一PON网络中的NC 设备在预设时段向第二PON网络中的NT设备发送消息时,在预设时段内为第二PON网络中的NC设备配置空消息。Step S302, according to the time synchronization result, perform message configuration on the NC equipment, when the NC equipment in the first PON network sends a message to the NT equipment in the second PON network within a preset time period, it is the second PON within the preset time period. NC devices in the network configure empty messages.
具体地,对第一PON网络和第二PON网络中的NC设备进行时间同步。例如,网桥设备通过类1558流程对各个PON网络中FC-EA-1553的NC设备节点进行时间同步,同步流程由NC设备发起,如图5所示,为时间同步的流程示意图。Specifically, time synchronization is performed on the NC devices in the first PON network and the second PON network. For example, the bridge device performs time synchronization on the NC device nodes of the FC-EA-1553 in each PON network through the class 1558 process, and the synchronization process is initiated by the NC device, as shown in Figure 5, which is a schematic diagram of the time synchronization process.
根据时间同步结果,对NC设备进行消息配置,当第一PON网络中的NC设备在预设时段向第二PON网络中的NT设备发送消息时,在预设时段内为第二PON网络中的NC设备配置空消息。例如,通过时间同步,使得各个NC设备的时间同步精度在微秒级,各NC设备根据时间同步结果进行排布消息。如图6所示,为消息排布的流程示意图。其中,PON1网络中的NC给PON N中的NT发消息时,PON N网络中的NC在相应时间段配置空消息,以保证当前网络中没有上行数据,避免上行数据冲突。According to the time synchronization result, message configuration is performed on the NC device. When the NC device in the first PON network sends a message to the NT device in the second PON network within the preset time period, the message is sent to the NT device in the second PON network within the preset time period. NC device configuration empty message. For example, through time synchronization, the time synchronization accuracy of each NC device is at the microsecond level, and each NC device arranges messages according to the time synchronization result. As shown in FIG. 6 , it is a schematic flowchart of message arrangement. Among them, when the NC in the PON1 network sends a message to the NT in the PON N, the NC in the PON N network configures a null message in the corresponding time period to ensure that there is no upstream data in the current network and avoid upstream data conflicts.
上述实施例中,对第一PON网络和第二PON网络中的NC设备进行时间同步,并根据时间同步结果,对NC设备进行消息配置,当第一PON网络中的NC设备在预设时段向第二PON网络中的NT设备发送消息时,在预设时段内为第二PON网络中的NC设备配置空消息。从而能够保证当前PON网络中没有上行数据,避免上行数据冲突。In the above embodiment, time synchronization is performed on the NC devices in the first PON network and the second PON network, and according to the time synchronization result, message configuration is performed on the NC devices. When the NT device in the second PON network sends a message, a null message is configured for the NC device in the second PON network within a preset time period. Therefore, it can be ensured that there is no upstream data in the current PON network, and conflict of upstream data can be avoided.
在一个实施例中,如图7所示,为步骤S300的一种可实施方式的流程示意图,包括以下步骤:In one embodiment, as shown in FIG. 7 , it is a schematic flowchart of a possible implementation manner of step S300, including the following steps:
步骤S310,通过网桥将第一OLT端口接收到的数据帧转发至第二OLT端口。Step S310, the data frame received by the first OLT port is forwarded to the second OLT port through the bridge.
步骤S320,通过第二OLT端口,将数据帧广播至第二PON网络。Step S320, broadcast the data frame to the second PON network through the second OLT port.
具体地,在需要将数据帧传输至第二PON网络时,先通过网桥将第一OLT端口接收到的数据帧转发至第二OLT端口,再通过第二OLT端口将数据帧广播至对应的第二PON网络。Specifically, when the data frame needs to be transmitted to the second PON network, the data frame received by the first OLT port is forwarded to the second OLT port through the bridge, and then the data frame is broadcast to the corresponding OLT port through the second OLT port. The second PON network.
上述实施例中,通过网桥将第一OLT端口接收到的数据帧转发至第二OLT端口,并通过第二OLT端口,将数据帧广播至第二PON网络。可以通过网桥实现对数据的转发,避免网络间的数据传输冲突,实现多个PON网络的互联通信。In the above embodiment, the data frame received by the first OLT port is forwarded to the second OLT port through the bridge, and the data frame is broadcast to the second PON network through the second OLT port. Data forwarding can be realized through bridges, avoiding data transmission conflicts between networks, and realizing interconnected communication of multiple PON networks.
应该理解的是,虽然图2-7的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-7中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIGS. 2-7 are shown in sequence according to the arrows, these steps are not necessarily executed in the sequence shown by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIGS. 2-7 may include multiple steps or multiple stages. These steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. The execution of these steps or stages The order is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the steps or phases within the other steps.
在一个实施例中,如图8所示,提供了一种多总线网络跨网通信装置,该多总线网络跨网通信装置应用于多总线网络跨网通信系统,多总线网络跨网通信系统包括网桥和PON网络,其中,网桥包括OLT端口,OLT端口包括第一OLT端口和第二OLT端口,PON网络包括第一PON网络和第二PON网络,第一PON网络与第一OLT端口对应,第二PON网络与第二OLT端口对应;该多总线网络跨网通信装置包括:单网络传输模块801和跨网络传输模块802,其中:In one embodiment, as shown in FIG. 8 , a multi-bus network inter-network communication device is provided. The multi-bus network inter-network communication device is applied to a multi-bus network inter-network communication system. The multi-bus network inter-network communication system includes: A bridge and a PON network, wherein the bridge includes an OLT port, the OLT port includes a first OLT port and a second OLT port, the PON network includes a first PON network and a second PON network, and the first PON network corresponds to the first OLT port , the second PON network corresponds to the second OLT port; the multi-bus network cross-network communication device includes: a single-network transmission module 801 and a cross-network transmission module 802, wherein:
单网络传输模块801,用于通过网桥中的第一OLT端口接收数据帧,并将数据帧广播至第一PON网络;A single network transmission module 801, configured to receive the data frame through the first OLT port in the bridge, and broadcast the data frame to the first PON network;
跨网络传输模块802,用于检测是否需要将数据帧传输至第二PON网络,若需要,则通过网桥中的第二OLT端口,将数据帧广播至第二PON网络。The cross-network transmission module 802 is used to detect whether the data frame needs to be transmitted to the second PON network, and if necessary, broadcast the data frame to the second PON network through the second OLT port in the bridge.
在其中一个实施例中,多总线网络跨网通信装置还包括网络切换模块,用于:通过PON网络中的NC设备的ONU单元,检测PON网络与网桥中的OLT端口的网络链路状态;当网络链路状态在连续预设数量的运行周期内均为断开状态时,则禁用NC设备的ONU单元对应的ONU端口,并将PON网络的连接端口由网桥中的OLT端口切换至NC设备的备用OLT端口。In one of the embodiments, the multi-bus network cross-network communication device further includes a network switching module for: detecting the network link status of the OLT port in the PON network and the bridge through the ONU unit of the NC device in the PON network; When the network link state is disconnected for a continuous preset number of running cycles, the ONU port corresponding to the ONU unit of the NC device is disabled, and the connection port of the PON network is switched from the OLT port in the bridge to the NC Alternate OLT port for the device.
在其中一个实施例中,多总线网络跨网通信装置还包括时间同步模块,用于:对第一PON网络和第二PON网络中的NC设备进行时间同步;根据时间同步结果,对NC设备进行消息配置,当第一PON网络中的NC设备在预设时段向第二PON网络中的NT设备发送消息时,在预设时段内为第二PON网络中的NC设备配置空消息。In one of the embodiments, the multi-bus network cross-network communication device further includes a time synchronization module, configured to: perform time synchronization on the NC devices in the first PON network and the second PON network; Message configuration, when the NC device in the first PON network sends a message to the NT device in the second PON network within the preset time period, configure a null message for the NC device in the second PON network within the preset time period.
在其中一个实施例中,跨网络传输模块802还用于:通过网桥将第一OLT端口接收到的数据帧转发至第二OLT端口;通过第二OLT端口,将数据帧广播至第二PON网络。In one embodiment, the cross-network transmission module 802 is further configured to: forward the data frame received by the first OLT port to the second OLT port through the bridge; and broadcast the data frame to the second PON through the second OLT port network.
关于多总线网络跨网通信装置的具体限定可以参见上文中对于多总线网络跨网通信方法的限定,在此不再赘述。上述多总线网络跨网通信装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific definition of the multi-bus network cross-network communication device, reference may be made to the above definition of the multi-bus network cross-network communication method, which will not be repeated here. Each module in the above multi-bus network cross-network communication device may be implemented in whole or in part by software, hardware and combinations thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图9所示。该计算机设备包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该 计算机设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现一种多总线网络跨网通信方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided, and the computer device may be a terminal, and its internal structure diagram may be as shown in FIG. 9 . The computer equipment includes a processor, memory, a communication interface, a display screen, and an input device connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium, an internal memory. The nonvolatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for wired or wireless communication with an external terminal, and the wireless communication can be realized by WIFI, operator network, NFC (Near Field Communication) or other technologies. When the computer program is executed by the processor, a multi-bus network cross-network communication method is realized. The display screen of the computer equipment may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment may be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the computer equipment , or an external keyboard, trackpad, or mouse.
本领域技术人员可以理解,图9中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 9 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
在一个实施例中,提供了一种服务器,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现以下步骤:In one embodiment, a server is provided, including a memory and a processor, a computer program is stored in the memory, and the processor implements the following steps when executing the computer program:
通过网桥中的第一OLT端口接收数据帧,并将数据帧广播至第一PON网络;Receive the data frame through the first OLT port in the bridge, and broadcast the data frame to the first PON network;
检测是否需要将数据帧传输至第二PON网络,若需要,则通过网桥中的第二OLT端口,将数据帧广播至第二PON网络。Detect whether the data frame needs to be transmitted to the second PON network, and if necessary, broadcast the data frame to the second PON network through the second OLT port in the bridge.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:通过PON网络中的NC设备的ONU单元,检测PON网络与网桥中的OLT端口的网络链路状态;当网络链路状态在连续预设数量的运行周期内均为断开状态时,则禁用NC设备的ONU单元对应的ONU端口,并将PON网络的连接端口由网桥中的OLT端口切换至NC设备的备用OLT端口。In one embodiment, the processor also implements the following steps when executing the computer program: by the ONU unit of the NC device in the PON network, detecting the network link state of the OLT port in the PON network and the bridge; when the network link state is at When the continuous preset number of running cycles are in the disconnected state, the ONU port corresponding to the ONU unit of the NC equipment is disabled, and the connection port of the PON network is switched from the OLT port in the bridge to the standby OLT port of the NC equipment.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:对第一PON网络和第二PON网络中的NC设备进行时间同步;根据时间同步结果,对NC设备进行消息配置,当第一PON网络中的NC设备在预设时段向第二PON网络中的NT设备发送消息时,在预设时段内为第二PON网络中的NC设备配置空消息。In one embodiment, the processor further implements the following steps when executing the computer program: time synchronization is performed on the NC devices in the first PON network and the second PON network; according to the time synchronization result, message configuration is performed on the NC devices. When the NC device in the PON network sends a message to the NT device in the second PON network within the preset time period, a null message is configured for the NC device in the second PON network within the preset time period.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:通过网桥将第一OLT端口接收到的数据帧转发至第二OLT端口;通过第二OLT端口,将数据帧广播至第二PON网络。In one embodiment, the processor further implements the following steps when executing the computer program: forwarding the data frame received by the first OLT port to the second OLT port through the bridge; broadcasting the data frame to the second OLT port through the second OLT port PON network.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:In one embodiment, a computer-readable storage medium is provided on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
通过网桥中的第一OLT端口接收数据帧,并将数据帧广播至第一PON网络;Receive the data frame through the first OLT port in the bridge, and broadcast the data frame to the first PON network;
检测是否需要将数据帧传输至第二PON网络,若需要,则通过网桥中的第二OLT端口,将数据帧广播至第二PON网络。Detect whether the data frame needs to be transmitted to the second PON network, and if necessary, broadcast the data frame to the second PON network through the second OLT port in the bridge.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:通过PON网络中的NC设备的ONU单元,检测PON网络与网桥中的OLT端口的网络链路状态;当网络链路 状态在连续预设数量的运行周期内均为断开状态时,则禁用NC设备的ONU单元对应的ONU端口,并将PON网络的连接端口由网桥中的OLT端口切换至NC设备的备用OLT端口。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: the ONU unit of the NC device in the PON network detects the network link status of the OLT port in the PON network and the bridge; when the network link status When it is disconnected for a continuous preset number of running cycles, the ONU port corresponding to the ONU unit of the NC equipment is disabled, and the connection port of the PON network is switched from the OLT port in the bridge to the standby OLT port of the NC equipment .
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:对第一PON网络和第二PON网络中的NC设备进行时间同步;根据时间同步结果,对NC设备进行消息配置,当第一PON网络中的NC设备在预设时段向第二PON网络中的NT设备发送消息时,在预设时段内为第二PON网络中的NC设备配置空消息。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: time synchronization is performed on the NC devices in the first PON network and the second PON network; according to the time synchronization result, message configuration is performed on the NC devices. When an NC device in a PON network sends a message to an NT device in a second PON network within a preset time period, a null message is configured for the NC device in the second PON network within the preset time period.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:通过网桥将第一OLT端口接收到的数据帧转发至第二OLT端口;通过第二OLT端口,将数据帧广播至第二PON网络。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: forwarding the data frame received by the first OLT port to the second OLT port through the bridge; broadcasting the data frame to the second OLT port through the second OLT port Two PON networks.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other media used in the various embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, or optical memory, and the like. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, the RAM may be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features It is considered to be the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be noted that, for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.

Claims (10)

  1. 一种多总线网络跨网通信方法,所述方法应用于多总线网络跨网通信系统,所述多总线网络跨网通信系统包括网桥和PON网络,其中,所述网桥包括OLT端口,所述OLT端口包括第一OLT端口和第二OLT端口,所述PON网络包括第一PON网络和第二PON网络,所述第一PON网络与所述第一OLT端口对应,所述第二PON网络与所述第二OLT端口对应;所述方法包括:A multi-bus network cross-network communication method, the method is applied to a multi-bus network cross-network communication system, the multi-bus network cross-network communication system includes a bridge and a PON network, wherein the bridge includes an OLT port, and the The OLT port includes a first OLT port and a second OLT port, the PON network includes a first PON network and a second PON network, the first PON network corresponds to the first OLT port, and the second PON network Corresponding to the second OLT port; the method includes:
    通过所述网桥中的第一OLT端口接收数据帧,并将所述数据帧广播至所述第一PON网络;Receive data frames through the first OLT port in the bridge, and broadcast the data frames to the first PON network;
    检测是否需要将所述数据帧传输至所述第二PON网络,若需要,则通过所述网桥中的第二OLT端口,将所述数据帧广播至所述第二PON网络。Detecting whether the data frame needs to be transmitted to the second PON network, and if necessary, broadcasting the data frame to the second PON network through the second OLT port in the bridge.
  2. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1, wherein the method further comprises:
    通过所述PON网络中的NC设备的ONU单元,检测所述PON网络与所述网桥中的OLT端口的网络链路状态;Through the ONU unit of the NC equipment in the PON network, the network link status of the OLT port in the PON network and the bridge is detected;
    当所述网络链路状态在连续预设数量的运行周期内均为断开状态时,则禁用所述NC设备的ONU单元对应的ONU端口,并将所述PON网络的连接端口由所述网桥中的OLT端口切换至所述NC设备的备用OLT端口。When the network link state is disconnected for a continuous preset number of operating cycles, the ONU port corresponding to the ONU unit of the NC device is disabled, and the connection port of the PON network is replaced by the network The OLT port in the bridge is switched to the standby OLT port of the NC device.
  3. 根据权利要求1所述的方法,其中,所述检测是否需要将所述数据帧传输至所述第二PON网络之前,包括:The method according to claim 1, wherein before the detecting whether the data frame needs to be transmitted to the second PON network, comprises:
    对所述第一PON网络和所述第二PON网络中的NC设备进行时间同步;Time synchronization is performed on the NC devices in the first PON network and the second PON network;
    根据时间同步结果,对所述NC设备进行消息配置,当所述第一PON网络中的NC设备在预设时段向所述第二PON网络中的NT设备发送消息时,在所述预设时段内为所述第二PON网络中的NC设备配置空消息。According to the time synchronization result, a message configuration is performed on the NC device, and when the NC device in the first PON network sends a message to the NT device in the second PON network within a preset time period, the preset time period A null message is configured for the NC device in the second PON network.
  4. 根据权利要求1所述的方法,其中,所述通过所述网桥中的第二OLT端口,将所述数据帧广播至所述第二PON网络,包括:The method according to claim 1, wherein the broadcasting of the data frame to the second PON network through the second OLT port in the bridge comprises:
    通过所述网桥将所述第一OLT端口接收到的数据帧转发至所述第二OLT端口;forwarding the data frame received by the first OLT port to the second OLT port through the bridge;
    通过所述第二OLT端口,将所述数据帧广播至所述第二PON网络。The data frame is broadcast to the second PON network through the second OLT port.
  5. 一种多总线网络跨网通信装置,所述装置应用于多总线网络跨网通信系统,所述多总线网络跨网通信系统包括网桥和PON网络,其中,所述网桥包括OLT端口,所述OLT端口包括第一OLT端口和第二OLT端口,所述PON网络包括第一PON网络和第二PON 网络,所述第一PON网络与所述第一OLT端口对应,所述第二PON网络与所述第二OLT端口对应;所述装置包括:A multi-bus network cross-network communication device, the device is applied to a multi-bus network cross-network communication system, the multi-bus network cross-network communication system includes a bridge and a PON network, wherein the bridge includes an OLT port, and the The OLT port includes a first OLT port and a second OLT port, the PON network includes a first PON network and a second PON network, the first PON network corresponds to the first OLT port, and the second PON network Corresponding to the second OLT port; the device includes:
    单网络传输模块,用于通过所述网桥中的第一OLT端口接收数据帧,并将所述数据帧广播至所述第一PON网络;a single network transmission module, configured to receive data frames through the first OLT port in the bridge, and broadcast the data frames to the first PON network;
    跨网络传输模块,用于检测是否需要将所述数据帧传输至所述第二PON网络,若需要,则通过所述网桥中的第二OLT端口,将所述数据帧广播至所述第二PON网络。A cross-network transmission module is used to detect whether the data frame needs to be transmitted to the second PON network, and if necessary, broadcast the data frame to the second OLT port in the bridge Two PON networks.
  6. 一种多总线网络跨网通信系统,包括:A multi-bus network cross-network communication system, comprising:
    网桥,所述网桥包括OLT端口,所述OLT端口包括第一OLT端口和第二OLT端口;a network bridge, the network bridge includes an OLT port, and the OLT port includes a first OLT port and a second OLT port;
    PON网络,所述PON网络包括第一PON网络和第二PON网络;所述第一OLT端口通过分光器连接所述第一PON网络,所述第二OLT端口通过分光器连接所述第二PON网络;PON network, the PON network includes a first PON network and a second PON network; the first OLT port is connected to the first PON network through an optical splitter, and the second OLT port is connected to the second PON through an optical splitter network;
    所述网桥用于通过所述第一OLT端口接收数据帧,并将所述数据帧广播至所述第一PON网络,所述网桥检测是否需要将所述数据帧传输至所述第二PON网络,若需要,则通过所述网桥中的第二OLT端口,将所述数据帧广播至所述第二PON网络。The bridge is configured to receive data frames through the first OLT port and broadcast the data frames to the first PON network, and the bridge detects whether the data frames need to be transmitted to the second The PON network, if necessary, broadcasts the data frame to the second PON network through the second OLT port in the bridge.
  7. 根据权利要求6所述的系统,其中,所述PON网络中的NC设备对应一个备用OLT端口,所述备用OLT端口通过所述分光器与对应的PON网络连接;所述NC设备用于当所述网络链路状态在连续预设数量的运行周期内均为断开状态时,通过所述备用OLT端口连接所述PON网络。The system according to claim 6, wherein the NC equipment in the PON network corresponds to a spare OLT port, and the spare OLT port is connected to the corresponding PON network through the optical splitter; the NC equipment is used when all the The PON network is connected through the standby OLT port when the network link state is in a disconnected state for a continuous preset number of operation cycles.
  8. 根据权利要求7所述的系统,其中,所述NC设备对应一个ONU端口,所述备用OLT端口通过所述分光器与所述NC设备的ONU端口连接。The system according to claim 7, wherein the NC device corresponds to one ONU port, and the standby OLT port is connected to the ONU port of the NC device through the optical splitter.
  9. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其中,所述处理器执行所述计算机程序时实现权利要求1至4中任一项所述的方法的步骤。A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 4 when the processor executes the computer program.
  10. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1至4中任一项所述的方法的步骤。A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method of any one of claims 1 to 4.
PCT/CN2021/109500 2021-04-13 2021-07-30 Cross-network communicaton method, apparatus, and system for multi-bus network, and storage medium WO2022217786A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110392282.4A CN112803998B (en) 2021-04-13 2021-04-13 Multi-bus network cross-network communication method, device, system, equipment and storage medium
CN202110392282.4 2021-04-13

Publications (1)

Publication Number Publication Date
WO2022217786A1 true WO2022217786A1 (en) 2022-10-20

Family

ID=75816910

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/109500 WO2022217786A1 (en) 2021-04-13 2021-07-30 Cross-network communicaton method, apparatus, and system for multi-bus network, and storage medium

Country Status (2)

Country Link
CN (1) CN112803998B (en)
WO (1) WO2022217786A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112803998B (en) * 2021-04-13 2021-07-09 北京国科天迅科技有限公司 Multi-bus network cross-network communication method, device, system, equipment and storage medium
CN113783805B (en) * 2021-11-15 2022-03-11 北京国科天迅科技有限公司 Transmission method and system of FC switching network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040109450A1 (en) * 2002-11-27 2004-06-10 Kang Ho Yong Communication apparatus in ethernet passive optical network
CN101459656A (en) * 2007-12-13 2009-06-17 华为技术有限公司 Passive optical network aggregation node device and system
CN102237941A (en) * 2010-04-28 2011-11-09 中兴通讯股份有限公司 Time synchronization system and method
CN105357597A (en) * 2015-09-29 2016-02-24 中国联合网络通信集团有限公司 Passive optical network, data transmission method and data transmission device
US20180359032A1 (en) * 2017-06-09 2018-12-13 Fujitsu Limited Optical terminal device, optical terminating device, and communication control method
CN112803998A (en) * 2021-04-13 2021-05-14 北京国科天迅科技有限公司 Multi-bus network cross-network communication method, device, system, equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101563893B (en) * 2006-12-15 2011-12-14 富士通株式会社 Optical communication system, its optical communication method, and communication device
CN201726403U (en) * 2010-07-21 2011-01-26 华北电网有限公司 Transmission line condition monitoring data transmission system framework

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040109450A1 (en) * 2002-11-27 2004-06-10 Kang Ho Yong Communication apparatus in ethernet passive optical network
CN101459656A (en) * 2007-12-13 2009-06-17 华为技术有限公司 Passive optical network aggregation node device and system
CN102237941A (en) * 2010-04-28 2011-11-09 中兴通讯股份有限公司 Time synchronization system and method
CN105357597A (en) * 2015-09-29 2016-02-24 中国联合网络通信集团有限公司 Passive optical network, data transmission method and data transmission device
US20180359032A1 (en) * 2017-06-09 2018-12-13 Fujitsu Limited Optical terminal device, optical terminating device, and communication control method
CN112803998A (en) * 2021-04-13 2021-05-14 北京国科天迅科技有限公司 Multi-bus network cross-network communication method, device, system, equipment and storage medium

Also Published As

Publication number Publication date
CN112803998B (en) 2021-07-09
CN112803998A (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN110166356B (en) Method and network equipment for sending message
CN111865779B (en) Route synchronization method and cross-device link aggregation group
WO2022217786A1 (en) Cross-network communicaton method, apparatus, and system for multi-bus network, and storage medium
US10560550B1 (en) Automatic configuration of a replacement network device in a high-availability cluster
JP4922972B2 (en) Communications system
EP3029883B1 (en) Network protection method and apparatus, next-ring node, and system
US20200076925A1 (en) Software-defined Interconnection Method and Apparatus for Heterogeneous Protocol Data
CN111865704B (en) Data transmission method, system and network equipment
CN112217658B (en) Stacking and splitting processing method and device
CN109218232B (en) Method, equipment and system for realizing Mux machine
CN108989200B (en) Data packet forwarding method, device and system
CN109462533B (en) Link switching method, link redundancy backup network and computer readable storage medium
CN113328916B (en) BFD detection mode switching method, device and equipment
CN103607293A (en) Flow protection method and equipment thereof
US20090006650A1 (en) Communication device, communication method, communication interface, and program product
US20140050092A1 (en) Load sharing method and apparatus
US11258666B2 (en) Method, device, and system for implementing MUX machine
JP6383232B2 (en) Relay system and switch device
CN109120520B (en) Fault processing method and equipment
EP3573298B1 (en) Multi-node device and method for micro server built-in switch uplink port backup
CN109218117B (en) Link detection method and device and network equipment
JP6118464B2 (en) Port status synchronization method, related device, and system
CN116032731A (en) Method and device for realizing hot backup of RapidIO network system
JP2013223077A (en) Chassis type switch
CN108282346B (en) Software upgrading method and device

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE