CN112333091B - Routing system, method and device - Google Patents
Routing system, method and device Download PDFInfo
- Publication number
- CN112333091B CN112333091B CN202011226008.1A CN202011226008A CN112333091B CN 112333091 B CN112333091 B CN 112333091B CN 202011226008 A CN202011226008 A CN 202011226008A CN 112333091 B CN112333091 B CN 112333091B
- Authority
- CN
- China
- Prior art keywords
- routing
- link
- routing device
- configure
- communication
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000004891 communication Methods 0.000 claims abstract description 127
- 238000006243 chemical reaction Methods 0.000 claims abstract description 64
- 230000005540 biological transmission Effects 0.000 claims abstract description 59
- 230000003068 static effect Effects 0.000 claims description 34
- 238000012544 monitoring process Methods 0.000 claims description 33
- 230000002457 bidirectional effect Effects 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 7
- 230000003287 optical effect Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 9
- 238000013461 design Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004220 aggregation Methods 0.000 description 1
- 230000002776 aggregation Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The application provides a routing system, a method and a device, which relate to the technical field of communication. The system comprises: the first routing device, the first conversion device, the first gateway device, the first transport network subsystem, the second routing device, the second conversion device, and the second gateway device. The first conversion equipment and the second conversion equipment are respectively in wired connection with the first transmission network subsystem, and the first gateway equipment and the second gateway equipment are respectively in wireless connection with the second transmission network subsystem. The first conversion equipment, the first transmission network subsystem and the second conversion equipment form a first link, and the first gateway equipment, the second transmission network subsystem and the second gateway equipment form a second link. The first routing device is configured to communicate with the second routing device via the first link, or communicate with the second routing device via the second link.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a routing system, method, and apparatus.
Background
In the prior art, a point-to-point private line can be established between two user nodes to realize communication between the two user nodes. Illustratively, the peer-to-peer private line may be initiated by a routing device of a user node a, passes through a conversion device of the user node a, passes through a conversion device of a transmission network to a conversion device of a user node B of an opposite end, and finally reaches the routing device of the user node B, so that communication between the user node a and the user node B may be implemented.
At present, a switching device of a user network is connected with a transmission device which is connected to a machine room in a transmission network through an optical cable. Traffic communication between subscriber sites is also interrupted in the event of a failure of the optical cable. In the municipal construction stage, the optical cable is frequently dug and broken, so that the service communication between user network points cannot be guaranteed.
Disclosure of Invention
The application provides a routing system, a method and a device, which can ensure the service communication among user network points when an optical cable fails.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, the present application provides a routing system, including: the first routing device, the first conversion device, the first gateway device, the first transport network subsystem, the second routing device, the second conversion device, and the second gateway device. The first routing equipment is respectively connected with the first conversion equipment and the first gateway equipment, and the second routing equipment is respectively connected with the second conversion equipment and the second gateway equipment; the first conversion equipment and the second conversion equipment are respectively in wired connection with the first transmission network subsystem, and the first gateway equipment and the second gateway equipment are respectively in wireless connection with the second transmission network subsystem. The first conversion equipment, the first transmission network subsystem and the second conversion equipment form a first link of the routing system, and the first gateway equipment, the second transmission network subsystem and the second gateway equipment form a second link of the routing system. The first routing device is configured to communicate with the second routing device via the first link, or to communicate with the second routing device via the second link.
It can be seen that in the routing system provided in the present application, two communication links (corresponding to the first link and the second link in the present application) are established between the first routing device and the second routing device. In the first link, the first conversion device and the second conversion device are respectively in wired connection (for example, optical cable connection) with the first transmission network subsystem; in the second link, the first gateway device and the second gateway device are wirelessly connected to the second transport network subsystem, respectively. Because the two communication links are respectively in wired connection and wireless connection, when the wired connection fails, the first routing equipment and the second routing equipment can realize wireless communication through the second link, and when the wireless network fails, the first routing equipment and the second routing equipment can realize wired communication through the first link. In summary, the routing system provided by the present application can ensure communication between the first routing device and the second routing device, so as to ensure service communication between the user network point where the first routing device is located and the user network point where the second routing device is located.
Optionally, in a possible design, the routing system provided in the first aspect of the present application may further include a server.
The server is connected with the first routing device and the second routing device respectively. The server is configured to configure a first static identifier for an interface between the first routing device and the first conversion device, configure a second static identifier for an interface between the first routing device and the first gateway device, configure a third static identifier for an interface between the second routing device and the second conversion device, and configure a fourth static identifier for an interface between the second routing device and the second gateway device.
Optionally, in another possible design, the "server" is further configured to configure a first communication protocol address for the first link, configure a second communication protocol address for the second link, and configure a priority of the first communication protocol address to be higher than a priority of the second communication protocol address.
Optionally, in another possible design, the "server" is further configured to set a bidirectional forwarding detection protocol for the first routing device and the second routing device, respectively.
Optionally, in another possible design, the "server" is further configured to set both the first link and the second link to be in an internet security protocol tunnel mode.
In a second aspect, the present application provides a routing method, which can be applied to the first routing device in the routing system provided in the first aspect. The method comprises the following steps: the method comprises the steps that a first routing device monitors a first communication link with a second routing device under the condition that the first routing device communicates with the second routing device; under the condition that the first communication link is monitored to be in fault, if the first routing equipment determines that the first communication link is the first link, switching to a second link to communicate with the second routing equipment; and if the first routing equipment determines that the first communication link is the second link, switching to the first link to communicate with the second routing equipment.
In a third aspect, the present application provides a routing method, which may be applied to the second routing device in the routing system provided in the first aspect. The method comprises the following steps: the second routing equipment monitors a second communication link with the first routing equipment under the condition of communicating with the first routing equipment; under the condition that the second communication link is monitored to be in fault, if the second routing equipment determines that the second communication link is the first link, switching to the second link to communicate with the first routing equipment; and if the second routing equipment determines that the second communication link is the second link, switching to the first link to communicate with the first routing equipment.
In a fourth aspect, the present application provides a first routing device, which may implement the routing method provided in the second aspect, and the first routing device includes: the device comprises a monitoring module and a determining module. The monitoring module is used for monitoring a first communication link with the second routing equipment under the condition of communicating with the second routing equipment; the determining module is used for switching to a second link to communicate with the second routing device if the first communication link is determined to be the first link under the condition that the monitoring module monitors that the first communication link fails; the determining module is further configured to switch to the first link to communicate with the second routing device if the first communication link is determined to be the second link under the condition that the monitoring module monitors that the first communication link fails.
In a fifth aspect, the present application provides a second routing device, which may implement the routing method provided in the third aspect, where the second routing device includes: the device comprises a monitoring module and a determining module. The monitoring module is used for monitoring a second communication link with the first routing equipment under the condition of communicating with the first routing equipment; the determining module is used for switching to the second link to communicate with the first routing device if the second communication link is determined to be the first link under the condition that the monitoring module monitors that the second communication link fails; the determining module is further configured to, when the monitoring module monitors that the second communication link fails, switch to the first link to communicate with the first routing device if the second communication link is determined to be the second link.
In a sixth aspect, the present application provides a routing apparatus, including a processor, which is configured to be coupled with a memory, read and execute instructions in the memory, so as to implement the routing method provided in the second aspect or the third aspect.
Optionally, the routing device may further comprise a memory for storing program instructions and data for the routing device.
Alternatively, the routing device may be a router, or may be a part of a device in the router, for example, a system on chip in the router. The system-on-chip is configured to support the routing device to implement the functions referred to in the second or third aspect, for example, to process data and/or information referred to in the above-mentioned routing method. The chip system includes a chip and may also include other discrete devices or circuit structures.
In a seventh aspect, the present application provides a computer-readable storage medium, in which instructions are stored, and when the instructions are executed by a computer, the routing method provided in the second aspect or the third aspect is implemented.
In an eighth aspect, the present application provides a computer program product comprising computer instructions which, when run on a computer, cause the computer to perform the routing method as provided in the second or third aspect.
It should be noted that all or part of the computer instructions may be stored on the computer readable storage medium. The computer readable storage medium may be packaged together with the processor of the routing device or may be packaged separately from the processor of the routing device, which is not limited in this application.
For the descriptions of the second aspect to the eighth aspect in the present application, reference may be made to the detailed description of the first aspect; in addition, for the beneficial effects described in the second aspect to the eighth aspect, reference may be made to the beneficial effect analysis of the first aspect, which is not described herein again.
In the present application, the names of the routing systems or routing devices described above do not limit the devices or functional modules themselves, which may appear under other names in an actual implementation. Insofar as the functions of the individual devices or functional modules are similar to those of the present invention, they come within the scope of the appended claims and their equivalents.
These and other aspects of the present application will be more readily apparent from the following description.
Drawings
Fig. 1 is a schematic architecture diagram of a routing system according to an embodiment of the present application;
fig. 2 is a schematic architecture diagram of another routing system according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a first transmission network subsystem according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a second transport network subsystem according to an embodiment of the present application;
fig. 5 is a schematic architecture diagram of another routing system according to an embodiment of the present application;
fig. 6 is a schematic flowchart of a routing method according to an embodiment of the present application;
fig. 7 is a flowchart illustrating another routing method according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a first routing device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a second routing device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a routing device according to an embodiment of the present application.
Detailed Description
The routing system, method and apparatus provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone.
The terms "first" and "second" and the like in the description and drawings of the present application are used for distinguishing different objects or for distinguishing different processes for the same object, and are not used for describing a specific order of the objects.
Furthermore, the terms "including" and "having," and any variations thereof, as referred to in the description of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the present application, the meaning of "a plurality" means two or more unless otherwise specified.
In the prior art, a point-to-point private line can be established between two user nodes to realize communication between the two user nodes. Referring to fig. 1, an existing routing system is provided that establishes a peer-to-peer private line between a user site a and a user site B.
As shown in fig. 1, the point-to-point private line may be initiated by a routing device of a user node a, passes through a conversion device of the user node a, passes through a conversion device of a user node B from a transmission network to an opposite end, and finally reaches a routing device of the user node B, so that communication between the user node a and the user node B may be implemented.
At present, conversion equipment of a user network point is connected with transmission equipment accessed to a machine room in a transmission bearing network through an optical cable. Traffic communication between subscriber sites is also interrupted in the event of a failure of the optical cable. In the municipal construction stage, the optical cable is frequently dug and broken, so that the service communication between user network points cannot be guaranteed. Taking the routing system shown in fig. 1 as an example, if an optical cable between the conversion device of the user site a and the transmission network fails, or an optical cable between the conversion device of the user site B and the transmission network fails, service communication between the user site a and the user site B is affected.
In view of the problems in the prior art, an embodiment of the present application provides a routing system, where two communication links are established between a first routing device and a second routing device, and when the first routing device communicates with the second routing device, if a communication link fails, the other communication link may be switched to.
Fig. 2 is a schematic structural diagram of a routing system provided in the embodiment of the present application. As shown in fig. 2, the routing system includes: a first routing device 01, a first conversion device 02, a first gateway device 03, a first transport network subsystem, a second routing device 04, a second conversion device 05, and a second gateway device 06.
In a possible implementation manner, the first routing device 01, the first conversion device 02, and the first gateway device 03 may be deployed at a user site of a first user, and the second routing device 04, the second conversion device 05, and the second gateway device 06 may be deployed at a user site of a second user. For example, the first user and the second user may be two different enterprise users, and the first user and the second user may also be two users of the same enterprise user with different home locations.
Illustratively, the first routing device 01 and the second routing device 04 may be routers. The first conversion device 02 and the second conversion device 05 may be Customer Premise Equipment (CPE).
The first gateway device 03 and the second gateway device 06 may be Fixed Wireless Access (FWA) gateway devices. Illustratively, the first gateway device 03 and the second gateway device 06 may be the fifth generation mobile communication technology (5 g) FWA gateway devices.
The first routing device 01 is connected to the first conversion device 02 and the first gateway device 03, and the second routing device 04 is connected to the second conversion device 05 and the second gateway device 06. The first conversion device 02 and the second conversion device 05 are respectively in wired connection with the first transmission network subsystem, and the first gateway device 03 and the second gateway device 06 are respectively in wireless connection with the second transmission network subsystem. The first conversion device 02, the first transport network subsystem and the second conversion device 05 form a first link of the routing system, and the first gateway device 03, the second transport network subsystem and the second gateway device 06 form a second link of the routing system.
The first routing device 01 is configured to communicate with the second routing device 04 via a first link or with the second routing device 04 via a second link. Illustratively, if the first gateway device 03 and the second gateway device 06 are 5G-FWA gateway devices at 3.5GHZ, the second link may provide a communication bandwidth of 100M.
In one possible implementation, the first transport network subsystem may include a transport aggregation network, a first transport access network, and a second transport access network. Referring to fig. 3, a schematic diagram of a first transport network subsystem is provided. As shown in fig. 3, each of the first transmission access network and the second transmission access network includes a plurality of transmission devices, the first switching device 02 is in wired connection with a transmission device closest to the first switching device 02 among the plurality of transmission devices of the first transmission access network, and the second switching device 05 is in wired connection with a transmission device closest to the second switching device 05 among the plurality of transmission devices of the second transmission access network. The first transmission access network is connected with the second transmission access network through a transmission convergence network.
It should be understood that, in practical applications, the first transmission network subsystem further includes other hardware devices or software systems, and only devices that may be used in the embodiments of the present application are described herein, and do not form a specific limitation on the first transmission network subsystem.
In a possible implementation manner, the second transmission network subsystem may include a first Base station, a first baseband processing unit (BBU), a first transmission network, a core network, a second transmission network, a second BBU, and a second Base station. Referring to fig. 4, a schematic diagram of a second transport network subsystem is provided. As shown in fig. 4, each of the first transmission network and the second transmission network includes a plurality of transmission devices, the first gateway device 03 is wirelessly connected to a first base station in an area where the first gateway device 03 is located, the first base station is connected to a first BBU, the first BBU is connected to a transmission device closest to the first BBU among the plurality of transmission devices of the first transmission network, the first transmission network is connected to a second transmission network through a core network, the transmission device closest to the second BBU among the plurality of transmission devices of the second transmission network is connected to a second BBU, the second BBU is connected to a second base station, and the second base station is connected to a second gateway device 06.
It should be understood that, in practical applications, the second transport network subsystem further includes other hardware devices or software systems, and only devices that may be used in the embodiments of the present application are described herein, and do not constitute a specific limitation to the second transport network subsystem.
Optionally, as shown in fig. 5, the routing system provided in the embodiment of the present application may further include a server 07, where the server 07 is connected to the first routing device 01 and the second routing device 04, respectively.
The server 07 is configured to configure a first static identifier for an interface between the first routing device 01 and the first conversion device 02, configure a second static identifier for an interface between the first routing device 01 and the first gateway device 03, configure a third static identifier for an interface between the second routing device 04 and the second conversion device 05, and configure a fourth static identifier for an interface between the second routing device 04 and the second gateway device 06.
The first routing device 01 may access the first link or the second link through two interfaces corresponding to the first static identifier and the second static identifier, respectively, and the second routing device 04 may access the first link or the second link through two interfaces corresponding to the third static identifier and the fourth static identifier, respectively.
Optionally, the server 07 is further configured to configure the first link with a first communication protocol address (i.e. gateway IP), configure the second link with a second communication protocol address, and configure the first communication protocol address with a higher priority than the second communication protocol address. That is, the first link is configured as a primary link, the second link is configured as a secondary link, and the default first routing device 01 and the second routing device 04 communicate using the first link, and may switch to the second link when the first link fails.
Of course, in practical applications, the priority of the first communication protocol address may be configured to be lower than that of the second communication protocol address. That is, the second link is configured as a primary link, the first link is configured as a secondary link, and the default first routing device 01 and the second routing device 04 communicate using the second link, and may switch to the first link when the second link fails.
Optionally, the server 07 is further configured to set a Bidirectional Forwarding Detection protocol (BFD) for the first routing device 01 and the second routing device 04, respectively. When the first routing device 01 communicates with the second routing device 04 through the first link or the second link, whether a path between the first routing device 01 and the second routing device 04 has a fault or not may be detected through BFD.
Optionally, the server 07 is further configured to set both the first link and the second link to be an internet security protocol (IPSEC) tunnel mode, so as to ensure security of data transmission when the first routing device 01 and the second routing device 04 communicate through the first link or the second link.
Optionally, the first link and the second link may support security authentication manners such as certificate authentication, EAP-AKA authentication (a security authentication manner), and pre-shared key (PSK) authentication, so as to further ensure security of data transmission when the first routing device 01 and the second routing device 04 communicate through the first link or the second link.
In summary of the above description, in the routing system provided in the embodiment of the present application, two communication links (corresponding to the first link and the second link in the embodiment of the present application) are established between the first routing device and the second routing device. In the first link, the first conversion device and the second conversion device are respectively connected with the first transmission network subsystem in a wired manner (for example, connected by an optical cable); in the second link, the first gateway device and the second gateway device are wirelessly connected to the second transport network subsystem, respectively. Because the two communication links are respectively in wired connection and wireless connection, when the wired connection fails, the first routing device and the second routing device can realize wireless communication through the second link, and when the wireless network fails, the first routing device and the second routing device can realize wired communication through the first link. Therefore, the routing system provided by the embodiment of the present application can ensure communication between the first routing device and the second routing device, so as to ensure service communication between the user node where the first routing device is located and the user node where the second routing device is located.
Referring to fig. 6, an embodiment of the present application further provides a routing method, which may be applied to a first routing device in the routing system shown in fig. 2 or fig. 5, where the method includes S101-S102:
s101, monitoring a first communication link with a second routing device by a first routing device under the condition that the first routing device is communicated with the second routing device.
S102, under the condition that the first routing equipment monitors that the first communication link fails, if the first communication link is determined to be the first link, switching to a second link to communicate with the second routing equipment; and if the first communication link is determined to be the second link, switching to the first link to communicate with the second routing device.
It can be seen that, at this time, the first routing device is an initiating end of the communication service, and the second routing device is a receiving end of the communication service.
Referring to fig. 7, an embodiment of the present application further provides a routing method, which may be applied to the second routing device in the routing system shown in fig. 2 or fig. 5, where the method includes S201-S202:
s201, monitoring a second communication link with the first routing equipment by the second routing equipment under the condition of communicating with the first routing equipment.
S202, under the condition that the second communication link is monitored to be in fault by the second routing equipment, if the second communication link is determined to be the first link, switching to the second link to communicate with the first routing equipment; and if the second communication link is determined to be the second link, switching to the first link to communicate with the first routing device.
It can be seen that, at this time, the second routing device is an originating end of the communication service, and the first routing device is a receiving end of the communication service.
Fig. 8 shows a schematic diagram of a possible structure of the first routing device 01 in the routing system according to the embodiment. The first routing device 01 comprises: a monitoring module 11 and a determination module 12.
The monitoring module 11 executes S101 in the foregoing method embodiment, and the determining module 12 executes S102 in the foregoing method embodiment.
In particular, the monitoring module 11 is configured to monitor a first communication link with a second routing device in case of communication with the second routing device.
And a determining module 12, configured to switch to a second link to communicate with the second routing device if the first communication link is determined to be the first link when the monitoring module 11 monitors that the first communication link fails.
The determining module 12 is further configured to, when the monitoring module 11 monitors that the first communication link fails, switch to the first link to communicate with the second routing device if it is determined that the first communication link is the second link.
Optionally, the first routing device 01 may further include a storage module. The storage module is used for storing the program code of the first routing device 01 and the like.
Fig. 9 shows a schematic diagram of a possible structure of the second routing device 04 in the routing system involved in the above embodiment. The second routing device 04 comprises: a monitoring module 41 and a determination module 42.
The monitoring module 41 executes step S201 in the foregoing method embodiment, and the determining module 42 executes step S202 in the foregoing method embodiment.
Specifically, the monitoring module 41 is configured to monitor a second communication link with the first routing device in case of communication with the first routing device.
A determining module 42, configured to, when the monitoring module 41 monitors that the second communication link fails, switch to the second link to communicate with the first routing device if it is determined that the second communication link is the first link.
The determining module 42 is further configured to, when the monitoring module 41 monitors that the second communication link fails, switch to the first link to communicate with the first routing device if it is determined that the second communication link is the second link.
Optionally, the second routing device 04 may further comprise a storage module. The storage module is used for storing the program code of the second routing device 04, etc.
As shown in fig. 10, an embodiment of the present application further provides a routing apparatus, which includes a memory 51, a processor 52, a bus 53, and a communication interface 54; the memory 51 is used for storing computer execution instructions, and the processor 52 is connected with the memory 51 through a bus 53; when the routing apparatus is operating, the processor 52 executes computer-executable instructions stored by the memory 51 to cause the routing apparatus to perform a routing method applied to the first routing device or a routing method applied to the second routing device as provided in the embodiments described above.
In particular implementations, processor 52 (52-1 and 52-2) may include one or more Central Processing Units (CPUs), such as CPU0 and CPU1 shown in FIG. 10, as one embodiment. And as an example, the routing device may include a plurality of processors 52, such as processor 52-1 and processor 52-2 shown in fig. 10. Each of the processors 52 may be a single-Core Processor (CPU) or a multi-Core Processor (CPU). Processor 52 may refer herein to one or more devices, circuits, and/or processing cores that process data (e.g., computer program instructions).
The memory 51 may be, but is not limited to, a read-only memory 51 (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 51 may be self-contained and coupled to the processor 52 via a bus 53. The memory 51 may also be integrated with the processor 52.
In a specific implementation, the memory 51 is used for storing data in the present application and computer-executable instructions corresponding to software programs for executing the present application. Processor 52 may route various functions of the device by running or executing software programs stored in memory 51, as well as invoking data stored in memory 51.
The communication interface 54 may be any device, such as a transceiver, for communicating with other devices or communication networks, such as a control system, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), etc. The communication interface 54 may include a receiving unit implementing a receiving function and a transmitting unit implementing a transmitting function.
The bus 53 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an extended ISA (enhanced industry standard architecture) bus, or the like. The bus 53 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 10, but this is not intended to represent only one bus or type of bus.
As an example, in connection with fig. 8, the monitoring module in the first routing device implements the same functions as the processor in fig. 10, and the storage module in the first routing device implements the same functions as the memory in fig. 10.
For the explanation of the related content in this embodiment, reference may be made to the above method embodiment, which is not described herein again.
Through the description of the foregoing embodiments, it will be clear to those skilled in the art that, for convenience and simplicity of description, only the division of the functional modules is illustrated, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the apparatus may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
An embodiment of the present application further provides a computer-readable storage medium, in which instructions are stored, and when the instructions are executed by a computer, the computer is enabled to execute the routing method applied to the first routing device or the routing method applied to the second routing device, as provided in the foregoing embodiment.
The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a RAM, a ROM, an erasable programmable read-only memory (EPROM), a register, a hard disk, an optical fiber, a CD-ROM, an optical storage device, a magnetic storage device, any suitable combination of the foregoing, or any other form of computer readable storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuit (ASIC). In embodiments of the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (8)
1. A routing system, comprising: the first routing equipment, the first conversion equipment, the first gateway equipment, the first transmission network subsystem, the second routing equipment, the second conversion equipment and the second gateway equipment; the first routing device is connected with the first conversion device and the first gateway device respectively, and the second routing device is connected with the second conversion device and the second gateway device respectively; the first conversion device and the second conversion device are respectively in wired connection with the first transmission network subsystem, and the first gateway device and the second gateway device are respectively in wireless connection with the second transmission network subsystem; the first routing device, the first conversion device and the first gateway device are deployed at a user site of a first user, and the second routing device, the second conversion device and the second gateway device are deployed at a user site of a second user;
the first conversion device, the first transmission network subsystem and the second conversion device constitute a first link of the routing system; the first gateway device, the second transport network subsystem and the second gateway device constitute a second link of the routing system;
the first routing device is configured to communicate with the second routing device via the first link, or communicate with the second routing device via the second link;
the routing system also comprises a server which is respectively connected with the first routing equipment and the second routing equipment;
the server is configured to configure a first static identifier for an interface between the first routing device and the first switching device, configure a second static identifier for an interface between the first routing device and the first gateway device, configure a third static identifier for an interface between the second routing device and the second switching device, and configure a fourth static identifier for an interface between the second routing device and the second gateway device;
the server is further configured to configure a first communication protocol address for the first link, configure a second communication protocol address for the second link, and configure that a priority of the first communication protocol address is higher than a priority of the second communication protocol address;
the server is further configured to set a bidirectional forwarding detection protocol for the first routing device and the second routing device, respectively, so that the first routing device and the second routing device detect whether the first link or the second link fails.
2. The routing system of claim 1,
the server is further configured to set both the first link and the second link to be in an internet security protocol tunnel mode.
3. A routing method is applied to a first routing device, and is characterized in that the first routing device is used for communicating with a second routing device through a first link or communicating with the second routing device through a second link; the first link is composed of a first conversion device, a first transmission network subsystem and a second conversion device; the second link is composed of a first gateway device, a second transmission network subsystem and a second gateway device; the method comprises the following steps:
monitoring a first communication link with the second routing device while in communication with the second routing device;
under the condition that the first communication link is monitored to be in fault, if the first communication link is determined to be the first link, switching to a second link to communicate with the second routing equipment; if the first communication link is determined to be the second link, switching to the first link to communicate with the second routing equipment; the first routing equipment and the second routing equipment are respectively connected with a server; the server is configured to configure a first static identifier for an interface between the first routing device and the first switching device, configure a second static identifier for an interface between the first routing device and the first gateway device, configure a third static identifier for an interface between the second routing device and the second switching device, and configure a fourth static identifier for an interface between the second routing device and the second gateway device; the server is further configured to configure a first communication protocol address for the first link, configure a second communication protocol address for the second link, and configure a priority of the first communication protocol address to be higher than a priority of the second communication protocol address; the first routing device, the first conversion device and the first gateway device are deployed at a user site of a first user, and the second routing device, the second conversion device and the second gateway device are deployed at a user site of a second user; the server is further configured to set a bidirectional forwarding detection protocol for the first routing device and the second routing device, respectively, so that the first routing device detects whether the first link or the second link fails.
4. A routing method is applied to a second routing device, and is characterized in that the second routing device is used for communicating with a first routing device through a first link or communicating with the first routing device through a second link; the first link is composed of a first conversion device, a first transmission network subsystem and a second conversion device; the second link is composed of a first gateway device, a second transmission network subsystem and a second gateway device; the method comprises the following steps:
monitoring a second communication link with the first routing device while in communication with the first routing device;
under the condition that the second communication link is monitored to be in fault, if the second communication link is determined to be the first link, switching to the second link to communicate with the first routing equipment; if the second communication link is determined to be the second link, switching to the first link to communicate with the first routing device; the first routing equipment and the second routing equipment are respectively connected with a server; the server is configured to configure a first static identifier for an interface between the first routing device and the first switching device, configure a second static identifier for an interface between the first routing device and the first gateway device, configure a third static identifier for an interface between the second routing device and the second switching device, and configure a fourth static identifier for an interface between the second routing device and the second gateway device; the server is further configured to configure a first communication protocol address for the first link, configure a second communication protocol address for the second link, and configure a priority of the first communication protocol address to be higher than a priority of the second communication protocol address; the first routing device, the first conversion device and the first gateway device are deployed at a user site of a first user, and the second routing device, the second conversion device and the second gateway device are deployed at a user site of a second user; the server is further configured to set a bidirectional forwarding detection protocol for the first routing device and the second routing device, respectively, so that the second routing device detects whether the first link or the second link fails.
5. A first routing device, wherein the first routing device is configured to communicate with a second routing device via a first link or communicate with the second routing device via a second link, wherein the first link is composed of a first switching device, a first transport network subsystem and a second switching device, and wherein the second link is composed of a first gateway device, a second transport network subsystem and a second gateway device, the first routing device comprising:
a monitoring module for monitoring a first communication link with the second routing device in the event of communication with the second routing device;
the determining module is configured to, when the monitoring module monitors that the first communication link fails, switch to a second link to communicate with the second routing device if the first communication link is determined to be the first link;
the determining module is further configured to, when the monitoring module monitors that the first communication link fails, switch to the first link to communicate with the second routing device if the first communication link is determined to be a second link; the first routing equipment and the second routing equipment are respectively connected with a server; the server is configured to configure a first static identifier for an interface between the first routing device and the first switching device, configure a second static identifier for an interface between the first routing device and the first gateway device, configure a third static identifier for an interface between the second routing device and the second switching device, and configure a fourth static identifier for an interface between the second routing device and the second gateway device; the server is further configured to configure a first communication protocol address for the first link, configure a second communication protocol address for the second link, and configure that a priority of the first communication protocol address is higher than a priority of the second communication protocol address; the first routing device, the first conversion device and the first gateway device are deployed at a user site of a first user, and the second routing device, the second conversion device and the second gateway device are deployed at a user site of a second user; the server is further configured to set a bidirectional forwarding detection protocol for the first routing device and the second routing device, respectively, so that the first routing device detects whether the first link or the second link fails.
6. A second routing device, wherein the second routing device is configured to communicate with a first routing device through a first link or communicate with the first routing device through a second link, the first link is composed of a first converting device, a first transport network subsystem and a second converting device, and the second link is composed of a first gateway device, a second transport network subsystem and a second gateway device, and the second routing device includes:
a monitoring module for monitoring a second communication link with the first routing device in the case of communication with the first routing device;
the determining module is configured to, when the monitoring module monitors that the second communication link fails, switch to the second link to communicate with the first routing device if it is determined that the second communication link is the first link;
the determining module is further configured to, when the monitoring module monitors that the second communication link fails, switch to the first link to communicate with the first routing device if the second communication link is determined to be the second link; the first routing equipment and the second routing equipment are respectively connected with a server; the server is configured to configure a first static identifier for an interface between the first routing device and the first switching device, configure a second static identifier for an interface between the first routing device and the first gateway device, configure a third static identifier for an interface between the second routing device and the second switching device, and configure a fourth static identifier for an interface between the second routing device and the second gateway device; the server is further configured to configure a first communication protocol address for the first link, configure a second communication protocol address for the second link, and configure that a priority of the first communication protocol address is higher than a priority of the second communication protocol address; the first routing device, the first conversion device and the first gateway device are deployed at a user site of a first user, and the second routing device, the second conversion device and the second gateway device are deployed at a user site of a second user; the server is further configured to set a bidirectional forwarding detection protocol for the first routing device and the second routing device, respectively, so that the second routing device detects whether the first link or the second link fails.
7. A routing device comprising a memory, a processor, a bus, and a communication interface; the memory is used for storing computer execution instructions, and the processor is connected with the memory through the bus;
when the routing apparatus is running, the processor executes the computer-executable instructions stored by the memory to cause the routing apparatus to perform the routing method of claim 3 as applied to a first routing device or the routing method of claim 4 as applied to a second routing device.
8. A computer-readable storage medium having stored therein instructions, which when executed by a computer, cause the computer to perform the routing method applied to a first routing device of claim 3 or the routing method applied to a second routing device of claim 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011226008.1A CN112333091B (en) | 2020-11-05 | 2020-11-05 | Routing system, method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011226008.1A CN112333091B (en) | 2020-11-05 | 2020-11-05 | Routing system, method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112333091A CN112333091A (en) | 2021-02-05 |
CN112333091B true CN112333091B (en) | 2022-11-11 |
Family
ID=74315663
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011226008.1A Active CN112333091B (en) | 2020-11-05 | 2020-11-05 | Routing system, method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112333091B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114938516A (en) * | 2022-04-21 | 2022-08-23 | 杭州初灵信息技术股份有限公司 | Method, system, device and medium for protecting communication link |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109889409A (en) * | 2019-03-15 | 2019-06-14 | 深圳市领佳物联科技有限公司 | Cable network and wireless network double copies chain-circuit system and implementation method |
CN110519148A (en) * | 2019-07-25 | 2019-11-29 | 深圳震有科技股份有限公司 | Method, system and the storage medium in the multilink backup creation channel VPN |
CN110730470A (en) * | 2019-10-24 | 2020-01-24 | 北京大学 | Mobile communication equipment integrating multiple access technologies |
CN111614554A (en) * | 2020-05-20 | 2020-09-01 | 中国联合网络通信集团有限公司 | Route switching method, control device, multi-route network system and storage medium |
CN111885630A (en) * | 2020-07-01 | 2020-11-03 | 中国联合网络通信集团有限公司 | Data transmission method and communication device |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8848518B2 (en) * | 2010-05-06 | 2014-09-30 | Verizon Patent And Licensing Inc. | System and method for providing notification of a change in path condition |
CN104660445B (en) * | 2015-01-21 | 2017-11-21 | 国家电网公司 | Power line carrier system and its network-building method based on path cognition |
US20160262073A1 (en) * | 2015-03-04 | 2016-09-08 | Alcatel-Lucent Usa Inc. | System and method for providing maximum fill link via bonded services |
US10855624B2 (en) * | 2016-05-31 | 2020-12-01 | Interdigital Ce Patent Holdings | Method and device for providing a backup link |
CN107465613B (en) * | 2016-06-03 | 2020-11-06 | 北京华为数字技术有限公司 | Link aggregation interface communication state switching method and device |
CN107819678B (en) * | 2017-09-18 | 2020-09-18 | 大庆中基石油通信建设有限公司 | Device, method and system for switching abnormal links of serial service data channel |
CN110890933B (en) * | 2019-12-23 | 2021-07-27 | 中国移动通信集团内蒙古有限公司 | Service protection method, device, system, equipment and medium |
-
2020
- 2020-11-05 CN CN202011226008.1A patent/CN112333091B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109889409A (en) * | 2019-03-15 | 2019-06-14 | 深圳市领佳物联科技有限公司 | Cable network and wireless network double copies chain-circuit system and implementation method |
CN110519148A (en) * | 2019-07-25 | 2019-11-29 | 深圳震有科技股份有限公司 | Method, system and the storage medium in the multilink backup creation channel VPN |
CN110730470A (en) * | 2019-10-24 | 2020-01-24 | 北京大学 | Mobile communication equipment integrating multiple access technologies |
CN111614554A (en) * | 2020-05-20 | 2020-09-01 | 中国联合网络通信集团有限公司 | Route switching method, control device, multi-route network system and storage medium |
CN111885630A (en) * | 2020-07-01 | 2020-11-03 | 中国联合网络通信集团有限公司 | Data transmission method and communication device |
Non-Patent Citations (4)
Title |
---|
Strategies for P2P connectivity in reconfigurable converged wired/wireless access networks;G Puerto;《百度学术》;20101231;全文 * |
基于TinyOS的6LoWPAN无线网关设计;邓福;《CNKI中国知网》;20190415;全文 * |
多网络路由网关在通用有线无线网中的技术实现;孙力;《百度学术》;20140102;全文 * |
面向WIA-PA网络的边缘网关的研究与实现;王青;《CNKI中国知网》;20200215;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112333091A (en) | 2021-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111953576B (en) | Virtual network communication method, equipment and system | |
CN106656719B (en) | Inter-cloud communication method and related equipment, inter-cloud communication configuration method and related equipment | |
WO2019056949A1 (en) | Service redirection method and device | |
JP6085891B2 (en) | Access control method and system, and access point | |
US20240089299A1 (en) | Method for Providing Restricted Service, and Communications Device | |
JP2019504564A (en) | Method for establishing a roaming connection | |
US20220368563A1 (en) | Method for implementing gre tunnel, access point and gateway | |
CN103125141A (en) | Aggregation of mobile broadband network interfaces | |
CN110234140B (en) | Communication method, device, entity and storage medium | |
EP4096294A1 (en) | Route advertising method, network elements, system, and device | |
US20230336377A1 (en) | Packet forwarding method and apparatus, and network system | |
CN113162779B (en) | Multi-cloud interconnection method and equipment | |
CN112333091B (en) | Routing system, method and device | |
CN112073997B (en) | Communication method and device | |
JP2024514643A (en) | Packet forwarding method, apparatus, and system, and computer-readable storage medium | |
CN111491370B (en) | Communication method, network element, system and storage medium | |
US12114255B2 (en) | Data communication system to serve a user equipment (UE) over a third generation partnership project (3GPP) network core | |
CN110943922A (en) | Data distribution method and router | |
CN103327482B (en) | Terminal and network method for handover control | |
CN112449377B (en) | Network data reporting method and device | |
CN112887185B (en) | Communication method and device of overlay network | |
EP3544363B1 (en) | Techniques for multipath bundling and determining wi-fi connections for multipath bundling | |
CN114867079B (en) | Communication method, device and storage medium | |
JP5013552B2 (en) | Apparatus comprising wireless terminal, method for presenting wireless terminal, and system comprising access point and wireless terminal | |
JP5947763B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |