Tunneling trunk system and trunk communication method
Patent Information
- Application Number
- CN202411140594.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2026-08-18
- Estimated Expiration
- 2044-08-19
AI Technical Summary
[0004]对于方案1而言存在如下弊端:由于只考虑物理备份专线,受限于用户端光缆资源条件,需要运营商现场布线,后期维护成本高,需要用户承担布线和维护成本;双物理备份专线属于冷备份,需要手动切换主备线路,并且无法规避主、备物理链路双断场景,在出现主、备物理链路双断故障时无法及时恢复网络连通性;需要变更公网IP地址和用户内网地址,加重用户侧负担,不易于交付
[0020] The technical solution of this application embodiment constructs a highly configurable dual-channel converged leased line system by integrating the security and stability of fixed leased lines with the flexibility of wireless network leased lines. Through the design of primary and backup channels, data transmission is prioritized on the primary channel, and automatic and rapid switching to the backup channel is performed when the primary channel fails, ensuring continuous user connections and improving communication reliability. NR slicing technology is used to achieve logically independent network partitioning with no public network exposure surface, and VxLAN technology is combined to provide a secure Layer 2 tunnel, ensuring the reliability and security of data transmission. Only CPEs are added to existing equipment, achieving optimized control over equipment deployment and maintenance costs.
Smart Images

Figure CN119232640B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication network technology, and in particular to a channel convergence leased line system and leased line communication method. Background Technology
[0002] With increasingly complex data transmission and processing demands, ensuring high availability of leased lines and achieving rapid switching and seamless data transmission in the event of equipment or link failures presents a significant challenge. Secondly, deploying and maintaining leased lines typically incurs high costs; therefore, reducing these costs to make them affordable for small and medium-sized enterprises is also an important consideration.
[0003] Currently, backup methods are commonly used to ensure the high availability of leased lines. The following describes two backup schemes used in existing technologies. Scheme 1: Provides a dual physical link backup leased line scheme. In this scheme, two broadband lines are connected to SR (Service Router) / BRAS (Broadband Remote Access Server) devices through aggregation equipment. The two broadband optical cables take completely different optical paths and connect to SR / BRAS devices in different directions. That is, it is necessary to ensure dual optical paths and dual access of the two broadband lines (connecting to aggregation equipment and SR in different directions) to ensure reliability on the physical link. Solution 2: A hot backup solution between mobile cellular networks and wired networks is provided. In this solution, a Layer 2 bridge is established in the CPE (Customer Premises Equipment) system, and all network cards on the LAN (Local Area Network) side are added to the Layer 2 bridge so that downstream devices of the CPE system can exchange data with the wired network through the Layer 2 bridge. When the wired network of the CPE system is abnormal, the network port on the LAN side is isolated, and the IP (Internet Protocol) address of the Layer 2 bridge is set to the gateway address of the wired network. The bridge receives data sent by downstream devices and forwards it to the mobile cellular network. Based on the subnet mask and gateway address of the wired network, the bridge simulates wired network behavior and starts the DHCP (Dynamic Host Configuration Protocol) service so that downstream devices can exchange data through the mobile cellular network, thus completing the hot backup between the mobile cellular network and the wired network.
[0004] Option 1 has the following drawbacks: Since it only considers physical backup leased lines, it is limited by the optical cable resources available to the user and requires on-site cabling by the operator, resulting in high maintenance costs, which the user must bear. Dual physical backup leased lines are cold backups, requiring manual switching between primary and backup lines, and cannot avoid scenarios where both primary and backup physical links fail. In the event of a failure of both primary and backup physical links, network connectivity cannot be restored in a timely manner. It also requires changing the public IP address and the user's internal network address, increasing the burden on the user side and making it difficult to deliver.
[0005] Option 2 has the following drawbacks: it does not involve the design of the networking method between the mobile cellular network and the wired network, and does not consider the cost brought to the enterprise by the networking method; during the leased line communication, some nodes communicate on the public network, resulting in public network exposure; it requires changing the public network IP address and the user's internal network address, which increases the burden on the user side and is not easy to deliver; when the link between the mobile cellular network and the wired network is switched, the traffic transfer is not efficient enough, which affects the fault latency. Summary of the Invention
[0006] In view of the above problems, embodiments of this application provide a channel convergence leased line system and leased line communication method that overcomes or at least partially solves the above problems.
[0007] In a first aspect, embodiments of this application provide a channel convergence leased line system, including: a user network edge device (CE), a customer terminal device (CPE), and a gateway device. The CE is connected to the CPE, and the CPE and the gateway device form a wired virtual scalable local area network (VxLAN) channel and a wireless VxLAN channel that support leased line services. The wireless VxLAN channel is a channel connected through a sliced private network that supports leased line services. Both the wired VxLAN channel and the wireless VxLAN channel are associated with the virtual interface of the gateway device, and the wired VxLAN channel is the primary channel and the wireless VxLAN channel is the backup channel.
[0008] When the association between the wired VxLAN channel and the virtual interface is activated, the CPE and the gateway device transmit service packets corresponding to the leased line service bidirectionally through the wired VxLAN channel.
[0009] In response to the interruption of the wired VxLAN channel, the CPE sends a first Address Resolution Protocol (ARP) probe message to the gateway device through the wireless VxLAN channel. The gateway device activates the association between the wireless VxLAN channel and the virtual interface based on the first ARP probe message. The CPE and the gateway device then transmit service messages corresponding to the leased line service bidirectionally through the wireless VxLAN channel.
[0010] Secondly, embodiments of this application provide a leased line communication method applied to a Customer Premises Equipment (CPE). The CPE is connected to a Customer Network Edge Equipment (CE). The CPE and a gateway device form a wired Virtual Scalable Local Area Network (VxLAN) channel and a wireless VxLAN channel supporting leased line services. The wireless VxLAN channel is a channel connected via a sliced private network supporting leased line services. Both the wired VxLAN channel and the wireless VxLAN channel are associated with the virtual interface of the gateway device, with the wired VxLAN channel being the primary channel and the wireless VxLAN channel being the backup channel. The method includes:
[0011] When the association between the wired VxLAN channel and the virtual interface is activated, the service packets corresponding to the leased line service are transmitted bidirectionally between the wired VxLAN channel and the gateway device.
[0012] In response to the interruption of the wired VxLAN channel, a first Address Resolution Protocol (ARP) probe message is sent to the gateway device through the wireless VxLAN channel;
[0013] When the gateway device activates the association between the wireless VxLAN channel and the virtual interface based on the first ARP probe message, it transmits service packets corresponding to the leased line service bidirectionally with the gateway device through the wireless VxLAN channel.
[0014] Thirdly, this application provides a leased line communication method applied to a gateway device. The gateway device and a customer premises equipment (CPE) form a wired virtual scalable local area network (VxLAN) channel and a wireless VxLAN channel supporting leased line services. The CPE is connected to a user network edge device (CE). The wireless VxLAN channel is a channel connected through a sliced private network supporting leased line services. Both the wired VxLAN channel and the wireless VxLAN channel are associated with the virtual interface of the gateway device, and the wired VxLAN channel is the primary channel, while the wireless VxLAN channel is the backup channel. The method includes:
[0015] When the association between the wired VxLAN channel and the virtual interface is activated, the service packets corresponding to the leased line service are transmitted bidirectionally between the wired VxLAN channel and the CPE.
[0016] Receive the first Address Resolution Protocol (ARP) probe message sent by the CPE through the wireless VxLAN channel in response to the interruption of the wired VxLAN channel;
[0017] The association between the wireless VxLAN channel and the virtual interface is activated based on the first ARP probe message, and the service messages corresponding to the leased line service are transmitted bidirectionally between the wireless VxLAN channel and the CPE.
[0018] Fourthly, embodiments of this application provide an electronic device, including a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the leased line communication method described in the second or third aspect.
[0019] Fifthly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the leased-line communication method described in the second or third aspect.
[0020] The technical solution of this application embodiment constructs a highly configurable dual-channel converged leased line system by integrating the security and stability of fixed leased lines with the flexibility of wireless network leased lines. Through the design of primary and backup channels, data transmission is prioritized on the primary channel, and automatic and rapid switching to the backup channel is performed when the primary channel fails, ensuring continuous user connections and improving communication reliability. NR slicing technology is used to achieve logically independent network partitioning with no public network exposure surface, and VxLAN technology is combined to provide a secure Layer 2 tunnel, ensuring the reliability and security of data transmission. Only CPEs are added to existing equipment, achieving optimized control over equipment deployment and maintenance costs. Attached Figure Description
[0021] Figure 1 This diagram illustrates the channel convergence leased line system provided in the embodiments of this application.
[0022] Figure 2 This diagram illustrates the channel detection performed by the CPE based on detection messages according to an embodiment of this application.
[0023] Figure 3 This diagram illustrates the message interaction between the CE, CPE, and gateway device provided in the embodiments of this application.
[0024] Figure 4 This is a schematic diagram illustrating the association of a user's public network gateway address with a virtual interface provided in an embodiment of this application.
[0025] Figure 5 This diagram illustrates the configuration of wired VxLAN channels and wireless VxLAN channels provided in the embodiments of this application.
[0026] Figure 6 This diagram illustrates the implementation principle of the channel convergence leased line system provided in this application embodiment.
[0027] Figure 7 This diagram illustrates a leased line communication method for CPE provided in an embodiment of this application.
[0028] Figure 8 This diagram illustrates a leased line communication method for gateway devices provided in an embodiment of this application.
[0029] Figure 9 This diagram illustrates the communication method for a dual-channel converged leased line based on NR and VxLAN provided in an embodiment of this application.
[0030] Figure 10 This diagram illustrates the interactive flowchart of the channel switching provided in the embodiments of this application.
[0031] Figure 11 This diagram illustrates a leased line communication device for CPE provided in an embodiment of this application.
[0032] Figure 12 This is a schematic diagram of a leased line communication device applied to a gateway device, as provided in an embodiment of this application.
[0033] Figure 13 This is a structural block diagram illustrating the electronic device provided in the embodiments of this application. Detailed Implementation
[0034] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0035] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments.
[0036] In the various embodiments of this application, it should be understood that the sequence number of each process described below does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0037] The following is an explanation of some concepts and / or terms involved in the solutions provided in the embodiments of this application.
[0038] NR (New Radio) is the core component of 5G communication systems. It employs entirely new radio frame structures, waveforms, and modulation and coding schemes to support higher spectral efficiency, lower latency, and greater connection density. NR is designed to meet the diverse needs of future wireless communication, including massive machine-type communications, ultra-reliable low-latency communications, and enhanced mobile broadband. Compared to 4G, NR offers significant improvements in bandwidth, capacity, and speed, making it one of the key technologies in 5G networks.
[0039] VxLAN (Virtual Extensible Local Area Network) is a network virtualization technology primarily used to address the scalability issues encountered during the deployment of large-scale cloud computing. It is an extension of VLAN (Virtual Local Area Network). By encapsulating traffic and extending it to a Layer 3 gateway, VxLAN overcomes the portability limitations of VMS (Virtual Manufacturing System), allowing virtual machines to access servers on external IP subnets.
[0040] Bidirectional Forwarding Detection (BFD) is a protocol for quickly detecting the connectivity of forwarding paths between two network devices. BFD discovers faults in the forwarding path by sending simple detection messages between neighbors and quickly checking the reception of these messages. BFD is designed to provide sub-second fault detection times, ensuring rapid fault recovery and path switching in the event of a failure.
[0041] CPE refers to a network device or system located at a customer's premises (such as a business or home). It is typically connected to the service provider's network for accessing the Internet or other network services. CPE devices can be various forms of hardware, such as routers, switches, modems, gateways, hubs, etc., or software or firmware running on network devices.
[0042] MSE (Multi-Service Edge) is a new type of device located at the edge of an IP / MPLS (Multi-Protocol Label Switching) network, specifically designed to aggregate Layer 2 and Layer 3 data services. The emergence of MSE enables networks to handle various service demands more flexibly, and its efficient data aggregation capabilities improve overall network performance and efficiency.
[0043] SR is mainly used for leased line users with fixed IP addresses and has a variety of technical features and application scenarios.
[0044] This application provides a channel convergence leased line system, such as... Figure 1 As shown, it includes: CE (Customer Edge) 11, CPE (Customer Premises Equipment) 12 and gateway device 13. CE 11 is connected to CPE 12. CPE 12 and gateway device 13 form a wired VxLAN channel 14 and a wireless VxLAN channel 15 that support leased line services. The wireless VxLAN channel 15 is a channel connected through a sliced private network 16 that supports leased line services. Both wired VxLAN channel 14 and wireless VxLAN channel 15 are associated with the virtual interface of gateway device 13, and wired VxLAN channel 14 is the primary channel and wireless VxLAN channel 15 is the backup channel.
[0045] When the association between the wired VxLAN channel 14 and the virtual interface is activated, the CPE 12 and the gateway device 13 transmit the service packets corresponding to the leased line service bidirectionally through the wired VxLAN channel 14.
[0046] In response to the interruption of the wired VxLAN channel 14, the CPE 12 sends a first ARP (Address Resolution Protocol) probe message to the gateway device 13 through the wireless VxLAN channel 15. Based on the first ARP probe message, the gateway device 13 activates the association between the wireless VxLAN channel 15 and the virtual interface. The CPE 12 and the gateway device 13 then transmit service messages corresponding to the leased line service bidirectionally through the wireless VxLAN channel 15.
[0047] The channel convergence leased line system provided in this application embodiment includes: CE 11, gateway device 13, and CPE 12 deployed between CE 11 and gateway device 13. CPE 12 is connected to CE 11 and forms a wired VxLAN channel 14 and a wireless VxLAN channel 15 supporting leased line services with gateway device 13.
[0048] Wired VxLAN channel 14 is the primary channel of the channel convergence leased line system, while wireless VxLAN channel 15 is the backup channel. Switching between the primary and backup channels can be automatically controlled by CPE 12. Wired VxLAN channel 14, as a fixed leased line, offers advantages in security and stability, while wireless VxLAN channel 15, as a wireless network leased line, offers flexibility. By combining fixed and wireless leased lines, the security and stability advantages of fixed leased lines can be combined with the flexibility of wireless network leased lines, providing seamless, hot-backup services to leased line users. For reliability, user data is transmitted on the primary channel. When network devices or links in the primary channel fail, the system quickly switches to the backup channel.
[0049] In this embodiment, the wireless VxLAN channel 15 is a channel connected through a sliced private network 16 that supports leased line services. The wireless VxLAN channel 15 is isolated from the public network channel. In the wireless VxLAN channel 15, the CPE 12 connects to the sliced private network 16 through a wireless base station, and the sliced private network 16 connects to the gateway device 13. The sliced private network 16 is an NR slice + VPN (Virtual Private Network), and the VPN is built on a metropolitan area network (MAN). MANs are typically used to connect different departments or branches of organizations such as large enterprises, campuses, and medical institutions for network communication. They are also used to connect data centers, switching centers, and locations that provide Internet access services. MANs typically provide high-speed data transmission, low latency, and high reliability to meet the data communication needs within a city.
[0050] Taking slice private network 16 as a 5G slice private network in a 5G scenario and CPE 12 as a 5G client device as an example, we will introduce slice private network 16 and CPE 12.
[0051] The networking architecture of a 5G slicing private network mainly consists of a 5G bearer network and a 5G core network. The 5G bearer network provides wireless access, including 5G base stations, base station controllers, and other equipment, responsible for connecting user equipment to the 5G core network. In a 5G slicing private network, the bearer network's role is to provide high-speed, low-latency wireless access to meet the service requirements of different slices. The 5G core network is the core component of the 5G slicing private network, responsible for managing and orchestrating network resources within the slices, providing functions such as data forwarding, routing, security authentication, and session management. In a 5G slicing private network, the core network allocates and schedules network resources according to slice requirements, achieving isolation and optimization between slices.
[0052] In 5G networks, 5G client devices connect user devices (such as smartphones, computers, smart home devices, etc.) to 5G infrastructure. These devices can be routers, modems, or other devices in a home, receiving 5G signals and converting them into network connections usable by the user devices. They function similarly to traditional internet access devices in 5G networks, but offer faster data transmission and lower latency.
[0053] In this context, the wired VxLAN channel 14 corresponds to CPE 12 and gateway device 13. In the wireless VxLAN channel 15, logically, CPE 12 can reach gateway device 13 via the sliced private network 16; physically, CPE 12 connects to the UPF (User Plane Function) via a wireless base station. The UPF is primarily responsible for routing and forwarding core network user plane data packets. The UPF connects to gateway device 13 via the metropolitan area network. In other words, CPE 12 reaches the core network and the metropolitan area network via the wireless base station, and then connects to gateway device 13.
[0054] For the wireless VxLAN tunnel 15, its core lies in the use of NR slicing and VxLAN technologies. NR slicing technology can divide the network into multiple logically independent virtual networks, achieving isolation from the public network channel and ensuring data security. For the sliced private network 16, it includes NR slicing and VPN (UPF to gateway device direction) overlay, using the sliced private network 16 to establish connectivity between CPE 12 and gateway device 13. VxLAN technology can provide a secure Layer 2 tunnel for user data transmission, thereby ensuring reliable and secure user data transmission.
[0055] In this embodiment, a CPE 12 is added to the existing equipment in the network, eliminating the need to deploy other equipment and achieving optimized control over equipment deployment and maintenance costs. Furthermore, based on NR slicing and VxLAN technology, deploying the CPE 12 between the CE 11 and the gateway device 13 forms a wired VxLAN channel 14 and a wireless VxLAN channel 15, ensuring continuous connectivity between the CE 11 and the gateway device 13 through dual channels.
[0056] In this embodiment, both the wired VxLAN channel 14 and the wireless VxLAN channel 15 are associated with the virtual interface of the gateway device 13. The gateway device 13 is, for example, an SR or an MSE. The CPE 12 can control data transmission to the gateway device 13. When the association between the channel and the virtual interface is not activated, the CPE 12 can transmit data to the gateway device 13 through the wired VxLAN channel 14 and the wireless VxLAN channel 15. When the association between the channel and the virtual interface is activated, bidirectional data transmission can be performed between the CPE 12 and the gateway device 13.
[0057] For reliability reasons, data is first transmitted on the primary channel. That is, the association between the wired VxLAN channel 14 and the virtual interface is activated first. After the association between the wired VxLAN channel 14 and the virtual interface is activated, the CPE 12 and the gateway device 13 transmit the service packets corresponding to the leased line service bidirectionally through the wired VxLAN channel 14. At this time, the CPE 12 can transmit the service packets corresponding to the leased line service provided by the CE 11 to the gateway device 13 through the wired VxLAN channel 14, and can also receive the service packets transmitted by the gateway device 13 through the wired VxLAN channel 14, and provide the received service packets to the CE 11.
[0058] In the event of an interruption of the wired VxLAN channel 14, the CPE 12 sends a first ARP probe message to the gateway device 13 via the wireless VxLAN channel 15. Upon receiving the first ARP probe message, the gateway device 13 activates the association between the wireless VxLAN channel 15 and the virtual interface based on the first ARP probe message, thereby activating bidirectional data transmission through the backup channel. At this time, the CPE 12 can transmit service packets corresponding to the leased line service provided by the CE 11 to the gateway device 13 via the wireless VxLAN channel 15, and can also receive service packets transmitted by the gateway device 13 via the wireless VxLAN channel 15, providing the received service packets to the CE 11, thus enabling bidirectional transmission of service packets corresponding to the leased line service between the CPE 12 and the gateway device 13 via the wireless VxLAN channel 15.
[0059] The above-described implementation scheme of this application constructs a highly configurable dual-channel converged leased line system by integrating the security and stability of fixed leased lines with the flexibility of wireless network leased lines. Through the design of primary and backup channels, data transmission is prioritized on the primary channel, and automatic and rapid switching to the backup channel is performed in the event of a primary channel failure, ensuring continuous user connections and improving communication reliability. NR slicing technology is used to achieve logically independent network partitioning with no public network exposure surface, and VxLAN technology is combined to provide a secure Layer 2 tunnel, ensuring the reliability and security of data transmission. Only CPEs are added to existing equipment, achieving optimized control over equipment deployment and maintenance costs.
[0060] The following describes the process of CPE detecting wired and wireless VxLAN channels. Figure 2 Specifically, before the association between the wired VxLAN channel 14 and the virtual interface is activated, the CPE (Client Equipment) 12 detects the connectivity of the wired VxLAN channel 14 and the activatability of the wireless VxLAN channel 15.
[0061] When CPE 12 detects the connectivity of wired VxLAN channel 14, CPE 12 sends a first detection message to gateway device 13 through wired VxLAN channel 14 to perform connectivity detection on wired VxLAN channel 14. The first detection message is a BFD detection data packet sent according to a first time interval.
[0062] That is, when performing connectivity testing on the wired VxLAN channel 14, a BFD process is established between the CPE 12 and the gateway device 13. For example, BFD detection packets are sent every 10ms for probing. If no packets are received more than 3 times, the wired VxLAN channel 14 is considered to be interrupted, thus realizing connectivity testing of the channel based on BFD detection packets. If the connectivity test of the wired VxLAN channel 14 passes, the association between the wired VxLAN channel 14 and the virtual interface can be activated, that is, the bidirectional data transmission function of the wired VxLAN channel 14 can be activated.
[0063] When CPE 12 detects the activatability of the wireless VxLAN channel 15, CPE 12 sends a second detection message to gateway device 13 through the wireless VxLAN channel 15 to detect whether the wireless VxLAN channel 15 can be activated. The second detection message is an ICMP (Internet Control Message Protocol) response request message sent at a second time interval, which can also be called a ping packet.
[0064] That is, when performing an activation test on the wireless VxLAN channel 15, the CPE 12 sends an ICMP response request message to the gateway device 13's device address (loopback address) at a second time interval (e.g., 5 seconds), using the wireless address (the IP address corresponding to the CPE 12 in the wireless VxLAN channel 15) as the source address. If the CPE 12 receives an ICMP reply message from the gateway device 13, it considers the wireless VxLAN channel 15 to be activated. Wherein, if the activation test of the wireless VxLAN channel 15 passes, the association between the wireless VxLAN channel 15 and the virtual interface is allowed to be activated.
[0065] In this embodiment, the association between the wired VxLAN channel 14 and the virtual interface can be activated, that is, the bidirectional data transmission function of the wired VxLAN channel 14 can be activated; the association between the wireless VxLAN channel 15 and the virtual interface can be activated, that is, the bidirectional data transmission function of the wireless VxLAN channel 15 can be activated.
[0066] The following describes the process of activating the bidirectional data transmission function of the wired VxLAN channel. For example... Figure 3 As shown, the CE (Customer Network Edge) 11 transmits service packets corresponding to the leased line service to the gateway device 13 via the CPE (Customer Premises Equipment) 12 and the wired VxLAN channel 14. The service packets carry the MAC (Media Access Control) address and IP address of the CE 11. Based on the service packets, the gateway device 13 learns that the next hop of the CE 11's MAC address is in the wired VxLAN channel 14, and activates the association between the wired VxLAN channel 14 and the virtual interface.
[0067] CE 11 sends the service message corresponding to the leased line service to CPE 12. CPE 12 then sends the service message to gateway device 13 via wired VxLAN channel 14. Since the service message is provided by CE 11 and carries the MAC address and IP address of CE 11, gateway device 13 learns from the service message that the next hop of the MAC address of CE 11 is in wired VxLAN channel 14. At this time, the bidirectional data transmission function of wired VxLAN channel 14 can be activated (activating the association between wired VxLAN channel 14 and the virtual interface) to perform bidirectional data transmission between CPE 12 and gateway device 13 through wired VxLAN channel 14.
[0068] In the above implementation process, the CPE transmits the service packets provided by the CE to the gateway device via the wired VxLAN channel. The gateway device learns that the next hop of the CE's MAC address is in the wired VxLAN channel, thereby activating the bidirectional data transmission function of the wired VxLAN channel and realizing the association between the wired VxLAN channel and the virtual interface based on the service packets.
[0069] The following describes the process by which the gateway device activates the association between the wireless VxLAN channel and the virtual interface based on the first ARP probe message provided by the CPE. For example... Figure 3 As shown, CPE 12 obtains the MAC address and IP address of CE 11, constructs a first ARP probe packet carrying the mapping relationship between the MAC address and IP address, and sends it to gateway device 13 through wireless VxLAN channel 15; gateway device 13 updates the next hop of CE 11's MAC address in wireless VxLAN channel 15 based on the first ARP probe packet to activate the association between wireless VxLAN channel 15 and virtual interface.
[0070] In the event of an interruption of the wired VxLAN channel 14, CPE 12 constructs a first ARP probe packet carrying the mapping relationship between the MAC address and IP address based on the MAC address and IP address of CE 11, and sends the first ARP probe packet to gateway device 13 through wireless VxLAN channel 15. After receiving the first ARP probe packet, gateway device 13 updates the next hop of the MAC address of CE 11 to wireless VxLAN channel 15. At this time, the bidirectional data transmission function of wireless VxLAN channel 15 can be activated (activating the association between wireless VxLAN channel 15 and the virtual interface) to enable bidirectional data transmission between CPE 12 and gateway device 13 through wireless VxLAN channel 15.
[0071] In the above implementation process, when the wired VxLAN channel is interrupted, the CPE actively sends the first ARP probe packet, which enables the gateway device to update the next hop of the CE's MAC address in a timely manner, effectively activating the wireless VxLAN channel. This allows for rapid channel switching, reduces fault latency, improves the stability of the leased line, achieves efficient data transfer during channel switching, and ensures normal service operation.
[0072] It should be noted that when the wired VxLAN channel is interrupted, the CPE controls the transmission channel to switch to the backup channel. The ARP cache table entries on the gateway device side have a lifespan. If the first ARP probe packet is not sent, the next hop of the CE's MAC address recorded on the gateway device side will still be on the wired VxLAN channel. Data switching will only be achieved after the cache is cleared or the cache table is updated. Therefore, sending ARP probe packets can speed up the channel switching efficiency.
[0073] In an optional embodiment of this application, such as Figure 3 As shown, in response to the restoration of connectivity via the wired VxLAN channel 14, CPE 12 obtains the MAC address and IP address of CE 11, constructs a second ARP probe packet carrying the mapping relationship between the MAC address and IP address, and sends it to gateway device 13 via the wired VxLAN channel 14. Gateway device 13 updates the next hop of CE 11's MAC address to the wired VxLAN channel 14 based on the second ARP probe packet, thereby reactivating the association between the wired VxLAN channel 14 and the virtual interface. When the wired VxLAN channel 14 is reconnected, CPE 12 quickly switches the transmission channel back to the primary channel, ensuring service stability while reducing card traffic usage. During this stage, CPE 12 constructs a second ARP probe packet carrying the mapping relationship between the MAC address and IP address based on the MAC address and IP address of CE 11, and sends the second ARP probe packet to gateway device 13 via the restored wired VxLAN channel 14. After receiving the second ARP probe packet sent by the wired VxLAN channel 14, the gateway device 13 updates the next hop of the MAC address of CE 11 to the wired VxLAN channel 14 to reactivate the association between the wired VxLAN channel 14 and the virtual interface. This effectively ensures service stability while reducing card traffic usage and saving costs for users.
[0074] After switching from wireless VxLAN channel 15 back to wired VxLAN channel 14, CPE 12 needs to continue to detect the connectivity of wired VxLAN channel 14 and the activatability of wireless VxLAN channel 15 in order to perform channel protection through channel fault detection.
[0075] In an optional embodiment of this application, such as Figure 4 As shown, the virtual interface of gateway device 13 is bound to the user's public network gateway address, which is used to connect to the Internet. The IP address of CE (User Network Edge Device) 11 is associated with the user's public network gateway address and points to the virtual interface. Both the IP address of CE 11 and the user's public network gateway address belong to the address range corresponding to the public network IP of the service. The wired VxLAN channel 14 and the wireless VxLAN channel 15 associated with the virtual interface access the Internet based on the user's public network gateway address.
[0076] A virtual interface is created on gateway device 13. This virtual interface is bound to the user's public network gateway address, which is used to connect to the Internet. The IP address corresponding to CE 11 is associated with the user's public network gateway address. Since the virtual interface is bound to the user's public network gateway address, the IP address corresponding to CE 11 is used to point to the virtual interface.
[0077] The IP address and user public network gateway address corresponding to CE 11 both belong to the address range corresponding to the public network IP of the service. For example, the address range corresponding to the public network IP of the service is 219.1.1.0 / 29 = 219.1.1.0--219.1.1.7. Among them, 219.1.1.1 in this address range is the user's public network gateway address, 219.1.1.2-219.1.1.6 in this address range are the user's IP address (multiple IP addresses corresponding to CE), 219.1.1.0 is the network address of this address range, and 219.1.1.7 is the broadcast address of this address range. They are used to identify the host range in the network and broadcast communication, respectively.
[0078] The wired VxLAN channel 14 associated with the virtual interface and the wireless VxLAN channel 15 associated with the virtual interface both access the Internet (public network) based on the user's public network gateway address; for CE 11, it accesses the Internet through the user's public network gateway address (IP address) of the gateway device 13.
[0079] By creating a virtual interface on the gateway device and associating it with the user's public gateway address, the business public IP and the internal network configuration on the CE side do not need to be changed when the primary and backup channels are switched. This ensures the continuity and stability of bidirectional access between the CE and the Internet, effectively simplifies the backend configuration, shortens the channel switching latency, and improves the user experience.
[0080] The following describes the establishment process of wired and wireless VxLAN channels. Figure 5 As shown, the wired VxLAN channel 14 and the wireless VxLAN channel 15 are established based on the configuration of the first direction and the second direction. The first direction is the direction from CPE (Client Terminal Equipment) 12 to gateway device 13, and the second direction is the direction from gateway device 13 to CPE 12.
[0081] In this embodiment, the wired VxLAN channel 14 is used for bidirectional data transmission when it is active. When configuring the wired VxLAN channel 14, it needs to be configured in the first direction (the direction from CPE 12 to gateway device 13) and the second direction (the direction from gateway device 13 to CPE 12). Correspondingly, the wireless VxLAN channel 15 is used for bidirectional data transmission when it is active. When configuring the wireless VxLAN channel 15, it needs to be configured in the first direction and the second direction.
[0082] For the wired VxLAN channel 14, in the first direction, the wired VxLAN channel 14 is configured based on the wired address corresponding to the CPE 12, the device address of the gateway device 13, and the VNI (Virtual Network Identifier). In this case, the wired address is used as the source address, and the device address (loopback address) of the gateway device 13 is used as the destination address. In the second direction, the wired VxLAN channel 14 is configured based on the device address corresponding to the gateway device 13 where the leased line is located, the wired address corresponding to the CPE, and the VNI. In this case, the wired address is used as the destination address, and the device address of the gateway device 13 is used as the source address.
[0083] For the wireless VxLAN channel 15, in the first direction, the wireless VxLAN channel 15 is configured based on the wireless address corresponding to CPE 12, the device address of gateway device 13, and VNI. In this case, the wireless address is used as the source address, and the device address of gateway device 13 is used as the destination address. In the second direction, the wireless VxLAN channel 15 is configured based on the device address corresponding to gateway device 13 where the leased line is located, the wireless address corresponding to CPE 12, and VNI. In this case, the wireless address is used as the destination address, and the device address of gateway device 13 is used as the source address.
[0084] Before configuring the wired VxLAN channel 14 and the wireless VxLAN channel 15, technicians need to collect basic service information and allocate service logic parameters on the network side. Basic service information includes the leased line number, the public IP address (including the user's public gateway address and user IP address), the gateway device where the leased line is located, and the relevant service ports. Service logic parameters include the wired and wireless addresses corresponding to CPE12, the VNI used to establish the channels, and the device address of the gateway device. When creating a virtual interface on the gateway device 13, the user's public gateway address is moved from the original physical interface (related service port) to the virtual interface. Simultaneously, both channels are associated with the virtual interface, ultimately linking both channels to the user's public gateway address.
[0085] It should be noted that the operator's front-end department needs to process the activation of SA (Standalone) cards and the change of mobile phone numbers to join the super dual-channel dedicated line slice group in the local CRM (Customer Relationship Management) system, and carry out the contract card operation to realize the NR slice card activation business and then enjoy the dedicated line service.
[0086] The implementation process of the channel convergence leased line system is described below using a system implementation schematic diagram. For example... Figure 6As shown, during the system initialization and deployment phase, steps S1 to S4 are executed. In step S1, basic service information from the network side is collected and service logic parameters are allocated. In step S2, information from the NR side is collected and the SA card is activated. In step S3, a CPE is deployed between the CE and the gateway device. In step S4, wired and wireless VxLAN channels between the CPE and the gateway device are configured, and these channels are associated with the virtual interface of the gateway device. For the configured wired and wireless VxLAN channels, the connectivity of the wired VxLAN channels and the activation of the wireless VxLAN channels need to be checked. After the system initialization and deployment phase, the system enters the stable operation phase, corresponding to step S5. In step S5, the association between the wired VxLAN channels and the virtual interface is activated, ensuring stable system operation. After the stable operation phase, the channel switching phase begins, corresponding to steps S6 and S7. In step S6, when the wired VxLAN channel is interrupted, the wired VxLAN channel is switched to the wireless VxLAN channel, and the association between the wireless VxLAN channel and the virtual interface is activated; in step S7, when the wired VxLAN channel is restored, the wireless VxLAN channel is switched back to the wired VxLAN channel, and the association between the wired VxLAN channel and the virtual interface is reactivated.
[0087] In the above process, by adding CPE, the cost of equipment and maintenance can be optimized and controlled; by using NR slicing technology, the network can be logically and independently divided, and SA cards corresponding to the leased line service can be opened to provide leased line services; data transmission is prioritized on the primary channel, and when the primary channel fails, it automatically and quickly switches to the backup channel, thereby ensuring the normal operation of services and reducing fault latency, and further improving the stability of the leased line.
[0088] This application also provides a leased line communication method applied to a CPE. The CPE connects to the CE, and a wired VxLAN channel and a wireless VxLAN channel supporting leased line services are formed between the CPE and the gateway device. The wireless VxLAN channel is a channel connected through a sliced private network supporting leased line services. Both the wired and wireless VxLAN channels are associated with the virtual interface of the gateway device, with the wired VxLAN channel being the primary channel and the wireless VxLAN channel being the backup channel. For details regarding the channels, sliced private networks, and the interaction between the gateway device and the CPE, please refer to the description in the system embodiment. Figure 7 As shown, the method includes:
[0089] Step 701: When the association between the wired VxLAN channel and the virtual interface is activated, the service packets corresponding to the leased line service are transmitted bidirectionally between the wired VxLAN channel and the gateway device.
[0090] The wired VxLAN channel is the primary channel, and the wireless VxLAN channel is the backup channel. The primary channel serves as a fixed leased line, offering advantages in security and stability, while the backup channel serves as a wireless network leased line, providing flexibility. For reliability reasons, user data is preferentially transmitted via the primary channel. That is, when the association between the wired VxLAN channel and the virtual interface is activated, the CPE and the gateway device bidirectionally transmit service packets corresponding to the leased line service through the wired VxLAN channel. At this time, the CPE can transmit service packets corresponding to the leased line service to the gateway device through the wired VxLAN channel, and can also receive service packets transmitted by the gateway device through the wired VxLAN channel.
[0091] Step 702: In response to the interruption of the wired VxLAN channel, send the first ARP probe message to the gateway device through the wireless VxLAN channel.
[0092] When a network device or link in the primary channel fails, the CPE sends a first ARP probe packet to the gateway device via the wireless VxLAN channel. For the CPE, this requires obtaining the CE's MAC address and IP address, constructing a first ARP probe packet carrying the mapping between the MAC address and IP address, and then sending the first ARP probe packet to the gateway device via the wireless VxLAN channel. The first ARP probe packet sent by the CPE is used to cause the gateway device to update the next hop of the CE's MAC address to be on the wireless VxLAN channel, thereby activating the association between the wireless VxLAN channel and the virtual interface.
[0093] Step 703: When the gateway device activates the association between the wireless VxLAN channel and the virtual interface based on the first ARP probe message, the service message corresponding to the leased line service is transmitted bidirectionally between the wireless VxLAN channel and the gateway device.
[0094] After receiving the first ARP probe packet, the gateway device activates the association between the wireless VxLAN channel and the virtual interface based on the first ARP probe packet, enabling bidirectional data transmission through the activated backup channel. At this time, the CPE can transmit service packets corresponding to the leased line service to the gateway device via the wireless VxLAN channel, and can also receive service packets transmitted by the gateway device via the wireless VxLAN channel, thus enabling bidirectional transmission of service packets corresponding to the leased line service between the CPE and the gateway device via the wireless VxLAN channel.
[0095] The above implementation process, through the design of primary and backup channels, integrates the security and stability of fixed leased lines with the flexibility of wireless network leased lines. During data transmission, data is preferentially transmitted through the primary channel. In the event of a failure of the primary channel, it automatically and quickly switches to the backup channel, ensuring the continuity of user connections and improving communication reliability. Furthermore, it utilizes sliced private networks to support leased line services, with no public network exposure surface, and combines VxLAN technology to provide a secure Layer 2 tunnel, ensuring the reliability and security of data transmission.
[0096] Optionally, before the association between the wired VxLAN channel and the virtual interface is activated, the CPE sends a first detection message to the gateway device through the wired VxLAN channel to perform connectivity detection on the wired VxLAN channel. The first detection message is a BFD detection data packet sent at a first time interval. The CPE sends a second detection message to the gateway device through the wireless VxLAN channel to detect whether the wireless VxLAN channel can be activated. The second detection message is an ICMP response request message sent at a second time interval.
[0097] Specifically, if the connectivity test of the wired VxLAN channel passes, the association between the wired VxLAN channel and the virtual interface can be activated; if the activation test of the wireless VxLAN channel passes, the association between the wireless VxLAN channel and the virtual interface can be activated.
[0098] When performing connectivity testing on a wired VxLAN channel, the CPE establishes a BFD (Browser Detection and Deployment) process between the CPE and the gateway device. For example, it sends BFD test packets every 10ms to probe the network. If no packets are received more than three times, the wired VxLAN channel is considered to be interrupted. Furthermore, if the connectivity test of the wired VxLAN channel passes, the bidirectional transmission function of the wired VxLAN channel can be activated.
[0099] When performing activation checks on a wireless VxLAN channel, the CPE sends an ICMP response request message to the gateway device's device address (loopback address) at a second time interval (e.g., 5 seconds), using the wireless address corresponding to the wireless VxLAN channel as the source address. If an ICMP response message is received from the gateway device, the wireless VxLAN channel is considered activated. Furthermore, if the activation check of the wireless VxLAN channel passes, the association between the wireless VxLAN channel and the virtual interface is allowed to be activated.
[0100] In an optional embodiment, the method further includes: the CPE receiving a service message corresponding to the leased line service sent by the CE, the service message carrying the MAC address and IP address of the CE; transmitting the service message to the gateway device through a wired VxLAN channel, the gateway device learning the next hop of the CE's MAC address in the wired VxLAN channel based on the service message, so as to activate the association between the wired VxLAN channel and the virtual interface.
[0101] The CE sends the service packets corresponding to the leased line service to the CPE, and the CPE sends the service packets to the gateway device via the wired VxLAN channel. Since the service packets are provided by the CE and carry the CE's MAC address and IP address, the gateway device learns from the service packets that the next hop of the CE's MAC address is on the wired VxLAN channel. At this time, the bidirectional data transmission function of the wired VxLAN channel can be activated (activating the association between the wired VxLAN channel and the virtual interface) to perform bidirectional data transmission between the CPE and the gateway device through the wired VxLAN channel, thus prioritizing the use of the primary channel for data transmission.
[0102] As another embodiment, the method further includes: in response to the wired VxLAN channel reconnecting, obtaining the MAC address and IP address of the CE, constructing a second ARP probe packet carrying the mapping relationship between the MAC address and IP address; sending the second ARP probe packet to the gateway device through the wired VxLAN channel, wherein the second ARP probe packet causes the gateway device to update the next hop of the CE's MAC address to be on the wired VxLAN channel, so as to reactivate the association between the wired VxLAN channel and the virtual interface.
[0103] When the wired VxLAN channel is reconnected, the CPE constructs a second ARP probe packet carrying the MAC address and IP address mapping relationship based on the CE's MAC address and IP address, and sends the second ARP probe packet to the gateway device through the reconnected wired VxLAN channel. Upon receiving the second ARP probe packet sent through the wired VxLAN channel, the gateway device updates the next hop of the CE's MAC address to be on the wired VxLAN channel, thereby reactivating the association between the wired VxLAN channel and the virtual interface. This effectively ensures service stability while reducing SIM card traffic usage, saving costs for users.
[0104] The above is an introduction to the leased line communication method applied to CPE according to the embodiments of this application. For content not described in detail, please refer to the relevant descriptions in the system embodiments. This application also provides a leased line communication method applied to a gateway device. A wired VxLAN channel and a wireless VxLAN channel supporting leased line services are formed between the gateway device and the customer terminal device (CPE). The CPE is connected to the CE. The wireless VxLAN channel is a channel connected through a sliced private network supporting leased line services. Both the wired and wireless VxLAN channels are associated with the virtual interface of the gateway device, with the wired VxLAN channel being the primary channel and the wireless VxLAN channel being the backup channel. For detailed information about the channels and devices, please refer to the description in the system embodiments. Figure 8 As shown, the method includes:
[0105] Step 801: When the association between the wired VxLAN channel and the virtual interface is activated, the service packets corresponding to the leased line service are transmitted bidirectionally between the wired VxLAN channel and the CPE.
[0106] When the association between the wired VxLAN channel and the virtual interface is activated, the gateway device and the CPE can bidirectionally transmit service packets corresponding to the leased line service through the wired VxLAN channel. At this time, the gateway device can receive service packets transmitted by the CPE through the wired VxLAN channel, and can also transmit service packets to the CPE through the wired VxLAN channel.
[0107] Step 802: Receive the first ARP probe message sent by the CPE in response to the interruption of the wired VxLAN channel via the wireless VxLAN channel.
[0108] When the wired VxLAN channel fails, the CPE sends a first ARP probe packet through the wireless VxLAN channel, and the gateway device receives the first ARP probe packet provided by the CPE. The first ARP probe packet is constructed by the CPE based on the CE's MAC address and IP address, and carries the mapping relationship between the MAC address and IP address.
[0109] Step 803: Activate the association between the wireless VxLAN channel and the virtual interface based on the first ARP probe message, and transmit the service messages corresponding to the leased line service bidirectionally with the CPE through the wireless VxLAN channel.
[0110] After receiving the first ARP probe packet, the gateway device activates the association between the wireless VxLAN channel and the virtual interface based on the first ARP probe packet. Specifically, the gateway device updates the next hop of the CE's MAC address to be on the wireless VxLAN channel based on the first ARP probe packet sent from the wireless VxLAN channel, thereby activating the association between the wireless VxLAN channel and the virtual interface.
[0111] After activating the association between the wireless VxLAN channel and the virtual interface, the gateway device can receive service packets transmitted by the CPE through the wireless VxLAN channel, and can also transmit service packets to the CPE through the wireless VxLAN channel, realizing bidirectional transmission of service packets corresponding to leased line services between the CPE and the gateway device through the wireless VxLAN channel.
[0112] In the above implementation process, the gateway device conducts bidirectional data transmission with the CPE through a wired VxLAN channel. When the wired VxLAN channel fails, it receives the first ARP probe packet sent by the CPE through the wireless VxLAN channel. Based on the first ARP probe packet, it activates the association between the wireless VxLAN channel and the virtual interface, and conducts bidirectional data transmission with the CPE through the wireless VxLAN channel. This can ensure the continuity of user connections and improve communication reliability based on channel switching. Furthermore, it utilizes a sliced private network to support leased line services, with no public network exposure surface. Combined with VxLAN technology, it provides a secure Layer 2 tunnel, ensuring the reliability and security of data transmission.
[0113] In an optional embodiment, the method further includes: the gateway device receiving a service packet corresponding to a leased line service provided by the CE and transmitted via a wired VxLAN channel through the CPE, the service packet carrying the MAC address and IP address of the CE; learning from the service packet that the next hop of the CE's MAC address is in the wired VxLAN channel, and activating the association between the wired VxLAN channel and the virtual interface.
[0114] After the CE sends the service packets corresponding to the leased line service to the CPE, the CPE sends the service packets to the gateway device via the wired VxLAN channel. Since the service packets carry the CE's MAC address and IP address, the gateway device learns from the service packets sent via the wired VxLAN channel that the next hop for the CE's MAC address is on the wired VxLAN channel. At this point, the bidirectional data transmission function of the wired VxLAN channel can be activated (activating the association between the wired VxLAN channel and the virtual interface) to perform bidirectional data transmission with the CPE through the wired VxLAN channel. This ensures that the wired VxLAN channel is activated first and data transmission is performed based on the wired VxLAN channel, thus guaranteeing the reliability of data transmission.
[0115] In an optional embodiment, the method further includes: receiving a second ARP probe message sent by the CPE through the wired VxLAN channel in response to the restoration of connectivity of the wired VxLAN channel, wherein the second ARP probe message is constructed by the CPE based on the MAC address and IP address of the CE and carries the mapping relationship between the MAC address and IP address; updating the next hop of the CE's MAC address in the wired VxLAN channel based on the second ARP probe message to reactivate the association between the wired VxLAN channel and the virtual interface; and bidirectionally transmitting service packets corresponding to the leased line service with the CPE through the wired VxLAN channel.
[0116] When the wired VxLAN channel regains connectivity, the CPE constructs a second ARP probe packet carrying the MAC address and IP address mapping relationship based on the CE's MAC address and IP address, and sends the second ARP probe packet to the gateway device through the wired VxLAN channel. Upon receiving the second ARP probe packet sent through the wired VxLAN channel, the gateway device updates the next hop of the CE's MAC address in the wired VxLAN channel based on the second ARP probe packet, thereby reactivating the association between the wired VxLAN channel and the virtual interface. This effectively ensures service stability while reducing SIM card traffic usage and saving costs for users.
[0117] The above is an introduction to the leased line communication method applied to gateway devices according to the embodiments of this application. For content not described in detail, please refer to the relevant descriptions in the system embodiments.
[0118] The following example illustrates the steps and flow of a communication method for a dual-channel converged leased line based on NR and VxLAN. Figure 9 As shown:
[0119] Step 901: Collection of basic service information and allocation of service logic parameters. Basic service information includes the leased line number, public IP address (including the user's public gateway address and user IP address), the gateway device where the leased line is located, and related service ports. Service logic parameters include the wired and wireless addresses corresponding to the CPE, the VNI used to establish the channel, and the device address of the gateway device.
[0120] Step 902: NR Slice Dedicated Line Activation. The local CRM system processes the SA card activation, changes the mobile phone number to the Super Dual-Channel Dedicated Line Slice group, and completes the contract card operation.
[0121] Step 903: Deploy the CPE and configure it for the gateway device. Deploy the CPE between the CE and the gateway device, and configure the wired VxLAN channel, wireless VxLAN channel, channel detection, failover logic, and SMS notification for the CPE to the gateway device. The information required for configuration comes from the content provided in step 901.
[0122] Step 904: Configure the wired VxLAN channel and wireless VxLAN channel from the gateway device to the CPE. The information required for configuration is derived from the information provided in step 901.
[0123] Step 905: Move the user's public network gateway address from the original physical interface to the virtual interface of the gateway device.
[0124] Step 906: Associate the two channels with the virtual interface, so that the dual channels are associated with the user's public network gateway address.
[0125] Step 907: When the service is operating normally based on the wired VxLAN channel, line protection detection continues to run. During this stage, the association between the wired VxLAN channel and the virtual interface is activated.
[0126] Step 908: When the wired VxLAN channel is interrupted, switch to the wireless VxLAN channel and activate the association between the wireless VxLAN channel and the virtual interface.
[0127] Step 909: When the wired VxLAN channel is restored, switch back to the wired VxLAN channel and reactivate the association between the wired VxLAN channel and the virtual interface.
[0128] In the above process, wired VxLAN channels and wireless VxLAN channels are designed. Data transmission is prioritized based on the wired VxLAN channel. When the wired VxLAN channel fails, it automatically and quickly switches to the wireless VxLAN channel to ensure the continuity of user connection. When the wired VxLAN channel is restored, it switches back to the wired VxLAN channel. This can effectively ensure service stability, reduce card traffic usage, and save costs for users.
[0129] The following section continues to describe the channel switching process through an interactive workflow, such as... Figure 10 As shown:
[0130] Step 1001: Initialize CPE (Customer Premises Equipment) and select the wired VxLAN channel as the communication link.
[0131] Step 1002: The CE (User Network Edge Device) sends the service message corresponding to the leased line service. The service message carries the MAC address and IP address.
[0132] Step 1003: CPE obtains the mapping relationship between CE's MAC address and IP address.
[0133] Step 1004: The CPE transmits service packets to the gateway device through the wired VxLAN channel.
[0134] Step 1005: The gateway device learns that the next hop of the CE's MAC address is in the wired VxLAN channel and activates the wired VxLAN channel.
[0135] Step 1006: The CPE performs bidirectional data transmission with the gateway device based on the wired VxLAN channel.
[0136] Step 1007: The CPE detected an interruption in the wired VxLAN channel.
[0137] Step 1008: Access the CE's IP address via the Internet.
[0138] Step 1009: The gateway device is unable to send service packets to the CPE through the wired VxLAN channel.
[0139] Step 1010: The CPE generates a first ARP probe packet carrying the mapping relationship between the CE's MAC address and IP address, and sends it to the gateway device through the wireless VxLAN channel.
[0140] Step 1011: The gateway device updates the next hop of the CE's MAC address in the wireless VxLAN channel to activate the wireless VxLAN channel.
[0141] Step 1012: The gateway device sends service messages to the CPE through the wireless VxLAN channel.
[0142] Step 1013: The CPE forwards the service message to the CE and performs bidirectional data transmission based on the wireless VxLAN channel.
[0143] In the above implementation process, data transmission is prioritized based on the wired VxLAN channel. In the event of a failure of the wired VxLAN channel, data transmission is carried out based on the wireless VxLAN channel to ensure the continuity of user connections.
[0144] This application provides a leased-line communication device for a CPE. The CPE connects to the CE, and a wired VxLAN channel and a wireless VxLAN channel supporting leased-line services are formed between the CPE and the gateway device. The wireless VxLAN channel is a channel connected through a sliced private network supporting leased-line services. Both the wired and wireless VxLAN channels are associated with the virtual interface of the gateway device, with the wired VxLAN channel being the primary channel and the wireless VxLAN channel being the backup channel. Figure 11 As shown, the device includes:
[0145] The first transmission module 1101 is used to transmit service packets corresponding to leased line services bidirectionally with the gateway device through the wired VxLAN channel when the association between the wired VxLAN channel and the virtual interface is activated.
[0146] The first transmitting module 1102 is used to send a first Address Resolution Protocol (ARP) probe message to the gateway device through the wireless VxLAN channel in response to the interruption of the wired VxLAN channel.
[0147] The second transmission module 1103 is used to transmit service packets corresponding to leased line services bidirectionally with the gateway device through the wireless VxLAN channel when the gateway device activates the association between the wireless VxLAN channel and the virtual interface based on the first ARP probe message.
[0148] Optionally, the device further includes:
[0149] The second sending module is used to send a first detection message to the gateway device through the wired VxLAN channel to perform connectivity detection on the wired VxLAN channel. The first detection message is a bidirectional forwarding detection (BFD) data packet sent at a first time interval.
[0150] The third sending module is used to send a second detection message to the gateway device through the wireless VxLAN channel to detect whether the wireless VxLAN channel can be activated. The second detection message is an Internet Control Message Protocol (ICMP) response request message sent at a second time interval.
[0151] Specifically, if the connectivity test of the wired VxLAN channel passes, the association between the wired VxLAN channel and the virtual interface can be activated; if the activation test of the wireless VxLAN channel passes, the association between the wireless VxLAN channel and the virtual interface can be activated.
[0152] Optionally, the device further includes:
[0153] The first receiving module is used to receive the service message corresponding to the leased line service sent by the CE. The service message carries the CE's Media Access Control (MAC) address and Internet Protocol (IP) address.
[0154] The third transmission module is used to transmit the service message to the gateway device through the wired VxLAN channel, and the gateway device learns the next hop of the CE's MAC address on the wired VxLAN channel based on the service message, so as to activate the association between the wired VxLAN channel and the virtual interface.
[0155] Optionally, the first sending module includes:
[0156] The first processing submodule is used to obtain the Media Access Control (MAC) address and Internet Protocol (IP) address of the CE, and construct a first ARP probe packet carrying the mapping relationship between the MAC address and the IP address;
[0157] The first sending submodule is used to send the first ARP probe message to the gateway device through the wireless VxLAN channel. The first ARP probe message causes the gateway device to update the next hop of the CE's MAC address to be on the wireless VxLAN channel, so as to activate the association between the wireless VxLAN channel and the virtual interface.
[0158] Optionally, the device further includes:
[0159] The first processing module is used to, in response to the restoration of the wired VxLAN channel, obtain the CE's Media Access Control (MAC) address and Internet Protocol (IP) address, and construct a second ARP probe packet carrying the mapping relationship between the MAC address and the IP address;
[0160] The fourth sending module is used to send the second ARP probe message to the gateway device through the wired VxLAN channel. The second ARP probe message causes the gateway device to update the next hop of the CE's MAC address to be on the wired VxLAN channel, so as to reactivate the association between the wired VxLAN channel and the virtual interface.
[0161] This application provides a leased-line communication device for a gateway device. The gateway device and a CPE (Customer Premises Equipment) form a wired VxLAN channel and a wireless VxLAN channel supporting leased-line services. The CPE is connected to the CE (Customer Equipment). The wireless VxLAN channel is a channel connected through a sliced private network supporting leased-line services. Both the wired and wireless VxLAN channels are associated with virtual interfaces of the gateway device, with the wired VxLAN channel being the primary channel and the wireless VxLAN channel being the backup channel. Figure 12 As shown, the device includes:
[0162] The fourth transmission module 1201 is used to transmit service packets corresponding to leased line services bidirectionally between the wired VxLAN channel and the CPE when the association between the wired VxLAN channel and the virtual interface is activated.
[0163] The second receiving module 1202 is used to receive the first Address Resolution Protocol (ARP) probe message sent by the CPE through the wireless VxLAN channel in response to the interruption of the wired VxLAN channel.
[0164] The second processing module 1203 is used to activate the association between the wireless VxLAN channel and the virtual interface based on the first ARP probe message, and to transmit service messages corresponding to the leased line service bidirectionally with the CPE through the wireless VxLAN channel.
[0165] Optionally, the first ARP probe packet is constructed by the CPE based on the MAC address and IP address of the CE, and carries the mapping relationship between the MAC address and the IP address;
[0166] The second processing module is further used for:
[0167] The next hop of the CE's MAC address is updated based on the first ARP probe message in the wireless VxLAN channel to activate the association between the wireless VxLAN channel and the virtual interface.
[0168] Optionally, the device further includes:
[0169] The third receiving module is used to receive service packets corresponding to leased line services provided by the CE and transmitted through the wired VxLAN channel via the CPE. The service packets carry the CE's Media Access Control (MAC) address and Internet Protocol (IP) address.
[0170] The determination module is used to learn the next hop of the CE's MAC address in the wired VxLAN channel based on the service message, and activate the association between the wired VxLAN channel and the virtual interface.
[0171] Optionally, the device further includes:
[0172] The fourth receiving module is used to receive a second ARP probe message sent by the CPE through the wired VxLAN channel in response to the restoration of the wired VxLAN channel. The second ARP probe message is constructed by the CPE based on the CE's Media Access Control MAC address and Internet Protocol IP address, and carries the mapping relationship between the MAC address and the IP address.
[0173] The update activation module is used to update the next hop of the MAC address of the CE in the wired VxLAN channel based on the second ARP probe packet, so as to reactivate the association between the wired VxLAN channel and the virtual interface;
[0174] The fifth transmission module is used to transmit service messages corresponding to the leased line service bidirectionally with the CPE through the wired VxLAN channel.
[0175] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.
[0176] On the other hand, embodiments of this application also provide an electronic device, including a memory, a processor, a bus, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps in the above-described leased line communication method.
[0177] For example, Figure 13 A schematic diagram of the physical structure of an electronic device is shown.
[0178] like Figure 13 As shown, the electronic device may include a processor 1310, a communications interface 1320, a memory 1330, and a communication bus 1340. The processor 1310, communications interface 1320, and memory 1330 communicate with each other via the communication bus 1340. The processor 1310 can call logical instructions stored in the memory 1330. The processor 1310 is used to execute various processes of the leased-line communication method according to the embodiments of this application, which will not be described in detail here.
[0179] Furthermore, the logical instructions in the aforementioned memory 1330 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0180] In another aspect, embodiments of this application also provide a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps in the leased line communication methods provided in the above embodiments.
[0181] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0182] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0183] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A tunnel fusion private line system characterized by comprising: include: The network edge device (CE), client premises equipment (CPE), and gateway device are connected. The CE is connected to the CPE, and the CPE and the gateway device form a wired virtual scalable local area network (VxLAN) channel and a wireless VxLAN channel that support leased line services. The wireless VxLAN channel is a channel connected through a sliced private network that supports leased line services. Both the wired VxLAN channel and the wireless VxLAN channel are associated with the virtual interface of the gateway device, and the wired VxLAN channel is the primary channel and the wireless VxLAN channel is the backup channel. When the association between the wired VxLAN channel and the virtual interface is activated, the CPE and the gateway device transmit service packets corresponding to the leased line service bidirectionally through the wired VxLAN channel. In response to the interruption of the wired VxLAN channel, the CPE sends a first Address Resolution Protocol (ARP) probe message to the gateway device through the wireless VxLAN channel. The gateway device activates the association between the wireless VxLAN channel and the virtual interface based on the first ARP probe message. The CPE and the gateway device then transmit service messages corresponding to the leased line service bidirectionally through the wireless VxLAN channel. The CPE obtains the Media Access Control (MAC) address and Internet Protocol (IP) address of the CE, constructs a first ARP probe packet carrying the mapping relationship between the MAC address and the IP address, and sends it to the gateway device through the wireless VxLAN channel; The gateway device updates the next hop of the CE's MAC address in the wireless VxLAN channel based on the first ARP probe message, so as to activate the association between the wireless VxLAN channel and the virtual interface; In response to the restoration of connectivity of the wired VxLAN channel, the CPE obtains the Media Access Control (MAC) address and Internet Protocol (IP) address of the CE, constructs a second ARP probe packet carrying the mapping relationship between the MAC address and the IP address, and sends it to the gateway device through the wired VxLAN channel; The gateway device updates the next hop of the CE's MAC address in the wired VxLAN channel based on the second ARP probe message, in order to reactivate the association between the wired VxLAN channel and the virtual interface.
2. The channel convergence leased line system according to claim 1, characterized in that, Before the association between the wired VxLAN channel and the virtual interface is activated, the CPE detects the connectivity of the wired VxLAN channel and the activatability of the wireless VxLAN channel; Specifically, if the connectivity test of the wired VxLAN channel passes, the association between the wired VxLAN channel and the virtual interface can be activated; if the activation test of the wireless VxLAN channel passes, the association between the wireless VxLAN channel and the virtual interface can be activated.
3. The channel convergence leased line system according to claim 2, characterized in that, The CPE sends a first detection message to the gateway device through the wired VxLAN channel to perform connectivity detection on the wired VxLAN channel. The first detection message is a bidirectional forwarding detection (BFD) data packet sent at a first time interval. The CPE sends a second detection message to the gateway device through the wireless VxLAN channel to detect whether the wireless VxLAN channel can be activated. The second detection message is an Internet Control Message Protocol (ICMP) response request message sent at a second time interval.
4. The channel convergence leased line system according to claim 1, characterized in that, The CE transmits service packets corresponding to the leased line service to the gateway device via the CPE and the wired VxLAN channel. The service packets carry the CE's Media Access Control (MAC) address and Internet Protocol (IP) address. The gateway device learns from the service message that the next hop of the CE's MAC address is in the wired VxLAN channel, and activates the association between the wired VxLAN channel and the virtual interface.
5. The channel convergence leased line system according to claim 1, characterized in that, The wireless VxLAN channel is isolated from the public network channel; In the wireless VxLAN channel, the CPE connects to the slice private network via a wireless base station, and the slice private network connects to the gateway device.
6. The channel convergence leased line system according to claim 1, characterized in that, The virtual interface of the gateway device is bound to the user's public network gateway address, which is used to connect to the Internet. The IP address of the CE is associated with the user's public network gateway address and points to the virtual interface. Both the IP address of the CE and the user's public network gateway address belong to the address range corresponding to the public network IP of the business. The wired VxLAN channel and the wireless VxLAN channel associated with the virtual interface access the Internet based on the user's public network gateway address.
7. The channel convergence leased line system according to any one of claims 1 to 5, characterized in that, The wired VxLAN channel and the wireless VxLAN channel are established based on a first direction and a second direction configuration, where the first direction is the direction from the CPE to the gateway device, and the second direction is the direction from the gateway device to the CPE.
8. The channel convergence leased line system according to claim 7, characterized in that, In the first direction, the wired VxLAN channel is configured based on the wired address corresponding to the CPE, the device address of the gateway device, and the Virtual Network Identifier (VNI); in the first direction, the wireless VxLAN channel is configured based on the wireless address corresponding to the CPE, the device address of the gateway device, and the VNI. Wherein, the wired address and the wireless address are source addresses, and the device address is the destination address.
9. The channel convergence leased line system according to claim 8, characterized in that, In the second direction, the wired VxLAN channel is configured based on the device address of the gateway device where the leased line is located, the wired address of the CPE, and the VNI; in the second direction, the wireless VxLAN channel is configured based on the device address of the gateway device where the leased line is located, the wireless address of the CPE, and the VNI. Wherein, the wired address and the wireless address are destination addresses, and the device address is the source address.
10. A leased-line communication method, characterized in that, The method is applied to a Customer Premises Equipment (CPE), which connects to a Customer Network Edge Equipment (CE). The CPE and a gateway device form a wired Virtual Scalable Local Area Network (VxLAN) channel and a wireless VxLAN channel supporting leased line services. The wireless VxLAN channel is a channel connected via a sliced private network supporting leased line services. Both the wired and wireless VxLAN channels are associated with the virtual interface of the gateway device, with the wired VxLAN channel being the primary channel and the wireless VxLAN channel being the backup channel. The method includes: When the association between the wired VxLAN channel and the virtual interface is activated, the service packets corresponding to the leased line service are transmitted bidirectionally between the wired VxLAN channel and the gateway device. In response to the interruption of the wired VxLAN channel, a first Address Resolution Protocol (ARP) probe message is sent to the gateway device through the wireless VxLAN channel; When the gateway device activates the association between the wireless VxLAN channel and the virtual interface based on the first ARP probe message, the service packets corresponding to the leased line service are transmitted bidirectionally between the gateway device and the wireless VxLAN channel. The step of sending a first Address Resolution Protocol (ARP) probe message to the gateway device through the wireless VxLAN channel includes: Obtain the Media Access Control (MAC) address and Internet Protocol (IP) address of the CE, and construct a first ARP probe packet carrying the mapping relationship between the MAC address and the IP address; The first ARP probe message is sent to the gateway device through the wireless VxLAN channel. The first ARP probe message causes the gateway device to update the next hop of the CE's MAC address to be on the wireless VxLAN channel, thereby activating the association between the wireless VxLAN channel and the virtual interface. In response to the restoration of connectivity of the wired VxLAN channel, the Media Access Control (MAC) address and Internet Protocol (IP) address of the CE are obtained, and a second ARP probe packet carrying the mapping relationship between the MAC address and the IP address is constructed; The second ARP probe message is sent to the gateway device through the wired VxLAN channel. The second ARP probe message causes the gateway device to update the next hop of the CE's MAC address to be on the wired VxLAN channel, so as to reactivate the association between the wired VxLAN channel and the virtual interface.
11. The leased line communication method according to claim 10, characterized in that, Before the association between the wired VxLAN channel and the virtual interface is activated, the method further includes: A first detection message is sent to the gateway device through the wired VxLAN channel to perform connectivity detection on the wired VxLAN channel. The first detection message is a bidirectional forwarding detection (BFD) data packet sent at a first time interval. A second detection message is sent to the gateway device through the wireless VxLAN channel to detect whether the wireless VxLAN channel can be activated. The second detection message is an Internet Control Message Protocol (ICMP) response request message sent at a second time interval. Specifically, if the connectivity test of the wired VxLAN channel passes, the association between the wired VxLAN channel and the virtual interface can be activated; if the activation test of the wireless VxLAN channel passes, the association between the wireless VxLAN channel and the virtual interface can be activated.
12. The leased line communication method according to claim 10, characterized in that, The method further includes: Receive the service message corresponding to the leased line service sent by the CE, the service message carrying the CE's Media Access Control MAC address and Internet Protocol IP address; The service message is transmitted to the gateway device through the wired VxLAN channel. The gateway device learns the next hop of the CE's MAC address on the wired VxLAN channel based on the service message, thereby activating the association between the wired VxLAN channel and the virtual interface.
13. A leased-line communication method, characterized in that, The method is applied to a gateway device, wherein a wired virtual scalable local area network (VxLAN) channel and a wireless VxLAN channel supporting leased line services are formed between the gateway device and a customer premises equipment (CPE). The CPE is connected to a user network edge device (CE). The wireless VxLAN channel is a channel connected through a sliced private network supporting leased line services. Both the wired VxLAN channel and the wireless VxLAN channel are associated with the virtual interface of the gateway device, and the wired VxLAN channel is the primary channel, while the wireless VxLAN channel is the backup channel. The method includes: When the association between the wired VxLAN channel and the virtual interface is activated, the service packets corresponding to the leased line service are transmitted bidirectionally between the wired VxLAN channel and the CPE. Receive the first Address Resolution Protocol (ARP) probe message sent by the CPE through the wireless VxLAN channel in response to the interruption of the wired VxLAN channel; The association between the wireless VxLAN channel and the virtual interface is activated based on the first ARP probe message, and the service messages corresponding to the leased line service are transmitted bidirectionally between the wireless VxLAN channel and the CPE. The first ARP probe packet is constructed by the CPE based on the CE's Media Access Control MAC address and Internet Protocol IP address, and carries the mapping relationship between the MAC address and the IP address; Activating the association between the wireless VxLAN channel and the virtual interface based on the first ARP probe message includes: The next hop of the CE's MAC address is updated based on the first ARP probe message in the wireless VxLAN channel to activate the association between the wireless VxLAN channel and the virtual interface; The system receives a second ARP probe packet sent by the CPE through the wired VxLAN channel in response to the restoration of connectivity of the wired VxLAN channel. The second ARP probe packet is constructed by the CPE based on the CE's Media Access Control MAC address and Internet Protocol IP address, and carries the mapping relationship between the MAC address and the IP address. The next hop of the CE's MAC address is updated based on the second ARP probe message in the wired VxLAN channel to reactivate the association between the wired VxLAN channel and the virtual interface; The wired VxLAN channel is used to bidirectionally transmit service messages corresponding to the leased line service to the CPE.
14. The leased line communication method according to claim 13, characterized in that, Also includes: Receive service packets corresponding to leased line services provided by the CE and transmitted through the wired VxLAN channel via the CPE. The service packets carry the CE's Media Access Control (MAC) address and Internet Protocol (IP) address. Based on the service message, the next hop of the CE's MAC address is learned to be in the wired VxLAN channel, and the association between the wired VxLAN channel and the virtual interface is activated.
15. An electronic device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the leased line communication method as described in any one of claims 10 to 12 or 13 to 14.
Citation Information
Patent Citations
Communication link protection method, system, equipment and medium
CN114938516A