Edge gateway equipment supporting optical fiber ring network and optical fiber ring network system
By introducing the first and second optical modules into the edge gateway device for fiber line switching, and using the wireless communication module to provide backup connections when the fiber ring data transmission fails, the disconnection and cost of fiber ring equipment in the prior art is solved. The high problem achieves high reliability and low cost fiber ring network system of the equipment.
Patent Information
- Application Number
- CN202421042632.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2034-05-13
AI Technical Summary
When the fiber optic ring network is disconnected, all connected devices will be disconnected, and the use of ring switches increases costs, and the ring switch link will also cause the device to be disconnected.
An edge gateway device supporting fiber ring network is designed, including a gateway host, a first optical module and a second optical module, through which the edge gateway devices are connected in the fiber ring network and switched when a fiber line fails. Go to another line to prevent network disconnection; at the same time, use the wireless communication module to connect to the wireless network when the fiber-optic ring network data transmission fails, improve the reliability of the equipment, and there is no need to set up a ring switch.
Automatic switching in case of fiber optic line failure is realized, network disconnection is prevented, and backup connection is provided through the wireless communication module when data transmission of fiber optic ring network fails, improving the reliability of equipment usage and reducing costs.
Smart Images

Figure CN222283271U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of edge gateways, in particular to edge gateway equipment supporting optical fiber ring networks and an optical fiber ring network system. Background Art
[0002] Existing edge gateways typically use fiber optic access to the network, connecting edge devices such as IPCs, sensors, smart lighting, and alarm buttons to the edge gateways. Therefore, if the fiber optic connection to the edge gateway is disconnected, all devices connected to the edge gateway will be offline. Existing technology typically connects switches in a ring network, then connects the edge gateway to the switch, and then connects the edge devices to the edge gateway. This approach presents several problems. First, the use of a ring network switch and then the edge gateway significantly increases costs due to the increase in edge devices. Second, if the link between the ring network switch and the edge gateway is disconnected, all devices connected to the edge gateway will also be offline. Utility Model Content
[0003] The present invention aims to provide an edge gateway device and an optical fiber ring network system supporting an optical fiber ring network, which can solve at least one technical problem existing in the above-mentioned background technology.
[0004] To achieve the above objectives, the present invention provides an edge gateway device supporting a fiber optic ring network, comprising:
[0005] A gateway host, wherein the gateway host is provided with a mainboard and a first optical port, a second optical port and a wireless communication module connected to the mainboard;
[0006] a first optical module, which is plugged into the first optical port and connected to the mainboard via the first optical port;
[0007] a second optical module, the second optical module being plugged into the second optical port and connected to the mainboard via the second optical port;
[0008] The first optical module and the second optical module are used to connect the edge gateway device in a fiber optic ring network.
[0009] Optionally, the first optical module and the second optical module both include an optical module chip, and the optical module chip includes a first pin and a second pin, the first pin is a transmission fault pin, and the second pin is a transmission enable pin, the first pin and the second pin are connected to the mainboard, and when the first optical module or the second optical module transmits data normally, the first pin is set to a high level or a low level, and the second pin is set to a high level or a low level, and when data transmission through the first optical module or the second optical module fails, the first pin and the second pin are switched between high and low levels respectively, and the mainboard determines that there is a transmission fault based on the obtained switched level signal.
[0010] Optionally, the first pin and the second pin are switched between high and low levels through a pull-up resistor.
[0011] Optionally, when the first optical module or the second optical module is transmitting data normally, the first pin is set to a low level and the second pin is set to a high level. When data transmission through the first optical module or the second optical module fails, the first pin is switched from a low level to a high level, and the second pin is switched from a high level to a low level.
[0012] Optionally, when the first optical module or the second optical module is transmitting data normally, the register of the mainboard counts based on the number of sent and received data packets. After the first optical module or the second optical module obtains that the count of the register has stopped, the first pin and the second pin are switched to high and low levels respectively.
[0013] Optionally, after the mainboard obtains that the first pin and the second pin of the first optical module and the first pin and the second pin of the second optical module are both at levels in a data transmission fault state, it controls the wireless communication module to connect to the network for data transmission and reception.
[0014] Optionally, after the mainboard obtains that the first optical module and the second optical module located in the optical fiber ring network are unable to perform data transmission, the mainboard controls the wireless communication module to connect to the network to perform data transmission and reception.
[0015] Optionally, the wireless communication module is provided with a wake-up channel, a power supply channel, a reset channel and a clock request channel. The wireless communication module uses the wake-up channel to send a wake-up request to the mainboard based on the information that the first optical module and the second optical module in the optical fiber ring network are unable to transmit data. The mainboard supplies power to the wireless communication module through the power supply channel, resets the wireless communication module through the reset channel, and starts the clock of the wireless communication module through the clock request channel based on the wake-up request.
[0016] Optionally, the wireless communication module includes at least one SIM card, the gateway host is provided with at least one card slot, and the SIM card is pluggable and inserted into the card slot.
[0017] To achieve the above-mentioned purpose, the present invention further provides a fiber optic ring network system, comprising a plurality of edge gateway devices as described above, wherein the plurality of edge gateway devices form a fiber optic ring network.
[0018] In an embodiment of the present invention, a first optical port for plugging in a first optical module and a second optical port for plugging in a second optical module are provided on the gateway host of the edge gateway device. The first optical module and the second optical module are used to connect the edge gateway device to a fiber optic ring network. When one of the optical fiber lines fails and data transmission is unable to be performed, the other optical fiber line can be switched to prevent the network from being disconnected. In addition, in an embodiment of the present invention, a wireless communication module is also provided. When both the first optical module and the second optical module in the fiber optic ring network are unable to perform data transmission, the wireless communication module can be used to connect to a wireless network, thereby further improving the reliability of the edge gateway device. In addition, the present invention does not require the provision of a ring network switch, which is conducive to reducing costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 This is a schematic diagram of the decomposed structure of the edge gateway device according to an embodiment of the present utility model.
[0020] Figure 2 This is a schematic diagram of the structure of the gateway host in an embodiment of the present utility model.
[0021] Figure 3 This is a schematic diagram of an optical fiber ring network system according to an embodiment of the present invention.
[0022] Figure 4 Schematic diagram of the optical chip of the first optical module according to an embodiment of the present invention.
[0023] Figure 5 Schematic diagram of the optical chip of the second optical module according to an embodiment of the present invention.
[0024] Figure 6 This is a schematic diagram of a motherboard according to an embodiment of the present invention.
[0025] Figure 7 This is a schematic diagram of the mainboard and wireless communication module according to an embodiment of the present invention. DETAILED DESCRIPTION
[0026] In order to explain the technical content, structural features, achieved objectives and effects of the present invention in detail, the following is a detailed description in conjunction with the embodiments and the accompanying drawings.
[0027] See also Figures 1 to 7, an embodiment of the present utility model discloses an edge gateway device 1 that supports a fiber optic ring network, including a gateway host 10, a first optical module 20 and a second optical module 30. The gateway host 10 is provided with a mainboard 11 and a first optical port 12, a second optical port 13 and a wireless communication module 14 connected to the mainboard 11. The first optical module 20 is plugged into the first optical port 12 and connected to the mainboard 11 through the first optical port 12. The second optical module 30 is plugged into the second optical port 13 and connected to the mainboard 11 through the second optical port 13. The first optical module 20 and the second optical module 30 are used to connect the edge gateway device 1 to the fiber optic ring network (that is, the edge gateway device 1 and other edge gateway devices 1 form a fiber optic ring network). In the present utility model, the first optical port 12 and the first optical module 20 are defined as priority, that is, under normal circumstances, the edge gateway device 1 performs data transmission through the first optical port 12 and the first optical module 20. When a fault occurs, it switches to using the second optical port 12 and the second optical module 30 for data transmission.
[0028] The edge gateway device 1 can access a fiber ring composed of multiple edge gateway devices 1 based on the EAPS protocol or the ERPS protocol. Fiber rings under the EAPS protocol or the ERPS protocol are well known to those skilled in the art and will not be described in detail here.
[0029] In an embodiment of the present invention, a first optical port 12 for plugging in a first optical module 20 and a second optical port 13 for plugging in a second optical module 30 are provided on the gateway host 10 of the edge gateway device 1. The first optical module 20 and the second optical module 30 are used to connect the edge gateway device 1 to a fiber optic ring network. When one of the optical fiber lines fails and data transmission is impossible, the other optical fiber line can be switched to prevent the network from being disconnected. In addition, in an embodiment of the present invention, a wireless communication module 14 is also provided. When the first optical module 20 and the second optical module 30 in the fiber optic ring network are unable to transmit data, the wireless communication module 14 can be used to connect to a wireless network, thereby further improving the reliability of the edge gateway device 1. In addition, the present invention does not require the installation of a ring network switch, which is conducive to reducing costs.
[0030] Please combine Figure 4In some embodiments, the first optical module 20 includes an optical module chip 21, and the optical module chip 21 includes a first pin 22 and a second pin 23. The first pin 22 is a transmission fault pin, and the second pin 23 is a transmission enable pin. The first pin 22 and the second pin 23 are connected to the mainboard 11 (after the first optical module 20 is correctly inserted into the first optical port 12, the first pin 22 and the second pin 23 will form a physical connection with the mainboard 11 for signal transmission). When the first optical module 20 performs data transmission normally, the first pin 22 is set to a high level or a low level, and the second pin 23 is set to a high level or a low level. When data transmission through the first optical module 20 fails (data transmission cannot be performed), the first pin 22 and the second pin 23 are switched between high and low levels respectively, and the mainboard 11 determines that there is a transmission fault based on the obtained switched level signal.
[0031] Specifically, the first pin 22 and the second pin 23 are switched between high and low levels through pull-up resistors. The first pin 22 and the second pin 23 are both connected to pull-up resistors R1 / R3 and pull-down resistors R2 / R4 to switch between high and low levels.
[0032] Specifically, when the first optical module 20 is performing data transmission normally, the first pin 22 is set to a low level and the second pin 23 is set to a high level. The mainboard 11 can confirm that the data transmission through the first optical module 20 is normal based on the low-level signal of the first pin 22 and the high-level signal of the second pin 23. When data transmission through the first optical module 20 fails, the first pin 22 switches from a low level to a high level, and the second pin 23 switches from a high level to a low level. The mainboard 11 can confirm that the data transmission through the first optical module 20 has failed and cannot be performed based on the high-level signal of the first pin 22 and the low-level signal of the second pin 23.
[0033] More specifically, when the first pin 22 switches from a low level to a high level, it is pulled to a high level through the pull-up resistor R1 , and when the second pin 23 switches from a high level to a low level, it is pulled to a low level through the pull-down resistor R4 .
[0034] Please combine Figure 6Specifically, when the first optical module 20 is transmitting data normally, register 111 of the mainboard 11 counts the number of data packets sent and received. After the first optical module 20 detects that the count in register 111 has stopped (which can be read based on the integrated circuit bus), it switches the first pin 22 and the second pin 23 between high and low levels. After register 111 stops counting, it indicates that the data flow no longer exists and normal data transmission has been interrupted. Based on the count stop information read from register 111, the first optical module 20 switches the first pin 22 and the second pin 23 between high and low levels (specifically, the first pin 22 switches from a low level to a high level, and the second pin 23 switches from a high level to a low level). At this point, the mainboard 11 reads the switched level signals and determines that a transmission failure has occurred. It is understood that the first optical module 20 can determine that the count in register 111 has stopped and then perform the level switching after reading that the count in register 111 has not changed for a set period of time, and the timing can be performed using a timer.
[0035] When the main board 11 confirms a data transmission failure based on the first optical module 20 based on the level signal of the first pin 22 and the level signal of the second pin 23, the switching action of the optical fiber line can be executed, that is, the action of switching to the second optical port 13 and the second optical module 30 in the optical fiber ring network to perform data transmission.
[0036] Specifically, executing the switching action of the optical fiber line includes detecting the insertion of the second optical module 30 , and performing line switching after detecting that the second optical module 30 is normally inserted.
[0037] After the second optical module 30 is inserted, the second optical module 30 is powered on and communicates with the mainboard 11 through the integrated circuit bus (IIC). The mainboard 11 reads the register 112 of the second optical module 30 and can correctly read the relevant information of the second optical module 30 (model, ID, optical power, etc.), that is, it is confirmed to be in a normal insertion state. At this time, the corresponding port blocking state can be released.
[0038] Please combine Figure 5 In some embodiments, the second optical module 30 includes an optical module chip 31, and the optical module chip 31 includes a first pin 32 and a second pin 33. The first pin 32 is a transmission fault pin, and the second pin 33 is a transmission enable pin. The first pin 32 and the second pin 33 are connected to the mainboard 11. When the second optical module 30 transmits data normally, the first pin 32 is set to a high level or a low level, and the second pin 33 is set to a high level or a low level. When data transmission through the second optical module 30 fails, the first pin 32 and the second pin 33 are switched between high and low levels respectively, and the mainboard 11 determines that there is a transmission fault based on the obtained switched level signal.
[0039] Specifically, the first pin 32 and the second pin 33 are switched between high and low levels through pull-up resistors. The first pin 32 and the second pin 33 are both connected to pull-up resistors R5 / R7 and pull-down resistors R6 / R8 to switch between high and low levels.
[0040] Specifically, when the second optical module 30 is performing data transmission normally, the first pin 32 is set to a low level and the second pin 33 is set to a high level. The mainboard 11 can confirm that the data transmission through the second optical module 30 is normal based on the low-level signal of the first pin 32 and the high-level signal of the second pin 33. When data transmission through the second optical module 30 fails, the first pin 32 switches from a low level to a high level, and the second pin 33 switches from a high level to a low level. The mainboard 11 can confirm that the data transmission through the second optical module 30 has failed and cannot be performed based on the high-level signal of the first pin 32 and the low-level signal of the second pin 33.
[0041] After the port blocking state is released, the first pin 32 is at a low level, and the second pin 33 is at a high level. The mainboard 11 considers that the data transmission state based on the second optical module 30 is normal.
[0042] More specifically, when the first pin 32 switches from a low level to a high level, it is pulled to a high level through the pull-up resistor R5 , and when the second pin 33 switches from a high level to a low level, it is pulled to a low level through the pull-down resistor R8 .
[0043] Specifically, when the second optical module 30 is transmitting data normally, the register 112 of the mainboard 11 counts based on the number of data packets sent and received. After the second optical module 30 obtains the count stop information of the register 112 (which can be read based on the integrated circuit bus), the first pin 32 and the second pin 33 are respectively switched between high and low levels. After the count of the register 112 stops, it indicates that there is no data flow and normal data transmission is interrupted. The second optical module 30 can then switch the first pin 32 and the second pin 33 between high and low levels based on the count stop information read from the register 112 (specifically, the first pin 32 switches from a low level to a high level, and the second pin 33 switches from a high level to a low level). At this time, the mainboard 11 reads the switched level signal and determines that there is a transmission failure. It is understandable that the second optical module 30 can determine that the count of the register 112 has stopped after reading that the count of the register 112 has not changed for a set period of time, and then perform the level switching, which can be timed using a timer.
[0044] In some embodiments, after the mainboard 11 detects that the first optical module 20 and the second optical module 30 in the optical fiber ring network are unable to transmit data, it controls the wireless communication module 14 to connect to the network to transmit and receive data.
[0045] Specifically, after the mainboard 11 obtains that the first pin 22 and the second pin 23 of the first optical module 20 and the first pin 32 and the second pin 33 of the second optical module 30 are switched to the level in the data transmission failure state, it controls the wireless communication module 14 to connect to the network for data transmission and reception.
[0046] Please combine Figure 7 In some embodiments, a wake-up channel 141, a power supply channel 142, a reset channel 143, and a clock request channel 144 are provided between the wireless communication module 14 and the mainboard 11. Based on the information that the first optical module 20 and the second optical module 30 in the optical fiber ring network are unable to transmit data, the wireless communication module 14 uses the wake-up channel 141 to send a wake-up request to the mainboard 11. Based on the wake-up request, the mainboard 11 supplies power to the wireless communication module 14 through the power supply channel 142, resets the wireless communication module 14 through the reset channel 143, and starts the clock of the wireless communication module 14 through the clock request channel 144. Specifically, the wake-up channel 141, the power supply channel 142, the reset channel 143, and the clock request channel 144 are implemented based on the pins of the corresponding chips.
[0047] The wireless communication module 14 can send a wake-up request to the mainboard 11 through the wake-up channel 141 after reading that the counts of the register 111 corresponding to the first optical port 12 and the register 112 corresponding to the second optical port 13 of the mainboard 11 have stopped. Specifically, after receiving the wake-up request, the mainboard 11 can confirm whether the first pin 22 and the second pin 23 of the first optical module 20 and the first pin 32 and the second pin 33 of the second optical module 30 are both in the level state when the data transmission fails. If so, the wireless communication module 14 is awakened. Of course, it is not limited to this. The mainboard 11 can directly wake up the wireless communication module 14 after receiving the wake-up request. After the mainboard 11 obtains that the first pin 22 and the second pin 23 of the first optical module 20 and the first pin 32 and the second pin 33 of the second optical module 30 are both in the level state when the data transmission fails, it can actively wake up the wireless communication module 14 without the need for a wake-up request.
[0048] Please combine Figure 2 Specifically, the wireless communication module 14 includes at least one SIM card (not shown), and the gateway host 10 is provided with at least one card slot 15, in which the SIM card is pluggable. The SIM card can be used to access the operator's network and access the Internet through the operator's network.
[0049] Specifically, the wireless communication module 14 is a 5G module, which preferably supports full network access, has a small size, low power consumption design, and high stability.
[0050] Please combine Figure 1Specifically, the gateway host 10 is also provided with a console port 16, a LAN port 17, an LED indicator light 18, a 5G antenna interface 19, etc.
[0051] Please combine Figure 3 The present invention also discloses a fiber optic ring network system, comprising a plurality of edge gateway devices 1 as described above, which form a fiber optic ring network. Specifically, the fiber optic ring network can be connected to the network via a router 3. Specifically, the edge gateway devices 1 can be connected to edge devices 4 such as IPCs, sensors, alarm buttons, and lighting.
[0052] In an embodiment of the present invention, a first optical port 12 for plugging in a first optical module 20 and a second optical port 13 for plugging in a second optical module 30 are provided on the gateway host 10 of the edge gateway device 1. The first optical module 20 and the second optical module 30 are used to connect the edge gateway device 1 to a fiber optic ring network. When one of the optical fiber lines fails and data transmission is impossible, the other optical fiber line can be switched to prevent the network from being disconnected. In addition, in an embodiment of the present invention, a wireless communication module 14 is also provided. When the first optical module 20 and the second optical module 30 in the fiber optic ring network are unable to transmit data, the wireless communication module 14 can be used to connect to a wireless network, thereby further improving the reliability of the edge gateway device 1. In addition, the present invention does not require the installation of a ring network switch, which is conducive to reducing costs.
[0053] The above disclosure is only a preferred example of the present invention, and its role is to facilitate the understanding and implementation of those skilled in the art. It certainly cannot be used to limit the scope of rights of the present invention. Therefore, equivalent changes made within the scope of the patent application of the present invention still fall within the scope covered by the present invention.
Claims
1. An edge gateway device supporting an optical fiber ring network, characterized in that: include: A gateway host, wherein the gateway host is provided with a mainboard and a first optical port, a second optical port and a wireless communication module connected to the mainboard; A first optical module, which is plugged into the first optical port and connected to the mainboard through the first optical port; A second optical module, the second optical module is plugged into the second optical port and connected to the mainboard through the second optical port; The first optical module and the second optical module are used to connect the edge gateway device in a fiber optic ring network.
2. The edge gateway device supporting the optical fiber ring network as claimed in claim 1, characterized in that: The first optical module and the second optical module both include an optical module chip, the optical module chip includes a first pin and a second pin, the first pin is a transmission fault pin, the second pin is a transmission enable pin, the first pin and the second pin are connected to the mainboard, when the first optical module or the second optical module performs data transmission normally, the first pin is set to a high level or a low level, and the second pin is set to a high level or a low level, when data transmission through the first optical module or the second optical module fails, the first pin and the second pin are switched between high and low levels respectively, and the mainboard determines that there is a transmission fault based on the obtained switched level signal.
3. The edge gateway device supporting the optical fiber ring network as claimed in claim 2, characterized in that: The first pin and the second pin are switched between high and low levels through a pull resistor.
4. The edge gateway device supporting the optical fiber ring network as claimed in claim 2, characterized in that: When the first optical module or the second optical module performs data transmission normally, the first pin is set to a low level and the second pin is set to a high level. When data transmission through the first optical module or the second optical module fails, the first pin is switched from a low level to a high level, and the second pin is switched from a high level to a low level.
5. The edge gateway device supporting the optical fiber ring network as claimed in claim 2, characterized in that: When the first optical module or the second optical module is performing data transmission normally, the register of the mainboard counts based on the number of sent and received data packets, and after the first optical module or the second optical module obtains that the counting of the register stops, the first pin and the second pin are switched to high and low levels respectively.
6. The edge gateway device supporting the optical fiber ring network according to claim 2, characterized in that: After the mainboard obtains that the first pin and the second pin of the first optical module and the first pin and the second pin of the second optical module are both at the level of a data transmission failure state, the mainboard controls the wireless communication module to connect to the network for data transmission and reception.
7. The edge gateway device supporting the optical fiber ring network according to claim 1, characterized in that: After the mainboard obtains that the first optical module and the second optical module located in the optical fiber ring network are unable to perform data transmission, the mainboard controls the wireless communication module to connect to the network to perform data transmission and reception.
8. The edge gateway device supporting the optical fiber ring network according to claim 7, characterized in that: The wireless communication module is provided with a wake-up channel, a power supply channel, a reset channel and a clock request channel. The wireless communication module uses the wake-up channel to send a wake-up request to the mainboard based on the information that the first optical module and the second optical module in the optical fiber ring network are unable to transmit data. Based on the wake-up request, the mainboard supplies power to the wireless communication module through the power supply channel, resets the wireless communication module through the reset channel, and starts the clock of the wireless communication module through the clock request channel.
9. The edge gateway device supporting the optical fiber ring network as claimed in claim 1, characterized in that: The wireless communication module includes at least one SIM card. The gateway host is provided with at least one card slot, and the SIM card is pluggably inserted in the card slot.
10. An optical fiber ring network system, characterized in that: It comprises a plurality of edge gateway devices as described in any one of claims 1 to 9, wherein the plurality of edge gateway devices form a fiber optic ring network.