CN115208714A - Network link determining method, device, system, electronic equipment and storage medium - Google Patents
Network link determining method, device, system, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115208714A CN115208714A CN202210565151.6A CN202210565151A CN115208714A CN 115208714 A CN115208714 A CN 115208714A CN 202210565151 A CN202210565151 A CN 202210565151A CN 115208714 A CN115208714 A CN 115208714A
- Authority
- CN
- China
- Prior art keywords
- network link
- vpn
- network
- links
- link
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000003860 storage Methods 0.000 title claims abstract description 14
- 238000004891 communication Methods 0.000 claims abstract description 188
- 238000001514 detection method Methods 0.000 claims abstract description 44
- 230000002159 abnormal effect Effects 0.000 claims description 33
- 238000004590 computer program Methods 0.000 claims description 18
- 238000004220 aggregation Methods 0.000 description 10
- 230000002776 aggregation Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 10
- 230000005856 abnormality Effects 0.000 description 9
- 239000000523 sample Substances 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a network link determining method, a device, a system, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring first network detection information; determining that the main VPN network link has abnormity based on the first network detection information; determining a standby VPN network link as a target network link in two or more VPN links, wherein the target network link is used for network communication between convergence side communication equipment and access side communication equipment; two or more than two VPN links respectively correspond to different wireless physical network links, the two or more than two VPN links comprise a primary VPN network link and one or more standby VPN network links, and the wireless physical network link corresponding to the primary VPN network link is a 5G physical network link. The embodiment of the invention ensures that the communication between the communication devices is not interrupted by switching the main VPN network link and the standby VPN network link, and can realize the high availability of wireless communication.
Description
Technical Field
The present invention relates to the field of wireless communications technologies, and in particular, to a method, an apparatus, a system, an electronic device, and a storage medium for determining a network link.
Background
In a mobile communication system, due to the severe production environment, strong vibration, large dust, electromagnetic interference and other reasons, the probability of wireless communication and equipment failure is increased, and then due to the contingency of wireless communication, accidental communication interruption may exist, and in some network production scenes strongly depending on factories, even if the network is interrupted for 5 seconds, the production is seriously influenced. How to achieve high availability of wireless communication is an important issue to be solved urgently in the industry at present.
Disclosure of Invention
The invention provides a network link determining method, a network link determining device, a network link determining system, electronic equipment and a storage medium, which are used for overcoming the defect that the high availability of wireless communication cannot be guaranteed in the prior art and realizing the high availability of the wireless communication.
In a first aspect, the present invention provides a network link determination, including:
acquiring first network detection information;
determining that the primary VPN network link has abnormity based on the first network detection information;
determining a standby VPN network link as a target network link in two or more VPN links, wherein the target network link is used for network communication between convergence side communication equipment and access side communication equipment;
the two or more VPN links respectively correspond to different wireless physical network links, the two or more VPN links include the main VPN network link and one or more standby VPN network links, and the wireless physical network link corresponding to the main VPN network link is a 5G physical network link.
Optionally, according to a network link determining method provided by the present invention, the wireless physical network links corresponding to the one or more backup VPN network links include one or more of the following links:
a 5G physical network link;
and (4) WIFI physical network link.
Optionally, according to a method for determining a network link provided by the present invention, the determining a backup VPN network link as a target network link in two or more VPN links includes:
determining the first standby VPN network link as the target network link when the one or more standby VPN network links only include a first standby VPN network link and a wireless physical network link corresponding to the first standby VPN network link is a 5G physical network link;
or, when the one or more backup VPN network links only include a second backup VPN network link and a wireless physical network link corresponding to the second backup VPN network link is a WIFI physical network link, determining the second backup VPN network link as the target network link.
Optionally, according to a method for determining a network link provided by the present invention, the determining a backup VPN network link as a target network link in two or more VPN links includes:
determining a third backup VPN network link as the target network link when the one or more backup VPN network links include two backup VPN network links;
the third backup VPN network link is a link with higher communication quality in the two backup VPN network links.
Optionally, according to a network link determining method provided by the present invention, after determining a backup VPN network link as a target network link, the method further includes:
acquiring second network detection information of the main VPN network link;
determining that the link of the primary VPN network is recovered to be normal based on the second network detection information;
and determining the main VPN network link as the target network link.
In a second aspect, the present invention further provides a network link determining apparatus, including:
the acquisition module is used for acquiring first network detection information;
a first determining module, configured to determine that an active VPN network link is abnormal based on the first network detection information;
a second determining module, configured to determine, in two or more VPN links, a backup VPN network link as a target network link, where the target network link is used for network communication between the convergence side communication device and the access side communication device;
the two or more VPN links respectively correspond to different wireless physical network links, the two or more VPN links include the main VPN network link and one or more standby VPN network links, and the wireless physical network link corresponding to the main VPN network link is a 5G physical network link.
In a third aspect, the present invention further provides a wireless communication system, including: the system comprises a convergence side communication device and an access side communication device, wherein two or more VPN links are arranged between the convergence side communication device and the access side communication device, the two or more VPN links correspond to different wireless physical network links respectively, the two or more VPN links comprise a main VPN network link and one or more standby VPN network links, the wireless physical network link corresponding to the main VPN network link is a 5G physical network link, and the system comprises:
the access side communication device is configured to:
acquiring first network detection information;
determining that the primary VPN network link is abnormal based on the first network detection information;
and determining a standby VPN network link as a target network link in the two or more VPN links, wherein the target network link is used for network communication between the convergence side communication device and the access side communication device.
In a fourth aspect, the present invention further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the network link determining method according to any one of the above methods.
In a fifth aspect, the present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a network link determination method as described in any one of the above.
In a sixth aspect, the present invention also provides a computer program product comprising a computer program which, when executed by a processor, implements the network link determination method as described in any one of the above.
The network link determining method, the device, the system, the electronic equipment and the storage medium provided by the invention can judge whether the primary VPN network link is abnormal or not by acquiring the first network detection information, can determine one standby VPN network link as a target network link in two or more than two VPN links under the condition of determining that the primary VPN network link is abnormal, can ensure that the communication between the convergence side communication equipment and the access side communication equipment is not interrupted by switching between the primary VPN network link and the secondary VPN network link, and can realize the high availability of wireless communication.
Drawings
In order to more clearly illustrate the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flow chart of a network link determining method provided by the present invention;
fig. 2 is a schematic structural diagram of a network link determining apparatus provided in the present invention;
fig. 3 is a schematic structural diagram of a wireless communication system provided by the present invention;
fig. 4 is a second schematic structural diagram of a wireless communication system provided by the present invention;
fig. 5 is a third schematic structural diagram of a wireless communication system provided by the present invention;
fig. 6 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flowchart of a network link determining method provided by the present invention, and as shown in fig. 1, an execution main body of the network link determining method may be an electronic device, for example, a Customer Premises Equipment (CPE) or the like. The method comprises the following steps:
specifically, in order to achieve high availability of wireless communication, a Virtual Private Network (VPN) link in a wireless communication Network may be detected to obtain first Network detection information, where the first Network detection information may include communication status information of a primary VPN Network link, and further, whether the primary VPN Network link is abnormal may be determined based on the first Network detection information.
Alternatively, the active VPN network link may be probed by executing a network diagnostic tool (Packet Internet Groper, ping) command, and the probing period may be determined according to an actual network service requirement.
For example, the active VPN network link may be subjected to real-time ping packet monitoring by executing an fping command, where the fping command may include: the destination IP address of the ping packet, the number of times each destination is ping (e.g., 3), the ping packet interval for the same destination (e.g., 1000 milliseconds), or the timeout time for a single destination (e.g., 500 milliseconds), etc.
102, determining that the primary VPN network link has abnormity based on the first network detection information;
specifically, after the first network probe information is acquired, whether the primary VPN network link is abnormal or not may be determined according to the communication condition information of the primary VPN network link, and when the communication condition information of the primary VPN network link satisfies a first preset abnormality determination condition, it may be determined that the primary VPN network link is abnormal.
For example, the first network probe information may include a communication packet loss rate of the primary VPN network link; the first preset abnormal determination condition may be satisfied, where a packet loss rate of the primary VPN network link is greater than or equal to a first preset packet loss rate threshold (e.g., the threshold is 100%).
103, determining a standby VPN network link as a target network link in two or more VPN links, where the target network link is used for network communication between the convergence side communication device and the access side communication device;
the two or more VPN links correspond to different wireless physical network links, and the two or more VPN links include the primary VPN network link and one or more standby VPN network links, and the wireless physical network link corresponding to the primary VPN network link is a fifth Generation Mobile Communication technology (5 th Generation Mobile Communication technology,5 g) physical network link.
Specifically, after it is determined that the primary VPN network link is abnormal, one standby VPN network link may be determined as a target network link in two or more VPN links, and then the target network link may continue to carry the communication service between the aggregation side communication device and the access side communication device, so as to avoid interruption of network communication due to the abnormality of the primary VPN network link.
Optionally, two or more VPN links may be provided between the convergence side communication device and the access side communication device, and the two or more VPN links correspond to different wireless physical network links respectively.
For example, there may be two VPN links between the aggregation side communication device and the access side communication device, where a wireless physical network link corresponding to one VPN link may be a 5G physical network link a, and a wireless physical network link corresponding to the other VPN link may be a 5G physical network link B, where the 5G physical network link a and the 5G physical network link B are not the same link.
For example, two VPN links may be provided between the aggregation-side communication device and the access-side communication device, where a wireless physical network link corresponding to one VPN link may be a 5G physical network link a, and a wireless physical network link corresponding to the other VPN link may be a WIFI physical network link C, where the 5G physical network link a and the WIFI physical network link C are not the same link.
It can be understood that, when an abnormal VPN link occurs, a communication abnormality may also occur in the wireless physical network link corresponding to the abnormal VPN link, but since two or more VPN links respectively correspond to different wireless physical network links, even if a communication abnormality occurs in the wireless physical network link corresponding to the abnormal VPN link, the communication of other VPN links will not be affected.
Optionally, the convergence side communication device is communicatively connected to a service device of the convergence side, and the access side communication device is communicatively connected to a service device of the access side, where the service device of the convergence side may be a server bearing a specific service, and the service device of the access side may be a front-end device of the specific service.
For example, the aggregation side communication device may be an aggregation side CPE device, and the access side communication device may be an access side CPE device.
It can be understood that two different wireless physical network links may exist between the convergence side communication device and the access side communication device, both the convergence side communication device and the access side communication device support VPN creation, and after the convergence side communication device and the access side communication device access the two different wireless physical network links, a VPN link may be created, so as to ping Internet Protocol (IP) addresses of opposite ends between the convergence side communication device and the access side communication device, respectively, and if there is no packet loss in a ping packet, it may be determined that the VPN link service is normal.
It can be understood that the two or more VPN links include the active VPN network link and one or more backup VPN network links, and in a case that the active VPN network link is abnormal, one of the one or more backup VPN network links may be determined as a target network link, so as to ensure normal communication between the convergence side communication device and the access side communication device.
The network link determining method provided by the invention can judge whether the main VPN network link is abnormal or not by acquiring the first network detection information, can determine one standby VPN network link as a target network link from two or more than two VPN links under the condition of determining that the main VPN network link is abnormal, can ensure that the communication between the communication equipment at the convergence side and the communication equipment at the access side is not interrupted by switching between the main VPN network link and the standby VPN network link, and can realize the high availability of wireless communication.
Optionally, the wireless physical network links corresponding to the one or more backup VPN network links include one or more of the following links:
a 5G physical network link;
a WIFI physical network link.
Optionally, there may be only one standby VPN network link, where the wireless physical network link corresponding to the one standby VPN network link may be a 5G physical network link, and the 5G physical network link corresponding to the standby VPN network link is not the same as the 5G physical network link corresponding to the active VPN network link.
Optionally, there may be only one backup VPN network link, and the wireless physical network link corresponding to the one backup VPN network link may be a WIFI physical network link.
Optionally, there may be two standby VPN network links, where a wireless physical network link corresponding to one standby VPN network link may be a 5G physical network link, and a wireless physical network link corresponding to the other standby VPN network link may be a WIFI physical network link.
Therefore, two different wireless physical network links may exist between the convergence side communication device and the access side communication device, and when a certain VPN link is abnormal, the wireless physical network link corresponding to the abnormal VPN link may also have communication abnormality.
Optionally, the determining, in two or more VPN links, one standby VPN network link as the target network link includes:
determining the first standby VPN network link as the target network link when the one or more standby VPN network links only include a first standby VPN network link and a wireless physical network link corresponding to the first standby VPN network link is a 5G physical network link;
or determining the second standby VPN network link as the target network link when the one or more standby VPN network links only include a second standby VPN network link and the wireless physical network link corresponding to the second standby VPN network link is a WIFI physical network link.
Specifically, after it is determined that the active VPN network link is abnormal, if only one backup VPN network link is present, that is, the first backup VPN network link, and the wireless physical network link corresponding to the first backup VPN network link is a 5G physical network link, it may be determined that the first backup VPN network link is used as a target network link, and then the target network link may continue to carry the communication service between the aggregation side communication device and the access side communication device, so as to avoid network communication interruption caused by the abnormality of the active VPN network link.
Specifically, after it is determined that the primary VPN network link is abnormal, if only one backup VPN network link is present, that is, the second backup VPN network link, and the wireless physical network link corresponding to the second backup VPN network link is a WIFI physical network link, it may be determined that the second backup VPN network link is used as a target network link, and then the target network link may continue to carry the communication service between the aggregation-side communication device and the access-side communication device, so as to avoid network communication interruption caused by the abnormality of the primary VPN network link.
Optionally, the determining, in two or more VPN links, one standby VPN network link as the target network link includes:
determining a third backup VPN network link as the target network link when the one or more backup VPN network links include two backup VPN network links;
the third backup VPN network link is a link with higher communication quality in the two backup VPN network links.
Specifically, after it is determined that the primary VPN network link is abnormal, if two backup VPN network links exist, one of the two backup VPN network links with higher communication quality may be determined to serve as a third backup VPN network link, and then the third backup VPN network link may be determined to serve as a target network link, so that the communication service between the convergence side communication device and the access side communication device may be continuously carried through the target network link, and network communication interruption caused by the abnormality of the primary VPN network link is avoided.
Optionally, after determining one backup VPN network link as the target network link, the method further includes:
acquiring second network detection information of the primary VPN network link;
determining that the link of the primary VPN network is recovered to be normal based on the second network detection information;
and determining the primary VPN network link as the target network link.
Optionally, the active VPN network link may be detected to obtain second network detection information, where the second network detection information may include communication status information of the active VPN network link, and further, based on the second network detection information, whether the active VPN network link is abnormal may be determined.
Optionally, the active VPN network link may be probed by executing the fping command to obtain the second network probing information, and the probing period may be determined according to an actual network service requirement.
For example, the real-time ping packet monitoring may be performed on the active VPN network link by executing an fping command, where the fping command may include: the destination IP address of the ping packet, the number of times each destination is ping (e.g., 3), the ping packet interval for the same destination (e.g., 1000 milliseconds), or the timeout time for a single destination (e.g., 500 milliseconds), etc.
Optionally, after the second network probe information is acquired, whether the primary VPN network link is abnormal may be determined according to the communication condition information of the primary VPN network link, and when the communication condition information of the primary VPN network link satisfies a second preset abnormal determination condition, it may be determined that the primary VPN network link is recovered to be normal.
For example, the second network detection information may include a communication packet loss rate of the primary VPN network link; when the second preset abnormality determination condition is satisfied, the packet loss rate of the primary VPN network link may be smaller than or equal to a second preset packet loss rate threshold (for example, the threshold is 0%).
The network link determining method provided by the invention can judge whether the primary VPN network link is abnormal or not by acquiring the first network detection information, can determine one standby VPN network link as a target network link in two or more than two VPN links under the condition of determining that the primary VPN network link is abnormal, can ensure that the communication between the convergence side communication equipment and the access side communication equipment is not interrupted by switching between the primary VPN network link and the standby VPN network link, and can realize the high availability of wireless communication.
The following describes the network link determining apparatus provided by the present invention, and the network link determining apparatus described below and the network link determining method described above may be referred to correspondingly.
Fig. 2 is a schematic structural diagram of a network link determining apparatus provided in the present invention, and as shown in fig. 2, the apparatus includes: an obtaining module 201, a first determining module 202 and a second determining module 203, wherein:
an obtaining module 201, configured to obtain first network probe information;
a first determining module 202, configured to determine that an active VPN network link is abnormal based on the first network detection information;
a second determining module 203, configured to determine, in two or more VPN links, a standby VPN network link as a target network link, where the target network link is used for network communication between the aggregation-side communication device and the access-side communication device;
the two or more than two VPN links respectively correspond to different wireless physical network links, the two or more than two VPN links comprise a primary VPN network link and one or more standby VPN network links, and the wireless physical network link corresponding to the primary VPN network link is a 5G physical network link.
The network link determining device provided by the invention can judge whether the main VPN network link is abnormal or not by acquiring the first network detection information, can determine one standby VPN network link as a target network link from two or more than two VPN links under the condition of determining that the main VPN network link is abnormal, can ensure that the communication between the communication equipment at the convergence side and the communication equipment at the access side is not interrupted by switching between the main VPN network link and the standby VPN network link, and can realize the high availability of wireless communication.
Fig. 3 is a schematic structural diagram of a wireless communication system provided in the present invention, and as shown in fig. 3, the system includes: the aggregation side communication device 301 and the access side communication device 302 have two or more VPN links therebetween, where the two or more VPN links correspond to different wireless physical network links, the two or more VPN links include a primary VPN network link and one or more standby VPN network links, and the wireless physical network link corresponding to the primary VPN network link is a 5G physical network link, where:
the access side communication device is used for:
acquiring first network detection information;
determining that the main VPN network link has abnormity based on the first network detection information;
and determining a standby VPN network link as a target network link in the two or more VPN links, wherein the target network link is used for network communication between the convergence side communication device and the access side communication device.
In the wireless communication system provided by the invention, the access side communication device can judge whether the primary VPN network link is abnormal or not by acquiring the first network detection information, and can determine a standby VPN network link as a target network link in two or more than two VPN links under the condition of determining that the primary VPN network link is abnormal, so that the communication between the convergence side communication device and the access side communication device can not be interrupted by switching the primary VPN network link and the standby VPN network link, and the high availability of wireless communication can be realized.
Optionally, fig. 4 is a second schematic structural diagram of a wireless communication system provided in the present invention, and as shown in fig. 4, the system may include: the convergence side communication device may include a convergence side CPE device, the access side communication device may include an access side main CPE device and an access side standby CPE device, the convergence side CPE device may be in communication connection with the service device through an Ethernet (ETH) interface, the access side main CPE device may be in communication connection with the service device through an ETH interface, and the access side main CPE device may be in communication connection with the access side standby CPE device through an ETH interface.
Optionally, as shown in fig. 4, the main CPE device on the access side may establish a communication connection with a 5G private network through a 5G air interface, where the 5G private network may be a private network in a 5G network, for example, a 5G private network a.
Optionally, as shown in fig. 4, the standby CPE device on the access side may establish a communication connection with a 5G private network through a 5G air interface, where the 5G private network may be a private network in a 5G network, for example, a 5G private network B.
Alternatively, as shown in fig. 4, the CPE device on the aggregation side may establish a communication connection with two 5G private networks, such as the 5G private network a and the 5G private network B, through the ETH interface.
Alternatively, as shown in fig. 4, two VPN links may be created for the access-side active CPE device, where the VPN links may be Generic Routing Encapsulation (GRE) -based links, and the two VPN links may include: l2GRE0 and L2GRE1, wherein: the L2GRE0 is a link between the access-side main CPE device and the access-side standby CPE device, the L2GRE1 is a link between the access-side main CPE device and the aggregation-side CPE device, and a wireless physical network link corresponding to the L2GRE1 may be a link based on the 5G private network a.
Alternatively, as shown in fig. 4, two VPN links may be created for the access side backup CPE device, where the VPN links may be GRE-based links, and the two VPN links may be L2GRE0 and L2GRE2 as in fig. 4, where: the L2GRE0 is a link between the main CPE device on the access side and the standby CPE device on the access side, the L2GRE2 is a link between the standby CPE device on the access side and the CPE device on the aggregation side, and a wireless physical network link corresponding to the L2GRE2 may be a link based on a 5G private network B.
It can be understood that after the L2GRE0 and the L2GRE1 are created for the access-side main CPE device and the L2GRE0 and the L2GRE2 are created for the access-side standby CPE device, whether GRE services are normal or not can be verified respectively, and after determining that each GRE service is normal, a bridge can be created on the access-side main CPE device, and the L2GRE0, the L2GRE1 and the physical port are bound, so that the communication between the aggregation-side communication device and the access-side communication device can be realized.
It can be understood that, when the access-side main CPE device is in a failure state, the access-side standby CPE device may be used to replace the access-side main CPE device, so as to avoid communication interruption between the aggregation-side communication device and the access-side communication device.
Alternatively, fig. 5 is a third schematic structural diagram of a wireless communication system provided in the present invention, and as shown in fig. 5, the system may include: the convergence side communication device can be a convergence side CPE device, the Access side communication device can be an Access side CPE device, the WIFI network can comprise a wireless Access Point (AP) device and a wireless Access Controller (AC) device, the convergence side CPE device can be in communication connection with the service device through an ETH interface, and the Access side CPE device can be in communication connection with the service device through the ETH interface.
Optionally, as shown in fig. 5, the access-side CPE device may establish a communication connection with a 5G private network through a 5G air interface, where the 5G private network may be a certain private network in the 5G network, for example, a 5G private network a.
Optionally, as shown in fig. 5, the access-side CPE device may establish a communication connection with the AP device through WIFI.
Alternatively, as shown in fig. 5, the CPE device on the aggregation side may establish a communication connection with a 5G private network through an ETH interface, where the 5G private network may be a certain private network in the 5G network, for example, a 5G private network a.
Alternatively, as shown in fig. 5, the CPE device on the aggregation side may establish a communication connection with the AC device through the ETH interface.
Alternatively, as shown in fig. 5, a VPN link may be created for the access-side CPE device, where the VPN link may be a GRE-based link, the VPN link may be L2GRE1, where the L2GRE1 is a link between the access-side CPE device and the aggregation-side CPE device, and a wireless physical network link corresponding to the L2GRE1 may be a link based on a 5G private network a.
Alternatively, as shown in fig. 5, a VPN link may be created for the access-side CPE device, where the VPN link may be a GRE-based link, the VPN link may be L2GRE2, where the L2GRE2 is a link between the access-side CPE device and the aggregation-side CPE device, and the wireless physical network link corresponding to the L2GRE2 may be a link based on a WIFI network.
It can be understood that after the L2GRE1 and the L2GRE2 are created for the access-side CPE device, whether the GRE services are normal or not can be verified respectively, and after determining that each GRE service is normal, a bridge can be created on the access-side CPE device, and the L2GRE1, the L2GRE2 and the physical port are bound, so that the communication between the aggregation-side communication device and the access-side communication device and the network multiplexing can be realized.
It is understood that the access-side communication device may use only one device (e.g., one access-side CPE device) and may be able to reuse the existing WIFI network. Compared with the method of only using a 5G network (the 5G network may not be available to the communication equipment at the access side due to the failure of the access network or the failure of the core network), the method of using two types of networks (the 5G network and the WIFI network) for communication has higher disaster tolerance rate.
In the wireless communication system provided by the invention, the access side communication device can judge whether the primary VPN network link is abnormal or not by acquiring the first network detection information, and can determine a standby VPN network link as a target network link in two or more than two VPN links under the condition of determining that the primary VPN network link is abnormal, so that the communication between the convergence side communication device and the access side communication device can not be interrupted by switching the primary VPN network link and the standby VPN network link, and the high availability of wireless communication can be realized.
Fig. 6 is a schematic structural diagram of an electronic device provided in the present invention, and as shown in fig. 6, the electronic device may include: a processor (processor) 610, a communication Interface (Communications Interface) 620, a memory (memory) 630 and a communication bus 640, wherein the processor 610, the communication Interface 620 and the memory 630 communicate with each other via the communication bus 640. Processor 610 may invoke logic instructions in memory 630 to perform a network link determination method, for example, comprising:
acquiring first network detection information;
determining that the primary VPN network link has abnormity based on the first network detection information;
determining a standby VPN network link as a target network link in two or more VPN links, wherein the target network link is used for network communication between convergence side communication equipment and access side communication equipment;
the two or more VPN links respectively correspond to different wireless physical network links, the two or more VPN links include the main VPN network link and one or more standby VPN network links, and the wireless physical network link corresponding to the main VPN network link is a 5G physical network link.
In addition, the logic instructions in the memory 630 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product comprising a computer program, the computer program being storable on a non-transitory computer-readable storage medium, wherein when the computer program is executed by a processor, a computer is capable of executing the network link determining method provided by the above methods, for example, the method comprises:
acquiring first network detection information;
determining that the main VPN network link has abnormity based on the first network detection information;
determining a standby VPN network link as a target network link in two or more VPN links, wherein the target network link is used for network communication between convergence side communication equipment and access side communication equipment;
the two or more VPN links respectively correspond to different wireless physical network links, the two or more VPN links include the main VPN network link and one or more standby VPN network links, and the wireless physical network link corresponding to the main VPN network link is a 5G physical network link.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, the computer program, when executed by a processor, is implemented to perform the network link determining method provided by the above methods, for example, the method includes:
acquiring first network detection information;
determining that the primary VPN network link has abnormity based on the first network detection information;
determining a standby VPN network link as a target network link in two or more VPN links, wherein the target network link is used for network communication between convergence side communication equipment and access side communication equipment;
the two or more than two VPN links respectively correspond to different wireless physical network links, the two or more than two VPN links comprise a primary VPN network link and one or more standby VPN network links, and the wireless physical network link corresponding to the primary VPN network link is a 5G physical network link.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A method for network link determination, comprising:
acquiring first network detection information;
determining that the primary VPN network link has abnormity based on the first network detection information;
determining a standby VPN network link as a target network link in two or more VPN links, wherein the target network link is used for network communication between convergence side communication equipment and access side communication equipment;
the two or more VPN links respectively correspond to different wireless physical network links, the two or more VPN links include the main VPN network link and one or more standby VPN network links, and the wireless physical network link corresponding to the main VPN network link is a 5G physical network link.
2. The method according to claim 1, wherein the wireless physical network links corresponding to the one or more backup VPN network links include one or more of:
a 5G physical network link;
and (4) WIFI physical network link.
3. The method according to claim 2, wherein determining a backup VPN network link as the target network link among the two or more VPN links comprises:
determining the first standby VPN network link as the target network link when the one or more standby VPN network links only include a first standby VPN network link and a wireless physical network link corresponding to the first standby VPN network link is a 5G physical network link;
or, when the one or more backup VPN network links only include a second backup VPN network link and a wireless physical network link corresponding to the second backup VPN network link is a WIFI physical network link, determining the second backup VPN network link as the target network link.
4. The method according to claim 2, wherein determining a backup VPN network link as the target network link among the two or more VPN links comprises:
determining a third backup VPN network link as the target network link when the one or more backup VPN network links include two backup VPN network links;
the third backup VPN network link is a link with higher communication quality in the two backup VPN network links.
5. The method for network link determination according to any of claims 1-4, wherein after determining a backup VPN network link as the target network link, the method further comprises:
acquiring second network detection information of the main VPN network link;
determining that the primary VPN network link is recovered to be normal based on the second network detection information;
and determining the primary VPN network link as the target network link.
6. A network link determination apparatus, comprising:
the acquisition module is used for acquiring first network detection information;
a first determining module, configured to determine that an active VPN network link is abnormal based on the first network detection information;
a second determining module, configured to determine, in two or more VPN links, a backup VPN network link as a target network link, where the target network link is used for network communication between the convergence side communication device and the access side communication device;
the two or more VPN links respectively correspond to different wireless physical network links, the two or more VPN links include the main VPN network link and one or more standby VPN network links, and the wireless physical network link corresponding to the main VPN network link is a 5G physical network link.
7. A wireless communication system, comprising: the device comprises a convergence side communication device and an access side communication device, wherein two or more VPN links are arranged between the convergence side communication device and the access side communication device, the two or more VPN links correspond to different wireless physical network links respectively, the two or more VPN links comprise a main VPN network link and one or more standby VPN network links, the wireless physical network link corresponding to the main VPN network link is a 5G physical network link, and the method comprises the following steps:
the access side communication device is configured to:
acquiring first network detection information;
determining that the main VPN network link has abnormity based on the first network detection information;
and determining a standby VPN network link as a target network link in the two or more VPN links, wherein the target network link is used for network communication between the convergence side communication device and the access side communication device.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the network link determination method according to any of claims 1 to 5.
9. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the network link determination method according to any one of claims 1 to 5.
10. A computer program product comprising a computer program, wherein the computer program when executed by a processor implements the network link determination method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210565151.6A CN115208714A (en) | 2022-05-23 | 2022-05-23 | Network link determining method, device, system, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210565151.6A CN115208714A (en) | 2022-05-23 | 2022-05-23 | Network link determining method, device, system, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115208714A true CN115208714A (en) | 2022-10-18 |
Family
ID=83575041
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210565151.6A Pending CN115208714A (en) | 2022-05-23 | 2022-05-23 | Network link determining method, device, system, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115208714A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011111842A1 (en) * | 2010-03-11 | 2011-09-15 | Nishihata Akira | Confidential communication method using vpn, a system and program for the same, and memory media for program therefor |
CN102282805A (en) * | 2011-05-26 | 2011-12-14 | 华为技术有限公司 | Method for service protection and access device |
CN104579750A (en) * | 2014-12-12 | 2015-04-29 | 国家电网公司 | Distribution network link disaster recovery system based on VPN |
CN106612233A (en) * | 2016-12-29 | 2017-05-03 | 广州华多网络科技有限公司 | Multi-channel network switching method and system |
-
2022
- 2022-05-23 CN CN202210565151.6A patent/CN115208714A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011111842A1 (en) * | 2010-03-11 | 2011-09-15 | Nishihata Akira | Confidential communication method using vpn, a system and program for the same, and memory media for program therefor |
US20130074176A1 (en) * | 2010-03-11 | 2013-03-21 | Akira Nishihata | Confidential communication method using vpn, system thereof, program thereof, and recording medium for the program |
CN102282805A (en) * | 2011-05-26 | 2011-12-14 | 华为技术有限公司 | Method for service protection and access device |
CN104579750A (en) * | 2014-12-12 | 2015-04-29 | 国家电网公司 | Distribution network link disaster recovery system based on VPN |
CN106612233A (en) * | 2016-12-29 | 2017-05-03 | 广州华多网络科技有限公司 | Multi-channel network switching method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10649866B2 (en) | Method and apparatus for indirectly assessing a status of an active entity | |
CN110752952B (en) | Network fault positioning method and device, network equipment and computer storage medium | |
US9071513B2 (en) | Path switch-back method and apparatus in transport network | |
CN101729426B (en) | Method and system for quickly switching between master device and standby device of virtual router redundancy protocol (VRRP) | |
WO2011157149A2 (en) | Method, communication device and system, and service request device for main/standby switch between communication devices | |
CN111030873A (en) | Fault diagnosis method and device | |
US20170222864A1 (en) | Method and Apparatus for Implementing Operation, Administration, and Maintenance Function | |
CN111385107A (en) | Main/standby switching processing method and device for server | |
CN111988170B (en) | Terminal fault positioning method and device | |
EP3340537A1 (en) | Deadlock avoidance using modified ethernet connectivity fault management signaling | |
CN102136947A (en) | Method and device for processing link faults | |
CN111371592A (en) | Node switching method, device, equipment and storage medium | |
CN110708715A (en) | Service fault finding method and device for 5G base station | |
WO2015180265A1 (en) | Multi-link protection switching method and device | |
CN110597226A (en) | Abnormity early warning method and device for vehicle-mounted Ethernet | |
CN110224872B (en) | Communication method, device and storage medium | |
CN117201507A (en) | Cloud platform switching method and device, electronic equipment and storage medium | |
CN112231154A (en) | Dual-computer hot standby switching method and device | |
CN115208714A (en) | Network link determining method, device, system, electronic equipment and storage medium | |
CN113132169B (en) | Method for resetting a packet processing component to an operational state | |
CN108616423B (en) | Offline device monitoring method and device | |
CN103414591A (en) | Method and system for fast converging when port failure is recovered | |
CN114884803B (en) | Method, device, equipment and medium for processing multiple redundant states | |
CN106130783B (en) | Port fault processing method and device | |
JP5647197B2 (en) | Network connection device, network control method, network control program, and network system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |