Channel fusion special line system and special line communication method
The channel-converged dedicated line system with wired and wireless VxLAN channels addresses high availability and cost challenges by automatically switching between primary and backup channels, ensuring reliable and secure data transmission with efficient cost management.
Patent Information
- Application Number
- CN202411140594.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2044-08-19
AI Technical Summary
Existing dedicated line systems face challenges in ensuring high availability with fast switching and seamless data transmission, particularly in the face of equipment or link failures, while also requiring high deployment and maintenance costs, and existing backup solutions like dual physical links and mobile cellular network backups are inefficient and costly.
A channel-converged dedicated line system utilizing a wired and wireless VxLAN channels, where the wired channel is primary and the wireless channel is backup, with automatic switching via ARP detection, leveraging NR slicing for network isolation and VxLAN for secure Layer 2 tunnels, and integrating existing equipment to optimize costs.
Ensures continuous connectivity and improved communication reliability by automatically switching to a backup channel upon failure, reducing fault delays and maintaining network stability with cost-effective deployment and maintenance.
Smart Images

Figure CN119232640A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication network technology, and in particular to a channel fusion dedicated line system and a dedicated line communication method. Background Art
[0003] Faced with increasingly complex data transmission and processing requirements, how to ensure the high availability of dedicated lines and achieve fast switching and seamless data transmission when equipment or links fail is a huge challenge. Secondly, the deployment and maintenance of dedicated lines usually requires high costs, and how to reduce costs so that small and medium-sized enterprises can afford it is also an important issue.
[0004] At present, backup is usually used to ensure the high availability of dedicated lines. The following introduces two backup solutions used in the prior art. Solution 1: A dual physical link backup dedicated line solution is provided. In this solution, two broadbands are connected to the SR (Service Router) / BRAS (Broadband Remote Access Server) device through an aggregation device. The two broadband optical cables take completely different optical paths and are connected to SR / BRAS devices in different directions. That is, it is necessary to ensure dual optical path and dual direction access of the two broadbands (access to aggregation devices and SRs in different directions) to ensure reliability on the physical link. Solution 2: A hot backup solution between a mobile cellular network and a wired network is provided. In this solution, a layer 2 bridge is established in a 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 the devices hanging down in the CPE system can exchange data with the wired network through the layer 2 bridge. When an abnormality occurs in the wired network of the CPE system, 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, and the data sent by the hanging down devices is received and forwarded to the mobile cellular network. According to the subnet mask and gateway address of the wired network, the DHCP (Dynamic Host Configuration Protocol) service is started by simulating the behavior of the wired network, so that the hanging down devices can exchange data through the mobile cellular network, thereby completing the hot backup between the mobile cellular network and the wired network.
[0005] Solution 1 has the following disadvantages: since it only considers physical backup dedicated lines, it is limited by the optical cable resources on the user side and requires on-site cabling by the operator. The subsequent maintenance cost is high and the user needs to bear the cabling and maintenance costs. The dual physical backup dedicated lines are cold backups and require manual switching of the primary and backup lines. In addition, it is impossible to avoid the dual disconnection of the primary and backup physical links. When the primary and backup physical links are dual disconnected, the network connectivity cannot be restored in time. The public network IP address and the user's intranet address need to be changed, which increases the burden on the user side and is not easy to deliver.
[0006] Solution 2 has the following disadvantages: 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 that the networking method brings to the enterprise; during the dedicated line communication process, some nodes communicate on the public network, and there is a public network exposure surface; the public network IP address and the user's intranet address need to be changed, 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 delay. Summary of the invention
[0007] In view of the above problems, the embodiments of the present application provide a channel fusion dedicated line system and a dedicated line communication method that overcome the above problems or at least partially solve the above problems.
[0008] In a first aspect, an embodiment of the present application provides a channel-converged dedicated line system, comprising: a user network edge device CE, a customer terminal device CPE, and a gateway device, wherein the CE is connected to the CPE, and a wired virtual extensible local area network VxLAN channel and a wireless VxLAN channel supporting dedicated line services are formed between the CPE and the gateway device, wherein the wireless VxLAN channel is a channel connected through a sliced private network supporting dedicated line services, and both the wired VxLAN channel and the wireless VxLAN channel are associated with a virtual interface of the gateway device, and the wired VxLAN channel is a primary channel and the wireless VxLAN channel is a backup channel;
[0009] When the association between the wired VxLAN channel and the virtual interface is activated, the CPE and the gateway device bidirectionally transmit service messages corresponding to the dedicated line service through the wired VxLAN channel;
[0010] In response to the interruption of the wired VxLAN channel, the CPE sends a first Address Resolution Protocol ARP detection message to the gateway device through the wireless VxLAN channel, and the gateway device activates the association between the wireless VxLAN channel and the virtual interface based on the first ARP detection message. The CPE and the gateway device bidirectionally transmit service messages corresponding to the dedicated line service through the wireless VxLAN channel.
[0011] In a second aspect, an embodiment of the present application provides a dedicated line communication method, which is applied to a customer terminal device CPE, wherein the CPE is connected to a user network edge device CE, and a wired virtual extensible local area network VxLAN channel and a wireless VxLAN channel supporting dedicated line services are formed between the CPE and a gateway device, wherein the wireless VxLAN channel is a channel connected through a sliced private network supporting dedicated line services, and both the wired VxLAN channel and the wireless VxLAN channel are associated with a virtual interface of the gateway device, and the wired VxLAN channel is a primary channel and the wireless VxLAN channel is a backup channel; the method comprises:
[0012] When the association between the wired VxLAN channel and the virtual interface is activated, the service message corresponding to the dedicated line service is bidirectionally transmitted through the wired VxLAN channel and the gateway device;
[0013] In response to the wired VxLAN channel being interrupted, sending a first address resolution protocol ARP detection message to the gateway device through the wireless VxLAN channel;
[0014] When the gateway device activates the association between the wireless VxLAN channel and the virtual interface based on the first ARP detection message, the service messages corresponding to the dedicated line service are bidirectionally transmitted between the wireless VxLAN channel and the gateway device.
[0015] In a third aspect, an embodiment of the present application provides a dedicated line communication method, which is applied to a gateway device, wherein a wired virtual extensible local area network VxLAN channel and a wireless VxLAN channel supporting dedicated line services are formed between the gateway device and the customer terminal device CPE, the CPE is connected to the user network edge device CE, and the wireless VxLAN channel is a channel connected through a sliced private network supporting dedicated line services. The wired VxLAN channel and the wireless VxLAN channel are both associated with a virtual interface of the gateway device, and the wired VxLAN channel is a primary channel and the wireless VxLAN channel is a backup channel; the method comprises:
[0016] When the association between the wired VxLAN channel and the virtual interface is activated, a service message corresponding to the dedicated line service is bidirectionally transmitted between the wired VxLAN channel and the CPE;
[0017] Receiving a first Address Resolution Protocol ARP detection message sent by the CPE through the wireless VxLAN channel in response to the interruption of the wired VxLAN channel;
[0018] Based on the first ARP detection message, the association between the wireless VxLAN channel and the virtual interface is activated, and the service message corresponding to the dedicated line service is bidirectionally transmitted between the wireless VxLAN channel and the CPE.
[0019] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising 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 dedicated line communication method described in the second aspect or the third aspect.
[0020] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the dedicated line communication method described in the second aspect or the third aspect is implemented.
[0021] The technical solution of the embodiment of the present application builds a highly configurable dual-channel integrated dedicated line system by integrating the security and stability of fixed dedicated lines and the flexibility of wireless network dedicated lines; through the design of primary and backup channels, data transmission is given priority on the primary channel. When the primary channel fails, it automatically and quickly switches to the backup channel to ensure the continuity of user connection and improve communication reliability; NR slicing technology is used to achieve logical independent division of the network without public network exposure, and VxLAN technology is combined to provide a secure Layer 2 tunnel to ensure the reliability and security of data transmission; CPE is added only on the basis of existing equipment to achieve optimized control of equipment deployment cost and maintenance cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 A schematic diagram of a channel fusion dedicated line system provided in an embodiment of the present application is shown;
[0023] Figure 2 A schematic diagram showing that a CPE according to an embodiment of the present application performs channel detection based on a detection message;
[0024] Figure 3 A schematic diagram showing message interaction between a CE, a CPE and a gateway device provided in an embodiment of the present application;
[0025] Figure 4 A schematic diagram showing a user public network gateway address associated with a virtual interface provided in an embodiment of the present application;
[0026] Figure 5 A schematic diagram showing the configuration of a wired VxLAN channel and a wireless VxLAN channel provided in an embodiment of the present application;
[0027] Figure 6 A schematic diagram showing an implementation principle of a channel fusion dedicated line system provided in an embodiment of the present application;
[0028] Figure 7 A schematic diagram showing a dedicated line communication method applied to a CPE provided in an embodiment of the present application;
[0029] Figure 8 A schematic diagram showing a dedicated line communication method applied to a gateway device provided in an embodiment of the present application;
[0030] Fig. 9 A schematic diagram showing a communication method for a dual-channel fusion dedicated line based on NR and VxLAN provided in an embodiment of the present application;
[0031] Fig.10 An interactive flow chart showing a switching channel provided in an embodiment of the present application;
[0032] Fig.11 A schematic diagram of a dedicated line communication device applied to a CPE provided in an embodiment of the present application is shown;
[0033] Fig.12 A schematic diagram showing a dedicated line communication device applied to a gateway device provided in an embodiment of the present application;
[0034] Fig.13 A structural block diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0036] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present application. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0037] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the following processes does not mean 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 the present application.
[0038] The following is an explanation of some concepts and / or terms involved in the solutions provided in the embodiments of the present application.
[0039] NR (New Radio) is the core part of the 5G communication system. It adopts a new wireless frame structure, waveform, modulation and coding method to support higher spectrum efficiency, lower latency and greater connection density. NR is designed to meet the diverse needs of future wireless communications, including large-scale machine-type communications, highly reliable and low-latency communications, and enhanced mobile broadband. Compared with 4G, NR has significantly improved bandwidth, capacity, speed, etc., and is one of the key technologies in 5G networks.
[0040] VxLAN (Virtual Extensible Local Area Network) is a network virtualization technology that is mainly used to solve the expansion problem of large-scale cloud computing during deployment. It is an extension of VLAN (Virtual Local Area Network). VxLAN breaks through the portability limitations of VMS (Virtual Manufacturing System) by encapsulating traffic and extending it to the third-layer gateway, allowing virtual machines to access servers on external IP subnets.
[0041] BFD (Bidirectional Forwarding Detection) is a protocol used to quickly detect the connectivity of the forwarding path between two network devices. BFD detects faults on the forwarding path by sending simple detection messages between neighbors and quickly detecting the reception of the messages. The design goal of BFD is to provide sub-second fault detection time, thereby ensuring rapid fault recovery and path switching when a fault occurs.
[0042] CPE refers to a network device or system located at a customer's premises (such as a business, home, etc.), which is usually connected to the service provider's network for access to 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.
[0043] MSE (Multi Service Edge) is a new type of device located at the edge of the IP / MPLS (Multi-Protocol Label Switching) network, dedicated to aggregating Layer 2 and Layer 3 data services. The emergence of MSE enables the network to handle various service requirements more flexibly, and through its efficient data aggregation capabilities, it can improve the overall performance and efficiency of the network.
[0044] SR is mainly used for dedicated line users accessing fixed IP addresses, and has multiple technical features and application scenarios.
[0045] The present application embodiment provides a channel fusion dedicated line system, such as Figure 1 As shown, it includes: CE (Customer Edge, user network edge device) 11, CPE (customer terminal equipment) 12 and gateway device 13, CE 11 is connected to CPE 12, and a wired VxLAN channel 14 and a wireless VxLAN channel 15 supporting dedicated line services are formed between CPE 12 and gateway device 13. The wireless VxLAN channel 15 is a channel connected through a sliced private network 16 supporting dedicated line services. The wired VxLAN channel 14 and the wireless VxLAN channel 15 are both associated with the virtual interface of the gateway device 13, and the wired VxLAN channel 14 is the main channel and the wireless VxLAN channel 15 is the backup channel;
[0046] When the association between the wired VxLAN channel 14 and the virtual interface is activated, the service messages corresponding to the dedicated line service are bidirectionally transmitted between the CPE 12 and the gateway device 13 through the wired VxLAN channel 14;
[0047] In response to the interruption of the wired VxLAN channel 14, CPE 12 sends a first ARP (Address Resolution Protocol) detection message to the gateway device 13 through the wireless VxLAN channel 15. The gateway device 13 activates the association between the wireless VxLAN channel 15 and the virtual interface based on the first ARP detection message. The service messages corresponding to the dedicated line service are bidirectionally transmitted between CPE 12 and the gateway device 13 through the wireless VxLAN channel 15.
[0048] The channel-fused dedicated line system provided in the embodiment of the present application includes: CE 11, a gateway device 13, and a CPE 12 deployed between CE 11 and the gateway device 13. The CPE 12 is connected to CE 11, and forms a wired VxLAN channel 14 supporting dedicated line services and a wireless VxLAN channel 15 supporting dedicated line services with the gateway device 13.
[0049] Wired VxLAN channel 14 is the main channel of the channel fusion dedicated line system, and wireless VxLAN channel 15 is the backup channel of the channel fusion dedicated line system. The switching between the main channel and the backup channel can be automatically controlled by CPE 12. As a fixed dedicated line, wired VxLAN channel 14 has the advantages of security and stability. As a wireless network dedicated line, wireless VxLAN channel 15 has the advantage of flexibility. By combining fixed dedicated lines with wireless network dedicated lines, the security and stability advantages of fixed dedicated lines can be combined with the flexibility of wireless network dedicated lines to provide non-perceptual and hot backup services for dedicated line users. For reliability reasons, user data is transmitted on the main channel. When a network device or link in the main channel fails, it quickly switches to the backup channel.
[0050] The wireless VxLAN channel 15 in this embodiment is a channel connected through a slice private network 16 that supports dedicated line services. The wireless VxLAN channel 15 is isolated from the public network channel. In the wireless VxLAN channel 15, the CPE 12 is connected to the slice private network 16 through a wireless base station, and the slice private network 16 is connected to the gateway device 13. The slice private network 16 is an NR slice + VPN (Virtual Private Network), and the VPN is built based on a metropolitan area network. Metropolitan area networks are usually used to connect network communications between different departments or branches of organizations such as large enterprises, campuses, and medical institutions. They are also used to connect data centers, exchange centers, and locations that provide Internet access services. Metropolitan area networks usually provide high-speed data transmission, low latency, and high reliability to meet data communication needs within the city.
[0051] Taking the sliced private network 16 as a 5G sliced private network in a 5G scenario and CPE 12 as a 5G client device as an example, the sliced private network 16 and CPE 12 are introduced.
[0052] The networking in the 5G slice private network mainly includes the 5G bearer network and the 5G core network. The 5G bearer network refers to the part that provides wireless access, including 5G base stations, base station controllers and other equipment, which is responsible for connecting user equipment to the 5G core network. In the 5G slice private network, the role of the bearer network is to provide high-speed, low-latency wireless access to meet the business needs of different slices. The 5G core network is the core part of the 5G slice private network, responsible for managing and arranging network resources in the slices, and providing functions such as data forwarding, routing, security authentication, and session management. In the 5G slice private network, the core network allocates and schedules network resources according to slice requirements to achieve isolation and optimization between slices.
[0053] In a 5G network, a 5G client device connects user devices (such as smartphones, computers, smart home devices, etc.) with the 5G infrastructure. For example, it can be a router, modem or other device in the home that receives 5G signals and converts them into a network connection that can be used for user devices. In a 5G network, it plays a role similar to that of traditional Internet access devices, but can provide higher-speed data transmission and lower latency.
[0054] Among them, the wired VxLAN channel 14 corresponds to the CPE 12 and the gateway device 13. In the wireless VxLAN channel 15, from a logical level, the CPE 12 can reach the gateway device 13 through the sliced private network 16; from a physical level, the CPE 12 is connected to the UPF (User Plane Function) through a wireless base station. The UPF is mainly responsible for the routing and forwarding related functions of the user plane data packets of the core network. The UPF is connected to the gateway device 13 through the metropolitan area network, that is, the CPE 12 reaches the core network and the metropolitan area network through the wireless base station, and then connects to the gateway device 13.
[0055] For the wireless VxLAN channel 15, the core is to use NR slicing and VxLAN technology. NR slicing technology can divide the network into multiple logically independent virtual networks. Through NR slicing, it can be isolated from the public network channel to ensure data security. For the sliced private network 16, it includes NR slicing and VPN (UPF to gateway device direction) superposition to use the sliced private network 16 to open up the connection 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.
[0056] In this embodiment, CPE 12 is added on the basis of the existing equipment in the existing network, and no other equipment needs to be deployed, thereby optimizing the control of equipment deployment cost and maintenance cost. Based on NR slicing and VxLAN technology, CPE 12 is deployed between CE 11 and gateway device 13 to form wired VxLAN channel 14 and wireless VxLAN channel 15, which can ensure continuous connectivity from CE 11 to gateway device 13 through dual channels.
[0057] In this embodiment, the wired VxLAN channel 14 and the wireless VxLAN channel 15 are both associated with the virtual interface of the gateway device 13. The gateway device 13 is, for example, an SR or an MSE, and the CPE 12 can control the data transmission in the direction of 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.
[0058] For reliability reasons, data is first transmitted on the main channel, that is, the association between the wired VxLAN channel 14 and the virtual interface is first activated. After the association between the wired VxLAN channel 14 and the virtual interface is activated, the service messages corresponding to the dedicated line service are bidirectionally transmitted between CPE 12 and the gateway device 13 through the wired VxLAN channel 14. At this time, CPE 12 can transmit the service messages corresponding to the dedicated line service provided by CE 11 to the gateway device 13 through the wired VxLAN channel 14, and can also receive the service messages transmitted by the gateway device 13 through the wired VxLAN channel 14, and provide the received service messages to CE 11.
[0059] In the case of wired VxLAN channel 14 interruption, CPE 12 sends the first ARP detection message to gateway device 13 through wireless VxLAN channel 15. After receiving the first ARP detection message, gateway device 13 activates the association between wireless VxLAN channel 15 and the virtual interface based on the first ARP detection message, thereby activating the bidirectional data transmission of the backup channel. At this time, CPE 12 can transmit the service message corresponding to the dedicated line service provided by CE 11 to gateway device 13 through wireless VxLAN channel 15, and can also receive the service message transmitted by gateway device 13 through wireless VxLAN channel 15, and provide the received service message to CE 11, thereby realizing the bidirectional transmission of the service message corresponding to the dedicated line service between CPE 12 and gateway device 13 through wireless VxLAN channel 15.
[0060] The above implementation scheme of the present application builds a highly configurable dual-channel integrated dedicated line system by integrating the security and stability of fixed dedicated lines and the flexibility of wireless network dedicated lines; through the design of primary and backup channels, data transmission is given priority on the primary channel. When the primary channel fails, it automatically and quickly switches to the backup channel to ensure the continuity of user connection and improve communication reliability; NR slicing technology is used to achieve logical independent division of the network without public network exposure, and VxLAN technology is combined to provide a secure Layer 2 tunnel to ensure the reliability and security of data transmission; CPE is added only on the basis of existing equipment to achieve optimized control of equipment deployment cost and maintenance cost.
[0061] The following describes the process of CPE detecting wired VxLAN channels and wireless VxLAN channels. Figure 2 As described, before the association between the wired VxLAN channel 14 and the virtual interface is activated, the CPE (customer terminal equipment) 12 detects the connectivity of the wired VxLAN channel 14 and the activatability of the wireless VxLAN channel 15.
[0062] When CPE 12 detects the connectivity of the wired VxLAN channel 14, CPE 12 sends a first detection message to the gateway device 13 through the wired VxLAN channel 14 to perform connectivity detection on the wired VxLAN channel 14 through the first detection message. The first detection message is a BFD detection data packet sent at a first time interval.
[0063] That is, when performing connectivity detection on the wired VxLAN channel 14, a BFD process is established between the CPE 12 and the gateway device 13, for example, a BFD detection data packet is sent every 10ms for detection. If no data packet is received for more than 3 times, the wired VxLAN channel 14 is considered to be interrupted, and the connectivity detection of the channel is implemented based on the BFD detection data packet. Among them, when the connectivity detection of the wired VxLAN channel 14 passes, the association between the wired VxLAN channel 14 and the virtual interface is allowed to be activated, that is, the bidirectional data transmission function of the wired VxLAN channel 14 can be activated.
[0064] When CPE 12 detects the activatability of the wireless VxLAN channel 15, CPE 12 sends a second detection message to the gateway device 13 through the wireless VxLAN channel 15 to detect whether the wireless VxLAN channel 15 can be activated through the second detection message. 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.
[0065] That is, when performing an activatability test on the wireless VxLAN channel 15, CPE 12 sends an ICMP response request message to the device address (loopback address) of the gateway device 13 at a second time interval (such as 5s) with the wireless address (the IP address corresponding to the wireless VxLAN channel 15 of CPE 12) as the source address for detection. If CPE 12 receives an ICMP response message returned by the gateway device 13, it is considered that the wireless VxLAN channel 15 can be activated. Among them, if the activatability 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.
[0066] In this embodiment, the association between the wired VxLAN channel 14 and the virtual interface is allowed to 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 is allowed to be activated, that is, the bidirectional data transmission function of the wireless VxLAN channel 15 can be activated.
[0067] The following describes the process of activating the bidirectional data transmission function of the wired VxLAN channel. Figure 3 As shown, CE (user network edge equipment) 11 transmits the service message corresponding to the dedicated line service to the gateway device 13 via CPE (customer terminal equipment) 12 and wired VxLAN channel 14. The service message carries the MAC (Media Access Control) address and IP address of CE 11; based on the service message, the gateway device 13 learns that the next hop of the MAC address of CE 11 is in the wired VxLAN channel 14, and activates the association between the wired VxLAN channel 14 and the virtual interface.
[0068] CE 11 sends the service message corresponding to the dedicated line service to CPE 12, and CPE 12 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 CE 11's MAC address is in wired VxLAN channel 14. At this time, the bidirectional data transmission function of wired VxLAN channel 14 can be activated (activate 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.
[0069] During the above implementation process, CPE transmits the service message provided by CE to the gateway device through the wired VxLAN channel. The gateway device learns that the next hop of the MAC address of CE 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 message activation.
[0070] The following describes the process of activating the association between the wireless VxLAN channel and the virtual interface based on the first ARP detection message provided by the CPE. Figure 3 As shown, CPE 12 obtains the MAC address and IP address of CE 11, constructs a first ARP detection message carrying the mapping relationship between the MAC address and the IP address, and sends it to the gateway device 13 through the wireless VxLAN channel 15; the gateway device 13 updates the next hop of the MAC address of CE 11 in the wireless VxLAN channel 15 based on the first ARP detection message to activate the association between the wireless VxLAN channel 15 and the virtual interface.
[0071] When the wired VxLAN channel 14 is interrupted, CPE 12 constructs a first ARP detection message carrying the mapping relationship between the MAC address and the IP address based on the MAC address and IP address of CE 11, and sends the first ARP detection message to the gateway device 13 through the wireless VxLAN channel 15. After receiving the first ARP detection message, the gateway device 13 updates the next hop of the MAC address of CE 11 to the wireless VxLAN channel 15. At this time, the bidirectional data transmission function of the wireless VxLAN channel 15 can be activated (activate the association between the wireless VxLAN channel 15 and the virtual interface) to perform bidirectional data transmission between CPE 12 and the gateway device 13 through the wireless VxLAN channel 15.
[0072] During the above implementation process, when the wired VxLAN channel is interrupted, the CPE actively sends the first ARP detection message, so that the gateway device promptly updates the next hop of the CE's MAC address, effectively activating the wireless VxLAN channel, quickly switching channels, reducing fault delays, improving the stability of the dedicated line, and achieving efficient data transfer during channel switching, thereby ensuring normal business operation.
[0073] 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 entry on the gateway device side has a survival time. If the first ARP probe message is not sent, the next hop of the MAC address of the CE recorded on the gateway device side is still in the wired VxLAN channel. Data switching will not be realized until the cache is cleared or the cache table is updated. Therefore, sending ARP probe messages can speed up channel switching efficiency.
[0074] In an optional embodiment of the present application, if Figure 3 As shown, in response to the restoration of connectivity of the wired VxLAN channel 14, CPE 12 obtains the MAC address and IP address of CE 11, constructs a second ARP detection message carrying the mapping relationship between the MAC address and the IP address, and sends it to the gateway device 13 through the wired VxLAN channel 14; the gateway device 13 updates the next hop of the MAC address of CE11 in the wired VxLAN channel 14 based on the second ARP detection message to reactivate the association between the wired VxLAN channel 14 and the virtual interface. When the wired VxLAN channel 14 restores connectivity, CPE 12 quickly switches the transmission channel back to the primary channel, reducing the card traffic usage while ensuring business stability. At this stage, CPE 12 constructs a second ARP detection message carrying the mapping relationship between the MAC address and the IP address based on the MAC address and IP address of CE 11, and sends the second ARP detection message to the gateway device 13 through the restored wired VxLAN channel 14. After receiving the second ARP detection message 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, thereby effectively ensuring business stability while reducing card traffic usage and saving costs for users.
[0075] Among them, after switching back from the wireless VxLAN channel 15 to the wired VxLAN channel 14, the CPE 12 needs to continue to detect the connectivity of the wired VxLAN channel 14 and the activatability of the wireless VxLAN channel 15 to perform channel protection through channel fault detection.
[0076] In an optional embodiment of the present application, if Figure 4 As shown, the virtual interface of the gateway device 13 is bound to the user's public network gateway address, and the user's public network gateway address 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. The IP address of CE 11 and the user's public network gateway address both belong to the address segment corresponding to the business public network IP; the wired VxLAN channel 14 and wireless VxLAN channel 15 associated with the virtual interface access the Internet based on the user's public network gateway address.
[0077] A virtual interface is created on the gateway device 13, and the virtual interface is bound to the user's public network gateway address. The user's public network gateway address 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.
[0078] The IP address corresponding to CE 11 and the user's public network gateway address both belong to the address segment corresponding to the service public network IP. For example, the address segment corresponding to the service public network IP is 219.1.1.0 / 29=219.1.1.0--219.1.1.7, wherein 219.1.1.1 in the address segment is the user's public network gateway address, 219.1.1.2-219.1.1.6 in the address segment are the user's IP address (multiple IP addresses corresponding to CE), 219.1.1.0 is the network address of the address segment, and 219.1.1.7 is the broadcast address of the address segment, which are used to identify the host range and broadcast communication in the network, respectively.
[0079] 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 public network gateway address; for CE 11, it uses the user public network address (IP address) to access the Internet through the user public network gateway address of the gateway device 13.
[0080] By creating a virtual interface on the gateway device and associating it with the user's public network gateway address, when the primary channel and the backup channel switch, the business public network IP and the intranet configuration on the CE side do not need to be changed, thereby ensuring the continuity and stability of two-way access between CE and the Internet, effectively simplifying the background configuration, shortening the channel switching delay, and improving the user experience.
[0081] The following describes the process of establishing wired VxLAN channels 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 the CPE (customer terminal equipment) 12 to the gateway device 13, and the second direction is the direction from the gateway device 13 to the CPE 12.
[0082] In this embodiment, the wired VxLAN channel 14 is used for bidirectional data transmission in an activated state. When configuring the wired VxLAN channel 14, it is necessary to configure it in the first direction (the direction in which CPE 12 points to the gateway device 13) and the second direction (the direction in which the gateway device 13 points to the CPE 12); accordingly, the wireless VxLAN channel 15 is used for bidirectional data transmission in an activated state. When configuring the wireless VxLAN channel 15, it is necessary to configure it in the first direction and the second direction.
[0083] 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). At this time, the wired address is used as the source address, and the device address (loopback address) of the gateway device 13 is used as the target 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 dedicated line is located, the wired address corresponding to the CPE, and the VNI. At this time, the wired address is used as the destination address, and the device address of the gateway device 13 is used as the source address.
[0084] For the wireless VxLAN channel 15, in the first direction, the wireless VxLAN channel 15 is configured based on the wireless address corresponding to the CPE 12, the device address of the gateway device 13, and the VNI. At this time, the wireless address is used as the source address, and the device address of the 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 the gateway device 13 where the dedicated line is located, the wireless address corresponding to the CPE 12, and the VNI. At this time, the wireless address is used as the destination address, and the device address of the gateway device 13 is used as the source address.
[0085] Among them, before configuring wired VxLAN channel 14 and wireless VxLAN channel 15, technicians need to collect basic business information on the network side and assign business logic parameters. The basic business information includes the dedicated line number, business public network IP (including user public network gateway address and user IP address), the gateway device where the dedicated line is located, and related business ports. Business logic parameters include the wired address and wireless address corresponding to CPE12, the VNI used to establish the channel, and the device address of the gateway device. Among them, when creating a virtual interface on the gateway device 13, the user's public network gateway address is moved from the original physical interface (related business port) to the virtual interface, and the two channels are associated with the virtual interface at the same time, and finally the dual channels are associated with the user's public network gateway address.
[0086] It should be noted that the operator's front-end department needs to accept the activation of SA (Standalone) cards in the local CRM (Customer Relationship Management) system, change the mobile phone to join the super dual-channel dedicated line slice group, and perform the contract card operation to realize the NR slice card activation business and then enjoy the dedicated line service.
[0087] The following introduces the implementation process of the channel fusion dedicated line system through the system implementation principle diagram. Figure 6As shown, in the system initialization and deployment phase, steps S1 to S4 are executed. In step S1, basic business information on the network side is collected and business logic parameters are allocated; in step S2, information on the NR side is collected and the SA card is activated; in step S3, CPE is deployed between CE and the gateway device; in step S4, the wired VxLAN channel and the wireless VxLAN channel between the CPE and the gateway device are configured, and the wired VxLAN channel and the wireless VxLAN channel are associated with the virtual interface of the gateway device. Among them, for the configured wired VxLAN channel and the wireless VxLAN channel, it is necessary to detect the connectivity of the wired VxLAN channel and the activatability of the wireless VxLAN channel. After the system initialization and deployment phase, the system enters the stable operation phase, which corresponds to step S5. In step S5, the association between the wired VxLAN channel and the virtual interface is activated to enable the system to operate stably. After the system stable operation phase, the channel switching phase is entered, which corresponds to steps S6 to 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 to connectivity, 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.
[0088] In the above process, by adding CPE, the equipment cost and maintenance cost can be optimized and controlled. By using NR slicing technology to realize the logical independent division of the network and opening the SA card corresponding to the dedicated line service, dedicated line service can be provided. Data transmission is given priority on the main channel. When the main channel fails, it automatically and quickly switches to the backup channel, thereby ensuring the normal operation of the business and reducing the fault delay, further improving the stability of the dedicated line.
[0089] The embodiment of the present application also provides a dedicated line communication method applied to CPE, where CPE is connected to CE, and a wired VxLAN channel and a wireless VxLAN channel supporting dedicated line services are formed between CPE and the gateway device. The wireless VxLAN channel is a channel connected through a sliced private network supporting dedicated 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 main channel and the wireless VxLAN channel is the backup channel. For an introduction to the interaction between channels, sliced private networks, gateway devices and CPEs, please refer to the description of the system embodiment. Figure 7 As shown, the method includes:
[0090] Step 701: When the association between the wired VxLAN channel and the virtual interface is activated, the service messages corresponding to the dedicated line service are bidirectionally transmitted through the wired VxLAN channel and the gateway device.
[0091] The wired VxLAN channel is the main channel, and the wireless VxLAN channel is the backup channel. The main channel, as a fixed dedicated line, has the advantages of security and stability, and the backup channel, as a wireless network dedicated line, has the advantage of flexibility. For reliability reasons, user data is transmitted on the main channel first. That is, when the association between the wired VxLAN channel and the virtual interface is activated, the CPE and the gateway device transmit the service messages corresponding to the dedicated line service in both directions through the wired VxLAN channel. At this time, the CPE can transmit the service messages corresponding to the dedicated line service to the gateway device through the wired VxLAN channel, and can also receive the service messages transmitted by the gateway device through the wired VxLAN channel.
[0092] Step 702: In response to the interruption of the wired VxLAN channel, a first ARP probe message is sent to the gateway device through the wireless VxLAN channel.
[0093] When a network device or link in the main channel fails, the CPE sends the first ARP probe message to the gateway device through the wireless VxLAN channel. For the CPE, it needs to obtain the MAC address and IP address of the CE, construct the first ARP probe message carrying the mapping relationship between the MAC address and the IP address, and then send the first ARP probe message to the gateway device through the wireless VxLAN channel. The first ARP probe message sent by the CPE is used to enable the gateway device to update the next hop of the CE's MAC address in the wireless VxLAN channel to activate the association between the wireless VxLAN channel and the virtual interface.
[0094] Step 703: When the gateway device activates the association between the wireless VxLAN channel and the virtual interface based on the first ARP detection message, the service messages corresponding to the dedicated line service are bidirectionally transmitted between the wireless VxLAN channel and the gateway device.
[0095] After receiving the first ARP detection message, the gateway device activates the association between the wireless VxLAN channel and the virtual interface based on the first ARP detection message, and realizes the two-way data transmission of the activated standby channel. At this time, the CPE can transmit the service message corresponding to the dedicated line service to the gateway device through the wireless VxLAN channel, and can also receive the service message transmitted by the gateway device through the wireless VxLAN channel, so as to realize the two-way transmission of the service message corresponding to the dedicated line service between the CPE and the gateway device through the wireless VxLAN channel.
[0096] The above implementation process, through the design of primary and backup channels, integrates the security and stability of fixed dedicated lines and the flexibility of wireless network dedicated lines. During data transmission, data is transmitted through the primary channel first. When the primary channel fails, it automatically and quickly switches to the backup channel to ensure the continuity of user connections and improve communication reliability. It also uses sliced private networks to support dedicated line services without public network exposure. It combines VxLAN technology to provide a secure Layer 2 tunnel, ensuring the reliability and security of data transmission.
[0097] 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, and 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, and the second detection message is an ICMP response request message sent at a second time interval;
[0098] Among them, when the connectivity test of the wired VxLAN channel passes, the association between the wired VxLAN channel and the virtual interface is allowed to be activated; when the activatability test of the wireless VxLAN channel passes, the association between the wireless VxLAN channel and the virtual interface is allowed to be activated.
[0099] When CPE performs connectivity detection on the wired VxLAN channel, it establishes a BFD process between the CPE and the gateway device. For example, it sends BFD detection packets every 10ms for detection. If no packets are received for more than 3 times, it is considered that the wired VxLAN channel is interrupted. If the connectivity detection of the wired VxLAN channel passes, the bidirectional transmission function of the wired VxLAN channel can be activated.
[0100] When CPE performs activatability detection on the wireless VxLAN channel, it sends an ICMP response request message to the device address (loopback address) of the gateway device at the second time interval (such as 5s) with the wireless address corresponding to the wireless VxLAN channel of CPE as the source address for detection. If the ICMP response message returned by the gateway device is received, it is considered that the wireless VxLAN channel can be activated. And if the activatability detection of the wireless VxLAN channel passes, the association between the wireless VxLAN channel and the virtual interface is allowed to be activated.
[0101] In an optional embodiment, the method also includes: the CPE receives a service message corresponding to the dedicated line service sent by the CE, the service message carries the MAC address and IP address of the CE; the service message is transmitted to the gateway device through the wired VxLAN channel, and the gateway device learns the next hop of the MAC address of the CE in the wired VxLAN channel based on the service message to activate the association between the wired VxLAN channel and the virtual interface.
[0102] CE sends the service message corresponding to the dedicated line service to CPE, and CPE sends the service message to the gateway device via the wired VxLAN channel. Since the service message is provided by CE and carries the MAC address and IP address of CE, the gateway device learns the next hop of CE's MAC address based on the service message in the wired VxLAN channel. At this time, the bidirectional data transmission function of the wired VxLAN channel can be activated (activate the association between the wired VxLAN channel and the virtual interface) to perform bidirectional data transmission between CPE and the gateway device through the wired VxLAN channel, so as to give priority to the use of the main channel for data transmission.
[0103] As another embodiment, the method further includes: in response to the restoration of connectivity of the wired VxLAN channel, obtaining the MAC address and IP address of the CE, constructing a second ARP probe message carrying the mapping relationship between the MAC address and the IP address; sending the second ARP probe message to the gateway device through the wired VxLAN channel, and the second ARP probe message enables the gateway device to update the next hop of the MAC address of the CE to the wired VxLAN channel to reactivate the association between the wired VxLAN channel and the virtual interface.
[0104] When the wired VxLAN channel is restored to connectivity, the CPE constructs a second ARP detection message carrying the mapping relationship between the MAC address and the IP address based on the MAC address and IP address of the CE, and sends the second ARP detection message to the gateway device through the restored wired VxLAN channel. After receiving the second ARP detection message sent through the wired VxLAN channel, the gateway device updates the next hop of the MAC address of the CE to the wired VxLAN channel to reactivate the association between the wired VxLAN channel and the virtual interface, effectively ensuring the stability of the business while reducing the use of card traffic and saving costs for users.
[0105] The above is an introduction to the dedicated line communication method applied to CPE in the embodiment of the present application. For the contents not elaborated in detail, please refer to the relevant description of the system embodiment. The embodiment of the present application also provides a dedicated line communication method applied to a gateway device. A wired VxLAN channel and a wireless VxLAN channel supporting dedicated line services are formed between the gateway device and the customer terminal device CPE. The CPE is connected to the CE, and the wireless VxLAN channel is a channel connected through a sliced private network supporting dedicated line services. The wired VxLAN channel and the wireless VxLAN channel are both associated with the virtual interface of the gateway device, and the wired VxLAN channel is the main channel and the wireless VxLAN channel is the backup channel. For detailed introduction of the channels and equipment, please refer to the description of the system embodiment. Figure 8 As shown, the method includes:
[0106] Step 801: When the association between the wired VxLAN channel and the virtual interface is activated, the service messages corresponding to the dedicated line service are bidirectionally transmitted between the wired VxLAN channel and the CPE.
[0107] When the association between the wired VxLAN channel and the virtual interface is activated, the service messages corresponding to the dedicated line service are bidirectionally transmitted between the gateway device and the CPE through the wired VxLAN channel. At this time, the gateway device can receive the service messages transmitted by the CPE through the wired VxLAN channel, and can also transmit service messages to the CPE through the wired VxLAN channel.
[0108] Step 802: Receive the first ARP detection message sent by the CPE through the wireless VxLAN channel in response to the interruption of the wired VxLAN channel.
[0109] When the wired VxLAN channel fails, the CPE sends the first ARP detection message through the wireless VxLAN channel, and the gateway device receives the first ARP detection message provided by the CPE. The first ARP detection 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 the IP address.
[0110] Step 803: Activate the association between the wireless VxLAN channel and the virtual interface based on the first ARP detection message, and bidirectionally transmit the service messages corresponding to the dedicated line service through the wireless VxLAN channel and the CPE.
[0111] After receiving the first ARP detection message, the gateway device activates the association between the wireless VxLAN channel and the virtual interface based on the first ARP detection message. The gateway device updates the next hop of the MAC address of the CE in the wireless VxLAN channel based on the first ARP detection message sent by the wireless VxLAN channel to activate the association between the wireless VxLAN channel and the virtual interface.
[0112] After activating the association between the wireless VxLAN channel and the virtual interface, the gateway device can receive business messages transmitted by the CPE through the wireless VxLAN channel, and can also transmit business messages to the CPE through the wireless VxLAN channel, thereby realizing two-way transmission of business messages corresponding to the dedicated line service between the CPE and the gateway device through the wireless VxLAN channel.
[0113] In the above implementation process, the gateway device performs bidirectional data transmission with the CPE through the wired VxLAN channel. When the wired VxLAN channel fails, it receives the first ARP detection message sent by the CPE through the wireless VxLAN channel, activates the association between the wireless VxLAN channel and the virtual interface based on the first ARP detection message, and performs bidirectional data transmission with the CPE through the wireless VxLAN channel. It can ensure the continuity of user connection and improve communication reliability based on channel switching, and use sliced private networks to support dedicated line services without public network exposure. Combined with VxLAN technology, it provides a secure Layer 2 tunnel, ensuring the reliability and security of data transmission.
[0114] In an optional embodiment, the method also includes: the gateway device receives a service message corresponding to a dedicated line service provided by the CE and transmitted via the CPE through a wired VxLAN channel, the service message carrying the MAC address and IP address of the CE; based on the service message learning that the next hop of the MAC address of the CE is in the wired VxLAN channel, the association between the wired VxLAN channel and the virtual interface is activated.
[0115] After CE sends the service message corresponding to the dedicated line service to CPE, CPE sends the service message to the gateway device via the wired VxLAN channel. Since the service message carries the MAC address and IP address of CE, the gateway device learns that the next hop of CE's MAC address is in the wired VxLAN channel based on the service message sent by the wired VxLAN channel. At this time, the bidirectional data transmission function of the wired VxLAN channel can be activated (activate the association between the wired VxLAN channel and the virtual interface) to perform bidirectional data transmission with CPE through the wired VxLAN channel, and realize the priority activation of the wired VxLAN channel and data transmission based on the wired VxLAN channel to ensure the reliability of data transmission.
[0116] In an optional embodiment, the method also 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, the second ARP probe message being constructed by the CPE based on the MAC address and IP address of the CE and carrying a mapping relationship between the MAC address and the IP address; updating the next hop of the MAC address of the CE 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 messages corresponding to the dedicated line service with the CPE through the wired VxLAN channel.
[0117] When the wired VxLAN channel is restored to connectivity, the CPE constructs a second ARP detection message carrying the mapping relationship between the MAC address and the IP address based on the MAC address and IP address of the CE, and sends the second ARP detection message to the gateway device through the wired VxLAN channel. After receiving the second ARP detection message sent through the wired VxLAN channel, the gateway device updates the next hop of the MAC address of the CE in the wired VxLAN channel based on the second ARP detection message to reactivate the association between the wired VxLAN channel and the virtual interface, effectively ensuring business stability while reducing card traffic usage and saving costs for users.
[0118] The above is an introduction to the dedicated line communication method applied to the gateway device in the embodiment of the present application. For the contents not elaborated in detail, please refer to the relevant description of the system embodiment.
[0119] The following is an introduction to the steps of the communication method based on NR and VxLAN dual-channel fusion dedicated line through a specific example. Fig. 9 As shown:
[0120] Step 901: Basic service information collection and service logic parameter allocation. Basic service information includes the dedicated line number, service public network IP (including user public network gateway address and user IP address), gateway device where the dedicated line is located, and related service ports. Service logic parameters include the wired address and wireless address corresponding to the CPE, the VNI used to establish the channel, and the device address of the gateway device.
[0121] Step 902: NR slice dedicated line card activation. The local CRM system accepts the activation of SA card, the mobile phone is changed to join the super dual-channel dedicated line slice group, and the card signing operation is performed.
[0122] Step 903, deploy CPE and configure the direction from CPE to gateway device. Deploy CPE between CE and gateway device, configure wired VxLAN channel, wireless VxLAN channel, channel detection, switching logic, SMS notification, etc. from CPE to gateway device. The information required for configuration comes from the content provided in step 901.
[0123] Step 904: Configure the wired VxLAN channel and the wireless VxLAN channel from the gateway device to the CPE. The information required for configuration comes from the content provided in step 901.
[0124] Step 905: Move the user's public network gateway address from the original physical interface to the virtual interface of the gateway device.
[0125] Step 906: Associate the two channels to the virtual interface so that the dual channels are associated to the user's public network gateway address.
[0126] Step 907: When the service is running normally based on the wired VxLAN channel, the line protection detection is continuously run. At this stage, the association between the wired VxLAN channel and the virtual interface is activated.
[0127] 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.
[0128] 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.
[0129] In the above process, wired VxLAN channels and wireless VxLAN channels are designed, and 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, which can effectively ensure business stability, reduce card traffic usage, and save costs for users.
[0130] The following continues to introduce the process of switching channels through an interactive process. Fig.10 As shown:
[0131] Step 1001, CPE (customer terminal equipment) is initialized and the wired VxLAN channel is selected as the communication link.
[0132] Step 1002: CE (user network edge equipment) sends a service message corresponding to the dedicated line service, and the service message carries a MAC address and an IP address.
[0133] Step 1003: The CPE obtains the mapping relationship between the MAC address and IP address of the CE.
[0134] Step 1004: The CPE transmits the service message to the gateway device through the wired VxLAN channel.
[0135] 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.
[0136] Step 1006: The CPE performs bidirectional data transmission with the gateway device based on the wired VxLAN channel.
[0137] Step 1007: CPE detects that the wired VxLAN channel is interrupted.
[0138] Step 1008: The Internet accesses the IP address of the CE.
[0139] Step 1009: The gateway device cannot send service messages to the CPE through the wired VxLAN channel.
[0140] Step 1010: The CPE generates a first ARP detection message 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.
[0141] 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.
[0142] Step 1012: The gateway device sends service messages to the CPE through the wireless VxLAN channel.
[0143] Step 1013: CPE forwards the service message to CE and performs bidirectional data transmission based on the wireless VxLAN channel.
[0144] In the above implementation process, data transmission is preferentially performed based on the wired VxLAN channel. When the wired VxLAN channel fails, data transmission is performed based on the wireless VxLAN channel to ensure the continuity of user connection.
[0145] An embodiment of the present application provides a dedicated line communication device applied to CPE, where CPE is connected to CE, and a wired VxLAN channel and a wireless VxLAN channel supporting dedicated line services are formed between CPE and a gateway device. The wireless VxLAN channel is a channel connected through a sliced private network supporting dedicated line services. Both the wired VxLAN channel and the wireless VxLAN channel are associated with a virtual interface of a gateway device, and the wired VxLAN channel is a primary channel and the wireless VxLAN channel is a backup channel. Fig.11 As shown, the device comprises:
[0146] The first transmission module 1101 is used to bidirectionally transmit service messages corresponding to the dedicated line service with the gateway device through the wired VxLAN channel when the association between the wired VxLAN channel and the virtual interface is activated;
[0147] A first sending module 1102 is used to send a first address resolution protocol ARP detection message to the gateway device through the wireless VxLAN channel in response to the interruption of the wired VxLAN channel;
[0148] The second transmission module 1103 is used to bidirectionally transmit service messages corresponding to the dedicated line service 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 detection message.
[0149] Optionally, the device further comprises:
[0150] A 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, wherein the first detection message is a bidirectional forwarding detection BFD detection data packet sent at a first time interval;
[0151] A 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, wherein the second detection message is an Internet Control Message Protocol ICMP response request message sent at a second time interval;
[0152] Among them, when the connectivity test of the wired VxLAN channel passes, the association between the wired VxLAN channel and the virtual interface is allowed to be activated; when the activatability test of the wireless VxLAN channel passes, the association between the wireless VxLAN channel and the virtual interface is allowed to be activated.
[0153] Optionally, the device further comprises:
[0154] A first receiving module, configured to receive a service message corresponding to a dedicated line service sent by the CE, wherein the service message carries a media access control MAC address and an Internet Protocol IP address of the CE;
[0155] The third transmission module is used to transmit the business message to the gateway device through the wired VxLAN channel, and the gateway device learns the next hop of the MAC address of the CE in the wired VxLAN channel based on the business message to activate the association between the wired VxLAN channel and the virtual interface.
[0156] Optionally, the first sending module includes:
[0157] A first processing submodule, configured to obtain a media access control MAC address and an Internet Protocol IP address of the CE, and construct a first ARP detection message carrying a mapping relationship between the MAC address and the IP address;
[0158] The first sending submodule is used to send the first ARP detection message to the gateway device through the wireless VxLAN channel, and the first ARP detection message enables the gateway device to update the next hop of the MAC address of the CE to the wireless VxLAN channel to activate the association between the wireless VxLAN channel and the virtual interface.
[0159] Optionally, the device further comprises:
[0160] A first processing module is used for obtaining the media access control MAC address and the Internet Protocol IP address of the CE in response to the restoration of connectivity of the wired VxLAN channel, and constructing a second ARP detection message carrying a mapping relationship between the MAC address and the IP address;
[0161] The fourth sending module is used to send the second ARP detection message to the gateway device through the wired VxLAN channel, and the second ARP detection message enables the gateway device to update the next hop of the MAC address of the CE to the wired VxLAN channel to reactivate the association between the wired VxLAN channel and the virtual interface.
[0162] An embodiment of the present application provides a dedicated line communication device applied to a gateway device, wherein a wired VxLAN channel and a wireless VxLAN channel supporting dedicated line services are formed between the gateway device and the CPE, the CPE is connected to the CE, and the wireless VxLAN channel is a channel connected through a sliced private network supporting dedicated line services. Both the wired VxLAN channel and the wireless VxLAN channel are associated with a virtual interface of the gateway device, and the wired VxLAN channel is a primary channel and the wireless VxLAN channel is a backup channel; Fig.12 As shown, the device comprises:
[0163] The fourth transmission module 1201 is used to bidirectionally transmit the service message corresponding to the dedicated line service with the CPE through the wired VxLAN channel when the association between the wired VxLAN channel and the virtual interface is activated;
[0164] The second receiving module 1202 is used to receive a first address resolution protocol ARP detection message sent by the CPE through the wireless VxLAN channel in response to the interruption of the wired VxLAN channel;
[0165] 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 detection message, and to bidirectionally transmit the service message corresponding to the dedicated line service between the wireless VxLAN channel and the CPE.
[0166] Optionally, the first ARP detection message is constructed by the CPE based on the MAC address and IP address of the CE, and carries a mapping relationship between the MAC address and the IP address;
[0167] The second processing module is further used for:
[0168] Based on the first ARP detection message, the next hop of the MAC address of the CE is updated in the wireless VxLAN channel to activate the association between the wireless VxLAN channel and the virtual interface.
[0169] Optionally, the device further comprises:
[0170] A third receiving module is used to receive a service message corresponding to the dedicated line service provided by the CE and transmitted through the wired VxLAN channel by the CPE, wherein the service message carries the media access control MAC address and Internet Protocol IP address of the CE;
[0171] A determination module is used to activate the association between the wired VxLAN channel and the virtual interface based on the next hop of the MAC address of the CE learned from the service message being in the wired VxLAN channel.
[0172] Optionally, the device further comprises:
[0173] A fourth receiving module, configured to receive a second ARP detection 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 detection message is constructed by the CPE based on the media access control MAC address and the Internet Protocol IP address of the CE, and carries a mapping relationship between the MAC address and the IP address;
[0174] An update activation module, configured to update the next hop of the MAC address of the CE in the wired VxLAN channel based on the second ARP detection message, so as to reactivate the association between the wired VxLAN channel and the virtual interface;
[0175] The fifth transmission module is used to bidirectionally transmit the service messages corresponding to the dedicated line service with the CPE through the wired VxLAN channel.
[0176] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0177] On the other hand, an embodiment of the present application also provides 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 implements the steps in the above-mentioned dedicated line communication method when executing the program.
[0178] For example, Fig.13 A schematic diagram of the physical structure of an electronic device is shown.
[0179] like Fig.13 As shown, the electronic device may include: a processor 1310, a communication interface 1320, a memory 1330 and a communication bus 1340, wherein the processor 1310, the communication interface 1320, and the memory 1330 communicate with each other through the communication bus 1340. The processor 1310 may call the logic instructions in the memory 1330, and the processor 1310 is used to execute each process of the dedicated line communication method of the embodiment of the present application, which will not be described one by one here.
[0180] In addition, the logic instructions in the above-mentioned memory 1330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.
[0181] On the other hand, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the dedicated line communication method provided in the above embodiments.
[0182] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0183] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0184] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A channel fusion dedicated line system, characterized in that: include: User network edge device CE, customer terminal device CPE and gateway device, the CE is connected to the CPE, a wired virtual extensible LAN VxLAN channel and a wireless VxLAN channel supporting dedicated 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 dedicated line services, the wired VxLAN channel and the wireless VxLAN channel are both associated with the virtual interface of the gateway device, and the wired VxLAN channel is the main 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 bidirectionally transmit service messages corresponding to the dedicated line service through the wired VxLAN channel; In response to the interruption of the wired VxLAN channel, the CPE sends a first Address Resolution Protocol ARP detection message to the gateway device through the wireless VxLAN channel, and the gateway device activates the association between the wireless VxLAN channel and the virtual interface based on the first ARP detection message. The CPE and the gateway device bidirectionally transmit service messages corresponding to the dedicated line service through the wireless VxLAN channel.
2. The channel fusion dedicated 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; Among them, when the connectivity test of the wired VxLAN channel passes, the association between the wired VxLAN channel and the virtual interface is allowed to be activated; when the activatability test of the wireless VxLAN channel passes, the association between the wireless VxLAN channel and the virtual interface is allowed to be activated.
3. The channel fusion dedicated 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, where the first detection message is a bidirectional forwarding detection 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, and the second detection message is an Internet Control Message Protocol ICMP response request message sent at a second time interval.
4. The channel fusion dedicated line system according to claim 1, characterized in that: The CE transmits a service message corresponding to the dedicated line service to the gateway device via the CPE and the wired VxLAN channel, wherein the service message carries the media access control MAC address and Internet Protocol IP address of the CE; The gateway device learns from the service message that the next hop of the MAC address of the CE is in the wired VxLAN channel, and activates the association between the wired VxLAN channel and the virtual interface.
5. The channel fusion dedicated line system according to claim 1, characterized in that: The CPE obtains the media access control MAC address and the Internet Protocol IP address of the CE, constructs a first ARP detection message carrying a 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 MAC address of the CE in the wireless VxLAN channel based on the first ARP detection message to activate the association between the wireless VxLAN channel and the virtual interface.
6. The channel fusion dedicated line system according to claim 1, characterized in that: In response to the restoration of connectivity of the wired VxLAN channel, the CPE obtains the media access control MAC address and the Internet Protocol IP address of the CE, constructs a second ARP detection message carrying a 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 MAC address of the CE 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.
7. The channel fusion dedicated 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 is connected to the slice private network through a wireless base station, and the slice private network is connected to the gateway device.
8. The channel fusion dedicated line system according to any one of claims 4 to 6, characterized in that: The virtual interface of the gateway device is bound to the user's public network gateway address, and the user's public network gateway address 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. The IP address of the CE and the user's public network gateway address both belong to the address segment corresponding to the service public network IP; The wired VxLAN channel and the wireless VxLAN channel associated with the virtual interface access the Internet based on the user public network gateway address.
9. The channel fusion dedicated line system according to any one of claims 1 to 7, characterized in that: The wired VxLAN channel and the wireless VxLAN channel are established based on the configuration of a first direction and a second direction, wherein 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.
10. The channel fusion dedicated line system according to claim 9, 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; Among them, the wired address and the wireless address are source addresses, and the device address is the destination address.
11. The channel fusion dedicated line system according to claim 10, characterized in that: In the second direction, the wired VxLAN channel is configured based on the device address corresponding to the gateway device where the dedicated line is located, the wired address corresponding to the CPE, and the VNI; in the second direction, the wireless VxLAN channel is configured based on the device address corresponding to the gateway device where the dedicated line is located, the wireless address corresponding to the CPE, and the VNI; Among them, the wired address and the wireless address are destination addresses, and the device address is the source address.
12. A dedicated line communication method, characterized in that: Applied to a customer terminal device CPE, the CPE is connected to a user network edge device CE, a wired virtual extensible local area network VxLAN channel and a wireless VxLAN channel supporting dedicated 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 dedicated line services, the wired VxLAN channel and the wireless VxLAN channel are both associated with the virtual interface of the gateway device, and the wired VxLAN channel is a primary channel and the wireless VxLAN channel is a backup channel; the method comprises: When the association between the wired VxLAN channel and the virtual interface is activated, the service message corresponding to the dedicated line service is bidirectionally transmitted through the wired VxLAN channel and the gateway device; In response to the wired VxLAN channel being interrupted, sending a first address resolution protocol ARP detection message 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 detection message, the service messages corresponding to the dedicated line service are bidirectionally transmitted between the wireless VxLAN channel and the gateway device.
13. The dedicated line communication method according to claim 12, characterized in that: Before the association between the wired VxLAN channel and the virtual interface is activated, the method further includes: Sending a first detection message to the gateway device through the wired VxLAN channel to perform connectivity detection on the wired VxLAN channel, wherein the first detection message is a bidirectional forwarding detection BFD detection data packet sent at a first time interval; Sending 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 being an Internet Control Message Protocol ICMP response request message sent at a second time interval; Among them, when the connectivity test of the wired VxLAN channel passes, the association between the wired VxLAN channel and the virtual interface is allowed to be activated; when the activatability test of the wireless VxLAN channel passes, the association between the wireless VxLAN channel and the virtual interface is allowed to be activated.
14. The dedicated line communication method according to claim 12, characterized in that: The method further comprises: Receiving a service message corresponding to a dedicated line service sent by the CE, wherein the service message carries a media access control MAC address and an Internet Protocol IP address of the CE; The service message is transmitted to the gateway device through the wired VxLAN channel, and the gateway device learns the next hop of the MAC address of the CE in the wired VxLAN channel based on the service message to activate the association between the wired VxLAN channel and the virtual interface.
15. The dedicated line communication method according to claim 12, characterized in that: The sending a first address resolution protocol ARP detection message to the gateway device through the wireless VxLAN channel includes: Acquire the media access control MAC address and the Internet Protocol IP address of the CE, and construct a first ARP detection message carrying a mapping relationship between the MAC address and the IP address; The first ARP detection message is sent to the gateway device through the wireless VxLAN channel, and the first ARP detection message enables the gateway device to update the next hop of the MAC address of the CE to the wireless VxLAN channel to activate the association between the wireless VxLAN channel and the virtual interface.
16. The dedicated line communication method according to claim 12, characterized in that: Also includes: In response to the restoration of connectivity of the wired VxLAN channel, obtaining the media access control MAC address and the Internet Protocol IP address of the CE, and constructing a second ARP detection message carrying a mapping relationship between the MAC address and the IP address; The second ARP detection message is sent to the gateway device through the wired VxLAN channel, and the second ARP detection message enables the gateway device to update the next hop of the MAC address of the CE to the wired VxLAN channel to reactivate the association between the wired VxLAN channel and the virtual interface.
17. A dedicated line communication method, characterized in that: Applied to a gateway device, a wired virtual extensible local area network VxLAN channel and a wireless VxLAN channel supporting dedicated line services are formed between the gateway device and the customer terminal device CPE, the CPE is connected to the user network edge device CE, the wireless VxLAN channel is a channel connected through a sliced private network supporting dedicated line services, the wired VxLAN channel and the wireless VxLAN channel are both associated with the virtual interface of the gateway device, and the wired VxLAN channel is the main channel and the wireless VxLAN channel is the backup channel; the method comprises: When the association between the wired VxLAN channel and the virtual interface is activated, a service message corresponding to the dedicated line service is bidirectionally transmitted between the wired VxLAN channel and the CPE; Receiving a first Address Resolution Protocol ARP detection message sent by the CPE through the wireless VxLAN channel in response to the interruption of the wired VxLAN channel; Based on the first ARP detection message, the association between the wireless VxLAN channel and the virtual interface is activated, and the service message corresponding to the dedicated line service is bidirectionally transmitted between the wireless VxLAN channel and the CPE.
18. The dedicated line communication method according to claim 17, characterized in that: The first ARP detection message is constructed by the CPE based on the media access control MAC address and the Internet Protocol IP address of the CE, and carries a mapping relationship between the MAC address and the IP address; The activating the association between the wireless VxLAN channel and the virtual interface based on the first ARP detection message includes: Based on the first ARP detection message, the next hop of the MAC address of the CE is updated in the wireless VxLAN channel to activate the association between the wireless VxLAN channel and the virtual interface.
19. The dedicated line communication method according to claim 17, characterized in that: Also includes: Receive a service message corresponding to a dedicated line service provided by the CE and transmitted through the wired VxLAN channel by the CPE, wherein the service message carries a media access control MAC address and an Internet Protocol IP address of the CE; Based on the service message, the next hop of the MAC address of the CE is learned in the wired VxLAN channel, and the association between the wired VxLAN channel and the virtual interface is activated.
20. The dedicated line communication method according to claim 17, characterized in that: Also includes: Receive a second ARP detection message sent by the CPE through the wired VxLAN channel in response to the restoration of connectivity of the wired VxLAN channel, where the second ARP detection message is constructed by the CPE based on the media access control MAC address and the Internet Protocol IP address of the CE and carries a mapping relationship between the MAC address and the IP address; Based on the second ARP detection message, the next hop of the MAC address of the CE is updated in the wired VxLAN channel to reactivate the association between the wired VxLAN channel and the virtual interface; The service messages corresponding to the dedicated line service are bidirectionally transmitted between the wired VxLAN channel and the CPE.
21. An electronic device, characterized in that: It comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the dedicated line communication method as claimed in any one of claims 12 to 16 or 17 to 20 is implemented.
Citation Information
Patent Citations
Method and system of transmitting packet
CN101141380A
Method, device and system of accessing VXLAN network from VLAN network
CN107579900A
Base station configuration method and device, equipment and medium
CN112584393A
Communication method and communication system
CN114765567A
Communication link protection method, system, equipment and medium
CN114938516A
