Multi-tenant system of home broadband cloud gateway and configuration planning method of multi-tenant system
Through a multi-tenant system combining full virtualization and semi-virtualization, the problem of insufficient hardware configuration of home broadband gateways is solved, and a low-cost and high-performance home broadband cloud gateway is realized, which supports the rapid cloud access and elastic expansion of home broadband services, meeting the high bandwidth and long-term online needs of home broadband users.
Patent Information
- Application Number
- CN202410196836.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-22
- Publication Date
- 2025-08-22
AI Technical Summary
The existing home broadband gateway hardware configuration and insufficient performance are difficult to support the diversification and high performance requirements of home broadband value-added services. Traditional cloud computing technology is costly and difficult to meet the long-term online needs of home broadband users.
A multi-tenant system combining full virtualization and paravirtualization is adopted. Multiple fully virtualized vCPEs are carried through a physical server. Each vCPE corresponds to an entity VM. Each vCPE carries multiple paravirtualized vGWs, and isolates home-wide users through VirtIO ports and VRF. Traffic dispersion is combined with QinQ or VXLAN identifiers, and uses DPDK vhost-user mechanism and QEMU for communication and memory access.
It has achieved high performance and multi-tenant forwarding isolation requirements for home bun users at extremely low costs, reduced user Internet access costs, supported rapid cloud access and elastic expansion of home bun business, and met the high bandwidth and long-term online requirements of home broadband users.
Smart Images

Figure CN120528790A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of broadband technology, and in particular to a multi-tenant system for a home broadband cloud gateway and a configuration planning method thereof. Background Art
[0002] With the rapid development of internet technology and services, broadband products have entered thousands of households. Currently, the penetration rate of gigabit broadband has increased significantly. Even though gateway devices costing only a few hundred yuan are required to process 1Gbps of traffic in real time, gateway performance is still far from sufficient to support the diversified and large-scale development of value-added home broadband services. While it is theoretically possible to significantly improve processing performance by upgrading the hardware configuration of home broadband gateways, this will inevitably lead to a significant increase in equipment costs.
[0003] Therefore, edge and central clouds, with their immense computing power, offer unlimited possibilities for value-added home broadband services. Current cloud products on the market generally utilize full virtualization technology, primarily targeting cloud computing and other fields, providing flexible and powerful computing and storage resources. However, home broadband users do not require powerful computing and storage resources, but do require constant online access and abundant network resources. Traditional cloud computing technologies cannot effectively address this problem.
[0004] In summary, the hardware configuration of home broadband gateways is low, the performance is low, and the technical framework is fixed, making it difficult to adapt to the fast, diverse, intelligent, highly elastic, and high-performance requirements of home broadband value-added services; and traditional cloud computing technology, due to the characteristics of home broadband users and home broadband networks, has high costs and is difficult to meet the requirements of high computing, low unit price, and long-term user network access for home broadband. Summary of the Invention
[0005] The present invention provides a multi-tenant system for a home broadband cloud gateway and a configuration planning method thereof, which are used to address the defects in the existing technology. They are not limited by the hardware resources of traditional broadband gateways, can meet the requirements of high performance and multi-tenant forwarding isolation for home broadband users, and reduce the Internet access costs of home broadband users.
[0006] The present invention provides a multi-tenant system for a home broadband cloud gateway, comprising:
[0007] A physical server that hosts multiple fully virtualized vCPEs;
[0008] Each of the vCPEs corresponds to a physical VM;
[0009] Each of the vCPEs carries multiple semi-virtualized vGWs;
[0010] Each vGW corresponds to a VirtIO port, a VRF, and a home broadband user;
[0011] The VirtIO port corresponding to each vGW is bound to the VRF, and the VRF is used to isolate the home broadband users in each vGW.
[0012] Optionally, the physical server includes a vSwitch layer, and the vSwitch layer disperses the home broadband users into multiple vCPEs based on QinQ or VXLAN identifiers.
[0013] Optionally, each of the vCPEs carries multiple semi-virtualized vGWs based on a DPDK vhost-user mechanism.
[0014] Optionally, each of the vGWs includes a vhost port, and the vhost port is used to respond to the packet sending and receiving requests of the vGW.
[0015] Optionally, each vGW independently runs a QEMU process, the QEMU is used to simulate virtual machine devices, the QEMU adopts a vhost-user mechanism for communication, and the memory access mode of the vGW is shared.
[0016] Optionally, the vhost ports of multiple vGWs carried by each vCPE are polled and received by DPDK.
[0017] The present invention also provides a configuration planning method for a multi-tenant system of a home broadband cloud gateway, comprising:
[0018] Determine basic configuration parameters of the physical server, vCPE, and vGW, where the basic configuration parameters include CPU, memory, shared memory, first bandwidth, and disk;
[0019] Determine the second bandwidth of the home broadband user;
[0020] The first number of vCPEs and the second number of vGWs are determined according to the second bandwidth and basic configuration parameters of the home broadband user.
[0021] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and runnable on the processor, wherein when the processor executes the program, a configuration planning method for a multi-tenant system of the home broadband cloud gateway is implemented.
[0022] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a configuration planning method for a multi-tenant system of the home broadband cloud gateway.
[0023] The present invention also provides a computer program product, comprising a computer program, which, when executed by a processor, implements a configuration planning method for a multi-tenant system of the home broadband cloud gateway.
[0024] The present invention provides a multi-tenant system for a home broadband cloud gateway and a configuration planning method thereof. The system includes: a physical server, the physical server carrying multiple fully virtualized vCPEs; each of the vCPEs corresponds to a physical VM; each of the vCPEs carries multiple semi-virtualized vGWs; each of the vGWs corresponds to a VirtIO port, a VRF, and a home broadband user; the VirtIO port and VRF corresponding to each vGW are bound, and the VRF is used to achieve isolation of home broadband users in each vGW. The above-mentioned system of the present invention is no longer limited by traditional broadband gateway hardware resources through the combination of full virtualization and semi-virtualization, and is compatible with existing cloud resources and physical server equipment resources. It meets the requirements of high performance and multi-tenant forwarding isolation for home broadband users at an extremely low per-user cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0026] Figure 1 This is a schematic diagram of the logical composition of a home broadband cloud gateway in the prior art;
[0027] Figure 2 This is a logical diagram of a multi-tenant system of a home broadband cloud gateway provided by the present invention;
[0028] Figure 3 This is a schematic diagram of the internal logic of the vCPE provided by the present invention;
[0029] Figure 4 This is a flow chart of a configuration planning method for a multi-tenant system of a home broadband cloud gateway provided by the present invention;
[0030] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0031] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0032] The following combination Figure 2-Figure 5 The present invention describes a multi-tenant system of a home broadband cloud gateway and a configuration planning method thereof.
[0033] Figure 1 This is a schematic diagram of the logical composition of the home broadband cloud gateway in the existing technology. The home broadband cloud gateway is commonly used Figure 1 The medium architecture typically includes a home-side thin gateway, a cloud-side cloud gateway, and a Layer 2 or large Layer 2 network channel based on the operator's existing broadband infrastructure (OLT (optical line terminal, optical line terminal), aggregation switch, BRAS (Broadband Remote Access Server, broadband remote access server) and other devices). The home-side thin gateway is connected to the cloud-side cloud gateway through a Layer 2 or large Layer 2 network channel, logically directly connected, forming a complete broadband cloud gateway system.
[0034] Correspondingly, Figure 2 This is a logical diagram of a multi-tenant system of a home broadband cloud gateway provided by the present invention. Figure 2 As shown, a multi-tenant system of a home broadband cloud gateway includes:
[0035] A physical server that hosts multiple fully virtualized vCPEs;
[0036] Each of the vCPEs corresponds to a physical VM;
[0037] Each of the vCPEs carries multiple semi-virtualized vGWs;
[0038] Each vGW corresponds to a VirtIO port, a VRF, and a home broadband user;
[0039] The VirtIO port corresponding to each vGW is bound to the VRF, and the VRF is used to isolate the home broadband users in each vGW.
[0040] This invention achieves multi-tenancy for home broadband by combining full virtualization and paravirtualization. The principle is summarized as follows: a physical server hosts multiple vCPEs (virtual customer premises equipment), each vCPE hosts multiple vGWs (virtual gateways), each vGW corresponds to a VirtIO (paravirtualization) port, each VirtIO port is bound to a VRF (virtual routing and forwarding instance), and each vGW corresponds to one home broadband user.
[0041] The present invention is compatible with existing cloud resources and physical server equipment resources, and meets the requirements of high performance and multi-tenant forwarding isolation for home broadband users at an extremely low per-user cost.
[0042] In addition, the present invention is no longer limited by traditional broadband gateway hardware resources based on the business handling conditions of home broadband users. The present invention can automatically, flexibly and elastically configure resources to enable all home broadband services to be cloud-based.
[0043] It should be mentioned that the present invention carries multiple fully virtualized domain vCPEs on a single physical server, and the vCPEs correspond one-to-one to the physical VMs (Virtual Machines); a single vCPE carries multiple semi-virtualized domain vGWs, each vGW corresponds to a VirtIO port and a vhost (virtual host), and the vGW also corresponds one-to-one to home broadband users; a VirtIO is bound to a VRF, and tenant isolation from other vGWs is achieved through VRF.
[0044] Furthermore, it should be noted that Figure 2 It also includes VMware (virtual machine), Hyper-V (abstraction layer above the device), Xen (open source virtual machine monitor) and KVM (keyboard, display device (video), mouse (Mouse); that is, the technology of controlling multiple computers with a set of mouse, keyboard and display)
[0045] Based on the above solution, the present invention can realize the rapid cloud migration of home broadband value-added services, meeting the current and future requirements for fast, diverse, intelligent, highly flexible and high-performance home value-added services.
[0046] Aiming at the characteristics of home broadband services, the present invention adopts the principle of lightweight multi-tenant technology to provide tenant isolation for different home users at extremely low cost and resource requirements, solving the problems that traditional public clouds and private clouds cannot meet the needs of home broadband scenarios, such as high bandwidth, low computing, low unit price, long-term user online connection, and extremely low cost.
[0047] In a specific embodiment, the physical server includes a vSwitch (virtual switch, relative to a physical switch) layer, and the vSwitch layer is based on a QinQ (802.1Q in 802.1Q, a VLAN nested encapsulation protocol format) or VXLAN (Visual eXtensible Local Area Network, a virtual extended local area network, an extended implementation of VLAN) identifier to disperse the home broadband users into multiple vCPEs.
[0048] It should be noted that this embodiment of the present invention draws on Figure 1 The principle behind this section is that the user-side broadband gateway uses traditional Layer 2 technology or VXLAN large Layer 2 technology to move all home broadband traffic to the cloud, effectively migrating the home LAN to the cloud. Once the broadband traffic is in the cloud, the physical server virtualization layer vSwitch uses QinQ or VXLAN identifiers to distribute users to different vCPEs. For example, if a single physical server supports 10,000 home broadband users and a total of 20 vCPEs are running, each vCPE can be distributed to handle 500 users' traffic. This embodiment enables load balancing of home broadband user traffic to the vCPEs.
[0049] It should be mentioned that the vSwitch layer is usually provided by the virtualization vendor and its network performance can usually be guaranteed.
[0050] In a specific embodiment, each of the vCPEs carries multiple semi-virtualized vGWs based on the DPDK vhost-user mechanism.
[0051] It should be mentioned that due to the one-to-one correspondence between vCPE and VM, home broadband services are services with strong network attributes and require strong network processing capabilities. At the same time, they need to meet the needs of a large number of users online at the same time. Therefore, the vCPE of the present invention carries multiple vGWs using VirtIO and vhost-user semi-virtualization mechanisms, which can ensure strong network processing capabilities when a large number of users are online at the same time.
[0052] Furthermore, the vhost library of the DPDK (Data Plane Development Kit) component contains complete VirtIO backend logic and can implement the vhost-user mechanism.
[0053] In a specific embodiment, each of the vGWs includes a vhost port, and the vhost port is used to respond to the packet sending and receiving requests of the vGW.
[0054] It should be mentioned that a vhost port is created for each vGW, and the vhost-user port is used to respond to vGW packet sending and receiving requests and process packet copying, etc.
[0055] In a specific embodiment, each vGW independently runs a QEMU (Quick Emulator, an open source virtual machine simulator used to simulate computer systems of different architectures) process, and the QEMU is used to simulate virtual machine devices. The QEMU uses a vhost-user mechanism for communication, and the memory access mode of the vGW is shared.
[0056] It should be noted that each vGW actually runs in an independent QEMU process. QEMU is responsible for simulating virtual machine devices and virtualizing VirtoIO devices, which can constitute the front-end logic. Furthermore, QEMU uses the vhost-user mechanism for communication. The vGW memory access mode needs to be set to shared. The vGW memory must be pre-allocated large pages and allowed to be shared with other processes.
[0057] In a specific embodiment, the vhost ports of multiple vGWs carried by each vCPE are polled and received by DPDK.
[0058] It should be mentioned that a vCPE carries multiple vGWs, that is, multiple vhost ports. DPDK implements core-bound polling of these vhost ports and disperses the message queues to different cores for processing. That is, the multiple vhost ports of multiple vGWs in the same vCPE are uniformly polled and received by the DPDK module.
[0059] Please note that, please refer to Figure 3 The DPDK module's unified polling and reception process requires each vCPE to run the DPDK high-performance transmission and reception component to realize the polling and reception of broadband user traffic discrete to this vCPE to different vhost ports of this vCPE. Each vhost port corresponds to a vGW, so that each vGW completes the high-performance transmission, reception and processing of this broadband user traffic.
[0060] Each VirtIO port on each vCPE is bound to a different VRF. Each vGW only sends and receives messages from one VirtIO port. The vGW implements the specific business function modules of the broadband gateway, including DHCP LAN-side device IP address allocation, DNS, NAT, firewall, etc. Since each VirtIO is bound to a VRF one by one, each vGW has an independent operating space and achieves tenant isolation.
[0061] For example, if one vCPE carries 512 home broadband users, 512 VirtIO ports are created, and the 512 VirtIO ports are bound to 512 VRFs one by one. 512 vGWs run in different VRFs.
[0062] Furthermore, the present invention provides each home broadband user with an independent tenant space, which can provide different home broadband value-added services based on the user's business handling situation, and can be elastically expanded. Due to the use of cloud deployment, the present invention has the advantages of flexibility and elasticity. For example, ordinary basic home broadband users can be centrally planned to a specific server node, and the same type of high-value paying users can be centrally planned to another server node. In this way, a group of users who have opened the same service will be uniformly hosted on the same configuration server. When the service changes, it can be flexibly migrated and changed between different configuration servers, thereby achieving optimal resource utilization, extreme performance, and optimal user experience.
[0063] At the same time, for high-value paying home broadband users or high-value home broadband value-added service users, the present invention can automatically offload their discrete services to high-profile servers in conjunction with the cloud gateway management platform based on their service types.
[0064] The configuration planning method of the multi-tenant system of the home broadband cloud gateway provided by the present invention is described below. The configuration planning method of the multi-tenant system of the home broadband cloud gateway described below can be referenced to the multi-tenant system of the home broadband cloud gateway described above.
[0065] like Figure 4 As shown, a configuration planning method for a multi-tenant system of a home broadband cloud gateway includes:
[0066] Step 401: Determine basic configuration parameters of a physical server, a vCPE, and a vGW, where the basic configuration parameters include CPU, memory, shared memory, a first bandwidth, and a disk.
[0067] It should be noted that the above-mentioned physical server carries multiple fully virtualized vCPEs; each of the vCPEs corresponds to a physical VM; each of the vCPEs carries multiple semi-virtualized vGWs; each of the vGWs corresponds to a VirtIO port, a VRF and a home broadband user; the VirtIO port and VRF corresponding to each vGW are bound, and the VRF is used to achieve isolation of home broadband users in each vGW.
[0068] Step 402: Determine the second bandwidth of the home broadband user.
[0069] Step 403: Determine a first number of vCPEs and a second number of vGWs according to the second bandwidth of the home broadband user and basic configuration parameters.
[0070] It should be noted that step 403 is to perform pre-planning configuration according to the second bandwidth and basic configuration parameters of the home broadband user.
[0071] For example: Based on an estimated throughput of 40 Gbps for the entire machine and an average peak bandwidth of 3.5 Mbps per user (a typical value for domestic operators), a single server can support over 10,000 households. The typical server costs around RMB 60,000, or RMB 6 per user. Based on the above calculations, a single vCPE is evaluated as supporting 512 households (corresponding to the second number of vGW), and 20 vCPEs need to be planned for a single physical server.
[0072] Furthermore, you can also plan two CPU cores for each vCPE to form a basic planning configuration.
[0073] Based on the above configuration planning and cost estimation, the cost per user can usually be controlled within 6 yuan, which is much lower than traditional public cloud, private cloud and other implementation solutions. At the same time, it meets the requirements of elastic scalability, high performance, and long-term network connection for value-added services for home broadband users.
[0074] Figure 5 An example of a physical structure diagram of an electronic device is shown below. Figure 5 As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530, and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 communicate with each other via the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute a configuration planning method for a multi-tenant system of a home broadband cloud gateway, the method comprising:
[0075] Determine basic configuration parameters of the physical server, vCPE, and vGW, where the basic configuration parameters include CPU, memory, shared memory, first bandwidth, and disk.
[0076] Determine a second bandwidth for home broadband users.
[0077] The first number of vCPEs and the second number of vGWs are determined according to the second bandwidth and basic configuration parameters of the home broadband user.
[0078] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0079] On the other hand, the present invention also provides a computer program product, the computer program product including a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can perform a configuration planning method for a multi-tenant system of a home broadband cloud gateway, the method comprising:
[0080] Determine basic configuration parameters of the physical server, vCPE, and vGW, where the basic configuration parameters include CPU, memory, shared memory, first bandwidth, and disk.
[0081] Determine a second bandwidth for home broadband users.
[0082] The first number of vCPEs and the second number of vGWs are determined according to the second bandwidth and basic configuration parameters of the home broadband user.
[0083] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a configuration planning method for a multi-tenant system of a home broadband cloud gateway, the method comprising:
[0084] Determine basic configuration parameters of the physical server, vCPE, and vGW, where the basic configuration parameters include CPU, memory, shared memory, first bandwidth, and disk.
[0085] Determine a second bandwidth for home broadband users.
[0086] The first number of vCPEs and the second number of vGWs are determined according to the second bandwidth and basic configuration parameters of the home broadband user.
[0087] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0088] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.
[0089] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A multi-tenant system for a home broadband cloud gateway, characterized in that: include: A physical server that hosts multiple fully virtualized vCPEs; Each of the vCPEs corresponds to a physical VM; Each of the vCPEs carries multiple semi-virtualized vGWs; Each vGW corresponds to a VirtIO port, a VRF, and a home broadband user; The VirtIO port corresponding to each vGW is bound to the VRF, and the VRF is used to isolate the home broadband users in each vGW.
2. The multi-tenant system of the home broadband cloud gateway according to claim 1, characterized in that: The physical server includes a vSwitch layer, and the vSwitch layer disperses the home broadband users into multiple vCPEs based on QinQ or VXLAN identifiers.
3. The multi-tenant system of the home broadband cloud gateway according to claim 1 or 2, characterized in that: Each of the vCPEs carries multiple semi-virtualized vGWs based on the DPDK vhost-user mechanism.
4. The multi-tenant system of the home broadband cloud gateway according to claim 3, characterized in that: Each of the vGWs includes a vhost port, and the vhost port is used to respond to the packet sending and receiving requests of the vGW.
5. The multi-tenant system of the home broadband cloud gateway according to claim 4, characterized in that: Each vGW independently runs a QEMU process, and the QEMU is used to simulate virtual machine devices. The QEMU adopts the vhost-user mechanism for communication, and the memory access mode of the vGW is shared.
6. The multi-tenant system of the home broadband cloud gateway according to claim 4, characterized in that: The vhost ports of multiple vGWs carried by each vCPE are polled and received by DPDK.
7. A configuration planning method for a multi-tenant system of a home broadband cloud gateway, characterized in that: include: Determine basic configuration parameters of the physical server, vCPE, and vGW, where the basic configuration parameters include CPU, memory, shared memory, first bandwidth, and disk; Determine the second bandwidth of the home broadband user; The first number of vCPEs and the second number of vGWs are determined according to the second bandwidth and basic configuration parameters of the home broadband user.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the configuration planning method for the multi-tenant system of the home broadband cloud gateway as claimed in claim 7 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the configuration planning method for a multi-tenant system of a home broadband cloud gateway as claimed in claim 7 is implemented.
10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the configuration planning method for a multi-tenant system of a home broadband cloud gateway as claimed in claim 7 is implemented.
