CN111565133B - Private line switching method and device, electronic equipment and computer readable storage medium - Google Patents

Private line switching method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN111565133B
CN111565133B CN202010334329.7A CN202010334329A CN111565133B CN 111565133 B CN111565133 B CN 111565133B CN 202010334329 A CN202010334329 A CN 202010334329A CN 111565133 B CN111565133 B CN 111565133B
Authority
CN
China
Prior art keywords
line
packet loss
detection
data center
private
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.)
Active
Application number
CN202010334329.7A
Other languages
Chinese (zh)
Other versions
CN111565133A (en
Inventor
杨智林
柯永增
莫汛铭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Huya Technology Co Ltd
Original Assignee
Guangzhou Huya Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangzhou Huya Technology Co Ltd filed Critical Guangzhou Huya Technology Co Ltd
Priority to CN202010334329.7A priority Critical patent/CN111565133B/en
Publication of CN111565133A publication Critical patent/CN111565133A/en
Application granted granted Critical
Publication of CN111565133B publication Critical patent/CN111565133B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery

Abstract

The invention provides a private line switching method, a private line switching device, electronic equipment and a computer readable storage medium, and relates to the field of data transmission of the Internet. The private line switching method is applied to a controller, the controller is deployed in a first data center, and the first data center further comprises first detection equipment; the method comprises the following steps: receiving a first packet loss detection stream through a first network layer; judging whether the first special line is in a packet loss fault state or not according to the first packet loss detection flow; if yes, a private line switching instruction is sent to any network equipment at two ends of the first private line, so that the first private line flow transmitted through the first private line is switched to the second private line for communication. The controller receives the first packet loss detection stream through the first network layer and judges the state of the first special line, so that the special line flow in the packet loss fault state is switched, the problem that the special line flow cannot be switched due to packet loss of the special line is solved, the process of manually switching the special line is reduced, and the special line switching efficiency caused by packet loss of the special line is improved.

Description

Private line switching method and device, electronic equipment and computer readable storage medium
Technical Field
The invention relates to the field of data processing of the Internet, in particular to a private line switching method and device, electronic equipment and a computer readable storage medium.
Background
With the increasing Data of Internet Data Centers (IDCs) across regions, the quality of a dedicated line connecting each IDC is required to be higher by network services. Network equipment manufacturers provide Network Quality Analysis (NQA) and other schemes for link detection, but the NQA scheme cannot achieve high-precision dedicated quality detection due to poor performance of a Central Processing Unit (CPU) of the network equipment.
The switching of the special line interruption between the IDCs is completed through the routing protocol, but when the special line loses packet, the related instruction of the special line switching cannot be transmitted through the special line, and the special line flow between the IDCs cannot be switched through the routing protocol. Therefore, how to avoid the problem that the private line traffic cannot be switched through the routing protocol due to the packet loss of the private line is an urgent problem to be solved at present.
Disclosure of Invention
In view of the above, the present invention provides a private line handover method, apparatus, electronic device and computer-readable storage medium.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
in a first aspect, the present invention provides a private line handover method, which is applied to a controller, where the controller is deployed in a first data center, the first data center further includes a first detection device, and the controller, the first detection device, and a second detection device of a second data center are all accessed to a first network layer to perform private line handover communication. The method comprises the following steps: receiving a first packet loss detection stream through the first network layer; the first packet loss detection stream includes the first detection device and the second detection device, which collect the first dedicated line detection information of the first dedicated line, where the first dedicated line is the data transmission line of the first data center and the second data center. Judging whether the first special line is in a packet loss fault state or not according to the first packet loss detection stream; if so, sending a private line switching instruction to any network equipment at two ends of the first private line so as to switch the first private line flow transmitted by the first private line to a second private line for communication; the first private line traffic is data transmitted by the first data center and the second data center through the first private line, and the second private line is any healthy private line in other private lines where the first data center and the second data center are kept connected.
In an optional embodiment, the first data center further includes a third detection device, and the second data center further includes a fourth detection device. Before the sending of the dedicated line switching instruction to any network device at both ends of the first dedicated line, so as to switch the first dedicated line traffic transmitted through the first dedicated line to the second dedicated line for communication, the method further includes: receiving a second packet loss detection stream through the first network layer; the second packet loss detection stream includes the dedicated line detection information of the first dedicated line, which is acquired by the third detection device and the fourth detection device. Judging whether the first special line is in the packet loss fault state or not according to the second packet loss detection stream; and if the first dedicated line is determined to be in the packet loss fault state by the first packet loss detection stream and the second packet loss detection stream, executing the step of sending a dedicated line switching instruction to any network device at two ends of the first dedicated line so as to switch the first dedicated line traffic transmitted by the first dedicated line to a second dedicated line for communication.
In an optional implementation manner, the first packet loss detection stream includes static routing information corresponding to the first dedicated line, where the static routing information represents a connection relationship between network devices at two ends of the first dedicated line, and the controller includes configuration information corresponding to all data transmission lines where the first data center and the second data center keep connected. Judging whether the first special line is in a packet loss fault state or not according to the first packet loss detection stream, wherein the judging step comprises the following steps: judging whether the static routing information is matched with the configuration information; and if so, determining the first packet loss detection stream as an effective detection stream.
In an optional implementation manner, the sending a dedicated line switching instruction to any network device at two ends of the first dedicated line to switch the first dedicated line traffic transmitted through the first dedicated line to the second dedicated line for communication includes: and generating a first switching message according to the configuration information and the static routing information. And generating a private line switching instruction matched with the network equipment at the two ends of the first private line according to the configuration information and the first switching message. And sending the private line switching instruction to any network equipment at two ends of the first private line, so that any network equipment analyzes the private line switching instruction, and switches the first private line flow to the second private line corresponding to the first switching message for data transmission.
In an optional implementation manner, the first data center further includes a first network device, where the first network device is a network device at a first end of the first private line, and the first network device is in communication connection with the first detection device. The sending of the private line switching instruction to any network device at two ends of the first private line so as to switch the first private line traffic transmitted through the first private line to a second private line for communication includes: and sending the private line switching instruction to the first detection device, so that when the first network device receives the private line switching instruction forwarded by the first detection device, the first private line flow is switched to the second private line for data transmission.
In a second aspect, the present invention provides a private line handover method, which is applied to a first detection device, where the first detection device is deployed in a first data center, the first data center further includes a controller, and the controller, the first detection device, and a second detection device of a second data center are all accessed to a first network layer to perform private line handover communication. The method comprises the following steps: sending a first packet loss detection stream to the controller through the first network layer; the first packet loss detection stream includes the first detection device and the second detection device, which collect the first dedicated line detection information of the first dedicated line, where the first dedicated line is the data transmission line of the first data center and the second data center. And when the controller determines that the first special line is in a packet loss fault state according to the first packet loss detection stream, receiving a special line switching instruction sent by the controller. Forwarding the private line switching instruction to any network equipment at two ends of the first private line so as to switch the first private line traffic transmitted by the first private line to a second private line for communication; the first private line traffic is data transmitted by the first data center and the second data center through the first private line, and the second private line is any healthy private line in other private lines where the first data center and the second data center are kept connected.
In an optional implementation manner, the first packet loss detection stream includes static routing information corresponding to the first dedicated line, where the static routing information represents a connection relationship between network devices at two ends of the first dedicated line, and the first data center further includes a first network device, where the first network device is a network device at a first end of the first dedicated line, and the first network device is in communication connection with the first detection device. Forwarding the private line switching instruction to any network device at two ends of the first private line, so that the first private line traffic transmitted through the first private line is switched to a second private line for communication, including: and sending the private line switching instruction to the first network equipment, so that when the first network equipment receives the private line switching instruction, the first private line flow is switched to the second private line for data transmission according to the static routing information.
In a third aspect, the present invention provides a private line switching apparatus, which is applied to a controller, where the controller is deployed in a first data center, the first data center further includes a first detection device, and the controller, the first detection device, and a second detection device of a second data center are all accessed to a first network layer to perform private line switching communication; the device comprises: the device comprises a first communication module, a first judgment module and a first processing module. The first communication module is configured to receive, through the first network layer, a first packet loss detection stream; the first packet loss detection stream includes the first detection device and the second detection device, which collect the first dedicated line detection information of the first dedicated line, where the first dedicated line is the data transmission line of the first data center and the second data center. The first judging module is configured to judge whether the first dedicated line is in a packet loss fault state according to the first packet loss detection stream. The first processing module is configured to send a dedicated line switching instruction to any network device at two ends of the first dedicated line when the first dedicated line is in the packet loss fault state, so that a first dedicated line traffic transmitted through the first dedicated line is switched to a second dedicated line for communication; the first private line traffic is data transmitted by the first data center and the second data center through the first private line, and the second private line is any healthy private line in other private lines where the first data center and the second data center are kept connected.
In a fourth aspect, the present invention provides a private line switching apparatus, which is applied to a first detection device, where the first detection device is deployed in a first data center, the first data center further includes a controller, and the controller, the first detection device, and a second detection device of a second data center all access a first network layer to perform private line switching communication; the device comprises: the second communication module and the second processing module. The second communication module is configured to send a first packet loss detection stream to the controller through the first network layer; the first packet loss detection stream includes the first detection device and the second detection device, which collect the first dedicated line detection information of the first dedicated line, where the first dedicated line is the data transmission line of the first data center and the second data center. The second communication module is further configured to receive a dedicated line switching instruction sent by the controller when the controller determines that the first dedicated line is in a packet loss fault state according to the first packet loss detection stream. The second processing module is configured to forward the dedicated line switching instruction to any network device at two ends of the first dedicated line, so that a first dedicated line traffic transmitted through the first dedicated line is switched to a second dedicated line for communication; the first private line traffic is data transmitted by the first data center and the second data center through the first private line, and the second private line is any healthy private line in other private lines where the first data center and the second data center are kept connected.
In a fifth aspect, the present invention provides an electronic device comprising a processor and a memory, the memory storing machine executable instructions executable by the processor to implement the method of any one of the preceding embodiments.
In a sixth aspect, the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any of the preceding embodiments.
Compared with the prior art, the invention provides a private line switching method, a private line switching device, electronic equipment and a computer-readable storage medium, and relates to the field of data transmission of the Internet. The private line switching method is applied to a controller, the controller is deployed in a first data center, the first data center further comprises a first detection device, and the controller, the first detection device and a second detection device of a second data center are all accessed to a first network layer to perform private line switching communication; the method comprises the following steps: receiving a first packet loss detection stream through the first network layer; the first packet loss detection stream includes the first detection device and the second detection device, which collect the first dedicated line detection information of the first dedicated line, where the first dedicated line is a data transmission line of the first data center and the second data center; judging whether the first special line is in a packet loss fault state or not according to the first packet loss detection stream; if so, sending a private line switching instruction to any network equipment at two ends of the first private line so as to switch the first private line flow transmitted by the first private line to a second private line for communication; the first private line traffic is data transmitted by the first data center and the second data center through the first private line, and the second private line is any healthy private line in other private lines where the first data center and the second data center are kept connected. The controller receives the first packet loss detection stream through the first network layer and judges the state of the first special line, so that the special line flow in the packet loss fault state is switched, the problem that the special line flow cannot be switched due to packet loss of the special line is solved, the process of manually switching the special line is reduced, and the special line switching efficiency caused by packet loss of the special line is improved.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a schematic diagram of a manual private line switch;
fig. 2 is a schematic diagram of a private line switching system according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a private line handover method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of another private line handover system according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of another dedicated line switching method according to an embodiment of the present invention;
fig. 6 is a schematic flow chart of another dedicated line switching method according to an embodiment of the present invention;
fig. 7 is a schematic flowchart of another dedicated line switching method according to an embodiment of the present invention;
fig. 8 is a schematic flowchart of another dedicated line switching method according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a dedicated line packet loss detection;
fig. 10 is a flowchart illustrating another dedicated line switching method according to an embodiment of the present invention;
fig. 11 is a flowchart illustrating another dedicated line switching method according to an embodiment of the present invention;
fig. 12 is an effect diagram of private line handover according to an embodiment of the present invention;
fig. 13 is a schematic block diagram of a dedicated line switching device according to an embodiment of the present invention;
fig. 14 is a schematic block diagram of another dedicated line switching device according to an embodiment of the present invention;
fig. 15 is a block diagram of an electronic device according to an embodiment of the present invention.
Icon: the system comprises a controller-200, a first detection device-211, a second detection device-212, a third detection device-213, a fourth detection device-214, a first network device-221, a second network device-222, a third network device-223, a fourth network device-224, a first private line switching device-50, a first communication module-51, a first judgment module-52, a first processing module-53, a second private line switching device-60, a second communication module-61, a second processing module-62, an electronic device-70, a memory-71, a processor-72 and a communication interface-73.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It is noted that relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
With the increasing use of data centers of network services, in order to realize reliable data transmission of the services, private lines of operators are leased among the IDCs for communication, and the more the number of the private lines is, the more the failure times are; the method depends on the traditional routing protocol to realize the fault switching, can only solve the problem of special line interruption, and cannot automatically realize the special line switching caused by the special line packet loss; in order to implement the private line switching caused by the packet loss of the private line, a manual monitoring platform is required to perform the private line switching.
Please refer to fig. 1, fig. 1 is a schematic diagram of manual private line switching. In order to realize the private line packet loss detection of the private line 1, the detection device 1 sends a plurality of detection packets to the network device 1; when the detection device 1 receives a response corresponding to the detection packet from the network device 2 within the first time, the detection device 1 sends the packet loss condition of the dedicated line 1 to the manual monitoring platform. When a dedicated line operation and maintenance engineer determines that a dedicated line 1 is in a dedicated line packet loss fault state on a manual monitoring platform, the dedicated line operation and maintenance engineer logs in network equipment (network equipment 1 and network equipment 2 in fig. 1) corresponding to the dedicated line 1, reconfigures a routing protocol for the network equipment 1 and the network equipment 2, and switches the dedicated line traffic between the IDC-1 and the IDC-2 to a healthy dedicated line, such as the dedicated line 2. It should be noted that, in the prior art, a dedicated line fault caused by packet loss of the dedicated line is realized, and the process of recovering the dedicated line not only needs manual participation, but also needs 20-30 minutes to complete.
In order to solve at least the above problems and the disadvantages of the background art, an embodiment of the present invention provides a private line switching system, please refer to fig. 2, and fig. 2 is a schematic diagram of a private line switching system according to an embodiment of the present invention. The private line switching system comprises a first network layer, a first data center and a second data center.
The first network layer may be the internet or a dedicated communication line for dedicated line switching communication, which is intended to provide dedicated line switching communication for the controller 200, the first detection device 211, and the second detection device 212.
The controller 200 is deployed in a first data center, which further includes a first detection device 211, a first network device 221, and a third network device 223; in another case, the controller 200 may also be deployed in a second data center; the controller 200 may be a Software Defined Network (SDN) controller, and the SDN controller may define a dedicated line switching function required by the present invention on an open interface of the SDN controller, so as to implement centralized control of dedicated line switching. It is understood that the controller 200 may be separately disposed on an electronic device, or may be integrated with the first detection device 211; it should be noted that, the dedicated line switching method provided by the present invention is described with only one controller, and does not represent a display of the present invention, in a possible embodiment, each data center may be configured with a controller, but the controllers of the data centers need to perform data synchronization, so that when a single controller fails, other controllers may select a new controller (new controller) with a centralized control function by means of election or voting, and the new controller may also implement any dedicated line switching method provided by the present invention.
The second data center includes a second detection device 212, a second network device 222, and a fourth network device 224. The first special line and the second special line are data transmission lines of a first data center and a second data center; the first network device 221 and the second network device 222 perform data transmission through a first dedicated line, and the third network device 223 and the fourth network device 224 perform data transmission through a second dedicated line. The special line can provide better data transmission quality and improve the interaction efficiency and safety between IDCs.
It should be noted that, for the first data center, the first dedicated line and the second dedicated line may also be connected to the same network device, that is, only one network device for data transmission may be provided; for example, when the first network device 221 is a multi-port switch, both the first dedicated line and the second dedicated line may be connected to the first network device 221, so as to implement data transmission between the first data center and the second data center. In a possible case, there are more dedicated lines between the first data center and the second data center, and for a data center on a single side (e.g., the first data center), ports of multiple dedicated lines may also be connected to the same network device, and ports of each dedicated line may also be connected to different network devices. The same is true of the second data center.
Next, on the basis of the controller 200 shown in fig. 2, an embodiment of the present invention provides a private line switching method, please refer to fig. 3, and fig. 3 is a flowchart illustrating the private line switching method provided in the embodiment of the present invention. The private line switching method comprises the following steps:
s301, receiving a first packet loss detection stream through a first network layer.
The first packet loss detection stream includes first dedicated line detection information of a first dedicated line acquired by the first detection device and the second detection device, and the first dedicated line is a data transmission line of the first data center and the second data center.
It should be understood that, in order to obtain the first packet loss detection stream, a packet loss detection program for dedicated packet loss detection may be deployed on the first detection device and the second detection device. For example, the packet loss detection procedure may be periodic detection, taking a detection cycle of single packet loss detection as 10 seconds as an example, the first detection device may continuously and uniformly send 200 packet loss detection packets within the detection cycle of 10 seconds, and generate a first packet loss detection stream, where the first packet loss detection stream may include detection information of the 200 packet loss detection packets on each device of the first dedicated line, and the controller may receive the first packet loss detection stream sent by the first detection device through the first network layer. For example, when the first network layer is an internet network, the controller may receive a first packet loss detection stream sent by the first detection device or the second detection device through a single domain name resolution Interface (HTTP API); it can be understood that the first packet loss detection flow described above may be data to be received that is sent to the first network layer by the first detection device, or may also be data to be processed that is sent to the first network layer by the second detection device. It should be noted that the first detection device and the second detection device may report the first packet loss detection stream periodically, may also report the first packet loss detection stream according to different preset time nodes, and may also report the packet loss detection stream corresponding to the detection instruction after receiving a dedicated packet loss detection instruction of a user.
And S302, judging whether the first special line is in a packet loss fault state or not according to the first packet loss detection stream.
It can be understood that, after the controller receives the first packet loss detection stream, it is determined whether the first dedicated line is in a packet loss fault state or not according to the configuration information in the controller and the dedicated line detection information in the first packet loss detection stream. For the packet loss fault state, any packet loss in the packet loss detection period may be regarded as the first dedicated line being in the packet loss fault state; the packet loss threshold may also be set, for example, the packet loss detection period is set to 10 seconds, the first detection device sends 200 packet loss detection packets to the first network device, and when packet loss greater than or equal to 0.5% occurs within 10 seconds of the first dedicated line (that is, 1 packet loss detection packet is lost), the first dedicated line is considered to be in a packet loss fault state.
If the first private line is in a packet loss fault state, executing S305; if the first private line is not in a failure state, S306 is executed.
S305, sending a dedicated line switching command to any network device at two ends of the first dedicated line, so as to switch the first dedicated line traffic transmitted through the first dedicated line to the second dedicated line for communication.
S306, the first special line is determined to be in a normal state.
The first special line flow is data transmitted by the first data center and the second data center through the first special line, and the second special line is any healthy special line in other special lines which are connected with the first data center and the second data center.
It is anticipated that, in order to improve the data transmission efficiency between the first data center and the second data center, the second private line may further include a private line with a larger private line flow margin among a plurality of healthy private lines in which the first data center and the second data center are kept connected. The private line flow margin is the data flow to be used or surplus data transmission quantity of the private line.
It should be understood that the controller receives the first packet loss detection stream through the first network layer, and determines the state of the first dedicated line, thereby switching the dedicated line traffic in a packet loss fault state, and solving the problem that the dedicated line traffic cannot be switched due to the packet loss of the dedicated line; in addition, the controller is used for sending the private line switching instruction to the network equipment at the two ends of the private line, so that the process of manually switching the private line is reduced, and the private line switching efficiency caused by packet loss of the private line is improved.
In the packet loss detection process, if only a single detection device exists in the data center, a failure of the detection device is likely to occur, which makes packet loss detection accuracy difficult to guarantee, and to solve the above problem, on the basis of fig. 2, the first data center further includes a third detection device, and the second data center further includes a fourth detection device, as an example, please refer to fig. 4, where fig. 4 is a schematic diagram of another private line switching system provided in the embodiment of the present invention.
The first data center further includes a third detection device 213, the second data center further includes a fourth detection device 214, and both the third detection device 213 and the fourth detection device 214 are accessed to the first network layer to implement private line handover communication. It should be understood that, in order to implement the detection of the packet loss condition of the dedicated line, the third detection device 213 and the fourth detection device 214 may both be deployed with the packet loss detection program described above, so as to detect the packet loss condition of the dedicated line between the data centers.
Taking the controller 200 shown in fig. 4 as an example, in order to avoid that the detection of the packet loss of the dedicated line and the switching of the dedicated line cannot be realized when a single device in the data center fails, on the basis of fig. 3, a possible implementation manner is provided in the embodiment of the present invention, please refer to fig. 5, and fig. 5 is a schematic flow chart of another dedicated line switching method provided in the embodiment of the present invention. Before the foregoing S305, the dedicated line switching method may further include:
s303, receiving the second packet loss detection stream through the first network layer.
The second packet loss detection stream includes the first dedicated line detection information acquired by the third detection device and the fourth detection device. It can be understood that the first packet loss detection stream and the second packet loss detection stream may both include the dedicated line detection information of the second dedicated line.
And S304, judging whether the first special line is in a packet loss fault state or not according to the second packet loss detection stream.
It should be understood that the process of determining the state of the first dedicated line according to the second packet loss detection stream is similar to the above-described method of the first packet loss detection stream, and is not described herein again.
If not, executing S305; if the first dedicated line is determined to be in the packet loss fault state by both the first packet loss detection stream and the second packet loss detection stream, the above-mentioned S306 is executed.
It can be understood that two detection devices are used to send two detection streams (a first packet loss detection stream and a second packet loss detection stream) at the same time, which can avoid the influence on the accuracy of the dedicated line packet loss detection when a single detection device fails. For example, when the first packet loss detection flow determines that the first dedicated line has a fault and the second packet loss detection flow determines that the second dedicated line is normal, the second dedicated line is considered to be in a normal state, and at least one detection device in a group of detection devices of the first packet loss detection flow has a fault (that is, at least one of the faults of the first detection device and the second detection device is in a fault state), so that whether the detection device is in the fault state or not can be determined while the dedicated line packet loss detection and the dedicated line switching are performed, and the stability of the dedicated line packet loss detection and the dedicated line detection is improved.
In an optional embodiment, when the routing protocol of the network device is modified or adjusted, the attribute information of the network device in the routing protocol may change, that is, after the attribute information of the network device in the routing protocol is updated, if the packet loss detection flow is detected based on the attribute information of the network device in the routing protocol, the packet loss detection flow may be affected by the dedicated line switching, which may cause disorder of the packet loss detection flow. In order to solve the above problem, on the basis of fig. 3, taking as an example that the first packet loss detection flow includes static routing information corresponding to the first dedicated line, the static routing information represents a connection relationship between network devices at two ends of the first dedicated line, and the controller includes configuration information corresponding to all data transmission lines where the first data center and the second data center maintain connection, please refer to fig. 6, where fig. 6 is a flowchart of another dedicated line switching method provided in an embodiment of the present invention. The above S302 may include:
s3021, determining whether the static routing information matches the configuration information.
It can be understood that, by fixing the static routing information of the first packet loss detection flow on the detected dedicated line (first dedicated line), the first packet loss detection flow can be prevented from being affected by the switching of the dedicated line, and the accuracy of packet loss detection is improved.
If the static routing information is matched with the configuration information, executing S3022; if the static routing information does not match the configuration information, S3023 is performed.
S3022, determining the first packet loss detection stream as an effective detection stream.
S3023, determining the first packet loss detection stream as an invalid detection stream.
It can be understood that, when the first packet loss detection stream is an effective detection stream, the state of the first dedicated line obtained by using the first packet loss detection stream is judged to be authentic; it should be noted that, the static routing information of the packet loss detection flow is fixed on the detected dedicated line, and when the attribute information of the network device in the detected dedicated line in the routing protocol is modified, the static routing information of the detected dedicated line is determined, and is not affected by the dedicated line switching performed by the network device, so that the stability of packet loss detection is improved.
In an optional embodiment, the controller may determine, according to the private line information to be switched, a corresponding private line switching instruction by searching, through a database, an Internet Protocol (IP) address of a network device where the private line information is located, a user password, and private line port information, and on the basis of fig. 6, a possible implementation manner is given, please refer to fig. 7, where fig. 7 is a flowchart of another private line switching method provided in an embodiment of the present invention. The above S305 may include:
s3051, generating a first switching message according to the configuration information and the static routing information.
It can be understood that the controller searches the configuration information and the static routing information corresponding to the private line to be switched through the database, and generates the first switching message. For example, the SDN controller encapsulates, according to the relevant routing configuration policy, an instruction of a network device related to the first private line into a first switching packet (e.g., a Netconf protocol packet) in an extensible Markup Language (XML) format.
S3052, generating a private line switching instruction matched with the network equipment at the two ends of the first private line according to the configuration information and the first switching message.
It should be understood that, a Uniform Resource Locator (URL) applied by the controller is not consistent with a URL of a Web page supported by the network device when leaving a factory, a first switching message (e.g., a Netconf protocol message) needs to be encapsulated into a general format (dedicated line switching instruction) by using SOAP, so that when the network device receives the dedicated line switching instruction, the network device switches the first dedicated line traffic to a healthy second dedicated line for data transmission.
And S3053, sending the private line switching instruction to any network device at two ends of the first private line, so that any network device analyzes the private line switching instruction, and switches the first private line flow to a second private line corresponding to the first switching message for data transmission.
For example, after the Netconf protocol message is encapsulated into the SOAP message, the Netconf protocol message is transmitted through the HTTP protocol, and the controller issues the Netconf instruction in this way to implement the non-manual configuration of the network device, reduce the process of manually performing the private line switching, and improve the private line switching efficiency caused by the private line packet loss.
Please refer to fig. 2, if the first network layer fails, the controller cannot send the dedicated line switching instruction to the network device, and based on fig. 3, for example, the first data center further includes a first network device, the first network device is a network device at a first end of the first dedicated line, and the first network device is in communication connection with the first detection device, please refer to fig. 8, and fig. 8 is a flowchart of another dedicated line switching method provided in the embodiment of the present invention. The above S305 may include:
s305a, sending the private line switching instruction to the first detection device, so that when the first network device receives the private line switching instruction forwarded by the first detection device, the first private line traffic is switched to the second private line for data transmission.
It can be understood that the dedicated line switching instruction is sent to the first detection device, and the first detection device and the first network device are located in the first data center, so that the dedicated line switching instruction is sent to the first network device, the first network device switches the first dedicated line flow to the second dedicated line for data transmission when receiving the dedicated line switching instruction, and the problem that the dedicated line switching instruction cannot smoothly reach the network device is avoided.
It should be noted that, although the dedicated line switching instruction is transmitted from the controller → the first network layer → the first detection device → the first network device in the above embodiments, in some possible embodiments, the dedicated line switching instruction may also be transmitted through the controller → the third dedicated line → the first detection device → the first network device, and the third dedicated line is a dedicated data transmission line between the controller and the first detection device, and is used for the dedicated line switching communication; the private line switching instruction can also be transmitted through the controller → a fourth private line → the first network device, and the fourth private line is a private data transmission line between the controller and the first network device and is used for private line switching communication; when the first network device accesses the first network layer, the dedicated line switching instruction can be further transmitted through the controller → the first network layer → the first network device.
Please refer to fig. 9, fig. 9 is a schematic diagram of packet loss detection for a dedicated line, in order to implement packet loss detection for the dedicated line in the prior art, a telemetry technology is used, an SDN controller is integrated on "network device 1", the "detection device 1" sends a plurality of detection packets, each network device ("network device 1", "network device 2", "network device 3", and "network device 4") sends a response corresponding to the detection packet to the SDN controller, and the SDN controller determines whether the dedicated line has a packet loss according to address information of each network device and the response corresponding to each network device, where hardware resources required by the SDN controller are large. In the private line switching of the data centers, in order to ensure the private line stability between the data centers, the network device needs to reduce the influence of other data as much as possible, so as to improve the private line stability. That is to say, in the solution of dedicated line packet loss detection shown in fig. 9, if the SDN controller is integrated in the "network device 1", and the network devices of each manufacturer have transmission protocol restrictions, in order to implement dedicated line switching, the "network device 1" needs a large hardware resource, and the SDN controller and the "network device 1" are integrated together, so that the accuracy of packet loss detection performed during dedicated line traffic switching is extremely low, and there is basically no referential property.
Therefore, in order to solve the above problem, an embodiment of the present invention further provides a private line switching method applied to the first detection device on the basis of the first detection device 211 shown in fig. 2, please refer to fig. 10, and fig. 10 is a schematic flow chart of another private line switching method provided in the embodiment of the present invention. The private line switching method comprises the following steps:
s401, sending the first packet loss detection stream to the controller through the first network layer.
The first packet loss detection stream includes first dedicated line detection information of a first dedicated line acquired by the first detection device and the second detection device, and the first dedicated line is a data transmission line of the first data center and the second data center.
S402, when the controller determines that the first special line is in a packet loss fault state according to the first packet loss detection stream, receiving a special line switching instruction sent by the controller.
S403, forward the dedicated line switching instruction to any network device at two ends of the first dedicated line, so as to switch the first dedicated line traffic transmitted through the first dedicated line to the second dedicated line for communication.
The first special line flow is data transmitted by the first data center and the second data center through the first special line, and the second special line is any healthy special line in other special lines which are connected with the first data center and the second data center.
It can be understood that the first detection device obtains the first packet loss detection flow of the first dedicated line, and the controller determines packet loss detection of the first dedicated line, so as to separate the controller from the network device, thereby reducing the requirement on hardware resources of the network device and improving the stability of the network device during switching of the dedicated line; and the first detection device and the second detection device are used for detecting the special line packet loss of the first special line, the first packet loss detection flow is not influenced by the special line switching of the network device, and the packet loss detection accuracy is improved.
In the dedicated line packet loss detection in fig. 9, the address information of the network device used by the SDN controller is modifiable information of the network device in the routing protocol, and if a dedicated line is switched in the process of the dedicated line packet loss detection, the result of the dedicated line packet loss detection will be inaccurate; and when the private line loses the packet, the SDN controller cannot know the current IP address of the network device, and cannot implement private line switching between data centers.
In order to solve the above problem, on the basis of fig. 10, the first packet loss detection flow includes static routing information corresponding to the first dedicated line, where the static routing information represents a connection relationship between network devices at two ends of the first dedicated line, the first data center further includes a first network device, the first network device is a network device at a first end of the first dedicated line, and the first network device is in communication connection with the first detection device, as an example, please refer to fig. 11, where fig. 11 is a flowchart of another dedicated line switching method provided in an embodiment of the present invention. The above S403 may include:
s4031, send the dedicated line switching instruction to the first network device, so that when the first network device receives the dedicated line switching instruction, the first dedicated line traffic is switched to the second dedicated line for data transmission according to the static routing information.
It can be understood that the network devices at both ends of the first dedicated line are determined by the static routing information, even if the static routing information of the network devices is adjusted in the routing protocol, the first dedicated line process can be smoothly switched to the second dedicated line for data transmission, thereby improving the stability of the dedicated line switching between data centers.
For the above-mentioned private line switching method, please refer to fig. 12 for easy understanding of the above-mentioned private line switching process, and fig. 12 is an effect diagram of private line switching provided in the embodiment of the present invention. In fig. 12, (a) is display information sent to the display side by the controller; (b) the controller can switch and adjust the special line flow among the data centers within preset time as a decision window of the controller; (c) for the alarm indication of the fault of the private network, a user can check the private state between the data centers through the window.
In order to implement the dedicated line switching method corresponding to S301 to S306, an embodiment of the present invention provides a dedicated line switching device, which is applied to a controller, where the controller is disposed in a first data center, the first data center further includes a first detection device, and the controller, the first detection device, and a second detection device of a second data center all access a first network layer to perform dedicated line switching communication, please refer to fig. 13, where fig. 13 is a schematic block diagram of the dedicated line switching device provided in the embodiment of the present invention, and the first dedicated line switching device 50 includes: a first communication module 51, a first judgment module 52 and a first processing module 53.
The first communication module 51 is configured to receive the first packet loss detection stream through the first network layer. The first packet loss detection stream includes first dedicated line detection information of a first dedicated line acquired by the first detection device and the second detection device, and the first dedicated line is a data transmission line of the first data center and the second data center.
The first determining module 52 is configured to determine whether the first dedicated line is in a packet loss fault state according to the first packet loss detection stream.
The first processing module 53 is configured to send a dedicated line switching instruction to any network device at two ends of the first dedicated line when the first dedicated line is in a packet loss fault state, so that the first dedicated line traffic transmitted through the first dedicated line is switched to the second dedicated line for communication. The first special line flow is data transmitted by the first data center and the second data center through the first special line, and the second special line is any healthy special line in other special lines which are connected with the first data center and the second data center.
It should be understood that the first communication module 51, the first judging module 52 and the first processing module 53 may cooperatively implement the above-mentioned S301 to S306 and possible sub-steps thereof.
In order to implement the private line switching method corresponding to S401 to S403, an embodiment of the present invention provides a private line switching apparatus, which is applied to a first detection device, where the first detection device is disposed in a first data center, the first data center further includes a controller, and the controller, the first detection device, and a second detection device of a second data center are all accessed to a first network layer to perform private line switching communication. Referring to fig. 14, fig. 14 is a block diagram illustrating another dedicated line switching device according to an embodiment of the present invention, in which the second dedicated line switching device 60 includes: a second communication module 61 and a second processing module 62.
The second communication module 61 is configured to send the first packet loss detection stream to the controller through the first network layer. The first packet loss detection stream includes first dedicated line detection information of a first dedicated line acquired by the first detection device and the second detection device, and the first dedicated line is a data transmission line of the first data center and the second data center.
The second communication module 61 is further configured to receive a dedicated line switching instruction sent by the controller when the controller determines that the first dedicated line is in the packet loss fault state according to the first packet loss detection stream.
The second processing module 62 is configured to forward the dedicated line switching instruction to any network device at two ends of the first dedicated line, so that the first dedicated line traffic transmitted through the first dedicated line is switched to the second dedicated line for communication. The first special line flow is data transmitted by the first data center and the second data center through the first special line, and the second special line is any healthy special line in other special lines which are connected with the first data center and the second data center.
It should be understood that the second communication module 61 and the second processing module 62 may implement the above-mentioned S401 to S403 and possible sub-steps thereof in cooperation.
In order to implement the private line switching method provided in any of the above embodiments, an embodiment of the present invention provides an electronic device, as shown in fig. 15, and fig. 15 is a block schematic diagram of an electronic device provided in an embodiment of the present invention. The electronic device 70 comprises a memory 71, a processor 72 and a communication interface 73. The memory 71, processor 72 and communication interface 73 are electrically connected to each other, directly or indirectly, to enable transmission or interaction of data. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The memory 71 can be used for storing software programs and modules, such as program instructions/modules corresponding to the private line switching method provided in the embodiment of the present invention, and the processor 72 executes the software programs and modules stored in the memory 71, thereby executing various functional applications and data processing. The communication interface 73 may be used for communication of signaling or data with other node devices. The electronic device 70 may have a plurality of communication interfaces 73 in the present invention.
The Memory 71 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like.
The processor 72 may be an integrated circuit chip having signal processing capabilities. The Processor may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), etc.; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc.
The electronic device 70 may implement any one of the private line switching methods provided by the present invention. The electronic device 70 may be, but is not limited to, a Mobile phone, a tablet Computer, a wearable device, a vehicle-mounted device, an Augmented Reality (AR)/Virtual Reality (VR) device, a laptop Computer, a super-Mobile Personal Computer (UMPC), a netbook, a Personal Digital Assistant (PDA), a server, or other electronic device with processing capability.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. 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: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
In summary, the present invention provides a private line switching method, an apparatus, an electronic device and a computer-readable storage medium, and relates to the field of data transmission of the internet. The private line switching method is applied to a controller, the controller is deployed in a first data center, the first data center further comprises first detection equipment, and the controller, the first detection equipment and second detection equipment of a second data center are all accessed to a first network layer to perform private line switching communication; the method comprises the following steps: receiving a first packet loss detection stream through a first network layer; the first packet loss detection stream comprises first special line detection information of a first special line, which is acquired by first detection equipment and second detection equipment, and the first special line is a data transmission line of a first data center and a second data center; judging whether the first special line is in a packet loss fault state or not according to the first packet loss detection flow; if so, sending a private line switching instruction to any network equipment at two ends of the first private line so as to switch the first private line flow transmitted by the first private line to the second private line for communication; the first special line flow is data transmitted by the first data center and the second data center through the first special line, and the second special line is any healthy special line in other special lines which are connected with the first data center and the second data center. The controller receives the first packet loss detection stream through the first network layer and judges the state of the first special line, so that the special line flow in the packet loss fault state is switched, the problem that the special line flow cannot be switched due to packet loss of the special line is solved, the process of manually switching the special line is reduced, and the special line switching efficiency caused by packet loss of the special line is improved.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A private line switching method is characterized in that the private line switching method is applied to a controller, the controller is deployed in a first data center, the first data center further comprises a first detection device and a third detection device, and the controller, the first detection device, a second detection device of a second data center and a fourth detection device are all accessed to a first network layer to perform private line switching communication; the method comprises the following steps:
receiving a first packet loss detection stream through the first network layer;
the first packet loss detection stream includes the first detection device and the second detection device, which collect the first dedicated line detection information of the first dedicated line, where the first dedicated line is a data transmission line of the first data center and the second data center;
receiving a second packet loss detection stream through the first network layer; the second packet loss detection stream includes the first dedicated line detection information acquired by the third detection device and the fourth detection device;
judging whether the first special line is in a packet loss fault state or not according to the first packet loss detection stream and the second packet loss detection stream;
if the first dedicated line is determined to be in the packet loss fault state by the first packet loss detection flow and the second packet loss detection flow, sending a dedicated line switching instruction to any network equipment at two ends of the first dedicated line so as to switch the first dedicated line flow transmitted by the first dedicated line to a second dedicated line for communication;
the first private line traffic is data transmitted by the first data center and the second data center through the first private line, and the second private line is any healthy private line in other private lines where the first data center and the second data center are kept connected.
2. The method according to claim 1, wherein the first packet loss detection flow includes static routing information corresponding to the first dedicated line, the static routing information represents a connection relationship between network devices at two ends of the first dedicated line, and the controller includes configuration information corresponding to all data transmission lines to which the first data center and the second data center maintain connection;
judging whether the first special line is in a packet loss fault state or not according to the first packet loss detection stream, wherein the judging step comprises the following steps:
judging whether the static routing information is matched with the configuration information;
and if so, determining the first packet loss detection stream as an effective detection stream.
3. The method of claim 2, wherein the sending a dedicated line switching command to any network device at both ends of the first dedicated line to switch the first dedicated line traffic transmitted through the first dedicated line to a second dedicated line for communication comprises:
generating a first switching message according to the configuration information and the static routing information;
generating a private line switching instruction matched with the network equipment at the two ends of the first private line according to the configuration information and the first switching message;
and sending the private line switching instruction to any network equipment at two ends of the first private line, so that any network equipment analyzes the private line switching instruction, and switches the first private line flow to the second private line corresponding to the first switching message for data transmission.
4. The method of claim 1, wherein the first data center further comprises a first network device, the first network device being a network device at a first end of the first private line, the first network device being communicatively coupled to the first detection device;
the sending of the private line switching instruction to any network device at two ends of the first private line so as to switch the first private line traffic transmitted through the first private line to a second private line for communication includes:
and sending the private line switching instruction to the first detection device, so that when the first network device receives the private line switching instruction forwarded by the first detection device, the first private line flow is switched to the second private line for data transmission.
5. A private line switching method is characterized in that the private line switching method is applied to first detection equipment, the first detection equipment is deployed in a first data center, the first data center further comprises a controller and first network equipment, the first network equipment is network equipment at a first end of a first private line, the first network equipment is in communication connection with the first detection equipment, and the controller, the first detection equipment and second detection equipment of a second data center are all accessed to a first network layer to perform private line switching communication; the method comprises the following steps:
sending a first packet loss detection stream to the controller through the first network layer;
the first packet loss detection flow includes the first detection device and the second detection device, which collect the dedicated line detection information of the first dedicated line, where the first dedicated line is a data transmission line of the first data center and the second data center, the first packet loss detection flow includes static routing information corresponding to the first dedicated line, and the static routing information represents the connection relationship of network devices at both ends of the first dedicated line;
when the controller determines that the first special line is in a packet loss fault state according to the first packet loss detection stream, receiving a special line switching instruction sent by the controller;
sending the private line switching instruction to the first network equipment, so that when the first network equipment receives the private line switching instruction, the first private line flow is switched to a second private line for data transmission according to the static routing information;
the first private line traffic is data transmitted by the first data center and the second data center through the first private line, and the second private line is any healthy private line in other private lines where the first data center and the second data center are kept connected.
6. A private line switching device is characterized by being applied to a controller, wherein the controller is deployed in a first data center, the first data center further comprises a first detection device and a third detection device, and the controller, the first detection device, a second detection device of a second data center and a fourth detection device are all accessed to a first network layer to perform private line switching communication; the device comprises: the device comprises a first communication module, a first judgment module and a first processing module;
the first communication module is configured to receive, through the first network layer, a first packet loss detection stream;
the first packet loss detection stream includes the first detection device and the second detection device, which collect the first dedicated line detection information of the first dedicated line, where the first dedicated line is a data transmission line of the first data center and the second data center;
receiving a second packet loss detection stream through the first network layer; the second packet loss detection stream includes the first dedicated line detection information acquired by the third detection device and the fourth detection device;
the first judging module is configured to judge whether the first dedicated line is in a packet loss fault state according to the first packet loss detection stream and the second packet loss detection stream;
the first processing module is configured to send a dedicated line switching instruction to any network device at two ends of the first dedicated line when the first packet loss detection stream and the second packet loss detection stream both determine that the first dedicated line is in the packet loss fault state, so that a first dedicated line traffic transmitted through the first dedicated line is switched to a second dedicated line for communication;
the first private line traffic is data transmitted by the first data center and the second data center through the first private line, and the second private line is any healthy private line in other private lines where the first data center and the second data center are kept connected.
7. A private line switching device is characterized by being applied to first detection equipment, wherein the first detection equipment is deployed in a first data center, the first data center further comprises a controller and first network equipment, the first network equipment is network equipment at a first end of a first private line, the first network equipment is in communication connection with the first detection equipment, and the controller, the first detection equipment and second detection equipment of a second data center are all accessed to a first network layer to perform private line switching communication; the device comprises: the second communication module and the second processing module;
the second communication module is configured to send a first packet loss detection stream to the controller through the first network layer;
the first packet loss detection flow further includes static routing information corresponding to the first dedicated line, where the static routing information represents a connection relationship between network devices at two ends of the first dedicated line;
the second communication module is further configured to receive a dedicated line switching instruction sent by the controller when the controller determines that the first dedicated line is in a packet loss fault state according to the first packet loss detection stream;
the second processing module is configured to send the dedicated line switching instruction to the first network device, so that when the first network device receives the dedicated line switching instruction, the first dedicated line traffic is switched to a second dedicated line for data transmission according to the static routing information;
the first private line traffic is data transmitted by the first data center and the second data center through the first private line, and the second private line is any healthy private line in other private lines where the first data center and the second data center are kept connected.
8. An electronic device comprising a processor and a memory, the memory storing machine executable instructions executable by the processor to implement the method of any one of claims 1-4 or the method of claim 5.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1 to 4 or the method of claim 5.
CN202010334329.7A 2020-04-24 2020-04-24 Private line switching method and device, electronic equipment and computer readable storage medium Active CN111565133B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010334329.7A CN111565133B (en) 2020-04-24 2020-04-24 Private line switching method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010334329.7A CN111565133B (en) 2020-04-24 2020-04-24 Private line switching method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111565133A CN111565133A (en) 2020-08-21
CN111565133B true CN111565133B (en) 2021-12-03

Family

ID=72071601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010334329.7A Active CN111565133B (en) 2020-04-24 2020-04-24 Private line switching method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111565133B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113660106A (en) * 2021-06-21 2021-11-16 酒泉钢铁(集团)有限责任公司 Load balancing and automatic switching method based on different operator private line links
CN115103064B (en) * 2022-06-07 2023-01-10 慧之安信息技术股份有限公司 Method for realizing special voice line based on SIP access
CN116566803B (en) * 2023-06-15 2024-04-05 华章数据技术有限公司 Line switching system and method based on flow monitoring

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106612233A (en) * 2016-12-29 2017-05-03 广州华多网络科技有限公司 Multi-channel network switching method and system
CN107948000A (en) * 2017-12-25 2018-04-20 瑞斯康达科技发展股份有限公司 A kind of switching method of primary channel, apparatus and system
CN109039681A (en) * 2017-06-09 2018-12-18 杭州达乎科技有限公司 Method for optimizing route, storage device and the network equipment based on SDN
CN109347743A (en) * 2018-08-02 2019-02-15 平安科技(深圳)有限公司 A kind of special line communication method, computer readable storage medium and terminal device
CN109428816A (en) * 2017-08-28 2019-03-05 中国电信股份有限公司 Link protection method, device and storage medium
CN109728956A (en) * 2019-01-29 2019-05-07 网联清算有限公司 Link switch-over method, device, computer equipment and storage medium
CN109889350A (en) * 2017-12-06 2019-06-14 杭州达乎科技有限公司 A kind of method and device for toggle path in SDN network failure

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02105648A (en) * 1988-10-13 1990-04-18 Nec Corp Fault detecting line switching system
CN106713038B (en) * 2016-12-28 2019-12-06 中国银联股份有限公司 remote transmission line quality detection method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106612233A (en) * 2016-12-29 2017-05-03 广州华多网络科技有限公司 Multi-channel network switching method and system
CN109039681A (en) * 2017-06-09 2018-12-18 杭州达乎科技有限公司 Method for optimizing route, storage device and the network equipment based on SDN
CN109428816A (en) * 2017-08-28 2019-03-05 中国电信股份有限公司 Link protection method, device and storage medium
CN109889350A (en) * 2017-12-06 2019-06-14 杭州达乎科技有限公司 A kind of method and device for toggle path in SDN network failure
CN107948000A (en) * 2017-12-25 2018-04-20 瑞斯康达科技发展股份有限公司 A kind of switching method of primary channel, apparatus and system
CN109347743A (en) * 2018-08-02 2019-02-15 平安科技(深圳)有限公司 A kind of special line communication method, computer readable storage medium and terminal device
CN109728956A (en) * 2019-01-29 2019-05-07 网联清算有限公司 Link switch-over method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111565133A (en) 2020-08-21

Similar Documents

Publication Publication Date Title
US11641319B2 (en) Network health data aggregation service
CN111565133B (en) Private line switching method and device, electronic equipment and computer readable storage medium
US20210119890A1 (en) Visualization of network health information
CN109495322B (en) Network fault positioning method, related equipment and computer storage medium
US10243820B2 (en) Filtering network health information based on customer impact
US8347143B2 (en) Facilitating event management and analysis within a communications environment
US10911263B2 (en) Programmatic interfaces for network health information
KR102076862B1 (en) Network performance indicator visualization method and apparatus, and system
WO2021128977A1 (en) Fault diagnosis method and apparatus
CN111130821B (en) Power failure alarm method, processing method and device
CN111934936B (en) Network state detection method and device, electronic equipment and storage medium
EP2586158B1 (en) Apparatus and method for monitoring of connectivity services
Zopellaro Soares et al. SDN‐based teleprotection and control power systems: A study of available controllers and their suitability
JP2009117920A (en) Communication apparatus and method and communication program
EP1370918B1 (en) Software-based fault tolerant networking using a single lan
JP2005237018A (en) Data transmission to network management system
CN109964450B (en) Method and device for determining shared risk link group
CN113422696B (en) Monitoring data updating method, system, equipment and readable storage medium
CN112242937B (en) Network speed measuring method and device, electronic equipment and computer readable medium
Cisco Release Notes for Cisco MGX 8260 Media Gateway, Version 1.2.5
CN108141406A (en) A kind of method, apparatus and equipment of traffic failure processing
US8571182B2 (en) Systems and methods of masking non-service affecting alarms in a communication system
CN115190001B (en) Network abnormal state analysis method and device
JP2007060518A (en) Total management system for system
CN110932878A (en) Management method, equipment and system of distributed network

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
GR01 Patent grant
GR01 Patent grant