Communication gateway disaster recovery system and method

By adopting the serial connection design and optical bypass protector in the communication gateway, the problem of insufficient reliability of switching equipment in the traditional disaster recovery and backup solution is solved, a simpler and safer disaster recovery and backup is realized, and the double protection of the network is ensured.

CN115529220BActive Publication Date: 2024-08-27CHINA MOBILE M2M +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110639451.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-08
Publication Date
2024-08-27
Estimated Expiration
2041-06-08

AI Technical Summary

Technical Problem

The traditional communication gateway disaster recovery and backup solution introduces switching equipment for fault detection and link switching, which has the problem of insufficient reliability.

Method used

The first gateway and the second gateway are connected in series. The first gateway has a built-in optical bypass protector. The second gateway activates the optical bypass protector when the first gateway works abnormally and forwards user data packets to the local network or the Internet. Realize disaster recovery and backup, and monitor the status of the gateway through the heartbeat line to alert operation and maintenance personnel.

Benefits of technology

Without adding external fault detection equipment, the disaster recovery backup of the communication gateway is realized, the network structure is simplified, the risk points are reduced, the dual protection capability of the network is improved, and the reliability problem caused by the failure of the switching equipment is avoided. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115529220B
    Figure CN115529220B
Patent Text Reader

Abstract

The present application discloses a communication gateway disaster recovery system and method. The disaster recovery system includes: a first gateway, the first gateway is respectively connected to a local network and a base station; the first gateway is used to forward user data packets from the base station to the local network or the Internet; a second gateway, the second gateway is connected in series with the first gateway; the second gateway is respectively connected to the local network and the Internet; the first gateway and the second gateway also have built-in passive optical bypass protectors; the second gateway is used to start the built-in passive optical bypass protector in the first gateway and forward user data packets from the base station to the local network or the Internet when the first gateway works abnormally. By adopting the technical solution provided by the present application, the first gateway and the second gateway are connected in series, and the disaster recovery backup of the communication gateway can be realized without adding external fault detection equipment and adding additional delays. Compared with the parallel backup method, the network structure is simpler and there are fewer risk points.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a communication gateway disaster recovery system and method. Background Art

[0002] Communication gateways are generally deployed close to the user end, with dispersed nodes and large numbers. For example, in edge computing scenarios, edge computing gateways are relatively dispersed and numerous, and it is impossible to monitor and maintain each edge computing gateway node manually. Therefore, communication gateways are generally designed with disaster recovery and backup solutions, so that in the event of a communication gateway failure, the disaster recovery and backup solutions can be used to restore the network's service capabilities and ensure user experience.

[0003] Traditional communication gateway disaster recovery and backup solutions generally use a parallel approach to connect the communication gateway with base stations, switches, transmission networks, and core networks for dual backup.

[0004] For example, in the edge computing scenario, the traditional parallel disaster recovery backup solution can determine in real time whether the main edge computing gateway is working properly through heartbeat detection. When the switch detects that the main edge computing gateway is unavailable due to a fault, it switches to the backup gateway to continue providing services and triggers a device alarm. The traditional parallel disaster recovery backup solution introduces switching equipment for fault detection and link switching, but the switching equipment itself also has the risk of failure and is not reliable enough. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide a communication gateway disaster recovery system and method, which can solve the technical problem of insufficient reliability of parallel disaster recovery backup solutions in the prior art.

[0006] The technical solution of this application is as follows:

[0007] In a first aspect, a communication gateway disaster recovery system is provided, comprising:

[0008] A first gateway, the first gateway is respectively connected to the local network and the base station for communication; the first gateway is used to forward user data packets from the base station to the local network or the Internet;

[0009] A second gateway, the second gateway is connected in series with the first gateway; the second gateway is respectively connected to the local network and the Internet for communication;

[0010] The first gateway and the second gateway also have built-in optical bypass protectors;

[0011] The second gateway is used to start the optical bypass protector built in the first gateway and forward the user data packet from the base station to the local network or the Internet when the first gateway works abnormally.

[0012] In some embodiments, the first gateway and the second gateway are also connected via a heartbeat line; the heartbeat line is used for the first gateway and the second gateway to monitor each other's working status.

[0013] In some embodiments, the second gateway is connected to the Internet via a transport network and a core network.

[0014] In some embodiments, a firewall is provided between the Internet and the core network.

[0015] In some embodiments, a firewall is provided between the local network and the first gateway and / or the second gateway.

[0016] In a second aspect, a communication gateway disaster recovery method is provided, which is applied to the disaster recovery system described in the first aspect, and the method includes:

[0017] The second gateway receives the target data packet;

[0018] In the case that the target data packet does not include the parsing result from the first gateway or the parsing result indicates that the network to be accessed by the user data packet is a local network, the second gateway forwards the target data packet to the Internet, and

[0019] Activate the optical bypass protector built into the first gateway;

[0020] The parsing result is obtained by the first gateway by parsing the user data packet from the base station.

[0021] In some embodiments, when the parsing result indicates that the network to be accessed by the user data packet is a non-local network, the second gateway forwards the user data packet to the Internet.

[0022] In some embodiments, before the second gateway receives the target data packet, the method further includes:

[0023] The first gateway receives a user data packet from a base station;

[0024] The first gateway parses the user data packet to obtain a parsing result;

[0025] The first gateway obtains the target data packet based on the parsing result and the user data packet;

[0026] When the parsing result indicates that the network to be accessed by the user data packet is a local network, the first gateway forwards the target data packet to the local network;

[0027] When the parsing result indicates that the network to be accessed by the user data packet is a non-local network, the first gateway forwards the target data packet to the second gateway.

[0028] In some embodiments, after starting the optical bypass protector built into the first gateway, the method further includes:

[0029] An alarm message is issued to remind the operation and maintenance personnel to maintain the first gateway.

[0030] In some embodiments, the first gateway is connected to the second gateway via a heartbeat line, and the heartbeat line is used for the first gateway and the second gateway to monitor each other's working status;

[0031] When the first gateway detects that the working state of the second gateway is abnormal, before the second gateway receives the target data packet, the method further includes:

[0032] Activate the optical bypass protector built into the first gateway, and

[0033] Issue an alarm to remind the operation and maintenance personnel to maintain the second gateway.

[0034] In some embodiments, when the working states of the first gateway and the second gateway are both abnormal, the method further includes:

[0035] The optical bypass protector built in the first gateway and the optical bypass protector built in the second gateway are started.

[0036] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:

[0037] The communication gateway disaster recovery system provided by the embodiment of the present application realizes disaster recovery backup of the communication gateway by connecting the first gateway and the second gateway in series, without adding external fault detection equipment (such as a switch) and without adding additional delay. When the first gateway works abnormally, the second gateway can start the built-in optical bypass protector in the first gateway and forward the user data packets from the base station to the local network or the Internet, thereby realizing disaster recovery backup of the communication gateway; compared with the parallel backup method, the network structure is simpler and the risk points are fewer, and the dual protection of the network is truly realized.

[0038] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute an improper limitation on the present application.

[0040] Figure 1 It is a schematic diagram of a disaster recovery backup networking solution in parallel mode in an embodiment of the present application;

[0041] Figure 2 This is a schematic diagram of the structure of a communication gateway disaster recovery system provided in an embodiment of the present application. Figure 1 ;

[0042] Figure 3This is a schematic diagram of the structure of a communication gateway disaster recovery system provided in an embodiment of the present application. Figure 2 ;

[0043] Figure 4 It is a flow chart of a communication gateway disaster recovery method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0044] In order to make those of ordinary skill in the art better understand the technical scheme of the present application, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0045] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here can be implemented in an order other than those illustrated or described here. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are only examples consistent with some aspects of the present application as detailed in the attached claims.

[0046] Based on the background technology, it can be known that in the prior art, the parallel disaster recovery backup solution introduces a switching device to perform fault detection and link switching, but the switching device itself also has the risk of failure and is insufficient in reliability.

[0047] The following uses the 5G edge computing scenario as an example to explain the parallel disaster recovery backup networking solution. Figure 1 Schematic diagram of the parallel disaster recovery backup networking solution.

[0048] 5G edge computing (Multi-access Edge Computing, MEC) provides a powerful cloud-network integrated infrastructure, which promotes the migration of application services to the edge of the network. Due to the wide range of edge computing application scenarios, edge computing gateways are deployed close to the user end, and the distributed nodes are scattered and numerous. It is impossible to monitor and maintain each deployed edge computing gateway node manually 24 hours a day. In order to ensure that the user experience is not affected in the event of an edge computing gateway failure, a network protection mechanism is required to restore the network's service capabilities. The traditional backup solution is a parallel method, which connects the edge computing gateway to the base station and switch for dual backup. Figure 1As shown, the main gateway 101 and the backup gateway 102 are connected in parallel through the switch 103, and the switch is also connected to the base station 103 and the Internet 105 respectively. The main gateway 101 and the backup gateway 102 are both connected to the local network 104. The main gateway 101, the backup gateway 102 and the switch 103 use heartbeat detection to determine in real time whether the main gateway is working normally. When the switch 103 detects that the main gateway 101 is faulty and unavailable, it switches to the backup gateway 102 to continue providing services, and triggers a device alarm prompt at the same time.

[0049] The disadvantage of the traditional edge computing gateway deployment backup method is that the parallel dual backup method introduces new risk points while introducing switching equipment for fault detection and link switching. It is also costly, complex in structure, and lacks reliability.

[0050] Based on the above findings, the embodiments of the present application provide a communication gateway disaster recovery system and method, which realizes a backup mechanism for connecting edge computing gateways in series without introducing new equipment. The technical solution provided by the embodiments of the present application can ensure that when the main gateway fails and cannot provide services normally, it can quickly switch to the backup gateway to continue to provide services and maintain the normal business access needs of users. At the same time, when both the main and backup gateways fail, an escape mechanism is provided to automatically jump data transmission to the backup link for access to public network and local network services.

[0051] The communication gateway disaster recovery system and method provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0052] Figure 2 A schematic diagram of a communication gateway disaster recovery system provided in an embodiment of the present application is shown.

[0053] like Figure 2 As shown, the disaster recovery system may include:

[0054] The first gateway 110 is respectively connected to the local network 130 and the base station 140 for communication; the first gateway 110 is used to forward user data packets from the base station 130 to the local network 120 or the Internet 140;

[0055] The second gateway 120 is connected in series with the first gateway 110. The second gateway 120 is connected to the local network 130 and the Internet 150 respectively; the second gateway 150 is used to start the optical bypass protector built in the first gateway 110 and forward the user data packet from the base station 130 to the local network 120 or the Internet 140 when the first gateway 110 works abnormally;

[0056] The first gateway 110 and the second gateway 120 also have built-in optical bypass protectors.

[0057] In the above embodiments, the gateway is also called an internetwork connector or a protocol converter. The gateway realizes network interconnection above the network layer and is a complex network interconnection device that is only used for interconnection between two networks with different high-level protocols. The gateway can be used for both wide area network interconnection and local area network interconnection. The gateway is a computer system or device that performs the important task of conversion. The gateway is a translator used between two systems with different communication protocols, data formats or languages, or even completely different architectures. Unlike a bridge that simply transmits information, the gateway repackages the received information to meet the needs of the destination system.

[0058] Optical Bypass Protection (OBP), also known as optical bypass protection system, is an intelligent switching system used in the field of optical fiber communication and can automatically bypass faulty network nodes. It can automatically identify the power supply status and signal output status of network nodes, and perform instantaneous optical path switching when a node fails, thereby avoiding full obstruction of network nodes and maintaining normal system connectivity.

[0059] The communication gateway disaster recovery system provided by the embodiment of the present application connects two gateways with built-in optical bypass protectors in series. Under normal circumstances, the first gateway provides services. When the second gateway detects that the first gateway is working abnormally, it will command the optical bypass protector to switch the optical path of the first gateway to the second gateway. At the same time, the second gateway begins to take over the work of the first gateway, realizing the switching to the second gateway when the first gateway fails, that is, the disaster recovery function of the communication gateway system.

[0060] The communication gateway disaster recovery system provided in the embodiment of the present application realizes the system disaster recovery function when two gateways are connected in series through the built-in optical bypass protectors in the first gateway and the second gateway, and does not introduce third-party equipment such as switches. Compared with the parallel backup method, the network structure is simpler and the security of the disaster recovery system is improved.

[0061] Based on the communication gateway disaster recovery system provided in the above embodiment, in order to improve the transmission efficiency and security of the entire network system, another implementation method of the communication gateway disaster recovery system is also provided as another embodiment of the present application. In the communication gateway disaster recovery system provided in the embodiment, other transmission networks and network security systems can also be set on the communication link between the communication gateway and the local network 120 or the Internet 140. Figure 3 .

[0062] Figure 3 A schematic diagram of another communication gateway disaster recovery system provided by an embodiment of the present application is shown. Figure 2 Compared with the disaster recovery system shown in the figure, Figure 3 The disaster recovery system shown may also include a transmission network 160 and a core network 170 .

[0063] In some embodiments, Figure 3 As shown, the second gateway 120 can be connected to the Internet 150 through the transmission network 160 and the core network 170 .

[0064] The disaster recovery method of the embodiment of the present application is "hot backup disaster recovery", and its disaster recovery principle is as follows: two gateway devices activate the working mode independently, and only one server runs at the same time. When the user face data packet passes through the first gateway 110, the first gateway 110 parses the user data packet according to the destination IP address to obtain the parsing result. If the parsing result shows that the destination IP address of the user data packet is a local address, the user data packet is directly forwarded to the local network 130; if the parsing result shows that the destination IP address of the user data packet is not a local address, the user data packet is forwarded to the second gateway 120, and the second gateway 120 directly transmits it to the Internet 150 without processing.

[0065] When the second gateway 120 detects that the destination IP address of the user data packet forwarded by the first gateway 110 is a local address, that is, the local user data is not diverted in the first gateway, that is, the first gateway 110 fails, the second gateway automatically starts the diversion function, and parses the undiverted local business data, that is, the user data packet, and forwards it to the local network 130 or the Internet 150 according to the parsing results, truly realizing the dual backup of the edge technology network, thereby ensuring the normal operation of the entire network system.

[0066] In some embodiments, a firewall may be added to the communication gateway disaster recovery system to further improve the security of the disaster recovery system and ensure the security of the communication network. Figure 3 As shown, a firewall may be provided between the Internet 150 and the core network 170 .

[0067] In some embodiments, a firewall may also be provided between the local network 130 and the first gateway 110 and / or the second gateway 120 .

[0068] The communication gateway disaster recovery system provided in the embodiment of the present application requires user data packets to pass through a firewall before entering the local network or core network. The addition of a firewall can improve the security of the communication gateway system and reduce the probability of the communication gateway system being paralyzed by malicious attacks.

[0069] Based on the communication gateway disaster recovery system provided in the above embodiment, in order to realize mutual disaster recovery backup between the first gateway and the second gateway, so that the first gateway can also monitor the working status of the second gateway, as another embodiment of the present application, another implementation method of the communication gateway disaster recovery system is also provided. In the communication gateway disaster recovery system provided in the embodiment of the present application, a heartbeat line can be set between the first gateway and the second gateway.

[0070] In some embodiments, Figure 2 On the basis of the disaster recovery system shown, the first gateway 110 and the second gateway 150 may also be connected via a heartbeat line, and the heartbeat line is used for the first gateway 110 and the second gateway 120 to monitor each other's working status.

[0071] In the above embodiment, the heartbeat line refers to the network cable used to connect the two servers A and B. The heartbeat line here is used to realize the function of "heartbeat detection". The principle of "heartbeat detection" is as follows: in the two servers A and B, A is a working machine and B is a backup machine, and they are connected by a heartbeat line. Generally, two network cards are equipped on the server, one of which is specially used for communication between two servers (nodes). The software installed on the server monitors the operating status of the other party in real time through the heartbeat line. Once the working host A fails due to various hardware failures, such as power failure, failure of major components or failure of the boot disk, the heartbeat line will be reflected to another host that is backed up by each other, and the host B can be put into work immediately. In this way, the normal operation of the network can be guaranteed to the greatest extent.

[0072] In some examples, Figure 3 A heartbeat line may also be provided in the disaster recovery system shown, so as to connect the first gateway 110 and the second gateway 120 and enable them to monitor each other's working status.

[0073] In the disaster recovery system, the network cable connecting the first gateway 110 and the second gateway 120 is connected by a heartbeat line, and the main working machine, i.e., the first gateway 110, is monitored by software. Once the backup machine, i.e., the second gateway 120, finds that the working machine stops serving for some reason, it is immediately put into use to ensure the smoothness of the network and the normal operation of the service.

[0074] The disaster recovery mode in the embodiment with a heartbeat line is "cold backup disaster recovery", and its disaster recovery principle is as follows: Figure 3 As shown, two gateways are deployed in series between the base station 140 and the transmission network 160 and the core network 170, wherein the first gateway 110 is the main working machine and the second gateway 120 is the backup machine, and they are connected by a heartbeat line. The gateway is equipped with two network cards, one of which is specifically used for communication between the two gateways (nodes). The software installed on the gateway server monitors the operating status of each other in real time through the heartbeat line. Once the working main working machine first gateway 110 fails due to various hardware failures, such as power failure, failure of major components or failure of the boot disk, the system will fail through the heartbeat line 180. It will be reflected to another host that is backed up by each other, and the backup machine second gateway 120 can be put into work immediately and issue a monitoring alarm indication, notifying the maintenance personnel to replace it immediately. In this way, the normal operation of the edge computing network can be guaranteed to the greatest extent.

[0075] The communication gateway disaster recovery system provided by the embodiment of the present application sets a heartbeat line between the first gateway and the second gateway, realizing the cold backup disaster recovery of the first gateway and the second gateway, that is, the standby gateway only needs to start the diversion function when the first gateway fails, and does not need to be in standby state at all times. In the cold backup disaster recovery mode, not only the second gateway can monitor the working status of the first gateway, but the first gateway can also monitor the working status of the second gateway, realizing the mutual monitoring disaster recovery function of the two gateways, and at the same time realizing the disaster recovery function of the communication gateway system, it also increases the service life of the second gateway.

[0076] Based on the same inventive concept, an embodiment of the present application also provides a communication gateway disaster recovery method.

[0077] Figure 4 A communication gateway disaster recovery method provided in an embodiment of the present application is shown, which is applied to the disaster recovery system provided in each embodiment of the first aspect of the present application, such as Figure 4 As shown, the communication gateway disaster recovery method may include steps S410-S430.

[0078] Step S410: The second gateway receives a target data packet.

[0079] The target data packet may be a data packet sent by the user end to the gateway through the base station in the embodiment of the first aspect. When the first gateway is normal, the data packet may be a user data packet processed by the first gateway; when the first gateway is abnormal, the data packet may be a user data packet not processed by the first gateway.

[0080] Step S420: When the target data packet does not include the parsing result from the first gateway or the parsing result indicates that the network to be accessed by the user data packet is a local network, the second gateway forwards the target data packet to the Internet.

[0081] The parsing result, that is, the parsing result obtained by the first gateway in the embodiment of the first aspect by parsing the user data packet from the base station.

[0082] Step S430: start the optical bypass protector built into the first gateway.

[0083] The optical bypass protector built into the first gateway is started, and at the same time the second gateway starts to take over the work of the first gateway.

[0084] In some embodiments, when the parsing result indicates that the network to be accessed by the user data packet is a non-local network, the second gateway forwards the user data packet to the Internet.

[0085] In the disaster recovery system of the first embodiment, when the first gateway is in normal working state, the target data packet received by the second gateway should include the content parsed by the first gateway. At this time, if the target IP address of the user data packet is the local network, the user data packet will not be forwarded to the Internet; if the target IP address of the user data packet is the Internet, the user data packet will be forwarded to the second gateway. Therefore, if the parsing result in the target data packet received by the second gateway indicates that the network to be accessed by the user data packet is a non-local network, it can be determined that the working state of the first gateway is normal and the second gateway does not need to process.

[0086] In some embodiments, before the second gateway receives the target data packet, the first gateway may also process the data packet to generate the target data packet. Based on this, the communication gateway disaster recovery method may further include steps S440-S480.

[0087] Step S440, before the second gateway receives the target data packet, the first gateway receives the user data packet from the base station;

[0088] Step S450, the first gateway parses the user data packet to obtain a parsing result;

[0089] Step S460, the first gateway obtains a target data packet based on the parsing result and the user data packet;

[0090] Step S470, when the parsing result indicates that the network to be accessed by the user data packet is a local network, the first gateway forwards the target data packet to the local network;

[0091] Step S480: When the analysis result indicates that the network to be accessed by the user data packet is a non-local network, the first gateway forwards the target data packet to the second gateway.

[0092] In some embodiments, step S430 may specifically include steps S431 - S432 .

[0093] Step S431, starting the optical bypass protector built into the first gateway;

[0094] Step S432: issuing an alarm message to remind the operation and maintenance personnel to maintain the first gateway.

[0095] In some embodiments, the first gateway is connected to the second gateway via a heartbeat line, and the heartbeat line is used for the first gateway and the second gateway to monitor each other's working status.

[0096] When the first gateway detects that the working state of the second gateway is abnormal, before the second gateway receives the target data packet, the communication gateway disaster recovery method may further include:

[0097] Activate the optical bypass protector built into the first gateway, and

[0098] Issue an alarm to remind the operation and maintenance personnel to maintain the second gateway.

[0099] In some embodiments, when the working states of the first gateway and the second gateway are both abnormal, the communication gateway disaster recovery method may further include:

[0100] The optical bypass protector built in the first gateway and the optical bypass protector built in the second gateway are started.

[0101] The communication gateway disaster recovery method provided in the embodiment of the present application has an escape mechanism. When the first gateway and the second gateway fail at the same time, it automatically jumps to the built-in OBP direct link to the Internet, realizing link switching to ensure normal business.

[0102] The communication gateway disaster recovery system and method provided in the embodiment of the present application do not require additional external fault detection equipment (such as a switch) and do not add additional delay. Compared with the parallel backup method, the network structure is simpler and the cost is lower, truly achieving dual protection of the network.

[0103] Secondly, in an actual network environment, the probability of multiple network devices failing at the same time is very low, but the edge computing gateway proposed in the embodiment of the present application has a built-in OBP bypass detection escape mechanism that automatically switches links, which can effectively solve the problem of simultaneous device failures affecting user perception.

[0104] Finally, the technical solution proposed in the embodiment of the present application is not only applicable to the mobile edge computing gateway system, but also to all communication facility gateway systems. The technical solution provided in the embodiment of the present application improves the operation reliability and disaster recovery capability of the gateway device while ensuring the low-latency diversion and forwarding of the edge computing gateway system.

[0105] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0106] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0107] The above flow chart and / or block diagram of the method and system of the embodiment of the present application describe various aspects of the present application.It should be understood that each square frame in the flow chart and / or block diagram and the combination of each square frame in the flow chart and / or block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed via the processor of a computer or other programmable data processing device enable the realization of the function / action specified in one or more square frames of the flow chart and / or block diagram.Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square frame in the block diagram and / or flow chart and the combination of the square frames in the block diagram and / or flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.

[0108] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A communication gateway disaster recovery system, characterized in that: include: A first gateway, the first gateway is respectively connected to the local network and the base station for communication; the first gateway is used to forward user data packets from the base station to the local network or the Internet; A second gateway, the second gateway is connected in series with the first gateway; the second gateway is respectively connected to the local network and the Internet for communication; The first gateway and the second gateway also have built-in optical bypass protectors; The second gateway is used to start the optical bypass protector built in the first gateway and forward the user data packet from the base station to the local network or the Internet when the first gateway works abnormally; The first gateway is further used to parse the user data packet to obtain a parsing result; The first gateway is further used to obtain a target data packet based on the parsing result and the user data packet; The first gateway is further configured to forward the target data packet to the local network when the parsing result indicates that the network to be accessed by the user data packet is a local network; The first gateway is further configured to forward the target data packet to the second gateway when the parsing result indicates that the network to be accessed by the user data packet is a non-local network; The second gateway is further configured to start the optical bypass protector built in the first gateway and forward the user data packet to the local network when the target data packet does not include the parsing result from the first gateway or the parsing result indicates that the network to be accessed by the user data packet is a local network; The second gateway is further configured to forward the user data packet to the Internet when the parsing result indicates that the network to be accessed by the user data packet is a non-local network.

2. The disaster recovery system according to claim 1, characterized in that: The first gateway and the second gateway are also connected via a heartbeat line; the heartbeat line is used for the first gateway and the second gateway to monitor each other's working status.

3. The disaster recovery system according to claim 1, characterized in that: The second gateway is connected to the Internet via a transmission network and a core network.

4. The disaster recovery system according to claim 3, characterized in that: A firewall is provided between the Internet and the core network.

5. The disaster recovery system according to claim 1, characterized in that: A firewall is provided between the local network and the first gateway and / or the second gateway.

6. A communication gateway disaster recovery method, applied to the disaster recovery system of claim 1, the method comprising: The second gateway receives the target data packet; In the case that the target data packet does not include the parsing result from the first gateway or the parsing result indicates that the network to be accessed by the user data packet is a local network, the second gateway forwards the target data packet to the local network, and Starting the optical bypass protector built into the first gateway; The parsing result is obtained by the first gateway by parsing the user data packet from the base station.

7. The method according to claim 6, characterized in that When the parsing result indicates that the network to be accessed by the user data packet is a non-local network, the second gateway forwards the user data packet to the Internet.

8. The method according to claim 6, characterized in that Before the second gateway receives the target data packet, the method further includes: The first gateway receives a user data packet from a base station; The first gateway parses the user data packet to obtain a parsing result; The first gateway obtains a target data packet based on the parsing result and the user data packet; When the analysis result indicates that the network to be accessed by the user data packet is a local network, the first gateway forwards the target data packet to the local network; When the parsing result indicates that the network to be accessed by the user data packet is a non-local network, the first gateway forwards the target data packet to the second gateway.

9. The method according to claim 6, characterized in that After starting the optical bypass protector built in the first gateway, the method further includes: Send out an alarm message to remind the operation and maintenance personnel to maintain the first gateway.

10. The method according to any one of claims 6 to 9, characterized in that: The first gateway is connected to the second gateway via a heartbeat line, and the heartbeat line is used for the first gateway and the second gateway to monitor each other's working status; When the first gateway detects that the working state of the second gateway is abnormal, before the second gateway receives the target data packet, the method further includes: activating the optical bypass protector built into the first gateway, and Send out an alarm message to remind the operation and maintenance personnel to maintain the second gateway.

11. The method according to claim 10, characterized in that When the working states of the first gateway and the second gateway are both abnormal, the method further includes: The optical bypass protector built in the first gateway and the optical bypass protector built in the second gateway are started.