Virtual forwarding devices, method of operating the same, and computer readable storage medium
The virtual network system addresses the limitations of traditional network devices by dynamically adjusting frame rates and paths using fiber optic cables with multiple physical fibers, enhancing connectivity and port efficiency.
Patent Information
- Application Number
- JP2024091325
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2020-06-19
- Filing Date
- 2024-06-05
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-03-19
AI Technical Summary
Traditional network devices often require more physical ports than available, leading to service degradation or expensive upgrades due to fixed data rates and limited connectivity.
A virtual network system that utilizes fiber optic cables with multiple physical fibers to dynamically adjust frame rates and paths, incorporating virtual forwarding devices to manage data frames across multiple physical ports, allowing for flexible and efficient data transmission.
Enables flexible data transmission rates and efficient use of physical ports, overcoming the limitations of fixed data rates and port availability in traditional networks.
Smart Images

Figure 2024116231000001_ABST
Abstract
Description
[Technical field]
[0001] The present application relates to the field of computer networks, and in particular to a method for forming a virtual network. [Background technology]
[0002] A wide area network (WAN) is an interconnected web of network devices that typically interconnect local area networks or metropolitan area networks over a large geographic area, such as across a state or country. WANs allow widely separated computers to communicate with each other through the network devices.
[0003] Conventional network devices typically include one or more physical network ports that operate at a predetermined fixed data rate, such as, for example, 10 / 100 / 1000 Mbps (megabits per second), 10 Gbps (gigabits per second), 40 Gbps, and 100 Gbps connections. As part of enabling communication between computer systems over a network, conventional network devices negotiate the transfer speed of the network port, and during that process, the transfer speed of the network port is fixed.
[0004] One of the shortcomings of traditional network devices is that they often require more physical ports than are available, resulting in degraded service or expensive upgrades. As a result, there is a need for an approach to meet the ever-increasing need for ports. Summary of the Invention
[0005] The present invention provides a virtual network that provides data and frame rate flexibility. The present invention includes a method of forming a virtual network that includes passing frames of data at a frame rate across one or more fiber optic cables, each having two or more physical fibers. When the frame rate of the frames of data is greater than a maximum frame rate of a first physical fiber in the fiber optic cable, the passing includes passing a first number of frames of data through a first physical fiber at a first data rate that is less than or equal to the maximum data rate of the first physical fiber, and passing a second number of frames of data through a second physical fiber at a second data rate that is less than or equal to the maximum data rate of the second physical fiber. When the frame rate of the frames of data is less than or equal to the frame rate of the first physical fiber in the fiber optic cable, the passing includes passing pairs of frames of data in sequence through the first physical fiber such that the pairs of frames include data from multiple sources.
[0006] The present invention further includes a virtual forwarding device that forwards frames to a virtual egress device via an alternate path when the primary path forwards frames at a rate lower than the rate at which the frames can be received. The virtual forwarding device of the present invention includes a receiving physical port that receives a second encapsulated frame, a transmitting physical port that will be coupled to a next hop device, an alternate physical port that will be coupled to the alternate hop device, and a virtual port coupled to the receiving physical port, the transmitting physical port, and the alternate physical port. The virtual port is for receiving the second encapsulated frame from the receiving physical port, decompressing the second encapsulated frame to extract the first encapsulated frame, and extracting an identifier of the virtual egress device from the first encapsulated frame. The virtual port is further for determining the next hop device and the alternate hop device from the identifier, and for determining whether the transmitting physical port can accept the frame for forwarding. When the transmitting physical port can accept the frame for forwarding, the virtual forwarding device is for encapsulating the first encapsulated frame to form a third encapsulated frame, and forwarding the third encapsulated frame to the transmitting physical port. The third encapsulation frame has a header that identifies the next hop device.When the transmitting physical port cannot accept the frame for forwarding, it is determined whether an alternate physical port can accept the frame for forwarding.
[0007] The present invention further includes a method of operating a virtual forwarding device. The method includes receiving a second encapsulation frame, decompressing the second encapsulation frame to extract a first encapsulation frame, and extracting an identifier of a virtual egress device from the first encapsulation frame. The method further includes determining a next hop device and an alternate hop device from the identifiers, and determining whether a transmit physical port coupled to the next hop device can accept the frame for forwarding. The method further includes encapsulating the first encapsulation frame to form a third encapsulation frame when the transmit physical port coupled to the next hop device can accept the frame for forwarding, and forwarding the third encapsulation frame to the transmit physical port coupled to the next hop device. The third encapsulation frame has a header that identifies the next hop device. The method additionally includes determining whether a transmit physical port coupled to the alternate hop device can accept the frame for forwarding when the transmit physical port coupled to the next hop device cannot accept the frame for forwarding.
[0008] The present invention further provides a non-transitory computer-readable storage medium having embedded thereon program instructions, which when executed by a processor, cause the processor to perform a method of operating a virtual forwarding device. The method includes receiving a second encapsulation frame, decompressing the second encapsulation frame to extract a first encapsulation frame, and extracting an identifier of a virtual egress device from the first encapsulation frame. The method further includes determining a next hop device and an alternate hop device from the identifiers, and determining whether a transmit physical port coupled to the next hop device can accept the frame for forwarding. The method further includes encapsulating the first encapsulation frame to form a third encapsulation frame when the transmit physical port coupled to the next hop device can accept the frame for forwarding, and forwarding the third encapsulation frame to a transmit physical port coupled to the next hop device. The third encapsulation frame has a header that identifies the next hop device. The method additionally includes determining whether a transmitting physical port coupled to an alternate hop device can accept the frame for forwarding when the transmitting physical port coupled to the next hop device cannot accept the frame for forwarding.
[0009] A better understanding of the features and advantages of the present invention will be obtained by reference to the following detailed description and the accompanying drawings that set forth illustrative embodiments in which key features of the invention are utilized. [Brief description of the drawings]
[0010] [Figure 1A] FIG. 1A is a block diagram illustrating an example virtual network 100 in accordance with the present invention. [Figure 1B1] FIG. 1B1 is a flow chart illustrating a method 150 of operating a virtual network 100 in accordance with the present invention. [Figure 1B2] FIG. 1B2 is a flow chart illustrating a method 150 of operating a virtual network 100 in accordance with the present invention. [Figure 1C]FIG. 1C is a diagram showing an example of a frame according to the present invention. [Figure 2A] FIG. 2A is a block diagram illustrating an example of a transmission circuit 200 in accordance with the present invention. [Figure 2B] FIG. 2B is a block diagram illustrating an example of a transmission circuit 250 in accordance with the present invention. [Figure 2C] FIG. 2C is a block diagram illustrating an example of a transmission circuit 270 in accordance with the present invention. [Figure 2D] FIG. 2D is a timing diagram illustrating an example of the operation of combiner 274 in accordance with the present invention. [Figure 3A] FIG. 3A is a flow chart illustrating an example method 300 of operating a transmission circuit 200 in accordance with the present invention. [Figure 3B] FIG. 3B is a flow chart illustrating an example method 350 of operating the transmission circuit 200 in accordance with the present invention. [Figure 4] FIG. 4 is a block diagram illustrating an example of a transmission circuit 400 in accordance with an alternative embodiment of the present invention. [Diagram 5] FIG. 5 is a block diagram illustrating an example of a transmission circuit 500 in accordance with an alternative embodiment of the present invention. [Figure 6] FIG. 6 is a block diagram illustrating an example of a receiving circuit 600 of a virtual exit device in accordance with the present invention. [Figure 7] FIG. 7 is a flow chart illustrating an example method 700 of operating the receiver circuit 600 in accordance with the present invention. [Figure 8] FIG. 8 is a block diagram illustrating an example of a receiving circuit 800 in accordance with an alternative embodiment of the present invention. [Figure 9] FIG. 9 is a block diagram illustrating an example of a receiving circuit 900 in accordance with an alternative embodiment of the present invention. [Figure 10A] FIG. 10A is a block diagram illustrating an example of a virtual forwarding device 1000 in accordance with the present invention. [Figure 10B] FIG. 10B is a flow chart illustrating an example method 1050 of operating the virtual forwarding device 1000 in accordance with the present invention. [Figure 11] FIG. 11 is a block diagram illustrating an example of a virtual forwarding device 1100 in accordance with the present invention. [Figure 12] FIG. 12 is a flow chart illustrating an example method 1200 for forming a virtual network in accordance with the present invention.
[0011] A better understanding of the features and advantages of the present invention will be obtained by reference to the following detailed description and the accompanying drawings that set forth illustrative embodiments in which the principles of the invention are utilized.
[0012] 1A illustrates a block diagram of an example virtual network 100 in accordance with the present invention. As shown in FIG. 1A, the virtual network 100 includes a number of virtual ingress devices VED1-VEDr, a number of virtual forwarding devices VFD1-VFDs coupled to the virtual ingress devices VED1-VEDr via fiber optic cables, and a number of virtual egress devices VXD1-VXDt coupled to the virtual forwarding devices VFD1-VFDs via fiber optic cables to form a web of interconnected devices.
[0013] The virtual network 100 interconnects a number of local devices, such as local router / switches LRS1-LRSx, with a number of remote devices, such as remote router / switches RRS1-RRSy. In this example, the local router / switch LRS is coupled to a number of user devices, such as set-top boxes (STBs), personal computers (PCs), and video devices (VIDs), while the remote router / switch RRS is similarly coupled to a number of user devices.
[0014] 1B1-1B2 show a flow chart illustrating a method 150 of operation of a virtual network 100 in accordance with the present invention. As shown in FIG. 1B1, the method 150 begins at 152, where a virtual ingress device VED receives a stream of incoming frames, such as STB, PC, and video frames, from a local router / switch. Each incoming frame, in turn, has a header that identifies a remote device, such as a remote router / switch RRS. For example, the virtual ingress device VED1 may receive a stream of incoming frames from a local router / switch LRS1, where each incoming frame has a header that identifies a remote router / switch RRS1.
[0015] 1C shows a diagram illustrating an example of a frame according to the present invention. As shown in FIG. 1C, an input frame has a header including a Src MAC A field that identifies the MAC address of a local router / switch, such as local router / switch LRS1, and a Dist MAC B field that identifies the MAC address of a remote router / switch, such as remote router / switch RRS1. The input frame further includes other fields, such as a type field, a data field, and an error correction (CRC) field.
[0016] 1B1, the method 150 then moves to 154 where the virtual ingress device VED determines the remote router / switch from the header of the incoming frame. The method 150 then moves to 156 where it determines the virtual egress device VXD coupled to the remote router / switch RRS from the identity of the remote router / switch RRS. For example, the MAC address RRS1 of the remote router / switch can be taken from the Dist MAC B field and used to identify via a lookup table the MAC address of the virtual egress device VXD1 that is coupled to the remote router / switch RRS1.
[0017] After determining the virtual egress device VXD, the method 150 moves to 158 where the virtual egress device VED encapsulates the input frame to form a first encapsulated (FE) frame. The FE frame, in turn, has a field that identifies the virtual egress device, which in this example is the virtual egress device VXD1, and a field that contains the input frame. The encapsulation can be performed with a conventional protocol, such as the Provider Backbone Bridge-Traffic Engineering (PBB-TE) protocol or the Transport Multiprotocol Label Switching (T-MPLS) protocol.
[0018] 1C, the FE frame has a Dst MAC X field that identifies the MAC address of a virtual egress device VXD, such as virtual egress device VXD1, and a Src MAC N field that identifies the MAC address of a virtual ingress device VED, such as virtual ingress device VED1. The FE frame further includes other fields, such as an I-tag field, a payload field that contains the input frame, and a CRC field.
[0019] Referring again to FIG. 1B1, the method 150 then moves to 160, where the virtual ingress device determines a first hop device for the FE frame from the identification information of the virtual egress device. The first hop device can be towards the virtual egress device VXD or the virtual forwarding device VFD. For example, the virtual ingress device VED1 can enter the MAC address of the virtual egress device VXD1 into a lookup table to determine the MAC address of the first hop device in the virtual network 100. The method 150 then moves to 162, where the virtual ingress device encapsulates the FE frame to form a second encapsulated (SE) frame. Each SE frame, in turn, has a field that identifies the first hop device and a field that contains the FE frame.
[0020] 1C, the SE frame has a Src MAC C field that identifies the MAC address of the current device, which in this example is virtual ingress device VED1, and a Dist MAC H field that identifies the MAC address of the first hop in virtual network 100, which in this example is virtual forwarding device VFD1. The SE frame further includes a Dst vID field that identifies a virtual port of the virtual ingress device, and a Src vID field that identifies the corresponding virtual port of the virtual egress device.
[0021] 1B1, the method 150 then moves to 164, where the virtual ingress device VED transmits the SE frame to a first hop device, in this example, towards the virtual forwarding device VFD. For example, the virtual ingress device VED1 can transmit the SE frame to the virtual forwarding device VFD1.
[0022] The method 150 then moves to 166, where the first hop device receives the SE frame and determines from the SE frame whether the first hop device is a virtual egress device. When the first hop device is not a virtual egress device, the method 150 moves to 168 to determine a next hop device and an alternate hop device. For example, virtual forwarding device VFD1 may receive the SE frame and determine that virtual forwarding device VFD1 is not a virtual egress device.
[0023] Next, method 150 moves to 170 to determine whether the physical port coupled to the next hop device can accept the frame for transmission. When the physical port coupled to the next hop device can accept the frame for transmission, method 150 moves to 172 to output the SE frame to the physical port coupled to the next hop device and then moves to 174 to transmit the SE frame to the next hop device.
[0024] When at 170 the physical port coupled to the next hop device cannot accept the frame for transmission, method 150 moves to 176 to determine whether the physical port coupled to the alternate hop device can accept the frame for transmission. When the physical port coupled to the alternate hop device can accept the frame for transmission, method 150 moves to 178 to output the SE frame to the physical port coupled to the alternate hop device and then moves to 174 to transmit the SE frame to the alternate hop device. After this, method 150 returns to 166.
[0025] In this example, the alternative hop device is virtual forwarding device VFD2, which thus implements elements 166-178 of FIG. 1B1 to forward the second encapsulated frame to virtual egress device VXD1 or to another virtual forwarding device VFD.
[0026] 1B2, when the first hop device is a virtual egress device at 166, method 150 moves to 182 to decompress the SE frame to extract the FE frame, and then moves to 184 to decompress the FE frame to extract the ingress frame. Method 150 then moves to 186 to determine the remote router / switch from the ingress frame, and then moves to 188 to transmit the ingress frame to the remote router / switch.
[0027] One of the advantages of the present invention is that frames can be forwarded across virtual network 100 without reference to the MAC addresses of remote routers / switches.
[0028] 1A again, the virtual ingress device VED, the virtual forwarding device VFD, and the virtual egress device VXD have static forwarding tables assigned by an administrator. Each incoming frame, such as STB, PC, and video, includes the MAC address of a remote router / switch RRS. The identity of the virtual egress device VXD coupled to the remote router / switch RRS can be assigned and provided by the administrator to the virtual ingress device VED and the virtual egress device VXD so that the hops the frame will take through the virtual network 100 are pre-assigned.
[0029] 2A shows a block diagram illustrating an example of a transmission circuit 200 of a virtual ingress device in accordance with the present invention. As shown in FIG. 2A, the transmission circuit 200 includes a local physical port 210, a framing circuit 212 coupled to the local physical port 210, and a number of transmit virtual ports vPORTa1-vPORTan coupled to the framing circuit 212.
[0030] Each transmit virtual port vPORTa, in turn, includes a transmit queue and a transmit frame formatting circuit. Additionally, the transmit circuit 200 further includes a transmit virtual switch 214 coupled to each of the transmit virtual ports vPORTa, and a network physical port 216 coupled to the transmit virtual switch 214 and to the fiber optic cable.
[0031] 3A shows a flow chart illustrating an example method 300 of operation of the transmission circuit 200 in accordance with the present invention. As shown in FIG. 3A, the method 300 begins at 310 with the framing circuit 212 receiving a series of input frames from the local physical port 210. The method 300 then moves to 312 to examine the series of input frames to determine a frame type (e.g., STB, PC, video) for each input frame, and then moves to 314 to determine a virtual egress device associated with each input frame based on the frame type. Each virtual egress device, in turn, has a number of receiving virtual ports.
[0032] Following this, the method 300 moves to 316, where the framing circuit 212 encapsulates the series of input frames to form a number of first encapsulation (FE) frames. The FE frames have a header that identifies a virtual egress device associated with the series of input frames.
[0033] After this, the method 300 moves to 318, where the transmit virtual ports vPORTa1-vPORTan determine a first hop in the virtual network for the FE frame based on the virtual egress device of the header of the FE frame. Next, the method 300 moves to 320, where the transmit virtual ports vPORTa1-vPORTan encapsulate the FE frame to form a second encapsulated (SE) frame. Each SE frame has a header that identifies the first hop of the SE frame. The header further identifies a receiving virtual port of the associated virtual egress device of the input frame. Additionally, the transmit virtual ports occupy a first portion of the shared memory.
[0034] Following this, method 300 moves to 322, where the transmit virtual switch 214 cycles through transmit virtual ports vPORTa1-vPORTan to sequentially forward the SE frames from each transmit virtual port vPORTa in a fixed repeating order to output a sequence of SE frames. For example, virtual switch 214 may output a sequence of SE frames, where a first SE frame is from vPORT1, a second frame is from vPORT2, a third frame is from vPORT3, and a fourth frame is again from vPORT1.
[0035] If the transmit virtual port vPORTa is empty or partially full, no frame is generated. For example, if the transmit virtual port vPORT2 is empty, the network physical port 216 outputs a frame sequence that includes Frame 1, No Frame, and Frame 3. The method 300 then moves to 324, where the network physical port 216 transmits the SE frame onto the virtual network.
[0036] 3B shows a flow chart illustrating an example method 350 of operation of the transmission circuit 200 in accordance with an alternative embodiment of the present invention. Method 350 is similar to method 300, and as a result, the same reference numbers are utilized to designate elements common to both methods.
[0037] 3B, method 350 first branches from method 300 at 352, where virtual switch 214 determines whether a complete signal has been received from any of the transmit virtual ports vPORTa. A complete signal indicates that the SE frame is ready to be transmitted at the transmit virtual port vPORTa. When virtual switch 214 detects a complete signal from the transmit virtual port vPORTa, method 350 moves to 354, where virtual switch 214 forwards the SE frame from the transmit virtual port vPORTa outputting the complete signal to network physical port 216.
[0038] For example, virtual switch 214 may sequentially receive complete signals from transmit virtual port vPORTa1, transmit virtual port vPORTa2, and transmit virtual port vPORTa3, in which case virtual switch 214 outputs a sequence of SE frames, where a first SE frame is from transmit virtual port vPORT1, a second frame is from transmit virtual port vPORT2, and a third frame is from transmit virtual port vPORT3.
[0039] Alternatively, one of the sources (e.g., STB, PC, video source) can have a data rate that is much faster than the data rate of the other source (e.g., STB, PC, video source), causing one transmitting virtual port vPORTa to output a complete signal much more frequently than the other transmitting virtual port vPORTa.
[0040] For example, if network physical port 216 transmits frames at a frame rate of 5 frames per second, transmit virtual port vPORTa2 outputs frames at a rate three times faster than each of the frame rates of transmit virtual ports vPORTa1 and vPORTa3, transmit virtual port vPORTa2 fully signals three times before the other ports, and transmit virtual port vPORTa1 signals before vPORTa3 signals, then virtual switch 214 forwards a sequence of frames including a first frame from transmit virtual port vPORT2, a second frame from transmit virtual port vPORT2, a third frame from transmit virtual port vPORT2, a fourth frame from transmit virtual port vPORT1, and a fifth frame from transmit virtual port vPORT3.
[0041] In addition to a first-in-first-out approach, in which the order in which complete signals are received determines the order in which SE frames are output from the transmitting virtual port vPORTa by the virtual switch 214, the transmitting virtual ports vPORTa-vPORTan may alternatively include a priority scheme that allows frames to be forwarded from the transmitting virtual port vPORTa to network physical ports in any quantity and in any order.
[0042] 3B, after virtual switch 214 forwards the SE frame from transmitting virtual port vPORTa which outputs a complete signal to network physical port 216, method 350 moves to 356 where network physical port 216 transmits the SE frame. In method 300, the frames that will be output are predictable, whereas in method 350, the frames that will be output are not predictable, although the priority scheme provides some predictability.
[0043] 2A, framing circuit 212 includes a virtual switch 220 and a framer 222 coupled to virtual switch 220. Virtual switch 220 detects the type of an input frame (e.g., STB, PC, video), determines from a static forwarding table a route for the frame to a transmit virtual port vPORTa that matches the type of frame, and outputs the frame toward transmit virtual port vPORTa.
[0044] In this example, virtual switch 220 receives an STB frame transmitted by a local source router / switch, such as router / switch 120, and knows from the source and / or destination MAC addresses in the STB frame that the frame is an STB frame upon receipt. Switch 220 then outputs the STB frame on a first virtual port line P1 that is routed toward a transmit virtual port vPORTa1, which was preselected to receive the STB frame.
[0045] Similarly, virtual switch 220 receives a PC frame transmitted by a local source router / switch and knows from the source and / or destination MAC addresses in the PC frame that the frame is a PC frame upon receipt. Switch 220 then outputs the PC frame on a second virtual port line P2 that is routed toward a transmit virtual port vPORTa2, which was preselected to receive the PC frame.
[0046] The virtual switch 220 further receives the video frame transmitted by the local router / switch, knows from the source and / or destination MAC address in the video frame that the received frame is a video frame, and then outputs the video frame to a third virtual port line P3 that is routed toward the transmitting virtual port vPORTa3, which was preselected to receive the video frame.
[0047] Framer 222 receives STB frames on virtual port line P1, encapsulates the STB frames to form first encapsulated (FE) STB frames, and then forwards the FE STB frames to the transmit queue of transmit virtual port vPORTa1. Similarly, framer 222 receives PC frames on virtual port line P2, encapsulates the PC frames to form first encapsulated (FE) PC frames, and then forwards the FE PC frames to the transmit queue of transmit virtual port vPORTa2. Framer 222 also receives video frames on virtual port line P3, encapsulates the video frames to form first encapsulated (FE) video frames, and then forwards the FE video frames to the transmit queue of transmit virtual port vPORTa3.
[0048] The framer 222 may generate the encapsulation frames using conventional protocols such as the Provider Backbone Bridge-Traffic Engineering (PBB-TE) protocol or the Transport Multiprotocol Label Switching (T-MPLS) protocol. Additionally, the FE STB frame, the FE PC frame, and the FE video frame each have a header with a number of fields that include an identification of the virtual egress device.
[0049] For example, the header of the FE frame may include an egress address field for the MAC address of the virtual egress device, an I-tag field, or a similar field. The header may further include other fields, such as the MAC address of the virtual egress device. In this example, the MAC address of the virtual egress device is provided by an administrator to the virtual egress device.
[0050] For the transmit virtual port vPORTa, the frame formatting circuit of the transmit virtual port vPORTa1 of the transmit circuit 200 receives the FE STB frame, determines a first hop in the virtual network for the FE STB frame from a static forwarding table based on an identification of the virtual egress device, such as a MAC address of the virtual egress device, in the header of the FE STB frame, and encapsulates the FE STB frame to form a second encapsulated (SE) STB frame.
[0051] Similarly, the frame formatting circuit of the transmit virtual port vPORTa2 of the transmit circuit 200 receives the FE PC frame, determines a first hop in the virtual network for the FE PC frame from a static forwarding table based on an identification of the virtual egress device, such as a MAC address of the virtual egress device, in the header of the FE PC frame, and encapsulates the FE PC frame to form a second encapsulated (SE) PC frame.
[0052] Additionally, the frame formatting circuit of the transmitting virtual port vPORTa3 of the transmission circuit 200 receives the FE video frame, determines a first hop in the virtual network for the FE video frame from a static forwarding table based on an identification of the virtual egress device, such as a MAC address of the virtual egress device, in the header of the FE video frame, and encapsulates the FE video frame to form a second encapsulated (SE) video frame.
[0053] The SE STB frame, SE PC frame, and SE video frame each include a header with a first hop field that identifies the MAC address of the first hop device in the virtual network, a source field Src_vID that identifies the virtual port number of the virtual ingress device, and a destination field Dst_vID that identifies the virtual port number of the virtual egress device that matches the virtual port number of the virtual ingress device. In this example, the source field Src_vID for the SE STB frame is the transmit virtual port vPORTa1. Other fields may also be included.
[0054] Additionally, the virtual switch 214 sequentially cycles through the transmission virtual ports vPORTa1-vPORTan to forward the second encapsulated (SE) frames from each virtual port vPORTa to output a series of SE frames to the physical port 216. In this example, the switch 214 forwards the SE STB frames from the transmission virtual port vPORTa1 to the physical port 216, then forwards the SE PC frames from the transmission virtual port vPORTa2 to the physical port 216, then forwards the SE video frames from the transmission virtual port vPORTa3 to the physical port 216, then forwards the SE STB frames from the virtual port vPORTa1 to the physical port 216, which in turn outputs the frames. Although FIG. 2 illustrates the transmission circuit 200 as receiving and operating on input from a single local router / switch, the transmission circuit 200 may alternatively receive and operate on input from multiple routers / switches.
[0055] 2B shows a block diagram illustrating an example of a transmission circuit 250 in accordance with the present invention. Transmission circuit 250 is similar to transmission circuit 200, and as a result, the same reference numbers are used to designate elements common to both transmission circuit 200 and transmission circuit 250.
[0056] 2B, the transmission circuit 250 differs from the transmission circuit 200 in that the transmission circuit 250 includes a first network physical port 216A and a second network physical port 216B, both of which are coupled to a virtual switch 214. Additionally, the virtual switch 214 provides a continuous connection between the transmission virtual port vPORTa1 and the network physical port 216A. Additionally, an additional transmission virtual port vPORTa4 is shown.
[0057] Transmission circuitry 250 operates substantially the same as transmission circuitry 200, except that one or more of the sources (e.g., STB, PC, or video source) output frames of data at a frame rate that is greater than the maximum frame rate of network physical ports 216A and 216B. For example, each of network physical ports 216A and 216B may have a maximum frame rate of 5 frames per second.
[0058] In the example of Figure 2B, the set top box outputs seven STB frames per second, while the personal computer outputs two PC frames per second, and the video device outputs one video frame per second. (The numbers cited are for illustration purposes only.) As shown in Figure 2B, five of the seven STB frames are transmitted from network physical port 216A, while the remaining two STB frames, two PC frames, and one video frame are transmitted from network physical port 216B as shown by methods 300 and 350. One advantage of transmission circuitry 250 is that it can handle an incoming frame rate that is greater than the maximum frame rate of the network physical port.
[0059] 2C shows a block diagram illustrating an example of a transmission circuit 270 in accordance with the present invention. Transmission circuit 270 is similar to transmission circuit 200, and as a result, the same reference numbers are used to designate structure common to both transmission circuit 200 and transmission circuit 270.
[0060] 2C, transmission circuit 270 differs from transmission circuit 200 in that transmission circuit 270 utilizes framing circuit 272 instead of framing circuit 212. Framing circuit 272 is the same as framing circuit 212, except that framing circuit 272 includes a combiner 274 that results in combining data from the STB frame, the PC frame, and the video frame into a single combined frame.
[0061] The combiner 274 includes a number of framing virtual ports, such as framing virtual ports VP1-VP3 that match the number of frame types, and a combining engine CE that combines data from different framing virtual ports VP1-VP3 to generate a combined frame that is output to the framer 222. The combining engine CE can be implemented in logic or software.
[0062] In operation, combiner 274 receives a number of incoming frames of data from a number of sources at a number of non-standard data rates, such as STB frames from a first source at 20 Mbps, PC frames from a second source at 32 Mbps, and video frames from a third source at 48 Mbps, and stores the incoming frames in framing virtual ports VP1-VP3 that correspond to the source of the frames, e.g., STB, PC, video.
[0063] Combiner 274 combines data from the STB, PC, and video frames stored in framing virtual ports VP1-VP3 to output a combined frame at a data rate less than or equal to a predetermined fixed data rate (e.g., 100 Mbps) of network physical port 216. For example, data from a 20 Mbps STB frame, data from a 32 Mbps PC frame, and data from a 48 Mbps video frame are combined to generate a 100 Mbps combined frame, which equals the predetermined fixed data rate of 100 Mbps in the example.
[0064] 2D shows a timing diagram illustrating an example of the operation of combiner 274 in accordance with the present invention. In the example of FIG. 2D, transmit clock signal 280 is shown operating at a predetermined fixed rate of 10 cycles per second, with data from three framing virtual ports VP1, VP2, and VP3 clocked to selected pulses in transmit clock signal 280.
[0065] When the combiner 274 receives a first data stream of STB frames from a first source having an unpredetermined data rate of 2 cycles per second, a second data stream of PC frames from a second source having an unpredetermined data rate of 3 cycles per second, and a third data stream of video frames from a third source having an unpredetermined data rate of 4 cycles per second, the combiner 274 clocks the data from the first data stream into the first two clock cycles of the 10 predetermined fixed cycles per second, the data from the second data stream into the third, fourth, and fifth clock cycles of the 10 predetermined fixed cycles per second, and the data from the third data stream into the sixth, seventh, eighth, and ninth clock cycles of the 10 predetermined fixed cycles per second, as shown by line 282. The last cycle in this example is empty. Ideally, the incoming frames are grouped such that all of the predetermined fixed clock cycles are utilized.
[0066] Additionally, as shown in Figure 2D by lines 284, data from the first data stream, data from the second data stream, and data from the third data stream can be clocked into any of the ten predetermined fixed cycles of the transmit clock signal 610. Any type of data, such as headers, payloads, and any amount of data, such as bits, bytes, words, types, can be clocked into each pulse of the transmit clock signal 280. The example of Figure 2D is a simplified example to illustrate the timing.
[0067] 2C, the framer 222 identifies a remote device, such as a remote router / switch, from the header of the combined frame and identifies a virtual egress device from the remote device's identity. The combined frame is encapsulated by the framer 222 to generate a FE combined frame having a header that identifies the virtual egress device.
[0068] The FE-aggregated frame is forwarded to the transmit virtual port vPORTa1 to determine a first hop in the virtual network for the FE frame based on the virtual egress device of the header of the FE frame. The transmit virtual port vPORTa1 further encapsulates the FE-aggregated frame to form a second encapsulated (SE) frame having a header that identifies the first hop of the SE frame. The transmit virtual port vPORTa1 forwards the SE frame to the physical port 216, which outputs the SE-aggregated frame.
[0069] 4 shows a block diagram illustrating an example of a transmission circuit 400 according to an alternative embodiment of the present invention. The transmission circuit 400 is similar to the transmission circuit 200, and as a result, the same reference numbers are utilized to designate structures common to both circuits.
[0070] 4, transmission circuit 400 differs from transmission circuit 200 in that framing circuit 212 of transmission circuit 400 utilizes a serial-to-serial framer 410 followed by a serial-to-parallel virtual switch 412 coupled to virtual ports vPORTa1-vPORTan, instead of a virtual switch 220 followed by a framer 222. In a further alternative embodiment, framer 410 and virtual switch 412 of transmission circuit 400 may be physically separated, with framer 410 being incorporated into a local router / switch.
[0071] 5 shows a block diagram illustrating an example of a transmission circuit 500 according to the present invention. The transmission circuit 500 is similar to the transmission circuit 400, and as a result, the same reference numbers are used to designate structures common to both the circuit 400 and the circuit 500. As shown in the example shown in FIG. 5, a local framer router / switch 510 is used with the transmission circuit 500 instead of the STB, PC, and local router / switch that receive and output the video frames.
[0072] FIG. 6 shows a block diagram illustrating an example of a receive circuit 600 of a virtual egress device according to the present invention. (A virtual ingress device further includes a receive circuit, while a virtual egress device further includes a transmit circuit.) As shown in FIG. 6, the receive circuit 600 includes a network physical port 610 and a receive virtual switch 612 coupled to the network physical port 610. The receive circuit 600 further includes a number of receive virtual ports vPORTb1-vPORTbn coupled to the switch 612. Each receive virtual port vPORTb, in turn, includes a receive queue and a receive frame format circuit. The receive circuit 600 further includes a deframing circuit 614 coupled to each of the receive virtual ports vPORTb, and a local physical port 616 coupled to the deframing circuit 614.
[0073] Figure 7 shows a flow chart illustrating an example method 700 of operation of the receiving circuit 600 in accordance with the present invention. As shown in Figure 7, the method 700 begins at 710 with the network physical port 610 receiving a double encapsulated (DE) frame, such as an SE frame, each having a header including a first / next hop address and a receiving virtual port identifier.
[0074] The method 700 then moves to 712, where the network physical port 610 inspects the DE frame to determine the first / next hop address and compares the first / next hop address to the stored address. The method 700 then moves to 714, where the network physical port 610 forwards the DE frame with a matching first / next hop address and discards the DE frame with a first / next hop address that does not match the stored address.
[0075] After this, the method 700 moves to 716 where the receiving virtual switch 612 passes the forwarded DE frame switchably based on the receiving virtual port identifier in the header of the DE frame. The method 700 then moves to 718 where the receiving virtual ports vPORTb1-vPORTbn decompress the DE frame to extract a single capsulated (1E) frame, such as a FE frame, from the DE frame, such that each receiving virtual port vPORTb decompresses the DE frame to extract a 1E frame.
[0076] Following this, the method 700 moves to 720 where the deframing circuit 614 decompresses the 1E frame to extract the original STB, PC, and video input frames from the 1E frame. The original STB, PC, and video input frames have a number of frame types. Additionally, each input frame has a header that identifies a destination router / switch. The method 700 then moves to 722 where the deframing circuit 614 forwards the STB, PC, and video frames to the local physical port 616, which outputs the original STB, PC, and video frames to a remote router / switch, such as the remote router / switch 122.
[0077] In this example, the virtual switch 612 receives the DE STB frame from the network physical port 610 and determines from the destination virtual port number Dst_vID in the header of the DE STB frame that the destination virtual port is virtual port vPORTb1. Additionally, the switch 612 determines a route to virtual port vPORTb1 from a static forwarding table, and then outputs the DE STB frame to the first virtual port line routed toward virtual port vPORTb1.
[0078] Similarly, the virtual switch 612 receives the DE PC frame from the network physical port 610 and determines from the destination virtual port number Dst_vID in the header of the ME PC frame that the destination virtual port is virtual port vPORTb2. Furthermore, the switch 612 determines a route to virtual port vPORTb2 from a static forwarding table, and then outputs the DE PC frame to a second virtual port line routed toward virtual port vPORTb2.
[0079] Additionally, virtual switch 612 receives the DE video frame from network physical port 610 and determines from the destination virtual port number Dst_vID in the header of the ME video frame that the destination virtual port is virtual port vPORTb3. Switch 612 determines a route to virtual port vPORTb3 from a static forwarding table, and then outputs the DE video frame to a third virtual port line routed toward virtual port vPORTb3.
[0080] The virtual ports vPORTb1-vPORTbn receive the DE frames and decompress the DE frames to extract 1E frames, such as FE STB frames, FE PC frames, and FE video frames, from the DE frames. In the example of Figure 6, the receive queue of the first virtual port vPORTb1 receives the DE STB frame, while the frame formatting circuit of the virtual port vPORTb1 decompresses the DE STB frame to extract a 1E STB frame having a header including identification information of the virtual egress device.
[0081] Similarly, a receive queue of a second virtual port vPORTb2 receives a DE PC frame, while the frame formatting circuit of the virtual port vPORTb2 decompresses the DE PC frame to extract a 1E PC frame having a header including an identification of the virtual egress device. Additionally, a receive queue of a third virtual port vPORTb3 receives a DE video frame, while the frame formatting circuit of the virtual port vPORTb3 decompresses the DE video frame to extract a 1E video frame having a header including an identification of the virtual egress device.
[0082] The deframing circuit 614 receives a number of 1E frames, such as FE frames, and extracts the original STB, PC, and video input frames from the 1E frames. The input frames have a number of frame types, such as STB, PC, and video. Each input frame has a header that includes an identification of a remote router / switch. For each received FE frame, the deframing circuit 614 decompresses the 1E frame to extract the input frame, determines the identification of the remote router / switch from the input frame's header, and outputs the input frame to a local physical port 616, which outputs the input frame to a remote router / switch, such as remote router / switch 122.
[0083] 6, the deframing circuit 614 includes a deframer 620 and a virtual switch 622 coupled to the deframer 620. In operation, the deframer 620 receives 1E frames from a plurality of receiving virtual ports vPORTb1-vPORTbn, decompresses the 1E frames to extract original input frames, such as, for example, STB frames, PC frames, and video frames, and forwards the STB frames, PC frames, and video frames to the virtual switch 622.
[0084] 6, the deframer 620 receives 1E STB frames from receiving virtual port vPORTb1, decompresses the 1E frames to extract the STB frames, and forwards the STB frames to virtual switch 622. Similarly, the deframer 620 receives 1E PC frames from receiving virtual port vPORTb2, decompresses the 1E frames to extract the PC frames, and forwards the PC frames to virtual switch 622. Additionally, the deframer 620 receives 1E video frames from receiving virtual port vPORTb3, decompresses the 1E frames to extract the video frames, and forwards the video frames to virtual switch 622. The deframer 620 may utilize the same or a different protocol as the framer 222.
[0085] The virtual switch 622 sequentially cycles through the output of the deframer 620 to receive output frames and forward the output frames to the local physical port 616. In this example, the virtual switch 622 receives STB frames from the deframer 620, detects the MAC address of the remote router / switch, and outputs the STB frames to the local physical port 616. Similarly, the virtual switch 622 receives PC frames from the deframer 620, detects the MAC address of the remote router / switch, and outputs the PC frames to the local physical port 616. Additionally, the virtual switch 622 receives video frames from the deframer 620, detects the MAC address of the remote router / switch, and outputs the video frames to the local physical port 616. The local physical port 616, in turn, outputs the frames to the remote router / switch.
[0086] 6 shows a deframing circuit 614 having a parallel-to-parallel deframer 620 followed by a parallel-to-serial virtual switch 622. The deframing circuit 614 may alternatively be realized in other circuit arrangements. For example, the deframing circuit 614 may be implemented with a serial-to-parallel virtual switch coupled to the virtual ports vPORTb1-vPORTbn followed by a serial-to-serial framer.
[0087] 8 shows a block diagram illustrating an example of a receiver circuit 800 according to an alternative embodiment of the present invention. The receiver circuit 800 is similar to the receiver circuit 600, and as a result, the same reference numbers are utilized to designate structures common to both devices.
[0088] 8, receive circuit 800 differs from receive circuit 600 in that framing circuit 614 of receive circuit 800 includes a parallel-to-serial virtual switch 810 coupled to virtual ports vPORTb1-vPORTbn followed by a serial-to-serial deframer 812. The implementations of framing circuit 212 and deframing circuit 614 can be swapped. For example, virtual ingress device VED can utilize framing circuit 212 implemented with virtual switch 220 and framer 222, while virtual egress device VED can utilize deframing circuit 614, virtual switch 810, and deframer 812.
[0089] In a further alternative embodiment, the virtual switch 810 and the deframer 812 may be physically separate, with the deframer 812 being incorporated into a local router / switch.
[0090] Figure 9 shows a block diagram illustrating an example of a receive circuit 900 in accordance with the present invention. The receive circuit 900 is similar to the receive circuit 800, and as a result, the same reference numbers are used to designate structures common to both the circuit 800 and the circuit 900. As shown in the example shown in Figure 9, a local deframer router / switch 910 is utilized in the receive circuit 900 in place of a local router switch.
[0091] In addition to forwarding frames of data across the virtual network, hops across the virtual network can be tested by generating test SE frames. The transmitting virtual port vPORTa determines the next hop in the virtual network to the virtual egress device that will end the link under test. Following this, the transmitting virtual port vPORTa generates a test SE frame with a header that identifies the frame as a test frame and the virtual egress device that will end the link to be tested.
[0092] The virtual switch 214 passes the test SE frame to the network physical port, which transmits the test SE frame, as described above. The test SE frame arrives at the virtual egress device, as described above, where the receiving virtual port vPORTb unpacks the test SE frame and extracts the test information, as described above. The receiving virtual port vPORTb can then determine frame latency, frame loss rate, and live / shutdown status from the test SE frame, which can be utilized to determine quality of service (QoS) criteria.
[0093] FIG 10A shows a block diagram illustrating an example of a virtual forwarding device 1000 according to the present invention. As shown in FIG 10A, the virtual forwarding device 1000 includes a number of receiving physical ports RP1-RPm and a number of forwarding virtual ports vPORTc1-vPORTcn coupled to the receiving physical ports RP1-RPm. Each forwarding virtual port vPORTc, in turn, includes a forwarding frame formatting circuit for compressing and decompressing frames, and a forwarding queue for holding frame data during compression and decompression. The virtual forwarding device 1000 further includes a virtual switch 1010 coupled to each of the forwarding virtual ports vPORTc, and a number of transmitting physical ports TP1-TPz coupled to the virtual switch 1010.
[0094] 10B shows a flow chart illustrating an example method 1050 of operation of the virtual forwarding device 1000 in accordance with the present invention. As shown in FIG 10B, the method 1050 begins by receiving a second encapsulation (SE) frame at 1052. For example, the forwarding virtual port vPORTc1 may receive the SE frame from the virtual ingress device VED1 via the receiving physical port RP1.
[0095] The method 1050 then moves to 1054 to decompress the SE frame to extract a first encapsulation frame (FE) and then moves to 1056 to extract the identifier from the FE frame. For example, the forwarding virtual port vPORTc1 may extract the FE frame from the decompressed SE frame and then extract the identifier as the MAC address of the virtual egress device.
[0096] Following this, the method 1050 moves to 1058 to determine the next hop device and the alternate hop device from the identifier. For example, the forwarding virtual port vPORTc1 may enter the MAC address (identifier) of the virtual egress device VXD1 into a lookup table. As shown in the lookup table, once the virtual egress device VXD1 is entered into the table, the MAC address of the next hop device and the MAC address of the alternate hop device can be determined. (The lookup table may alternatively include the MAC addresses of a number of additional alternate hop devices.) [Table 1]
[0097] The method 1050 then moves to 1060 to determine whether a transmit physical port coupled to the next hop device can accept the frames for forwarding. When the rate at which frames are forwarded to the transmit physical port is greater than the rate at which the transmit physical port can physically output the frames to the next hop device, the transmit physical port asserts a hold signal that prevents the transmit physical port from receiving additional frames. For example, a forwarding virtual port vPORTc1 may determine whether a transmit physical port TP1 coupled to the next hop (virtual egress) device VXD1 can accept the frames for forwarding.
[0098] When the transmitting physical port can accept the frame for forwarding, the method 1050 moves to 1062, where the virtual forwarding vPORTc compresses or encapsulates the FE frame to form a double encapsulation (DE) frame with a next hop MAC address replacing the first hop MAC address. The DE frame, in turn, has a field identifying the next hop and a field that contains the FE frame. For example, when the forwarding virtual port vPORTc1 determines that the transmitting physical port TP1 can accept the frame for forwarding, the forwarding virtual port vPORTc1 compresses or encapsulates the FE frame to form a DE frame with a field identifying the virtual egress device VXD1.
[0099] Following this, the method 1050 moves to 1064, where the virtual switch 272 forwards the DE frame with the next hop MAC address to a transmit physical port coupled to the next hop device, and then moves to 1066, where the transmit physical port outputs the DE frame. For example, the virtual switch 272 can forward the DE frame from the forwarding virtual port vPORTc to the transmit physical port TP1, which then transmits the DE frame to the virtual egress device VXD1.
[0100] On the other hand, when the transmit physical port cannot accept the frame for forwarding, the method 1050 moves to 1070 to determine whether a transmit physical port coupled to an alternate hop device can accept the frame for forwarding. For example, the forwarding virtual port vPORTc1 may determine whether a transmit physical port TP2 coupled to virtual forwarding device VFD2 can accept the frame for forwarding.
[0101] When the transmitting physical port can accept the frame for forwarding, the method 1050 moves to 1072, where the forwarding virtual port vPORTc compresses or encapsulates the FE frame to form a DE frame with an alternate hop MAC address that replaces the first hop MAC address. The DE frame, in turn, has a field that identifies the alternate hop and a field that contains the FE frame. For example, when the forwarding virtual port vPORTc1 determines that the transmitting physical port TP1 can accept the frame for forwarding, the forwarding virtual port vPORTc1 compresses or encapsulates the FE frame to form a DE frame with a field that identifies the virtual forwarding device VFD1.
[0102] The DE frame, in turn, has a field identifying the alternate hop and a field containing the FE frame. For example, if the forwarding virtual port vPORTc1 determines that the transmitting physical port TP2 can accept the frame for transmission, the forwarding virtual port vPORTc1 compresses or encapsulates the FE frame to form a DE frame having a field identifying the virtual forwarding device VFD2 as the next hop.
[0103] Following this, method 1050 moves to 1074, where virtual switch 272 forwards the DE frame with the alternate MAC address to a transmit physical port coupled to the alternate hop device, and then moves to 1076, where the transmit physical port outputs the DE frame to the alternate hop device. For example, virtual switch 272 can forward the DE frame from forwarding virtual port vPORTc to transmit physical port TP2, which then transmits the DE frame to virtual forwarding device VFD2. When the transmit physical port cannot accept the frame for forwarding, method 1050 moves to 1078, where forwarding virtual port vPORTc discards the frame. (When the lookup table defines additional alternate devices, method 360 evaluates other devices before discarding the frame.)
[0104] Virtual forwarding device VFD2 functions in the same manner as virtual forwarding device VFD1: it receives SE frames, decompresses the frames, identifies next hop devices and alternate hop devices, and determines whether the transmit physical port associated with the next hop device can accept the frames for transmission.
[0105] When the transmit physical port associated with the next hop can accept the frame for transmission, the virtual forwarding device VFD2 compresses the FE frame to form a DE frame, and the virtual switch forwards the DE frame to the transmit physical port of the virtual forwarding device VFD2. When the physical port associated with the next hop cannot accept the frame for transmission, the virtual forwarding device VFD2 determines whether the transmit physical port associated with the device identified by the alternate MAC address can accept the frame for transmission.
[0106] When the transmitting physical port associated with the device identified by the alternative MAC address can accept the frame for transmission, the virtual forwarding device VFD2 compresses the FE frame to form a DE frame, and the virtual switch forwards the DE frame to the transmitting physical port. For example, when the transmitting physical port TP2 coupled to the virtual forwarding device VFD can accept the frame for transmission, the virtual forwarding device VFD2 compresses the FE frame to form a DE frame, and the virtual switch forwards the DE frame to the transmitting physical port TP2.
[0107] When a transmitting physical port associated with a device identified by the alternate MAC address cannot accept the frame for transmission, the method can either discard the frame or continue checking a second, third, etc. alternate MAC address, as defined in the lookup table, until a transmitting physical port is found that will accept the frame for transmission or the frame is dropped.
[0108] 11 shows a block diagram illustrating an example of a virtual forwarding device 1100 according to the present invention. The virtual forwarding device 1100 is similar to the virtual forwarding device 1000, and as a result, the same reference numbers are used to designate structures common to both devices.
[0109] 11, virtual forwarding device 1100 differs from virtual forwarding device 1000 in that a forwarding frame formatting circuit of a forwarding virtual port vPORTcn can forward decompressed FE frames, when necessary, to a third party network-to-network (NNI) device via a transmit physical port TPz for transmission across a third party network. The forwarding virtual port vPORTcn provides decompressed FE frames having a conventional format, such as the PBB-TE format.
[0110] In addition to forwarding frames of data across the virtual network, hops across the virtual network can be tested by generating test SE frames. The transmitting virtual port vPORTa determines the first hop in the virtual network to the virtual egress device that will end the link under test. Following this, the transmitting virtual port vPORTa generates a test SE frame with a header that identifies the frame as a test frame and the virtual egress device that will end the link to be tested.
[0111] The test SE frame is passed to a network physical port as described above, which transmits the test SE frame. The test SE frame arrives at a virtual egress device as described above, where the receiving virtual port vPORTb decompresses the test SE frame and extracts the test information as described above. The receiving virtual port vPORTb can then determine frame latency, frame loss rate, and live / shutdown status from the test SE frame, which can be utilized to determine quality of service (QoS) criteria.
[0112] Figure 12 is a flow chart illustrating an example method 1200 of forming a virtual network in accordance with the present invention. As shown in the example of Figure 12, method 1200 begins at 1210 by passing frames of data at a frame rate across one or more fiber optic cables, each having two or more physical fibers.
[0113] When the frame rate of the frames of data is greater than a maximum frame rate of a first physical fiber in the fiber optic cable, the passing includes passing a first number of frames of data over the first physical fiber at a first data rate that is less than or equal to the maximum data rate of the first physical fiber, and the passing further includes passing a second number of frames of data over the second physical fiber at a second data rate that is less than or equal to the maximum data rate of the second physical fiber.
[0114] When a frame rate of the frames of data is less than or equal to a frame rate of a first physical fiber in the fiber optic cable, passing includes continuously passing pairs of frames of data through the first physical fiber such that the pairs of frames include data from multiple sources.
[0115] The method 1200 then moves to 1212 to generate frames of data to be passed across the optical fiber network. In a first embodiment, the frames of data are generated by receiving frames of data from a source device at a frame rate greater than a maximum frame rate to form received frames of data, and then splitting the received frames of data and the frame rate greater than the maximum frame rate into a first number of received frames of data having a first data rate less than or equal to the maximum data rate of the first physical fiber and a second number of received frames of data having a second data rate less than or equal to the maximum data rate of the second physical fiber.
[0116] For example, if two physical fibers each have a maximum data rate of 100 Gbps and customer data flows at 200 Gbps, a fiber optic cable can be formed to share the customer data and a data rate of 200 Gbps, which is greater than the highest maximum data rate of 100 Gbps of the two or more physical fibers, by passing 100 Gbps on both a first physical fiber and a second physical fiber.
[0117] Following this, a frame of data is generated by determining a remote device from the frame after receiving the data, determining a virtual egress device from the remote device, and performing a first encapsulation of the frame after receiving the data to form a first encapsulated frame having a header that identifies the virtual egress device.
[0118] A frame of data is then generated by determining a virtual exit device from the first encapsulation frame, determining a first hop device from the virtual exit device, and performing a second encapsulation of the first encapsulation frame to form a second encapsulation frame having a header that identifies the first hop device.
[0119] In a second embodiment, a frame of data is generated by receiving a first frame of data from a first source at a first frame rate and a second frame of data from a second source at a second frame rate, followed by combining data from the first frame from the first source with data from the second frame from the second source to form a combined frame of data.
[0120] A frame of data is then generated by determining a remote device from a first frame from a first source, determining a virtual egress device from the remote device, and performing a first encapsulation of the combined frame of data to form a first encapsulated frame having a header that identifies the virtual egress device.
[0121] A frame of data is then generated by determining a virtual exit device from the first encapsulation frame, determining a first hop device from the virtual exit device, and performing a second encapsulation of the first encapsulation frame to form a second encapsulation frame having a header that identifies the first hop device.
[0122] In a third embodiment, a frame of data is generated by receiving a first frame of data from a first source at a first frame rate and a second frame of data from a second source at a second frame rate, determining a remote device from the first frame of data from the first source, and determining a virtual exit device from the remote device.
[0123] A frame of data is then generated by encapsulating a first frame of data from a first source to form a first encapsulation frame having a header that identifies the virtual egress device, and encapsulating a second frame of data from a second source to form a second encapsulation frame having a header that identifies the virtual egress device.
[0124] A frame of data is then generated by determining a virtual exit device from the first encapsulation frame, determining a first hop device from the virtual exit device, encapsulating the first encapsulation frame to form a third encapsulation frame having a header that identifies the first hop device, and encapsulating the second encapsulation frame to form a fourth encapsulation frame having a header that identifies the first hop device.
[0125] Following this, frames of data are generated by outputting a number of the third encapsulation frames and a number of the fourth encapsulation frames such that the combined frame rate of the third encapsulation frames and the fourth encapsulation frames is less than or equal to the maximum frame rate of the first fiber.
[0126] 12, the method 1200 then moves to 1214 receiving a frame of data passed across the fiber optic cable. In a first embodiment, the frame of data is received by decompressing the second encapsulation frame to extract the first encapsulation frame and an identification of the virtual egress device and determining whether the first hop device is a virtual egress device. The frame is then received by decompressing the first encapsulation frame to extract the received frame of data when the first hop device is a virtual egress device and determining the next hop device from the identification of the virtual egress device when the first hop device is not a virtual egress device.
[0127] When the next hop device is a virtual forwarding device, the first encapsulated frame is encapsulated to form a third encapsulated frame having a header that identifies the virtual forwarding hop device. When the next hop device is a network-to-network interface device, the first encapsulated frame is forwarded to the network-to-network interface device.
[0128] Reference will now be made in detail to various embodiments of the present disclosure, examples of which are illustrated in the accompanying drawings. Although described in conjunction with various embodiments, it will be understood that these are not intended to limit the present disclosure. On the contrary, the present disclosure is intended to include alternatives, modifications, and equivalents, which may be included within the scope of the present disclosure as interpreted according to the claims.
[0129] Moreover, in the foregoing detailed description of various embodiments of the present disclosure, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. Nevertheless, it will be recognized by those skilled in the art that the present disclosure may be practiced without these specific details or with equivalents thereof. In other instances, well-known methods, procedures, components, and circuits have not been described in detail so as not to unnecessarily obscure aspects of the various embodiments of the present disclosure.
[0130] It should be noted that, although the methods may be depicted herein as a sequence of numbered operations for clarity, the numbering does not necessarily dictate the order of the operations. It should be understood that some of the operations may be skipped, performed simultaneously, or performed without the requirement of maintaining a strict order of sequence.
[0131] The drawings showing various embodiments according to the present disclosure are semi-diagrammatic and not to scale, in particular some of the dimensions are shown exaggerated in the depicted figures for clarity of presentation. Similarly, the views in the drawings generally show similar orientations for ease of illustration, although this depiction in the figures is largely arbitrary. In general, various embodiments according to the present disclosure can be operated in any orientation.
[0132] Some portions of the detailed descriptions are presented in terms of procedures, logic blocks, processing, and other symbolic representations of operations on data bits within a computer memory. These descriptions and representations are used by those skilled in the data processing arts to effectively convey the substance of their work to others skilled in the art.
[0133] In this disclosure, a procedure, logic block, process, or the like, is conceived to be a self-consistent sequence of operations or instructions leading to a desired result. The operations employ physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated in a computing system. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as transactions, bits, values, elements, symbols, characters, samples, pixels, or the like.
[0134] It should be borne in mind, nevertheless, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as will be apparent from the discussion below, throughout this disclosure, discussions utilizing terms such as "generating," "determining," "allocating," "aggregating," "utilizing," "virtualizing," "processing," "accessing," "executing," "storing," or the like are understood to refer to the actions and processes of a computer system or similar electronic computing device or processor.
[0135] A computing system, or similar electronic computing device or processor, manipulates data represented as physical (electronic) quantities in the computer system memory, registers, other such information storage, and / or other computer-readable medium, and transforms it into other data similarly represented as physical quantities in the computer system memory or registers, or other such information storage, transmission or display device.
[0136] The technical solutions in the embodiments of the present application have been clearly and completely described in the previous section with reference to the drawings of the embodiments of the present application. It should be noted that the terms "first", "second" and the like in the description and claims of the present invention and in the above drawings are used to distinguish similar objects and are not necessarily used to describe a specific sequence or order. It should be understood that these numbers may be interchanged where appropriate so that the embodiments of the present invention described herein can be implemented in an order other than that illustrated or described herein.
[0137] The functions described in the method of the present embodiment can be implemented in the form of a software functional unit and stored in a computing device readable storage medium when sold or used as a standalone product. Based on such understanding, a part of the embodiments of the present application that contribute to the prior art or a part of the technical solution can be embodied in the form of a software product stored in a storage medium, the software product including a plurality of instructions for making a computing device (which may be a personal computer, a server, a mobile computing device, or a network device, etc.) perform all or part of the steps of the method according to the various embodiments of the present application. The aforementioned storage medium includes a USB drive, a portable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, an optical disk, and the like, which can store program code.
[0138] Various embodiments in the specification of the present application are described step by step, and each embodiment focuses on the difference with other embodiments, and the same or similar parts between various embodiments can be referred to in another case. The described embodiments are only some of the embodiments, not all of the embodiments of the present application. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without departing from the skill of the invention are within the scope of the present application.
[0139] The above description of the disclosed embodiments enables any person skilled in the art to make or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Thus, the present application is not limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein. [Item of invention] [Item 1] Passing frames of data at a frame rate over one or more fiber optic cables, each having two or more physical fibers. Including, the step of passing when the frame rate of the frames of data is greater than a maximum frame rate of a first physical fiber in a fiber optic cable; passing a first number of said frames of data over said first physical fiber at a first data rate less than or equal to a maximum data rate of said first physical fiber; and passing a second number of said frames of data over the second physical fiber at a second data rate less than or equal to a maximum data rate of the second physical fiber. Including, the step of passing when the frame rate of the frames of data is less than or equal to the frame rate of the first physical fiber in the fiber optic cable; passing said pair of frames of data in sequence over said first physical fiber such that said pair of frames includes data from a plurality of sources. A method for forming a virtual network, comprising: [Item 2] 2. The method of forming a virtual network according to claim 1, further comprising the step of generating the frames of data to be passed across the optical fiber cable. [Item 3] generating said frame of data, receiving frames of data from a source device at the frame rate greater than the maximum frame rate to form frames after receiving the data; dividing the received frames of data greater than the maximum frame rate and the frame rate into a first number of received frames of data having a first data rate less than or equal to the maximum data rate of a first physical fiber and a second number of received frames of data having a second data rate less than or equal to the maximum data rate of a second physical fiber; 3. A method for forming a virtual network according to item 2, comprising: [Item 4] generating said frame of data, determining a remote device from the received frame of data; determining a virtual egress device from the remote device; performing a first encapsulation of the received frame of data to form a first encapsulated frame having a header identifying the virtual egress device; 4. The method for forming a virtual network according to claim 3, further comprising: [Item 5] generating said frame of data, determining the virtual egress device from the first encapsulated frame; determining a first hop device from the virtual egress device; performing a second encapsulation of the first encapsulation frame to form a second encapsulation frame having a header identifying the first hop device; 5. The method for forming a virtual network according to claim 4, further comprising: [Item 6] receiving the frame of data passed across the fiber optic cable; decompressing the second encapsulation frame to extract the first encapsulation frame and the identification of the virtual egress device; determining whether the first hop device is the virtual egress device; when the first hop device is the virtual egress device, decompressing the first encapsulation frame to extract the received frame of data; when the first hop device is not the virtual exit device, determining a next hop device from the identity of the virtual exit device; 6. The method for forming a virtual network according to item 5, further comprising: [Item 7] when the next hop device is a virtual forwarding device, encapsulating the first encapsulation frame to form a third encapsulation frame having a header that identifies the virtual forwarding hop device; when the next hop device is a network-to-network interface device, forwarding the first encapsulated frame to the network-to-network interface device; 7. The method for forming a virtual network according to item 6, further comprising: [Item 8] generating said frame of data, receiving first frames of data from a first source at a first frame rate and second frames of data from a second source at a second frame rate; combining data from a first frame from the first source with data from a second frame from the second source to form a combined frame of data; 3. A method for forming a virtual network according to item 2, comprising: [Item 9] generating said frame of data, determining a remote device from the first frame from the first source; determining a virtual egress device from the remote device; performing a first encapsulation of the combined frame of data to form a first encapsulated frame having a header identifying the virtual egress device; 9. The method for forming a virtual network according to item 8, further comprising: [Item 10] generating said frame of data, determining the virtual egress device from the first encapsulated frame; determining a first hop device from the virtual egress device; performing a second encapsulation of the first encapsulation frame to form a second encapsulation frame having a header identifying the first hop device; 10. The method for forming a virtual network according to item 9, further comprising: [Item 11] receiving the frame of data passed across the fiber optic cable; decompressing the second encapsulation frame to extract the first encapsulation frame and the identification of the virtual egress device; determining whether the first hop device is the virtual egress device; when the first hop device is the virtual egress device, decompressing the first encapsulation frame to extract the combined frame of data; when the first hop device is not the virtual exit device, determining a next hop device from the identity of the virtual exit device; 11. The method for forming a virtual network according to claim 10, further comprising: [Item 12] when the next hop device is a virtual forwarding device, encapsulating the first encapsulation frame to form a third encapsulation frame having a header that identifies the virtual forwarding hop device; when the next hop device is a network-to-network interface device, forwarding the first encapsulated frame to the network-to-network interface device; 12. The method for forming a virtual network according to claim 11, further comprising: [Item 13] generating said frame of data, receiving first frames of data from a first source at a first frame rate and second frames of data from a second source at a second frame rate; determining a remote device from a first frame of data from the first source; determining a virtual egress device from the remote device; encapsulating a first frame of data from the first source to form a first encapsulated frame having a header identifying the virtual egress device; encapsulating a second frame of data from the second source to form a second encapsulated frame having a header identifying the virtual egress device; 3. A method for forming a virtual network according to item 2, comprising: [Item 14] generating said frame of data, determining the virtual egress device from the first encapsulated frame; determining a first hop device from the virtual egress device; encapsulating the first encapsulation frame to form a third encapsulation frame having a header identifying the first hop device; encapsulating the second encapsulation frame to form a fourth encapsulation frame having a header identifying the first hop device; Item 14. The method for forming a virtual network according to item 13, further comprising: [Item 15] 15. The method of forming a virtual network of claim 14, wherein the step of generating the frames of data further comprises outputting a number of the third encapsulation frames and a number of the fourth encapsulation frames such that a combined frame rate of the third encapsulation frames and the fourth encapsulation frames is less than or equal to the maximum frame rate of the first fiber. [Item 16] receiving the frame of data passed across the fiber optic cable; decompressing the third encapsulation frame to extract the first encapsulation frame and the identification of the virtual egress device; determining whether the first hop device is the virtual egress device; when the first hop device is the virtual egress device, decompressing the first encapsulation frame to extract the first frame of data from the first source; when the first hop device is not the virtual exit device, determining a next hop device from the identity of the virtual exit device; when the next hop device is a virtual forwarding device, encapsulating the first encapsulation frame to form a fifth encapsulation frame having a header that identifies the virtual forwarding hop device; when the next hop device is a network-to-network interface device, forwarding the first encapsulated frame to the network-to-network interface device; Item 16. The method for forming a virtual network according to item 15, further comprising: [Item 17] generating, during testing, a test frame having a header identifying a virtual exit device, and transmitting, during testing, the test frame to the virtual exit device; and receiving the test frame, decompressing the test frame, and determining one or more measures of status from the decompressed test frame. 3. The method for forming a virtual network according to item 2, further comprising: [Item 18] a receiving physical port for receiving the second encapsulated frame; a transmit physical port to be coupled to a next hop device; an alternate physical port to be coupled to the alternate hop device; a virtual port coupled to the receiving physical port, the transmitting physical port, and the alternate physical port, receiving the second encapsulated frame from the receiving physical port; determining whether the current device is a last hop device; decompressing the second encapsulation frame to extract a first encapsulation frame when the current device is not the last hop device; extracting a virtual egress device identifier from the first encapsulation frame; determining a next hop device and an alternate hop device from the identifiers; determining whether the transmitting physical port is capable of accepting frames for forwarding; When the transmitting physical port is capable of accepting frames for transmission, encapsulating the first encapsulation frame to form a third encapsulation frame, the third encapsulation frame having a header that identifies the next hop device; forwarding the third encapsulated frame to the transmit physical port; and determining whether the alternate physical port is capable of accepting frames for transmission when the transmitting physical port is unable to accept frames for transmission; Virtual ports and 1. A virtual forwarding device comprising: [Item 19] receiving a second encapsulated frame; decompressing the second encapsulation frame to extract a first encapsulation frame; extracting a virtual egress device identifier from the first encapsulation frame; determining a next hop device and an alternate hop device from the identifiers; determining whether a transmit physical port coupled to the next hop device can accept the frame for forwarding; when the transmit physical port coupled to the next hop device is capable of accepting the frame for forwarding; encapsulating the first encapsulation frame to form a third encapsulation frame, the third encapsulation frame having a header that identifies the next hop device; forwarding the third encapsulated frame to the transmit physical port coupled to the next hop device; when the transmit physical port coupled to the next hop device cannot accept the frame for forwarding, determining whether a transmit physical port coupled to the alternate hop device can accept the frame for forwarding; A method of operating a virtual forwarding device, comprising: [Item 20] A non-transitory computer readable storage medium having embedded thereon program instructions which, when executed by a processor, cause the processor to perform a method of operating a virtual forwarding device, the method comprising: receiving a second encapsulated frame; decompressing the second encapsulation frame to extract a first encapsulation frame; Extracting a virtual egress device identifier from the first encapsulation frame; determining a next hop device and an alternate hop device from the identifiers; determining whether a transmit physical port coupled to the next hop device can accept the frame for forwarding; when the transmit physical port coupled to the next hop device is capable of accepting the frame for forwarding; encapsulating the first encapsulation frame to form a third encapsulation frame, the third encapsulation frame having a header that identifies the next hop device; forwarding the third encapsulated frame to the transmit physical port coupled to the next hop device; determining whether a transmit physical port coupled to the alternate hop device can accept the frame for forwarding when the transmit physical port coupled to the next hop device cannot accept the frame for forwarding; A non-transitory computer readable storage medium comprising:
Claims
1. 1. A virtual forwarding device, comprising: a receiving physical port for receiving the second encapsulated frame; a transmit physical port to be coupled to a next hop device; an alternate physical port to be coupled to the alternate hop device; a virtual port coupled to the receiving physical port, the transmitting physical port, and the alternate physical port, receiving the second encapsulated frame from the receiving physical port; determining whether the current device is a last hop device; decompressing the second encapsulation frame to extract a first encapsulation frame when the current device is not the last hop device; extracting a virtual egress device identifier from the first encapsulation frame; determining the next hop device and an alternate hop device from the identifiers; determining whether the transmit physical port coupled to the next hop device is capable of accepting frames for forwarding; when the transmit physical port coupled to the next hop device is capable of accepting the frame for forwarding; encapsulating the first encapsulation frame to form a third encapsulation frame, the third encapsulation frame having a header that identifies the next hop device; forwarding the third encapsulated frame to the transmit physical port coupled to the next hop device; and determining whether a transmit physical port coupled to the alternate hop device can accept a frame for forwarding when the transmit physical port coupled to the next hop device cannot accept the frame for forwarding; Virtual ports and 1. A virtual forwarding device comprising:
2. The virtual forwarding device of claim 1 , wherein the second encapsulated frame is received at the receiving physical port from a virtual ingress device.
3. The virtual port is determining physical addresses of the alternate hop device and the next hop device from a lookup table based on the extracted identifier of the virtual exit device; The virtual forwarding device of claim 1 further configured:
4. The transmission physical port is asserting a reserve signal when a first rate at which the frames are forwarded to the transmit physical port is greater than a second rate at which the transmit physical port can physically output the frames to the next hop device.
2. The virtual forwarding device of claim 1, configured to:
5. The virtual forwarding device of claim 1 , wherein the third encapsulation frame further includes a field that contains the first encapsulation frame.
6. The transmission physical port coupled to the next hop device is outputting the third encapsulated frame to the next hop device; 2. The virtual forwarding device of claim 1, configured to:
7. The virtual port is Discarding the first encapsulated frame when the transmit physical port coupled to the alternate hop device cannot accept the frame for forwarding.
2. The virtual forwarding device of claim 1, configured to:
8. The virtual port is encapsulating the first encapsulated frame to form a third encapsulated frame when the transmit physical port coupled to the alternate hop device is able to accept the frame for forwarding, the third encapsulated frame having a third header that identifies the alternate physical port coupled to the alternate hop device. The virtual forwarding device of claim 1 , further configured to execute:
9. a virtual switch coupled to the virtual port; The virtual switch includes: forwarding the other third encapsulated frame to the transmit physical port coupled to the alternate hop device.
9. The virtual forwarding device of claim 8, configured to:
10. The transmit physical port coupled to the alternate hop device is outputting the other third encapsulated frame to the alternate hop device.
10. The virtual forwarding device of claim 9, configured to:
11. 1. A method of operating a virtual forwarding device, comprising: receiving, by a processor, a second encapsulated frame; decompressing, by the processor, the second encapsulation frame to extract a first encapsulation frame; extracting, by the processor, a virtual egress device identifier from the first encapsulated frame; determining, by the processor, a next hop device and an alternate hop device from the identifiers; determining, by the processor, whether a transmit physical port coupled to the next hop device can accept the frame for forwarding; when the transmit physical port coupled to the next hop device is capable of accepting the frame for forwarding; encapsulating, by the processor, the first encapsulation frame to form a third encapsulation frame, the third encapsulation frame having a header that identifies the next hop device; forwarding, by the processor, the third encapsulated frame to the transmit physical port coupled to the next hop device; when the transmit physical port coupled to the next hop device is unable to accept the frame for forwarding; determining, by the processor, whether a transmit physical port coupled to the alternate hop device can accept the frame for forwarding; A method of operating a virtual forwarding device, comprising:
12. The method of claim 11 , wherein the second encapsulated frame is received at the receiving physical port from a virtual ingress device.
13. determining, by the processor, physical addresses of the alternate hop device and the next hop device from a lookup table based on the extracted identifier of the virtual exit device. The method of claim 11 further comprising:
14. asserting, by the processor, a hold signal when a first rate at which the frames are forwarded to the transmit physical port is greater than a second rate at which the transmit physical port can physically output the frames to the next hop device. The method of claim 11 further comprising:
15. outputting, by the processor, the third encapsulated frame to the next hop device. The method of claim 11 further comprising:
16. discarding, by the processor, the first encapsulated frame when the transmit physical port coupled to the alternate hop device cannot accept the frame for forwarding. The method of claim 11 further comprising:
17. encapsulating, by the processor, the first encapsulated frame to form a third encapsulated frame when the transmit physical port coupled to the alternate hop device is capable of accepting the frame for forwarding, the third encapsulated frame having a third header that identifies the alternate physical port coupled to the alternate hop device. The method of claim 11 further comprising:
18. forwarding, by the processor, the other third encapsulated frame to the transmit physical port coupled to the alternate hop device; outputting, by the processor, the other third encapsulated frame to the alternate hop device; The method of claim 17 further comprising:
19. A non-transitory computer readable storage medium having embedded thereon program instructions which, when executed by a processor, cause the processor to perform a method of operating a virtual forwarding device, the method comprising: receiving a second encapsulated frame; decompressing the second encapsulation frame to extract a first encapsulation frame; extracting a virtual egress device identifier from the first encapsulation frame; determining a next hop device and an alternate hop device from the identifiers; determining whether a transmit physical port coupled to the next hop device can accept the frame for forwarding; when the transmit physical port coupled to the next hop device is capable of accepting the frame for forwarding; encapsulating the first encapsulation frame to form a third encapsulation frame, the third encapsulation frame having a header that identifies the next hop device; forwarding the third encapsulated frame to the transmit physical port coupled to the next hop device; determining whether a transmit physical port coupled to the alternate hop device can accept the frame for forwarding when the transmit physical port coupled to the next hop device cannot accept the frame for forwarding; A non-transitory computer readable storage medium comprising:
Citation Information
Patent Citations
Packet data transmission network of high efficiency and interface used in the network
JP2000032058A
Node, communicating method, and program for node
JP2008288880A
Route Optimization Using Measured Congestion
US20070041326A1
Rbridge for routing and forwarding a data packet
US20160065445A1
Congestion control system, congestion control method and signalling device
WO2011155392A1
