REDUNDANY SYSTEM OF ROUTING PATHS AND METHOD THEREOF
20170289014 · 2017-10-05
Inventors
- Kuo-Wei HSU (New Taipei City, TW)
- Chih-Chiang LAI (New Taipei City, TW)
- Shih-Chia YEN (New Taipei City, TW)
- Wen-Che HSU (New Taipei City, TW)
- Chien-Yu LAI (New Taipei City, TW)
Cpc classification
International classification
Abstract
The present invention relates to a redundancy system of routing paths and method thereof. By establishing corresponding routing paths from different ports of routers in a ring network to a terminal in advance and transmitting the identical packet to the terminal by the different ports in the different routing paths simultaneously, the time of reestablishing the routing paths may be saved when one of the routing paths is broken, so as to improve the routing efficiency.
Claims
1. A redundancy system of routing paths for at least one router used in a ring network, the redundancy system comprising: a routing module, configured to establish a first routing path from a first port of the router to a terminal in advance, and establishing a second routing path from a second port of the router to the terminal in advance; and a transmission module, configured to transmit a unicast packet via the first routing path and the second routing path simultaneously.
2. The redundancy system according to claim 1, wherein the routing module further transmits an update message having the first routing path and the second routing path to neighboring routers of the router and receives the update message from the neighboring routers to update the first routing path and the second routing path.
3. The redundancy system according to claim 1, wherein the ring network connects to a network topology capable of handling a redundancy process, the network topology comprises a first switch and a second switch, the first switch connects to the ring network at a main port thereof, the second switch connects to the ring network at a backup port thereof, the main port is preset in a conductive status, the backup port is preset in a blocked status, the first routing path goes through the main port of the first switch, and the second routing path goes through the backup port of the second switch.
4. The redundancy system according to claim 3, wherein when the main port is in the interrupted status or in the blocked status, the backup port is in the conductive status and the unicast packet is transmitted to the terminal by the second routing path, and when the backup port is in the interrupted status or in the blocked status, and the main port is in the conductive status and the unicast packet is transmitted to the terminal by the first routing path.
5. The redundancy system according to claim 1, wherein the routing module bases the Address Resolution Protocol to generate the first routing path and the second routing path.
6. A redundancy method of routing paths for at least one router in a ring network, the redundancy method comprising steps of: establishing a first routing path from a first port of the router to a terminal in advance, and establishing a second routing path from a second port of the router to the terminal in advance; and transmitting a unicast packet by the router via the first routing path and the second routing path simultaneously.
7. The redundancy method according to claim 6, further comprising: transmitting an update message having the first routing path and the second routing path to the neighboring routers of the router, and receiving the update message from the neighboring routers to update the first routing path and the second routing path.
8. The redundancy method according to claim 6, wherein the ring network connects to a chain network capable of handling a redundancy process, the chain network comprises a first switch and a second switch, the first switch connects to the ring network at a main port thereof, the second switch connects to the ring network at a backup port thereof, the main port is preset in a conductive status, the backup port is preset in a blocked status, and the first routing path goes through the main port of the first switch, and the second routing path goes through the backup port of the second switch.
9. The redundancy method according to claim 8, wherein when the main port is in the interrupted status or in the blocked status, the backup port is in the conductive status and the unicast packet is transmitted to the terminal by the second routing path, and when the backup port is in the interrupted status or in the blocked status, the main port is in the conductive status and the unicast packet is transmitted to the terminal by the first routing path.
10. The redundancy method according to claim 6, wherein the first routing path and the second routing path are established according to the Address Resolution Protocol.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The accompanying drawings are included to provide a further understanding of the present disclosure, and are incorporated in and constitute a part of this specification. The drawings illustrate exemplary embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0019] Reference will now be made in detail to the exemplary embodiments of the present invention, examples of which are illustrated in the accompanying drawings. Therefore, it is to be understood that the foregoing is illustrative of exemplary embodiments and is not to be construed as limited to the specific embodiments disclosed, and that modifications to the disclosed exemplary embodiments, as well as other exemplary embodiments, are intended to be included within the scope of the appended claims. These embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the inventive concept to those skilled in the art. The relative proportions and ratios of elements in the drawings may be exaggerated or diminished in size for the sake of clarity and convenience in the drawings, and such arbitrary proportions are only illustrative and not limiting in any way. The same reference numbers are used in the drawings and the description to refer to the same or like parts.
[0020] It will be understood that, although the terms ‘first’, ‘second’, ‘third’, etc., may be used herein to describe various elements, these elements should not be limited by these terms. The terms are used only for the purpose of distinguishing one component from another component. Thus, a first element discussed below could be termed a second element without departing from the teachings of embodiments. As used herein, the term “or” includes any and all combinations of one or more of the associated listed items.
[0021] The environment applied to the present invention is described first before representing the redundancy system of routing paths and method thereof. This present invention is applied to at least one router in a ring network. In an embodiment, the ring network may connect to a network topology capable of handling a redundancy process, such as a chain network, a ring network, a mesh network, or etc. The network topology has a first switch and a second switch, where the first switch connects to the ring network at a main port thereof and the second switch connects to the ring network at a backup port thereof. Besides, the blocked status of the present invention indicates that the switches in the network topology or the ring network are allowed to control packets only but the switches are not allowed to transmit general data packets to the next switch by their ports. The interrupted status of the present invention indicates that the physical cable or the port is damaged, resulting in an invalid packet transmission. The conductive status of the present invention indicates that the switches in the network topology or the ring network are allowed to transmit the general data packets to the next switch by their ports. In particular, when one of the main port and the backup port is in the conductive status, the other is in the blocked status. In an embodiment, the preset of the main port of the first switch is in the conductive status, and the preset of the backup port of the second switch is in the blocked status.
[0022] Reference will now be made in detail to the redundancy system of routing paths and method thereof of the present invention, examples of which are illustrated in the accompanying drawings. Please refer to
[0023] The transmission module 102 may transmit a unicast packet via the first routing path 301 and the second routing path 302 simultaneously. When the first routing path 301 is in the interrupted status or in the blocked status, the identical unicast packet can be transmitted by the transmission module 102 by the first routing path 301 and the second routing path 302 simultaneously, so it has no necessary to reestablish the routing path, and the unicast packet may be transmitted to the terminal 140 by the second routing path 302. Similarly, when the second routing path 302 is in the interrupted status or in the blocked status, it has no necessary to reestablish the routing path as well because the unicast packet may be transmitted to the terminal 140 by the first routing path 301. As a result, the time for checking if the routing path is in the interrupted status or in the blocked status and the time for replacing the routing path may be saved. In the embodiment of the present invention, the whole system may avoid the looping problem by using the blocked mechanism. Although the unicast packet is transmitted by the two paths at the same time, such as the first routing path 301 and the second routing path 302, the terminal 140 may receive one unicast packet only and no other transmission problem will be made.
[0024] Next, please refer to
[0025] Besides, after the step 220, in the step 230 an update message, which has the first routing path 301 and the second routing path 302, is transmitted to the neighboring routers 100 and the update message is received from the neighboring routers 100 to update the routing path. For example, it's assumed that there are a master router and a backup router of the present invention. The master router may set the current first routing path 301 and the current second routing path 302 as the update message, and transmit the update message to the neighboring backup router for updating the routing table of the backup router.
[0026] Examples of an embodiment are illustrated in the accompanying
[0027] Please refer to
[0028] Please refer to
[0029] Please refer to
[0030] Please refer to
[0031] In summary, the difference between the present invention and the prior arts is that the present invention establishes the different routing paths by the different ports of the router in the ring network in advance and transmits the identical packet to the terminal by the different ports in the different routing paths simultaneously. Therefore, the problem existed in the prior arts can be overcome by using the technical means of the present invention, and the time of reestablishing the routing paths may be saved when one of the routing paths is broken, to improve the technical effect of the routing efficiency.
[0032] The above-mentioned descriptions represent merely the exemplary embodiment of the present invention, without any intention to limit the scope of the present invention thereto. Various equivalent changes, alternations or modifications based on the claims of present invention are all consequently viewed as being embraced by the scope of the present invention.