Virtual network device

Encapsulating input frames into virtual ports through virtual network devices solves the problem that traditional network devices require more physical ports, achieving the effects of increasing the number of virtual ports, reducing costs and improving efficiency.

CN118764388APending Publication Date: 2024-10-11PRIMEWAN LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410771008.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2020-05-06
Filing Date
2021-03-10
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Traditional network equipment requires more physical ports to accommodate the growing port demand, resulting in increased service costs.

Method used

Through virtual network devices, multiple input frames are encapsulated into virtual ports, and virtual egress devices are determined based on frame types to form multiple virtual networks, thus increasing the number of virtual ports and reducing dependence on physical ports.

Benefits of technology

Effectively increases the number of available physical ports, reduces service and upgrade costs, and improves the flexibility and efficiency of network equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764388A_ABST
    Figure CN118764388A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to virtual network equipment. A virtual network device (100) converts a plurality of transport network physical ports (216) into a larger number using a plurality of transport virtual ports (vPORTa) and a virtual switch (214), and converts a plurality of receive network physical ports (610) into a larger number using a plurality of receive virtual ports (vPORTb) and a virtual switch (612).
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the invention patent application filed on March 10, 2021, with the invention name “Virtual Network Device” and application number 202180033164.2. Technical Field

[0002] The present application relates to the field of computer networks, and in particular, to a virtual network device. Background Art

[0003] A wide area network (WAN) is an interconnected web of network devices that typically interconnects local area networks or metropolitan area networks over a large geographic area, such as across states or countries. A WAN allows remote computers to communicate with each other via the network devices.

[0004] Conventional network devices typically include one or more physical network ports that operate at predetermined fixed data rates, 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 transmission speed of the network port, and during this process, the transmission speed of the network port is fixed.

[0005] One of the disadvantages of traditional network equipment is that it often requires more physical ports than are available, which results in reduced service or expensive upgrades. Therefore, a method of adapting to the growing port requirements is needed. Summary of the invention

[0006] The present invention provides a virtual network device with virtual ports that effectively increase the number of available physical ports. The virtual network device includes a framing circuit that receives multiple input frames, checks the multiple input frames to determine the frame type for each input frame, and determines the virtual exit device associated with each input frame based on the frame type. The framing circuit also encapsulates the multiple input frames to form multiple first encapsulated frames. Each virtual exit device has a receiving virtual port. The multiple first encapsulated frames have multiple headers. The multiple headers identify the multiple virtual exit devices associated with the multiple input frames. In addition, the virtual network device includes multiple transmission virtual ports coupled to the framing circuit. The multiple transmission virtual ports determine multiple next hops in the virtual network for the multiple first encapsulated frames based on the virtual exit devices in the headers of the multiple first encapsulated frames. The multiple transmission virtual ports additionally encapsulate the multiple first encapsulated frames to form multiple second encapsulated frames. Each second encapsulated frame has a header. The header of the second encapsulated frame identifies a next hop of the second encapsulated frame based on the next hop of the first encapsulated frame, and identifies a receiving virtual port of an associated virtual egress device of the incoming frame. The transport virtual port includes a first portion of the memory. In addition, the virtual network device includes a transport virtual switch coupled to the plurality of transport virtual ports. The transport virtual switch selectively couples the transport virtual port to a network physical port.

[0007] The present invention also includes a method for operating a virtual network device. The method includes receiving a plurality of input frames, checking the plurality of input frames to determine a frame type for each input frame, and determining a virtual egress device associated with each input frame based on the frame type. Each virtual egress device has a receiving virtual port. The method also includes encapsulating the plurality of input frames to form a plurality of first encapsulated frames. The plurality of first encapsulated frames have a plurality of headers. The plurality of headers identify a plurality of virtual egress devices associated with the plurality of input frames. In addition, the method includes determining a plurality of next hops in a virtual network for the plurality of first encapsulated frames based on the virtual egress devices in the headers of the plurality of first encapsulated frames. In addition, the method includes encapsulating the plurality of first encapsulated frames in a plurality of transmission virtual ports to form a plurality of second encapsulated frames. Each second encapsulated frame has a header. The header of the second encapsulated frame identifies a next hop of the second encapsulated frame based on the next hop of the first encapsulated frame, and identifies a receiving virtual port of the associated virtual egress device of the input frame. The transmission virtual port includes a first portion of a shared memory. The method additionally includes selectively coupling the transmission virtual port to a network physical port.

[0008] The present invention also provides a non-transitory computer-readable storage medium having program instructions embedded therein, which, when executed by a processor, causes the processor to perform a method for operating a virtual network device. The method includes receiving a plurality of input frames, checking the plurality of input frames to determine a frame type for each input frame, and determining a virtual exit device associated with each input frame based on the frame type. Each virtual exit device has a receiving virtual port. The method also includes encapsulating the plurality of input frames to form a plurality of first encapsulated frames. The plurality of first encapsulated frames have a plurality of headers. The plurality of headers identify a plurality of virtual exit devices associated with the plurality of input frames. In addition, the method includes determining a plurality of next hops in a virtual network for the plurality of first encapsulated frames based on the virtual exit devices in the headers of the plurality of first encapsulated frames. In addition, the method includes encapsulating the plurality of first encapsulated frames in a plurality of transmission virtual ports to form a plurality of second encapsulated frames. Each second encapsulated frame has a header. The header of the second encapsulated frame identifies the next hop of the second encapsulated frame based on the next hop of the first encapsulated frame, and identifies the receiving virtual port of the associated virtual exit device of the input frame. The method also includes selectively coupling the transport virtual port to the network physical port.

[0009] A better understanding of the features and advantages of the present invention will be obtained by referring to the following detailed description and the accompanying drawings, which set forth illustrative embodiments in which the principles of the invention are utilized. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 is a block diagram illustrating an example of a virtual network device 100 according to the present invention.

[0011] Figure 2A is a block diagram showing an example of a transmission circuit 200 according to the present invention.

[0012] Figure 2B is a block diagram showing an example of a transmission circuit 250 according to the present invention.

[0013] Figure 3A is a flow chart illustrating an example of a method 300 of operating a transmission circuit 200 according to the present invention.

[0014] Figure 3B is a flow chart illustrating an example of a method 350 of operating a transmission circuit 200 according to the present invention.

[0015] Figure 4 is a block diagram illustrating an example of a transmission circuit 400 according to an alternative embodiment of the present invention.

[0016] Figure 5 A block diagram illustrating an example of a transmission circuit 500 according to an alternative embodiment of the present invention is shown.

[0017] Figure 6 is a block diagram showing an example of a receiving circuit 600 according to the present invention.

[0018] Figure 7 A flow chart illustrating an example of a method 700 of operating a receiving circuit 600 according to the present invention is shown.

[0019] Figure 8 is a block diagram illustrating an example of a receiving circuit 800 according to an alternative embodiment of the present invention.

[0020] Fig. 9 is a block diagram illustrating an example of a receiving circuit 900 according to an alternative embodiment of the present invention.

[0021] A better understanding of the features and advantages of the present invention will be obtained by referring to the following detailed description and the accompanying drawings, which set forth illustrative embodiments in which the principles of the invention are utilized. DETAILED DESCRIPTION

[0022] Figure 1 A block diagram illustrating an example of a virtual network device 100 according to the present invention is shown. As described in more detail below, the effective number of local physical ports in virtual network device 100 is increased by converting one or more of the local physical ports into multiple virtual local physical ports, and the effective number of network physical ports is increased by converting one or more of the network physical ports into multiple virtual network physical ports.

[0023] Virtual network device 100 is a component in a virtual network that interconnects a local router / switch with a remote router / switch. The virtual network includes virtual network device 100, which is coupled to the local router / switch as a virtual ingress device of the virtual network, and virtual network device 100, which is coupled to the remote router / switch as a virtual egress device of the virtual network.

[0024] like Figure 1 As shown, the virtual network device 100 includes a transmission circuit 110, which has multiple local physical ports 112 and multiple network physical ports 114. Each local physical port 112 receives data frames (such as set-top boxes (STBs), personal computers (PCs), and video data frames) from a local network device (such as a router / switch), and each network physical port 114 outputs data frames to the virtual network.

[0025] like Figure 1As further shown in FIG. 1 , the virtual network device 100 further includes a receiving circuit 120 having a plurality of local physical ports 122 and a plurality of network physical ports 124, each of which outputs a data frame to a local network device (such as a router / switch), and each of which receives a data frame from a virtual network. In one embodiment, one or more of the local physical ports 112 and 122 may be shared between the transmission circuit 110 and the receiving circuit 120, and one or more of the network physical ports 114 and 124 may be shared between the transmission circuit 110 and the receiving circuit 120.

[0026] Furthermore, virtual network device 100 includes shared memory 130 coupled to both transmission circuit 110 and reception circuit 120. Shared memory 130 includes a transmission queue temporarily storing data frames to be output to a virtual network and a reception queue temporarily storing data frames received from a virtual network.

[0027] Figure 2A 2 is a block diagram illustrating an example of a transmission circuit 200 according to the present invention. Figure 2A As shown, the transmission circuit 200 includes a local physical port 210 , a framing circuit 212 coupled to the local physical port 210 , and a plurality of transmission virtual ports vPORTa1 to vPORTan coupled to the framing circuit 212 .

[0028] Each transmission virtual port vPORTa includes a transmission queue and a transmission frame formatting circuit. In addition, the transmission circuit 200 also includes a transmission virtual switch 214 coupled to each transmission virtual port in the transmission virtual port vPORTa, and a network physical port 216 coupled to the transmission virtual switch 214.

[0029] Figure 3A 2 is a flow chart illustrating an example of a method 300 of operating a transmission circuit 200 according to the present invention. Figure 3A As shown, method 300 starts at 310 as framing circuit 212 receives a series of input frames from local physical port 210. Next, method 300 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 has multiple receiving virtual ports.

[0030] Thereafter, method 300 moves to 316, where framing circuit 212 encapsulates the series of input frames to form a plurality of first encapsulated (FE) frames. The FE frames have a header that identifies a virtual egress device associated with the series of input frames.

[0031] Thereafter, the method 300 moves to 318, where the transmission virtual ports vPORTa1 to vPORTan determine the next hop in the virtual network for the FE frame based on the virtual egress device in the header of the FE frame. Next, the method 300 moves to 320, where the transmission virtual ports vPORTa1 to vPORTan encapsulate the FE frame to form a second encapsulated (SE) frame. Each SE frame has a header that identifies the next hop of the SE frame based on the next hop of the FE frame. The header also identifies the receiving virtual port of the associated virtual egress device of the input frame. In addition, the transmission virtual port occupies a first portion of the shared memory.

[0032] Thereafter, the method 300 moves to 322, where the transport virtual switch 214 cycles through the transport virtual ports vPORTa1 to vPORTan that sequentially forward SE frames from each transport virtual port vPORTa in a fixed repeating order to output a sequence of SE frames. For example, the virtual switch 214 may output a sequence of SE frames where the first SE frame is from vPORT1, the second frame is from vPORT2, the third frame is from vPORT3, and the fourth frame is also from vPORT1.

[0033] If the transport virtual port vPORTa is empty or partially complete, no frame is generated. For example, if the transport virtual port vPORT2 is empty, the network physical port 216 outputs a frame sequence including frame 1, no frame, and frame 3. Next, the method 300 moves to 324, where the network physical port 216 transmits the SE frame sequence to the virtual network.

[0034] Figure 3B A flow chart showing an example of a method 350 of operating the transmission circuit 200 according to an alternative embodiment of the present invention is shown. The method 350 is similar to the method 300 and therefore the same reference numerals are used to indicate elements common to both methods.

[0035] like Figure 3B As shown, the method 350 first differs from the method 300 at 352, where the virtual switch 214 determines whether a complete signal has been received from any transmission virtual port vPORTa. The complete signal indicates that the SE frame in the transmission virtual port vPORTa is ready to be transmitted. When the virtual switch 214 detects the complete signal from the transmission virtual port vPORTa, the method 350 moves to 354, where the virtual switch 214 forwards the SE frame from the transmission virtual port vPORTa that outputs the complete signal to the network physical port 216.

[0036] For example, the virtual switch 214 may sequentially receive complete signals from the transport virtual port vPORTa1, the transport virtual port vPORTa2, and the transport virtual port vPORTa3. In this case, the virtual switch 214 outputs a sequence of SE frames, wherein the first SE frame comes from the transport virtual port vPORT1, the second frame comes from the transport virtual port vPORT2, and the third frame comes from the transport virtual port vPORT3.

[0037] Alternatively, one of the sources (e.g., STB, PC, video source) may have a much faster data rate than the other sources (e.g., STB, PC, video source), which in turn causes one transport virtual port vPORTa to output a complete signal more frequently than the other transport virtual port vPORTa.

[0038] For example, if the network physical port 216 transmits frames at a frame rate of 5 frames per second, the transport virtual port vPORTa2 outputs frames at a rate 3 times faster than each of the frame rates of the transport virtual ports vPORTa1 and vPORTa3, the transport virtual port vPORTa2 sends a complete signal three times before the other ports, and the transport virtual port vPORTa1 sends a signal before vPORTa3 sends a signal, the virtual switch 214 forwards a frame sequence that includes a first frame from the transport virtual port vPORT2, a second frame from the transport virtual port vPORT2, a third frame from the transport virtual port vPORT2, a fourth frame from the transport virtual port vPORT1, and a fifth frame from the transport virtual port vPORT3.

[0039] 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 by the virtual switch 214 from the transport virtual port vPORTa, the transport virtual ports vPORTa to vPORTan may alternatively include a priority scheme that allows frames to be forwarded from the transport virtual port vPORTa to the network physical ports in any number and in any order.

[0040] Return to reference Figure 3B After the virtual switch 214 forwards the SE frame from the transmission virtual port vPORTa outputting the complete signal to the network physical port 216, the method 350 moves to 356, where the network physical port 216 transmits the SE frame. In the method 300, although the priority scheme provides a level of predictability, the frames to be output are predictable, while in the method 350, the frames to be output are unpredictable.

[0041] Reference again Figure 2AIn the example of FIG. 2 , the framing circuit 212 includes a virtual switch 220 and a framer 222 coupled to the virtual switch 220. The virtual switch 220 detects the type of the input frame (e.g., STB, PC, video), determines the routing of the frame to the virtual port vPORTa corresponding to the type of the frame from the static forwarding table, and outputs the frame to the virtual port vPORTa.

[0042] In this example, the virtual switch 220 receives the STB frame transmitted by the local source router / switch and detects the received frame as a STB frame from the source and / or destination MAC address in the STB frame. The switch 220 then outputs the STB frame on the first virtual port line P1, which is routed to the virtual port vPORTa1, which is pre-selected to receive the STB frame.

[0043] Similarly, the virtual switch 220 receives the PC frame transmitted by the local source router / switch and detects the received frame as a PC frame from the source and / or destination MAC address in the PC frame. The switch 220 then outputs the PC frame on the second virtual port line P2, which is routed to the virtual port vPORTa2, which is pre-selected to receive the PC frame.

[0044] The virtual switch 220 also receives video frames transmitted by the local router / switch, detects the received frames as video frames from the source and / or destination MAC addresses in the video frames, and then outputs the video frames on a third virtual port line P3, which is routed to a virtual port vPORTa3, which is pre-selected to receive the video frames.

[0045] The framer 222 receives the STB frame on the virtual port line P1, encapsulates the STB frame to form a first encapsulated (FE) STB frame, and then forwards the FE STB frame to the transmission queue of the virtual port vPORTa1. Similarly, the framer 222 receives the PC frame on the virtual port line P2, encapsulates the PC frame to form a first encapsulated (FE) PC frame, and then forwards the FE PC frame to the transmission queue of the virtual port vPORTa2. The framer 222 also receives the video frame on the virtual port line P3, encapsulates the video frame to form a first encapsulated (FE) video frame, and then forwards the FE video frame to the transmission queue of the virtual port vPORTa3.

[0046] The framer 222 can generate the encapsulated frames using a conventional protocol such as a Provider Backbone Bridged Traffic Engineering (PBB-TE) protocol or a Transport Multi-Protocol Label Switching (T-MPLS) protocol. In addition, the FE STB frame, the FE PC frame, and the FE video frame each have a header having a plurality of fields including an identification of a virtual egress device.

[0047] For example, the header of the FE frame may include an egress address field, an I-Tag field, or a similar field for the MAC address of the virtual egress device. The header may also include other fields such as the MAC address of the virtual ingress device. In this example, the MAC address of the virtual egress device is administratively provided to the virtual ingress device.

[0048] The frame formatting circuit in the virtual port vPORTa1 of the transmission circuit 200 receives the FE STB frame, determines the next hop for the FE STB frame in the virtual network according to the static forwarding table based on the identifier of the virtual exit device in the header of the FE STB frame (such as, the MAC address of the virtual exit device), and encapsulates the FE STB frame to form a second encapsulated (SE) STB frame.

[0049] Similarly, the frame formatting circuit in the virtual port vPORTa2 of the transmission circuit 200 receives the FE PC frame, determines the next hop in the virtual network for the FE PC frame according to the static forwarding table based on the identifier of the virtual egress device in the header of the FE PC frame (such as, the MAC address of the virtual egress device), and encapsulates the FE PC frame to form a second encapsulated (SE) PC frame.

[0050] In addition, the frame formatting circuit in the virtual port vPORTa3 of the transmission circuit 200 receives the FE video frame, determines the next hop in the virtual network for the FE video frame according to the static forwarding table based on the identifier of the virtual egress device in the header of the FE video frame (such as, the MAC address of the virtual egress device), and encapsulates the FE video frame to form a second encapsulated (SE) video frame.

[0051] The SE STB frame, the SE PC frame, and the SE video frame each include a header having a next hop field identifying a MAC address of a next hop in a virtual network, a source field Src_vID identifying a virtual port number of a virtual ingress device, and a destination field Dst_vID identifying a virtual port number of a virtual egress device corresponding to the virtual port number of the virtual ingress device. In this example, the source field Src_vID for the SE STB frame is the virtual port vPORTa1. Other fields such as a last hop field may also be included.

[0052] In addition, the virtual switch 214 cycles through virtual ports vPORTa1 to vPORTan sequentially forwarding the second encapsulated (SE) frame from each virtual port vPORTa to output the series of SE frames to the physical port 216. In this example, the switch 214 forwards the SE STB frame from the virtual port vPORTa1 to the physical port 216, then forwards the SE PC frame from the virtual port vPORTa2 to the physical port 216, then forwards the SE video frame from the virtual port vPORTa3 to the physical port 216, then forwards the SE STB frame from the virtual port vPORTa1 to the physical port 216, and continues in the same manner, the physical port 216 outputs the frame. Although Figure 2A Transmission circuit 200 is shown receiving and operating with input from a single local router / switch, but may alternatively receive and operate with input from multiple routers / switches.

[0053] Figure 2B A block diagram illustrating an example of a transmission circuit 250 according to the present invention is shown. The transmission circuit 250 is similar to the transmission circuit 200, and therefore elements common to the transmission circuit 200 and the transmission circuit 250 are denoted using the same reference numerals.

[0054] like Figure 2B As shown, 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 the virtual switch 214. In addition, the virtual switch 214 provides a continuous connection between the transmission virtual port vPORTa1 and the network physical port 216A. In addition, an additional transmission virtual port vPORTa4 is shown.

[0055] Transmission circuit 250 operates substantially the same as transmission circuit 200, except that one or more of the sources (e.g., STB, PC, or video source) outputs data frames at a frame rate 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 five frames per second.

[0056] exist Figure 2B In the example shown in FIG. 1 , 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 illustrative purposes only.) Figure 2BAs shown, 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 in the manner shown in methods 300 and 350. One advantage of transmission circuit 250 is that transmission circuit 250 can handle input frame rates that are greater than the maximum frame rate of the network physical port.

[0057] Figure 4 A block diagram illustrating an example of a transmission circuit 400 according to an alternative embodiment of the present invention is shown. The transmission circuit 400 is similar to the transmission circuit 200, and therefore the same reference numerals are used to represent structures common to both circuits.

[0058] like Figure 4 As shown, the transmission circuit 400 differs from the transmission circuit 200 in that the framing circuit 212 of the transmission circuit 400 utilizes a serial-to-serial framer 410 followed by a serial-to-parallel virtual switch 412 coupled to the virtual ports vPORTa1 to vPORTan instead of a virtual switch 220 followed by a framer 222.

[0059] In another alternative embodiment, the framer 410 and virtual switch 412 of the transport circuit 400 may be physically separated, with the framer 410 being incorporated into a local router / switch.

[0060] Figure 5 2 is 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 therefore, the same reference numerals are used to represent structures common to the circuits 400 and 500. Figure 5 In the illustrated example, a local framer router / switch 510 is utilized with the transmission circuit 500 to replace the local router / switch that receives and outputs the STB, PC, and video frames.

[0061] Figure 6 2 is a block diagram illustrating an example of a receiving circuit 600 according to the present invention. Figure 6 As shown, the receiving circuit 600 includes a network physical port 610 and a receiving virtual switch 612 coupled to the network physical port 610. The receiving circuit 600 also includes a plurality of receiving virtual ports vPORTb1 to vPORTbn coupled to the switch 612. Each receiving virtual port vPORTb includes a receiving queue and a receiving frame formatting circuit. The receiving circuit 600 also includes a de-framing circuit 614 coupled to each virtual port in the receiving virtual port vPORTb, and a local physical port 616 coupled to the de-framing circuit 614.

[0062] Figure 78 is a flow chart illustrating an example of a method 700 of operating a receiving circuit 600 according to the present invention. Figure 7 As shown, method 700 begins at 710 as network physical port 610 receives a third series of encapsulated (TE) frames from a virtual network. The TE frames have a header that includes a next hop address and a receiving virtual port identifier.

[0063] Next, the method 700 moves to 712, where the network physical port 610 examines the TE frame to determine the next hop address and compares the next hop address with the stored address. Thereafter, the method 700 moves to 714, where the network physical port 610 forwards the TE frame with the matching next hop address as a matching encapsulated (ME) frame. In addition, when the identity of the next hop address does not match the stored address, the port 610 discards the received TE frame.

[0064] Thereafter, the method 700 moves to 716, where the receiving virtual switch 612 switchably passes the ME frame based on the receiving virtual port identifier in the header of the ME frame. The method 700 then moves to 718, where the receiving virtual ports vPORTb1 to vPORTbn unpack the switchably passed ME frame to extract the fourth encapsulated frame from the switchably passed ME frame, so that each receiving virtual port vPORTb unpacks the ME frame to extract the fourth encapsulated frame. The receiving virtual port occupies a second portion of the shared memory.

[0065] After this, method 700 moves to 720, wherein de-framing circuit 614 unpacks the 4th encapsulated frame, to extract original STB, PC and video input frame from the 4th encapsulated frame.Original STB, PC and video input frame from remote router / switch have multiple frame types.In addition, each input frame has the header of identification destination router / switch.Then method 700 moves to 722, wherein de-framing circuit 614 forwards STB, PC and video frame to local physical port 616, and local physical port 616 outputs original STB, PC and video frame to local router / switch.

[0066] In this example, the virtual switch 612 receives the ME STB frame from the network physical port 610, and determines that the destination virtual port is the virtual port vPORTb1 according to the destination virtual port number Dst_vID in the header of the ME STB frame. In addition, the switch 612 determines the route to the virtual port vPORTb1 according to the static forwarding table, and then outputs the ME STB frame on the first virtual port line, which is routed to the virtual port vPORTb1.

[0067] Similarly, the virtual switch 612 receives the ME PC frame from the network physical port 610, and determines that the destination virtual port is the virtual port vPORTb2 according to the destination virtual port number Dst_vID in the header of the ME PC frame. In addition, the switch 612 determines the route to the virtual port vPORTb2 according to the static forwarding table, and then outputs the ME PC frame on the second virtual port line, which is routed to the virtual port vPORTb2.

[0068] In addition, the virtual switch 612 receives the ME video frame from the network physical port 610, and determines that the destination virtual port is the virtual port vPORTb3 according to the destination virtual port number Dst_vID in the header of the ME video frame. The switch 612 determines the route to the virtual port vPORTb3 according to the static forwarding table, and then outputs the ME video frame on the third virtual port line, which is routed to the virtual port vPORTb3.

[0069] The virtual ports vPORTb1 to vPORTbn receive the ME frame and depacketize the ME frame to extract fourth encapsulated frames, such as a fourth encapsulated STB frame, a fourth encapsulated PC frame, and a fourth encapsulated video frame, from the ME frame. Figure 6 In the example, the receiving queue of the first virtual port vPORTb1 receives the ME STB frame, and the frame formatting circuit of the virtual port vPORTb1 decapsulates the ME STB frame to extract a fourth encapsulated STB frame having a header including the identity of the virtual egress device.

[0070] Similarly, the receive queue of the second virtual port vPORTb2 receives the ME PC frame, and the frame formatting circuit of the virtual port vPORTb2 unpacks the ME PC frame to extract a fourth encapsulated PC frame having a header including the identity of the virtual egress device. In addition, the receive queue of the third virtual port vPORTb3 receives the ME video frame, and the frame formatting circuit of the virtual port vPORTb3 unpacks the ME video frame to extract a fourth encapsulated video frame having a header including the identity of the virtual egress device.

[0071] The de-framing circuit 614 receives a plurality of fourth encapsulated frames and extracts the original STB, PC and video input frames from the fourth encapsulated frames. The input frames have a plurality of frame types, such as STB, PC, video. Each input frame has a header including the identity of the destination router / switch. For each received fourth encapsulated frame, the de-framing circuit 614 unpacks the fourth encapsulated frame to extract the input frame, determines the identity of the destination router / switch according to the header of the input frame, and outputs the input frame to the local physical port 616, which outputs the input frame to the destination router / switch.

[0072] like Figure 6 As shown, the deframe circuit 614 includes a deframer 620 and a virtual switch 622 coupled to the deframer 620. In operation, the deframer 620 receives the fourth encapsulated frame from the plurality of receiving virtual ports vPORTb1 to vPORTbn, and decapsulates the fourth encapsulated frame to extract the original input frame (e.g., STB frame, PC frame, and video frame), and forwards the STB frame, PC frame, and video frame to the virtual switch 622.

[0073] exist Figure 6 In the example of , the deframer 620 receives the fourth encapsulated STB frame from the receiving virtual port vPORTb1, depacketizes the fourth encapsulated frame to extract the STB frame, and forwards the STB frame to the virtual switch 622. Similarly, the deframer 620 receives the fourth encapsulated PC frame from the receiving virtual port vPORTb2, depacketizes the fourth encapsulated frame to extract the PC frame, and forwards the PC frame to the virtual switch 622. In addition, the deframer 620 receives the fourth encapsulated video frame from the receiving virtual port vPORTb3, depacketizes the fourth encapsulated frame to extract the video frame, and forwards the video frame to the virtual switch 622. The deframer 620 may utilize the same or different protocol as the framer 222.

[0074] The virtual switch 622 cycles through the output of the deframer 620 which sequentially receives the output frames and forwards the output frames to the local physical port 616. In this example, the virtual switch 622 receives the STB frame from the deframer 620, detects the MAC address of the destination router / switch, and outputs the STB frame to the local physical port 616. Similarly, the virtual switch 622 receives the PC frame from the deframer 620, detects the MAC address of the destination router / switch, and outputs the PC frame to the local physical port 616. In addition, the virtual switch 622 receives the video frame from the deframer 620, detects the MAC address of the destination router / switch, and outputs the video frame to the local physical port 616. The local physical port 616 in turn outputs the frame to the local router / switch.

[0075] Figure 6 The example of FIG. 6 shows a de-framing circuit 614 having a parallel-to-parallel de-framer 620 followed by a parallel-to-serial virtual switch 622. The de-framing circuit 614 may be implemented alternately with other circuit devices. For example, the de-framing circuit 614 may be implemented with a serial-to-parallel virtual switch coupled to virtual ports vPORTb1 to vPORTbn followed by a serial-to-serial framer.

[0076] Figure 8 A block diagram illustrating an example of a receive circuit 800 according to an alternative embodiment of the present invention is shown. Receive circuit 800 is similar to receive circuit 600, and therefore, like reference numerals are used to denote structures common to both circuits.

[0077] like Figure 8 As shown, the receiving circuit 800 differs from the receiving circuit 600 in that the framing circuit 614 of the receiving circuit 800 includes a parallel-to-serial virtual switch 810 coupled to the virtual ports vPORTb1 to vPORTbn, followed by a serial-to-serial deframer 812. The implementations of the framing circuit 212 and the deframe circuit 614 can be interchanged. For example, the virtual network device 100 can utilize the framing circuit 212, which is implemented using the virtual switch 220 and the framer 222, and the deframe circuit 614 can be implemented using the virtual switch 810 and the deframer 812.

[0078] In another alternative embodiment, the virtual switch 810 and the deframer 812 may be physically separated, with the deframer 812 being incorporated into a local router / switch.

[0079] Fig. 9 800 is a block diagram illustrating an example of a receiving circuit 900 according to the present invention. The receiving circuit 900 is similar to the receiving circuit 800, and therefore, the same reference numerals are used to represent structures common to the circuits 800 and 900. Fig. 9 In the illustrated example, a local deframer router / switch 910 is utilized in the receive circuit 900 in place of a local router switch.

[0080] One of the advantages of the present invention is that the present invention combines the STB, PC and multiple streams of video frames into a single virtual frame stream via multiple virtual ports, which in turn effectively increases the number of available physical ports.

[0081] Reference has now been made in detail to various embodiments of the present disclosure, examples of which are shown in the accompanying drawings. Although described in conjunction with various embodiments, it should be understood that these various embodiments are not intended to limit the present disclosure. On the contrary, the present disclosure is intended to cover replacements, modifications and equivalents that may be included within the scope of the present disclosure as interpreted according to the claims.

[0082] In addition, in the foregoing detailed description of the various embodiments of the present disclosure, a number of specific details are set forth in order to provide a thorough understanding of the present disclosure. However, those skilled in the art will recognize that the present invention can be practiced without these specific details or their equivalents. In other examples, well-known methods, processes, components, and circuits are not described in detail to avoid unnecessarily obscuring aspects of the various embodiments of the present disclosure.

[0083] It should be noted that although for clarity, the method may be described herein as a sequence of numbered operations, the numbering does not necessarily indicate the order of the operations. It should be understood that some operations may be skipped, performed in parallel, or performed without maintaining a strict order.

[0084] The drawings showing various embodiments according to the present disclosure are semi-schematic and not to scale, and in particular, some dimensions are for clarity of presentation and are shown exaggerated in the drawings. Similarly, although the views in the drawings generally show similar orientations for ease of description, such depictions in the drawings are arbitrary for the most part. Generally, various embodiments according to the present disclosure can operate in any orientation.

[0085] Some portions of the detailed description are presented in the form 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.

[0086] In the present disclosure, a program, logic box, process, etc. is considered to be a self-consistent sequence of operations or instructions that lead to a desired result. These operations are operations that utilize physical manipulations of physical quantities. Typically, although not necessarily, these quantities take the form of electrical or magnetic signals that can be stored, transmitted, combined, compared, and otherwise manipulated in a computing system. Mainly for general reasons, it sometimes proves convenient to refer to these signals as transactions, bits, values, elements, symbols, characters, samples, pixels, etc.

[0087] It should be remembered, however, 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 otherwise stated, as will be clear from the following discussion, discussions utilizing terms such as "generate," "determine," "allocate," "aggregate," "utilize," "virtualize," "process," "access," "execute," "store," etc. throughout this disclosure should be understood to refer to actions and processes of a computer system or similar electronic computing device or processor.

[0088] A computing system or similar electronic computing device or processor processes and converts data represented as physical (electronic) quantities in a computer system memory, registers, other such information storage, and / or other computer-readable media into other data similarly represented as physical quantities in a computer system memory or registers or other such information storage, transmission, or display device.

[0089] With reference to the drawings of the embodiments of the present application, the technical solutions in the embodiments of the present application have been clearly and completely described in the previous sections. It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that these numbers can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order different from that shown or described here.

[0090] The functions described in the method of this embodiment, if implemented in the form of a software functional unit and sold or used as an independent product, can be stored in a computing device readable storage medium. Based on such an understanding, parts of the embodiments of the present application that contribute to the prior art or parts of the technical solution can be implemented in the form of a software product stored in a storage medium, including multiple instructions for enabling a computing device (which may be a personal computer, server, mobile computing device or network device, etc.) to perform all or part of the steps of the method described in each embodiment 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 disk, an optical disk, etc. that can store program code.

[0091] The various embodiments in the specification of the present application are described in a progressive manner, and each embodiment focuses on its difference from other embodiments, and the same or similar parts between the various embodiments can be referred to as another case. The described embodiments are only part of the embodiments, not all embodiments of the present application. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present application are within the scope of the present application without departing from the technology of the present invention.

[0092] The above description of the disclosed embodiments enables those skilled in the art to make or use the present application. Various modifications to these embodiments are clear 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. Therefore, the present application is not limited to the embodiments shown herein, but to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A virtual network device, comprising: The framing circuit is configured as follows: receiving a plurality of input frames; examining the plurality of input frames to determine a frame type of each input frame; determining a virtual egress device associated with each of said input frames based on said frame type; as well as packaging the plurality of input frames to form a plurality of first packaged frames; A plurality of transmission virtual ports are coupled to the framing circuit, wherein the plurality of transmission virtual ports are configured as: determining a plurality of next hops of the plurality of first encapsulated frames in a virtual network based on the virtual egress device corresponding to the plurality of first encapsulated frames; as well as encapsulating the plurality of first encapsulated frames to form a plurality of second encapsulated frames; as well as A transport virtual switch is configured to selectively couple one or more of the plurality of transport virtual ports to a network physical port based on whether a complete signal from one or more of the plurality of transport virtual ports has been received by the transport virtual switch.

2. The virtual network device of claim 1 , wherein the transport virtual switch is further configured to determine whether the complete signal from the one or more of the plurality of transport virtual ports has been received by the transport virtual switch, and wherein the complete signal indicates that at least a second encapsulated frame in the one or more of the plurality of transport virtual ports is ready to be transmitted.

3. The virtual network device of claim 2 , wherein the transport virtual switch is configured to selectively couple the one or more of the plurality of transport virtual ports to the network physical port by forwarding the at least second encapsulated frame from the transport virtual port that outputs the complete signal to the network physical port.

4. The virtual network device of claim 1, wherein each virtual egress device comprises a receiving virtual port, wherein the plurality of first encapsulated frames comprises a plurality of headers, and wherein the plurality of headers identify a plurality of virtual egress devices corresponding to the plurality of input frames.

5. The virtual network device of claim 1 , wherein each second encapsulated frame includes a header, and wherein the header of the second encapsulated frame identifies a next hop of the second encapsulated frame based on the next hop of the first encapsulated frame and the receiving virtual port of the associated virtual egress device of the input frame.

6. The virtual network device of claim 1 , wherein the transport virtual switch is configured to: sequentially receiving a complete signal from the first transmission virtual port, the second transmission virtual port, and the third transmission virtual port; and A sequence of second encapsulated frames is output, wherein a first second encapsulated frame is from the first transport virtual port, a second encapsulated frame is from the second transport virtual port, and a third second encapsulated frame is from the third transport virtual port.

7. The virtual network device of claim 1, wherein the transport virtual switch is configured to cycle through the plurality of transport virtual ports sequentially forwarding the second encapsulated frame from each transport virtual port in a fixed repeating order to output a series of second encapsulated frames.

8. The virtual network device of claim 1, wherein the framing circuit comprises: The virtual switch is configured as: determining, based on the frame type, routing the frame to a transport virtual port; as well as Outputting the frame to the transmission virtual port; as well as a framer coupled to the virtual switch, wherein the framer is configured to: Encapsulating the input frame; A protocol from a protocol suite is executed, the protocol suite comprising: a Provider Backbone Bridging Services Engineering (PBB-TE) protocol and a Transport Multi-Protocol List Switching (T-MPLS) protocol.

9. The virtual network device of claim 1, wherein the plurality of transport virtual ports comprises a first portion of a shared memory.

10. The virtual network device according to claim 9, further comprising: The receiving physical port is configured as: receiving a plurality of third encapsulated frames; inspecting the plurality of third encapsulated frames to determine a plurality of frame destinations; comparing the plurality of frame destinations to stored destinations; as well as forwarding the third encapsulated frames having a matching destination as matched encapsulated frames, the plurality of third encapsulated frames and the matched encapsulated frames having a plurality of headers, and the plurality of headers having a plurality of receive virtual port identifiers; a receive virtual switch coupled to the receive physical port, wherein the receive virtual switch is configured to: switchably pass the matching encapsulated frame based on the receive virtual port identifier in the header of the matching encapsulated frame; a plurality of receive virtual ports coupled to the receive virtual switch, wherein the plurality of receive virtual ports are configured to: unpack the switchably delivered matched encapsulated frames to extract a plurality of fourth encapsulated frames from the plurality of matched encapsulated frames, such that each receive virtual port unpacks the matched encapsulated frames to extract fourth encapsulated frames, the receive virtual ports comprising a second portion of the shared memory; as well as a de-framing circuit coupled to the plurality of receiving virtual ports, wherein the de-framing circuit is configured to de-packetize the plurality of fourth encapsulated frames to extract a plurality of output frames from the plurality of fourth encapsulated frames, the plurality of output frames having a plurality of frame types and each having a header identifying a destination router / switch.

11. The virtual network device according to claim 10, wherein The de-framing circuit includes a de-framer, and the de-framer is configured to: receiving the fourth encapsulated frame from the plurality of receive virtual ports; and unpacking the fourth encapsulated frame to extract the input frame; The framing circuit is further configured to output the input frame to a local router / switch.

12. A method for operating a virtual network device, the method comprising: receiving a plurality of input frames; examining the plurality of input frames to determine a frame type of each input frame; determining a virtual egress device associated with each of said input frames based on said frame type; packaging the plurality of input frames to form a plurality of first packaged frames; determining a plurality of next hops of the plurality of first encapsulated frames in a virtual network based on the virtual egress device corresponding to the plurality of first encapsulated frames; encapsulating the plurality of first encapsulated frames in a plurality of transmission virtual ports to form a plurality of second encapsulated frames; as well as The one or more of the plurality of transport virtual ports are selectively coupled to a network physical port based on whether a complete signal from the one or more of the plurality of transport virtual ports has been received by the transport virtual switch.

13. The method according to claim 12, further comprising: and determining whether the complete signal from the one or more of the plurality of transport virtual ports has been received by the transport virtual switch, wherein the complete signal indicates that at least a second encapsulated frame in the one or more of the plurality of transport virtual ports is ready to be transmitted.

14. The method of claim 13, wherein selectively coupling the one or more of the plurality of transport virtual ports to the network physical port comprises: The at least second encapsulated frame is forwarded from the transport virtual port outputting the complete signal to the network physical port.

15. The method of claim 12, wherein each virtual egress device comprises a receiving virtual port, wherein the plurality of first encapsulated frames comprises a plurality of headers, and wherein the plurality of headers identify a plurality of virtual egress devices corresponding to the plurality of input frames.

16. The method of claim 12, wherein each second encapsulated frame includes a header, and wherein the header of the second encapsulated frame identifies a next hop of the second encapsulated frame based on the next hop of the first encapsulated frame and the receiving virtual port of the associated virtual egress device of the incoming frame.

17. The method of claim 12, wherein the plurality of transport virtual ports comprises a first portion of a shared memory, and wherein the method further comprises: receiving a plurality of third encapsulated frames; inspecting the plurality of third encapsulated frames to determine a plurality of frame destinations; comparing the plurality of frame destinations to stored destinations; forwarding the third encapsulated frames having a matching destination as matched encapsulated frames, the plurality of third encapsulated frames and the matched encapsulated frames having a plurality of headers, and the plurality of headers having a plurality of receive virtual port identifiers; switchably passing the matching encapsulated frame based on the receiving virtual port identifier in the header of the matching encapsulated frame; depacketizing the matched encapsulated frames switchably communicated in a plurality of receiving virtual ports to extract a plurality of fourth encapsulated frames from the plurality of matching encapsulated frames, such that each receiving virtual port depacketizes the matched encapsulated frames to extract fourth encapsulated frames, the receiving virtual port comprising the second portion of the shared memory; as well as The plurality of fourth encapsulated frames are depacketized to extract a plurality of output frames from the plurality of fourth encapsulated frames, the plurality of output frames having a plurality of frame types and each output frame having a header identifying a destination router / switch.

18. A non-transitory computer-readable storage medium having program instructions embedded therein, wherein the program instructions, when executed by a processor, cause the processor to perform a method of operating a virtual network device, the method comprising: receiving a plurality of input frames; examining the plurality of input frames to determine a frame type of each input frame; determining a virtual egress device associated with each of said input frames based on said frame type; packaging the plurality of input frames to form a plurality of first packaged frames; determining a plurality of next hops of the plurality of first encapsulated frames in a virtual network based on the virtual egress device corresponding to the plurality of first encapsulated frames; encapsulating the plurality of first encapsulated frames in a plurality of transmission virtual ports to form a plurality of second encapsulated frames; as well as The one or more of the plurality of transport virtual ports are selectively coupled to a network physical port based on whether a complete signal from the one or more of the plurality of transport virtual ports has been received by the transport virtual switch.

19. The medium of claim 18, wherein the method further comprises: and determining whether the complete signal from the one or more of the plurality of transport virtual ports has been received by the transport virtual switch, wherein the complete signal indicates that at least a second encapsulated frame in the one or more of the plurality of transport virtual ports is ready to be transmitted.

20. The medium of claim 18, wherein the plurality of transport virtual ports comprises a first portion of a shared memory, and wherein the method further comprises: receiving a plurality of third encapsulated frames; inspecting the plurality of third encapsulated frames to determine a plurality of frame destinations; comparing the plurality of frame destinations to stored destinations; forwarding each third encapsulated frame having a matching destination as a matched encapsulated frame, the plurality of third encapsulated frames and the matched encapsulated frames having a plurality of headers, and the plurality of headers having a plurality of receive virtual port identifiers; switchably passing the matching encapsulated frame based on the receiving virtual port identifier in the header of the matching encapsulated frame; depacketizing the matched encapsulated frames switchably communicated among a plurality of receiving virtual ports to extract a plurality of fourth encapsulated frames from the plurality of matched encapsulated frames, such that each receiving virtual port depacketizes the matched encapsulated frames to extract fourth encapsulated frames, the receiving virtual ports comprising a second portion of the shared memory; as well as The plurality of fourth encapsulated frames are depacketized to extract a plurality of output frames from the plurality of fourth encapsulated frames, the plurality of output frames having a plurality of frame types and each output frame having a header identifying a destination router / switch.