CN107948000B - Method, device and system for switching main channel and standby channel - Google Patents

Method, device and system for switching main channel and standby channel Download PDF

Info

Publication number
CN107948000B
CN107948000B CN201711422426.6A CN201711422426A CN107948000B CN 107948000 B CN107948000 B CN 107948000B CN 201711422426 A CN201711422426 A CN 201711422426A CN 107948000 B CN107948000 B CN 107948000B
Authority
CN
China
Prior art keywords
channel
standby
main
performance
master
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
CN201711422426.6A
Other languages
Chinese (zh)
Other versions
CN107948000A (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.)
Raisecom Technology Co Ltd
Original Assignee
Raisecom 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 Raisecom Technology Co Ltd filed Critical Raisecom Technology Co Ltd
Priority to CN201711422426.6A priority Critical patent/CN107948000B/en
Publication of CN107948000A publication Critical patent/CN107948000A/en
Application granted granted Critical
Publication of CN107948000B publication Critical patent/CN107948000B/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
    • 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
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
    • 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/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • 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/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning

Abstract

The invention discloses a method, a device and a system for switching main and standby channels, wherein when one side of a main end device determines whether the main and standby states of the main and standby channels need to be switched or not through the detected performance of the main and standby channels which are predetermined and used for communicating with a slave end device, the performance of the main and standby channels comprises the following steps: the channel layer performance and the service layer performance of the main channel, and the channel layer performance and the service layer performance of the standby channel; therefore, when judging whether to switch the main/standby states of the main channel and the standby channel, the embodiment of the invention introduces the performance of the service layer, and uses the performance of the service layer and the performance of the channel layer as the condition for selecting the channel, namely as the input condition for communication protection switching, so that the communication protection switching is changed into the selection of the channel by the service, thereby enabling the communication network to sense the quality requirement of the service, and greatly improving the service capability and the opening capability of the network while improving the reliability of service transmission.

Description

Method, device and system for switching main channel and standby channel
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for switching a main channel and a standby channel.
Background
In order to ensure the reliability of the service between the clients, a redundant backup channel, i.e., a backup channel, is generally provided to avoid the problems of packet loss or service interruption when the main channel fails, and to improve the reliability of the service. As shown in the schematic diagram of the network structure of the private line service shown in fig. 1, an end-to-end private line service needs to pass through an access layer device 1, a convergence layer device 2, and a core layer device (not shown), and since multiple devices pass through the middle, there are more fault points in the network, and a backup channel must be provided for a high-level service to ensure normal communication between the devices; wherein, a1 represents the main channel, a2 represents the standby channel, and when the performance of the main channel a1 is difficult to meet the service requirement, the main channel is switched to the standby channel a2 to continue service transmission.
Generally, when a channel is switched, whether the channel needs to be switched is determined according to whether a detected channel for currently transmitting a service has an interruption or packet loss phenomenon, so that when the channel is switched, the channel is substantially based on the performance of a channel layer, and is not related to the performance of the service layer.
Therefore, how to ensure the reliability of service transmission is a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a system for switching a main channel and a standby channel, which are used for solving the problem of how to ensure the reliability of service transmission in the prior art.
The embodiment of the invention provides a method for switching a main channel and a standby channel, which comprises the following steps:
after a main channel and a standby channel for communicating with a slave end device are determined in advance, determining whether the main state and the standby state of the main channel and the standby channel need to be switched according to the detected performance of the main channel and the detected performance of the standby channel; wherein the performance of the main channel comprises: the channel layer performance and the service layer performance of the main channel; the performance of the backup channel comprises: the channel layer performance and the service layer performance of the standby channel;
when determining that the master/slave states of the master channel and the slave channel need to be switched, sending a notification carrying the master/slave states of the master channel and the slave channel to the slave device, so that the slave device sends a feedback message after switching the master/slave states of the master channel and the slave channel;
receiving a feedback message sent by the slave end equipment;
and switching the main and standby states of the main channel and the standby channel.
In a possible implementation manner, in the foregoing switching method provided in an embodiment of the present invention, the detecting the performance of the main channel and the performance of the standby channel specifically includes:
respectively detecting the service layer performance of the main channel and the service layer performance of the standby channel in real time, and outputting a detection result according to a preset service detection period;
and respectively detecting the channel layer performance of the main channel and the channel layer performance of the standby channel in real time, and sending out a warning when determining that the messages sent by the slave end equipment are not received in three continuous preset channel detection periods through the main channel and/or the standby channel.
In a possible implementation manner, in the handover method provided in the embodiment of the present invention, the preset service detection period is determined by using the following formula:
tai ═ i × [ t/(a-1) -t/(a) ]/(2 × N) (t/a) + i × [ t/(a-1) -t/(a) ]/(2 × N), a is an integer greater than 1;
Tai=t+i×(t/2)/(2×N),a=1
wherein t represents a measurement window, Tai represents a preset service detection period corresponding to the ith service type in the a-th service class, and N represents the total number of the service types in the a-th service class.
In a possible implementation manner, in the foregoing switching method provided in this embodiment of the present invention, the determining whether to switch the active/standby states of the main channel and the standby channel according to the detected performance of the main channel and the detected performance of the standby channel specifically includes:
determining whether the detected channel layer performance and/or service layer performance of the main channel is degraded;
when it is determined that both the detected channel layer performance and the detected service layer performance of the main channel are not degraded, the main/standby states of the main channel and the standby channel do not need to be switched;
when determining that the detected channel layer performance and/or service layer performance of the main channel is degraded, determining whether the detected channel layer performance and/or service layer performance of the standby channel is degraded;
when it is determined that both the detected channel layer performance and the detected service layer performance of the standby channel are not degraded, the main/standby states of the main channel and the standby channel need to be switched;
and when the detected deterioration of the channel layer performance and/or the service layer performance of the standby channel is determined, the main and standby states of the main channel and the standby channel are not required to be switched.
In a possible implementation manner, in the foregoing switching method provided in an embodiment of the present invention, the performance of the channel layer is degraded as follows: the state of the channel is an interruption state;
the service layer performance degradation is: the value of the service layer performance is larger than a preset threshold value.
In a possible implementation manner, in the foregoing switching method provided in an embodiment of the present invention, before the predetermining a main channel and a standby channel for communicating with a slave device, the method further includes:
establishing two channels for communicating with the slave end equipment, and configuring the two established channels;
determining whether the configuration of the two channels meets a preset requirement;
when the configuration of the two channels is determined not to meet the preset requirement, reestablishing the two channels for communicating with the slave end equipment, and reconfiguring the reestablished two channels;
when the configuration of the two channels is determined to meet the preset requirement, detecting the channel layer performance and the service layer performance of the two channels;
determining the main and standby states of the two channels according to the detected channel layer performance and service layer performance of the two channels;
and sending a notification carrying the determined main/standby states of the two channels to the slave end equipment.
In a possible implementation manner, in the foregoing switching method provided in this embodiment of the present invention, after the sending, to the slave device, the notification carrying the determined active/standby states of the two channels, the method further includes:
associating the determined main channel with a service enabled Y.1731 terminal;
associating the determined standby channel with a service opening detection Y.1564 terminal;
before the sending the notification carrying the main/standby state of the main channel and the standby channel to the slave device, the method further includes:
cutting off the association of the main channel with the Y.1731 terminal;
and cutting off the association between the spare channel and the Y.1564 terminal.
In a possible implementation manner, in the foregoing switching method provided in an embodiment of the present invention, the switching the active/standby states of the main channel and the standby channel specifically includes:
associating the spare channel with the Y.1731 terminal;
associating the main channel with the Y.1564 terminal.
In a possible implementation manner, in the foregoing handover method provided in an embodiment of the present invention, the method further includes:
and when determining that the main/standby states of the main channel and the standby channel do not need to be switched, maintaining the current main/standby states of the main channel and the standby channel.
On the other hand, an embodiment of the present invention further provides a method for switching a main channel and a standby channel, including:
receiving a notification which is sent by a main terminal device and carries the main/standby state of the main channel and the standby channel to be switched;
switching the main and standby states of the main channel and the standby channel according to the received notification, and detecting the performance of the main channel and the performance of the standby channel by matching with the main end equipment; wherein the performance of the main channel comprises: the channel layer performance and the service layer performance of the main channel; the performance of the backup channel comprises: the channel layer performance and the service layer performance of the standby channel;
and sending a feedback message of the switching completion of the main and standby states of the main channel and the standby channel to the main end equipment.
In a possible implementation manner, in the foregoing switching method provided in an embodiment of the present invention, the switching the active/standby states of the main channel and the standby channel specifically includes:
associating the standby channel with a service enable Y.1731 terminal, and the main channel with a service opening detection Y.1564 terminal;
and determining that the Y.1731 terminal is a response terminal and the Y.1564 terminal is a loopback terminal.
In a possible implementation manner, in the foregoing switching method provided in this embodiment of the present invention, before receiving a notification that carries a main/standby state where the main channel and the standby channel need to be switched, sent by a main end device, the method further includes:
receiving a notification carrying the determined main/standby states of the two channels sent by the main terminal device;
associating the determined main channel with the Y.1731 terminal and the standby channel with the Y.1564 terminal;
and determining that the Y.1731 terminal is a response terminal and the Y.1564 terminal is a loopback terminal.
In a possible implementation manner, in the foregoing switching method provided in this embodiment of the present invention, before the receiving the notification that carries the determined active/standby states of the two channels and is sent by the primary end device, the method further includes:
establishing two channels for communicating with the main terminal equipment, and configuring the two established channels;
determining whether the configuration of the two channels meets a preset requirement.
On the other hand, an embodiment of the present invention further provides a master device, including: the device comprises a first determining module, a sending module, a receiving module and a switching module; wherein the content of the first and second substances,
the first determining module is configured to determine whether a master/standby state of a master channel and a standby channel needs to be switched according to the detected performance of the master channel and the detected performance of the standby channel after the master channel and the standby channel used for communicating with a slave device are predetermined; wherein the performance of the main channel comprises: the channel layer performance and the service layer performance of the main channel; the performance of the backup channel comprises: the channel layer performance and the service layer performance of the standby channel;
the sending module is configured to send, to the slave device, a notification carrying a main/standby state that needs to be switched between the main channel and the standby channel when it is determined that the main/standby state of the main channel and the standby channel needs to be switched, so that the slave device sends a feedback message after switching the main/standby state of the main channel and the standby channel;
the receiving module is configured to receive a feedback message sent by the slave device;
the switching module is used for switching the main and standby states of the main channel and the standby channel.
In a possible implementation manner, in the above-mentioned master device provided in an embodiment of the present invention, the method further includes: a performance detection module;
the performance detection module is used for respectively detecting the service layer performance of the main channel and the service layer performance of the standby channel in real time and outputting a detection result according to a preset service detection period; and respectively detecting the channel layer performance of the main channel and the channel layer performance of the standby channel in real time, and sending out a warning when determining that the messages sent by the slave end equipment are not received in three continuous preset channel detection periods through the main channel and/or the standby channel.
In a possible implementation manner, in the master device provided in the embodiment of the present invention, the preset service detection period is determined by using the following formula:
tai ═ i × [ t/(a-1) -t/(a) ]/(2 × N) (t/a) + i × [ t/(a-1) -t/(a) ]/(2 × N), a is an integer greater than 1;
Tai=t+i×(t/2)/(2×N),a=1
wherein t represents a measurement window, Tai represents a preset service detection period corresponding to the ith service type in the a-th service class, and N represents the total number of the service types in the a-th service class.
In a possible implementation manner, in the above-mentioned master device provided in this embodiment of the present invention, the first determining module is specifically configured to determine whether the detected channel layer performance and/or service layer performance of the master channel is degraded; when it is determined that both the detected channel layer performance and the detected service layer performance of the main channel are not degraded, the main/standby states of the main channel and the standby channel do not need to be switched; when determining that the detected channel layer performance and/or service layer performance of the main channel is degraded, determining whether the detected channel layer performance and/or service layer performance of the standby channel is degraded; when it is determined that both the detected channel layer performance and the detected service layer performance of the standby channel are not degraded, the main/standby states of the main channel and the standby channel need to be switched; and when the detected deterioration of the channel layer performance and/or the service layer performance of the standby channel is determined, the main and standby states of the main channel and the standby channel are not required to be switched.
In a possible implementation manner, in the above master device provided in this embodiment of the present invention, the performance degradation of the channel layer is: the state of the channel is an interruption state;
the service layer performance degradation is: the value of the service layer performance is larger than a preset threshold value.
In a possible implementation manner, in the above-mentioned master device provided in an embodiment of the present invention, before the predetermining a master channel and a backup channel for communicating with a slave device, the method further includes: a second determination module;
the second determining module is configured to establish two channels for communicating with the slave device, and configure the two established channels; determining whether the configuration of the two channels meets a preset requirement; when the configuration of the two channels is determined not to meet the preset requirement, reestablishing the two channels for communicating with the slave end equipment, and reconfiguring the reestablished two channels; determining the main and standby states of the two channels according to the detected channel layer performance and service layer performance of the two channels;
the performance detection module is further configured to detect channel layer performance and service layer performance of the two channels when it is determined that the configurations of the two channels meet a preset requirement;
the sending module is further configured to send a notification carrying the determined active/standby states of the two channels to the slave device.
In a possible implementation manner, in the above-mentioned master device provided in the embodiment of the present invention, the performance detection module is composed of a service layer detection entity and a channel layer detection entity.
In a possible implementation manner, in the above master end device provided in this embodiment of the present invention, the first determining module is further configured to associate the determined master channel with a service-enabled y.1731 terminal; associating the determined standby channel with a service opening detection Y.1564 terminal;
before the notification carrying the main/standby state of the main channel and the standby channel to be switched is sent to the slave device, the switching module is further configured to cut off the association between the main channel and the y.1731 terminal; and cutting off the association between the spare channel and the Y.1564 terminal.
In a possible implementation manner, in the above-mentioned main-end device according to an embodiment of the present invention, the switching module is specifically configured to associate the standby channel with the y.1731 terminal, and associate the main channel with the y.1564 terminal.
In a possible implementation manner, in the above-mentioned master device provided in an embodiment of the present invention, the method further includes: a maintenance module;
the maintaining module is configured to maintain the active-standby states of the current main channel and the current standby channel when it is determined that the active-standby states of the main channel and the standby channel do not need to be switched.
In a possible implementation manner, in the above master device provided in this embodiment of the present invention, the first determining module, the second determining module, the maintaining module, and the switching module constitute a service protection logic.
On the other hand, an embodiment of the present invention further provides a slave device, including: the device comprises a receiving module, a switching module and a sending module; wherein the content of the first and second substances,
the receiving module is configured to receive a notification that carries a main/standby state that needs to be switched between the main channel and the standby channel, where the notification is sent by a main-end device;
the switching module is configured to switch the active/standby states of the main channel and the standby channel according to the received notification, and perform, in cooperation with the main-end device, detection on the performance of the main channel and the performance of the standby channel; wherein the performance of the main channel comprises: the channel layer performance and the service layer performance of the main channel; the performance of the backup channel comprises: the channel layer performance and the service layer performance of the standby channel;
the sending module is configured to send a feedback message that the active/standby states of the main channel and the standby channel are switched to the main device.
In a possible implementation manner, in the slave device provided in the embodiment of the present invention, the switching module is specifically configured to associate the standby channel with a service enable y.1731 terminal, and associate the master channel with a service opening detection y.1564 terminal; and determining that the Y.1731 terminal is a response terminal and the Y.1564 terminal is a loopback terminal.
In a possible implementation manner, in the slave device provided in the embodiment of the present invention, before the receiving the notification that carries the main/standby state that needs to switch the main channel and the standby channel, sent by the main terminal device, the method further includes: a first determination module;
the receiving module is further configured to receive a notification, which is sent by the main end device and carries the determined active/standby states of the two channels;
the first determining module is used for associating the determined main channel with the Y.1731 terminal, and associating the determined standby channel with the Y.1564 terminal; and determining that the Y.1731 terminal is a response terminal and the Y.1564 terminal is a loopback terminal.
In a possible implementation manner, in the slave device provided in the embodiment of the present invention, before the receiving the notification that carries the determined active/standby states of the two channels and is sent by the master device, the method further includes: a second determination module;
the second determining module is configured to establish two channels for communicating with the master device, and configure the two established channels; determining whether the configuration of the two channels meets a preset requirement.
In a possible implementation manner, in the slave device provided in the embodiment of the present invention, the first determining module, the second determining module, and the switching module form a service protection logic.
On the other hand, an embodiment of the present invention further provides a system for switching a main channel and a standby channel, including: the master device according to the embodiment of the present invention, the slave device according to the embodiment of the present invention, and a master channel and a backup channel for communication between the master device and the slave device.
The invention has the following beneficial effects:
in the method, the apparatus, and the system for switching a main channel and a standby channel provided in the embodiments of the present invention, when determining whether a main state and a standby state of the main channel and the standby channel need to be switched by detecting the performance of the main channel and the standby channel, which are predetermined and used for communicating with a slave device, at a side of a main device, the performance of the main channel and the standby channel includes: the channel layer performance and the service layer performance of the main channel, and the channel layer performance and the service layer performance of the standby channel; therefore, when judging whether to switch the main/standby states of the main channel and the standby channel, the embodiment of the invention introduces the performance of the service layer, and uses the performance of the service layer and the performance of the channel layer as the condition for selecting the channel, namely as the input condition for communication protection switching, so that the communication protection switching is changed into the selection of the channel by the service, thereby enabling the communication network to sense the quality requirement of the service, and greatly improving the service capability and the opening capability of the network while improving the reliability of service transmission.
Drawings
Fig. 1 is a schematic diagram of a network structure of a private line service in the prior art;
fig. 2 is a flowchart of a handover method according to an embodiment of the present invention;
fig. 3 is a second flowchart of a handover method according to an embodiment of the present invention;
fig. 4 and 5 are schematic views of connection relationships between channels and terminals, respectively, provided in the embodiment of the present invention;
fig. 6 is a schematic diagram of a conversion relationship between states of the main/standby channels according to the embodiment of the present invention;
fig. 7 and fig. 8 are schematic structural diagrams of a master-end device provided in an embodiment of the present invention, respectively;
fig. 9 is a third flowchart of a handover method according to an embodiment of the present invention;
FIG. 10 is a flow chart of a method according to a first embodiment of the present invention;
FIG. 11 is a flowchart of an interaction of a first embodiment provided in an embodiment of the present invention;
fig. 12 and fig. 13 are schematic structural diagrams of a slave device provided in an embodiment of the present invention, respectively;
fig. 14 is a schematic structural diagram of a switching system provided in an embodiment of the present invention.
Detailed Description
The following describes in detail specific embodiments of a method, an apparatus, and a system for switching a main channel and a standby channel according to an embodiment of the present invention with reference to the accompanying drawings. It should be noted that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. 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.
An embodiment of the present invention provides a method for switching a main channel and a standby channel, which is applied to a main device, and as shown in fig. 2, the method may include:
s201, predetermining a main channel and a standby channel for communicating with slave end equipment;
s202, detecting the performance of a main channel and the performance of a standby channel;
s203, determining whether the main state and the standby state of the main channel and the standby channel need to be switched according to the detected performance of the main channel and the detected performance of the standby channel; if yes, go to step S204; if not, go to step S207;
wherein the performance of the main channel comprises: channel layer performance and service layer performance of the main channel; the properties of the backup channel include: channel layer performance and service layer performance of the standby channel;
s204, sending a notification carrying the main/standby state of the main channel and the standby channel to the slave end equipment so that the slave end equipment sends a feedback message after switching the main/standby state of the main channel and the standby channel;
s205, receiving a feedback message sent by the slave end equipment;
s206, switching the main and standby states of the main channel and the standby channel; ending the flow;
and S207, maintaining the main and standby states of the current main channel and the standby channel.
In the switching method provided in the embodiment of the present invention, when determining whether to switch the active/standby states of the main channel and the standby channel, the embodiment of the present invention introduces the performance of the service layer, and uses the performance of the service layer and the performance of the channel layer together as a condition for channel selection, that is, as an input condition for communication protection switching, so that communication protection switching is changed into selection of a service for a channel, thereby enabling a communication network to sense a quality requirement of the service, and greatly improving the service capability and the openness capability of the network while improving the reliability of service transmission.
It should be noted that, the master device and the slave device mentioned in the embodiment of the present invention may be determined by a negotiation manner or a manner of comparing respective Media Access Control (MAC) address sizes between the two devices, and of course, the two devices may also be determined by other manners known to those skilled in the art, which is not limited herein. In addition, the master device in the embodiment of the present invention is mainly used to implement the determination and switching of the master and slave channels according to the channel layer performance and the service layer performance, and the slave device is mainly used to respond to the notification sent by the master device and complete the switching of the master and slave channels, so as to implement the communication between the two devices.
In specific implementation, in order to reduce unnecessary operations and reduce power consumption of a switching system, the switching method provided in the embodiment of the present invention may further include: and when determining that the main/standby states of the main channel and the standby channel do not need to be switched, maintaining the main/standby states of the current main channel and the standby channel.
In specific implementation, before determining whether the main-standby state of the main channel and the standby channel needs to be switched, the main-standby state of the main channel between the main-end device and the slave-end device is predetermined, and the main-standby state switching can be realized only if the main-standby state of each channel is predetermined; therefore, before step S201 in the above switching method provided in the embodiment of the present invention determines a main channel and a standby channel for communicating with a slave device in advance, as shown in fig. 3, the method may further include:
s301, establishing two channels for communicating with slave end equipment, and configuring the two established channels;
s302, determining whether the configuration of the two channels meets a preset requirement; if not, returning to the step S301; if yes, go to step S303;
s303, detecting the channel layer performance and the service layer performance of the two channels;
s304, determining the main and standby states of the two channels according to the detected channel layer performance and service layer performance of the two channels;
s305, sending a notification carrying the determined main/standby states of the two channels to the slave end device.
Specifically, after two channels for communicating with the slave device are established, a logic control channel needs to be established in each of the two channels, and the master device and the slave device may send a message through the established logic control channel to determine whether the two channels are in a conducting state, where the conducting state may be denoted as an Up state, and the interrupting state may be denoted as a Down state.
Moreover, the master device and the slave device also need to establish corresponding channel layer detection entities for the two channels respectively to realize the detection of the channel layer performance; the channel layer Detection entity may be a conventional Bidirectional Forwarding Detection (BFD) or Continuity Check (CC), or may be other Detection entities as long as the Detection of the channel layer performance can be achieved, and the Detection manner of the BFD or the CC on the channel may refer to the prior art, which is not limited herein.
In addition, in step S302, when determining whether the configuration of each channel meets the preset requirement, the configured channel layer detection entity (BFD or CC) may detect the channel layer performance of each channel to determine whether each channel is in an Up state or a Down state; if the optical fiber connection of each channel is correct, the label and the BFD parameter configuration are correct, and the intermediate equipment in the telecommunication networking is also configured correctly, the channel layer detection entity considers that the state of the channel is an Up state, otherwise, the state is a Down state; when the channel layer detection entity considers that the channel state is the Down state, it needs to return to step S301 again, reestablish the channel, and reconfigure the channel until the channel layer detection entity considers that the channel state is the Up state.
Of course, the above-mentioned specific implementation of step S302 can also be implemented by other prior arts, and the implementation process is only exemplified here; the specific implementation processes of step S301 and step S305 also belong to the prior art, and the specific implementation processes may refer to the prior art, which is not limited herein.
Specifically, in the embodiment of the present invention, the detection of the service layer performance is introduced, so that the communication protection switching becomes the selection of the service to the channel, and therefore, the detection of the service layer performance is particularly important, and therefore, in the embodiment of the present invention, the detection of the service layer performance employs a y.1731 technology and a y.1564 technology; y.1731 is a mode of service detection, which provides an entity discovery mechanism, an entity continuity detection CC mechanism, and a packet loss, delay and jitter mechanism, and is generally used for detecting the service layer performance of the main channel because y.1731 is an attribute of a service; y.1564 is a mode of opening service detection, and can detect packet loss rate, time delay, and jitter index of a service based on a bandwidth test channel, so y.1564 is generally used for detecting service layer performance of a standby channel.
It should be noted that, regardless of the master device or the slave device, the y.1564 terminal and the y.1731 terminal are provided; if the current service is transmitted on the main channel, the y.1731 terminals of the main end device and the slave end device are both associated with the main channel, and the y.1564 terminals of the main end device and the slave end device are both associated with the standby channel; on the contrary, if the current service is transmitted on the standby channel, the y.1731 terminals of the master device and the slave device are both associated with the standby channel, and the y.1564 terminals of the master device and the slave device are both associated with the master channel.
In addition, on the side of the master device, the y.1564 terminal and the y.1731 terminal are both initiating terminals, while on the side of the slave device, the y.1564 terminal is a loopback terminal and is responsible for retransmitting a received Message, and the y.1731 terminal is a response terminal and is used for replying a Loss Measurement response Message (LMR) when receiving a Loss Measurement Message (LMM).
However, step S303 in the embodiment of the present invention is performed after determining that the configuration of the channels is correct, so for the first detection of each channel, it is detected that the states of the two channels are initial states; when detecting the channel layer performance and the service layer performance of the two channels, the channel layer performance is detected by using the mentioned channel layer detection entity (BFD or CC), and the service layer performance is generally detected by using a y.1564 technology, that is, the master device interacts with the slave device by using the y.1564 technology, performs service bearing quality detection of an initial channel, and forms an initial service layer performance; and determining the main and standby states of the two channels according to the detected channel layer performance and service layer performance.
Specifically, since y.1731 is generally used for detecting the service layer performance of the main channel, and y.1564 is generally used for detecting the service layer performance of the standby channel, in the above switching method provided in this embodiment of the present invention, after sending the notification carrying the determined main/standby states of the two channels to the slave device, the method may further include: associating the determined main channel with a service enabling Y.1731 terminal; associating the determined standby channel with a service opening detection Y.1564 terminal; therefore, the detection of the service layer performance of the main channel and the standby channel is realized, the service quality index is provided for protection switching, and the service quality perception capability of the network is improved.
Moreover, before switching the active/standby state between the main channel and the standby channel, the main channel is associated with the y.1731 terminal, and the standby channel is associated with the y.1564 terminal, so after determining that the active/standby state of the main channel and the standby channel needs to be switched, before sending a notification carrying the active/standby state that the main channel and the standby channel need to be switched to the slave device, the method may further include: cutting off the association of the main channel with the Y.1731 terminal; cutting off the association of the spare channel and the Y.1564 terminal; therefore, the main channel and the standby channel are respectively associated with the Y.1731 terminal and the Y.1564 terminal again, and the service layer performance of the main channel and the standby channel is detected.
Further, after receiving the feedback message of the slave device, it indicates that the slave device has reset the association relationship between the master/slave channel and the y.1731 and y.1564 terminals, respectively, that is, the slave device has completed the association between each channel and each terminal, so that the master device can complete the master/slave state switching of the master/slave channel to ensure normal communication between the master device and the slave device; therefore, the step S206 of the switching method provided in the embodiment of the present invention may specifically include: associating the spare channel with the Y.1731 terminal; associating a main channel with a y.1564 terminal; therefore, the real-time detection of the service transmission on the standby channel by Y.1731 is realized, and the real-time monitoring of the main channel is realized by Y.1564.
For example, as shown in fig. 4 and 5, fig. 4 is a connection relationship between each terminal and each channel before the main/standby state of the main/standby channel is switched, and fig. 5 is a connection relationship between each terminal and each channel after the main/standby state of the main/standby channel is switched; wherein, 10 represents a Y.1564 terminal, 20 represents a Y.1731 terminal, 30 represents a main channel, and 40 represents a standby channel; prior to switching, main channel 30 is associated with y.1731 terminal 20 and backup channel 40 is associated with y.1564 terminal 10; after the switching, the standby channel 40 is associated with the y.1731 terminal 20, and the main channel 30 is associated with the y.1564 terminal 10, so as to realize the switching of the standby state of the standby channel.
In a specific implementation, in order to detect the channel layer performance and the service layer performance on the active/standby channel to determine the state of each channel, step S202 in the switching method provided in the embodiment of the present invention for detecting the performance of the active channel and the performance of the standby channel may specifically include:
respectively detecting the service layer performance of the main channel and the service layer performance of the standby channel in real time, and outputting a detection result according to a preset service detection period;
and respectively detecting the channel layer performance of the main channel and the channel layer performance of the standby channel in real time, and sending out a warning when determining that the messages sent by the slave end equipment are not received in three continuous preset channel detection periods through the main channel and/or the standby channel.
Specifically, when detecting the performance of the channel layer, the above-mentioned conventional channel detection entity is used to implement, such as BFD or CC, and when detecting the performance of the channel layer, real-time detection is implemented to fully monitor the state of the channel; if the master device does not receive the message sent by the slave device in three consecutive preset channel detection periods, the channel is interrupted, and the master device and the slave device cannot realize normal service transmission, so that the channel layer detection entity immediately sends a warning to enable the switching system to know that the master channel is interrupted or the slave channel is interrupted, and the master/slave state of the master/slave channel needs to be switched to ensure normal communication of the master/slave device; meanwhile, if the channel is always kept in a conducting state, no warning is given; therefore, when detecting the channel layer performance of the main channel and the standby channel, if no warning is issued in the preset service detection period, it indicates that the channel is not degraded, and if a warning is issued in the preset service detection period, it indicates that the channel is degraded.
Specifically, when the performance of the service layer is detected, real-time detection is also realized to fully monitor the state of the service layer, and since the packet loss rate or the time delay and the like are the results accumulated in a period of time, detection needs to be output regularly instead of real-time output of the detection results; it should be noted that, since the detection result of the service layer performance is output according to the preset service detection period, when the detection result of the service layer performance is output every time, whether the active/standby states of the main channel and the standby channel need to be switched once is determined by combining whether the channel layer detection entity sends out a warning, so that the main channel and the standby channel are effectively monitored, and normal communication between the main-end device and the slave-end device is ensured.
Therefore, in the above handover method provided in the embodiment of the present invention, when the detection result is output according to the preset service detection period, the preset service detection period is determined by using the following formula:
tai ═ i × [ t/(a-1) -t/(a) ]/(2 × N) (t/a) + i × [ t/(a-1) -t/(a) ]/(2 × N), a is an integer greater than 1;
Tai=t+i×(t/2)/(2×N),a=1
wherein t represents a measurement window, Tai represents a preset service detection period corresponding to the ith service type in the a-th service class, and N represents the total number of the service types in the a-th service class.
Specifically, the measurement window is generally determined according to the time from the network failure to the network recovery, and is typically 300 seconds, although, of course, not limited thereto, and is only exemplified here; the service grade is determined according to the service type (the service grade can be represented by numerical values, and the larger the numerical value is, the higher the service grade is, for example, the service grade can be generally divided into 8 grades, 8 represents that the service grade is the highest, and 1 represents that the service grade is the lowest), in the embodiment of the invention, the detection time of different service types and the detection time of different services in the same service grade can be distinguished through the service grade, wherein, the higher the service grade is, the smaller the ratio of a measurement window t to the service grade a is, the higher the service grade is, the service quality is more sensitive, the change of a channel can be quickly responded, and the channel can be quickly switched to another channel to ensure the normal operation of the service; therefore, the ratio of t to a may indicate that the services cannot be switched simultaneously, but must be switched gradually, so as to avoid the situation of mutual occupation and interference after the simultaneous switching, thereby avoiding the quality of the services in the channel from failing to reach the standard, and preventing the services from oscillating back and forth.
In addition, in an actual network, there are multiple service transmissions, and each service corresponds to a corresponding service protection logic (see the following contents specifically), a main channel and a standby channel; for each service, performing service layer performance detection and channel layer performance detection under the service, and executing and determining the switching of the main/standby states of the main/standby channels under the service based on the detection result; wherein, the preset service detection periods of different service types related to the service layer are different; it should be noted that the primary channel is generally used to transmit real traffic, and the backup channel is generally used to transmit simulated traffic that is the same as the real traffic on the corresponding primary channel.
For example, if the measurement window t is 300 seconds, the traffic class a is 8, and it is determined by calculation that i × [ t/(a-1) -t/(a) ]/(2 × N) is 4, the ratio of the measurement window t to a is: t/a is 300/8 seconds 37.5 seconds, so the preset service detection period with the service level of 8 is T37.5 +4 seconds 41.5 seconds; if the traffic class a is 1 and it is calculated that i × (t/2)/(2 × N) is 0.5, the ratio of the measurement window t to a is: t/a is 300/1 seconds 300, so the preset service detection period T of service level 1 is 300+0.5 seconds 300.5 seconds. Of course, the determination of Tai is only illustrated here, but not limited thereto.
According to the above example, the preset service detection period with a high service level is far shorter than the preset service detection period with a low service level, so that the service with the high service level can quickly sense the change of the service quality, and the selection and switching of the service to the channel can be quickly realized, so that the decision on the channel according to the service is realized, the service requirement is met when the channel switching is realized, and the service capability and the opening capability of the network are improved.
In specific implementation, step S203 in the switching method provided in the embodiment of the present invention determines whether the main/standby states of the main channel and the standby channel need to be switched according to the detected performance of the main channel and the detected performance of the standby channel, which may specifically include:
determining whether the detected channel layer performance and/or service layer performance of the main channel is degraded;
when the detected channel layer performance and service layer performance of the main channel are not degraded, the main and standby states of the main channel and the standby channel are not required to be switched;
when determining that the channel layer performance and/or the service layer performance of the detected main channel is degraded, determining whether the channel layer performance and/or the service layer performance of the detected standby channel is degraded;
when it is determined that both the detected channel layer performance and the detected service layer performance of the standby channel are not degraded, the main/standby states of the main channel and the standby channel need to be switched;
when the detected channel layer performance and/or service layer performance degradation of the standby channel is determined, the main/standby states of the main channel and the standby channel do not need to be switched.
Specifically, in the above switching method provided in the embodiment of the present invention, the performance degradation of the channel layer is: the state of the channel is an interruption state; the service layer performance degradation is: the value of the service layer performance is larger than a preset threshold value. The preset threshold may be set according to a specific actual situation, and is not limited herein.
Specifically, as shown in fig. 6, switching between states of the main channel and the standby channel is shown, where mainly meeting the standard means that neither the channel layer performance nor the service layer performance is degraded, and mainly failing to meet the standard means that at least one of the channel layer performance and the service layer performance is degraded; similarly, the condition of reaching the standard means that the performance of the channel layer and the performance of the service layer are not degraded, and the condition of failing to reach the standard means that at least one of the performance of the channel layer and the performance of the service layer is degraded; and, if P is defined to indicate a channel for performing traffic transmission, P is associated with the y.1731 terminal, and Q is defined to indicate a channel for not performing traffic transmission, Q is associated with the y.1564 terminal.
For example, after detecting the channel layer performance and the service layer performance of the two channels in step S303, it is determined that the performance of the main channel reaches the standard, and when the performance of the backup channel also reaches the standard, the state is recorded as state 1, at this time, the main channel may be determined as channel P, the backup channel is channel Q, that is, the service is transmitted on the main channel.
When the performance of the standby channel is degraded, the state 1 is changed into the state 2, namely the performance of the main channel reaches the standard, and the performance of the standby channel does not reach the standard; because the performance of the main channel still reaches the standard, the service can still be transmitted on the main channel without switching, so that the main channel is still the channel P, and the standby channel is still the channel Q.
When the performance of the main channel is degraded, the state 1 is changed into the state 3, that is, the performance of the main channel does not reach the standard, and the performance of the standby channel reaches the standard, at this time, due to the degradation of the main channel, the service cannot be transmitted on the main channel, so that the normal communication between the main-end device and the slave-end device can be ensured only by transmitting the service on the standby channel, and therefore, the standby channel is the channel P, and the main channel is the channel Q.
When the performance of the main channel is degraded and the performance of the standby channel is also degraded, the state 2 is changed into the state 4, or the state 3 is changed into the state 4, namely the performance of the main channel does not reach the standard, and the performance of the standby channel does not reach the standard, and the service transmission between the main terminal equipment and the standby terminal equipment cannot be guaranteed even if the channels are switched, so that the current states of all the channels can be maintained.
Of course, after the channel layer performance and the service layer performance of the two channels are detected in step S303, it is determined that the performance of the main channel does not reach the standard and the performance of the backup channel reaches the standard, or after the channel layer performance and the service layer performance of the two channels are detected in step S303, it is determined that the performance of the main channel reaches the standard and the performance of the backup channel does not reach the standard, or after the channel layer performance and the service layer performance of the two channels are detected in step S303, it is determined that the performance of the main channel does not reach the standard and the performance of the backup channel does not reach the standard, specific switching processes may refer to the above contents, and repeated parts are not described again.
It should be noted that the states can be switched, for example, the state 1 can be changed to the state 2, and then the state 2 can also be changed to the state 1, and similarly, the state 1 can be changed to the state 3, and the state 3 can also be changed to the state 1; however, no matter how the states are switched, when the main state and the standby state of the main channel and the standby channel are switched, if the performance of the main channel is not degraded, the service can be transmitted on the main channel all the time; if the performance of the main channel is degraded, it is first determined whether the performance of the standby channel is also degraded, if not, the service transmission may be switched to the standby channel, and if degraded, the current state may be maintained, and the recovery of the main channel or the standby channel is waited to recover the communication between the main device and the standby device.
Based on the same inventive concept, embodiments of the present invention further provide a master device, and since the master device has a similar working principle to the foregoing switching method on the master device side, reference may be made to the specific embodiment of the switching method for the specific implementation of the master device, and repeated details are not repeated.
Specifically, as shown in fig. 7, the master device provided in the embodiment of the present invention may include: a first determining module 701, a sending module 702, a receiving module 703 and a switching module 704; wherein the content of the first and second substances,
a first determining module 701, configured to determine whether a master/standby state of a master channel and a standby channel needs to be switched according to detected performance of the master channel and performance of the standby channel after the master channel and the standby channel used for communicating with a slave device are predetermined; wherein the performance of the main channel comprises: channel layer performance and service layer performance of the main channel; the properties of the backup channel include: channel layer performance and service layer performance of the standby channel;
a sending module 702, configured to send a notification carrying the main/standby states of the main channel and the standby channel to the slave device when it is determined that the main/standby states of the main channel and the standby channel need to be switched, so that the slave device sends a feedback message after the main/standby states of the main channel and the standby channel are switched;
a receiving module 703, configured to receive a feedback message sent by a slave device;
a switching module 704, configured to switch the active/standby states of the main channel and the standby channel.
In the above-mentioned master device provided in the embodiment of the present invention, when determining whether to switch the master/slave states of the master channel and the slave channel, the embodiment of the present invention introduces the performance of the service layer, and uses the performance of the service layer and the performance of the channel layer together as a condition for channel selection, that is, as an input condition for communication protection switching, so that communication protection switching is changed into selection of a service for a channel, thereby enabling a communication network to sense a quality requirement of the service, and greatly improving the service capability and the openness capability of the network while improving the reliability of service transmission.
In specific implementation, as shown in fig. 8, the master device provided in the embodiment of the present invention may further include: a performance detection module 705;
the performance detection module 705 is configured to perform real-time detection on the service layer performance of the main channel and the service layer performance of the standby channel, and output a detection result according to a preset service detection period; and respectively detecting the channel layer performance of the main channel and the channel layer performance of the standby channel in real time, and sending out a warning when determining that the messages sent by the slave end equipment are not received in three continuous preset channel detection periods through the main channel and/or the standby channel.
Specifically, in the master device provided in the embodiment of the present invention, the preset service detection period is determined by using the following formula:
tai ═ i × [ t/(a-1) -t/(a) ]/(2 × N) (t/a) + i × [ t/(a-1) -t/(a) ]/(2 × N), a is an integer greater than 1;
Tai=t+i×(t/2)/(2×N),a=1
wherein t represents a measurement window, Tai represents a preset service detection period corresponding to the ith service type in the a-th service class, and N represents the total number of the service types in the a-th service class.
In specific implementation, in the above-mentioned master device provided in this embodiment of the present invention, the first determining module 701 is specifically configured to determine whether the detected channel layer performance and/or service layer performance of the master channel is degraded; when the detected channel layer performance and service layer performance of the main channel are not degraded, the main and standby states of the main channel and the standby channel are not required to be switched; when determining that the channel layer performance and/or the service layer performance of the detected main channel is degraded, determining whether the channel layer performance and/or the service layer performance of the detected standby channel is degraded; when it is determined that both the detected channel layer performance and the detected service layer performance of the standby channel are not degraded, the main/standby states of the main channel and the standby channel need to be switched; when the detected channel layer performance and/or service layer performance degradation of the standby channel is determined, the main/standby states of the main channel and the standby channel do not need to be switched.
Specifically, in the master device provided in the embodiment of the present invention, performance of the channel layer is degraded as follows: the state of the channel is an interruption state;
the service layer performance degradation is: the value of the service layer performance is larger than a preset threshold value.
In specific implementation, in the above-mentioned master device provided in the embodiment of the present invention, before predetermining a master channel and a backup channel for communicating with a slave device, as shown in fig. 8, the method may further include: a second determination module 706;
a second determining module 706, configured to establish two channels for communicating with the slave device, and configure the two established channels; determining whether the configuration of the two channels meets a preset requirement; when the configuration of the two channels is determined not to meet the preset requirement, reestablishing the two channels for communicating with the slave end equipment, and reconfiguring the reestablished two channels; determining the main and standby states of the two channels according to the detected channel layer performance and service layer performance of the two channels;
the performance detection module 705 is further configured to detect channel layer performance and service layer performance of the two channels when it is determined that the configurations of the two channels meet the preset requirement;
the sending module 702 is further configured to send a notification carrying the determined active/standby states of the two channels to the slave device.
Specifically, in the above-mentioned master device provided in the embodiment of the present invention, the performance detecting module 705 is composed of a service layer detecting entity and a channel layer detecting entity.
The channel layer detection entity can be traditional BFD or CC, and realizes the detection of the channel layer performance of the main and standby channels, namely the interruption detection of the channels, and sends out a warning to inform the service protection logic when the interruption of the channels is determined; and the service layer detection entity adopts the Y.1731 technology and the Y.1564 technology to respectively detect the service layer performance of the main channel and the standby channel in real time, and outputs the detection result to the service protection logic according to the preset service detection period, so that the service protection logic can realize the switching of the main channel and the standby channel, and the normal communication between the main equipment and the slave equipment is ensured.
In specific implementation, in the above-mentioned master device provided in the embodiment of the present invention, the first determining module 701 is further configured to associate the determined master channel with the service enabling y.1731 terminal; associating the determined standby channel with a service opening detection Y.1564 terminal;
before sending a notification carrying a main/standby state of the main channel and the standby channel to the slave device, the switching module 704 is further configured to cut off the association between the main channel and the y.1731 terminal; the spare channel is cut off from the association with the y.1564 terminal.
In a specific implementation, in the above-mentioned master device provided in the embodiment of the present invention, the switching module 704 is specifically configured to associate the standby channel with the y.1731 terminal, and associate the master channel with the y.1564 terminal.
In specific implementation, as shown in fig. 8, the master device provided in the embodiment of the present invention may further include: a maintenance module 707;
a maintaining module 707, configured to maintain the active-standby states of the current main channel and the standby channel when it is determined that the active-standby states of the main channel and the standby channel do not need to be switched.
In specific implementation, in the master device provided in the embodiment of the present invention, the first determining module 701, the second determining module 706, the maintaining module 707, and the switching module 704 form a service protection logic.
The service protection logic may select and decide a channel according to the channel layer performance of the main channel and the standby channel detected by the channel layer detection entity and the service layer performance of the main channel and the standby channel detected by the service layer detection entity, so that different services may implement different service protection logics; for example, the internet access service of the internet has low requirements on time delay and jitter, so that only the on-off of a channel layer and the packet loss rate of a service layer can be concerned; for audio and video services, such as a video teleconference, the requirements on the packet loss rate and the time delay are high, so that attention needs to be paid to not only the on-off of a channel layer and the packet loss rate of a service layer, but also the packet loss rate and the time delay index of the service, so that different channel decisions can be made according to different services, normal transmission of the service is realized, and meanwhile, the efficiency of service transmission is improved.
Based on the same inventive concept, an embodiment of the present invention further provides a method for switching a main channel and a standby channel, which is applied to a slave device, and as shown in fig. 9, the method may include:
s901, receiving a notification which is sent by a main terminal device and carries the main/standby state of a main channel and a standby channel to be switched;
s902, switching the main and standby states of the main channel and the standby channel according to the received notification, and detecting the performance of the main channel and the performance of the standby channel by matching with the main-end equipment;
wherein, the performance of the main channel may include: channel layer performance and service layer performance of the main channel; the performance of the backup channel may include: channel layer performance and service layer performance of the standby channel;
and S903, sending a feedback message of the switching completion of the main and standby states of the main channel and the standby channel to the main-end equipment.
In the switching method provided in the embodiment of the present invention, when the main/standby states of the main channel and the standby channel are switched, the performance of the service layer is introduced, and the performance of the service layer and the performance of the channel layer are jointly used as the condition for selecting the channel, that is, as the input condition for communication protection switching, so that the communication protection switching is changed into the selection of the channel by the service, and thus, the communication network can sense the quality requirement of the service, and the service capability and the opening capability of the network are greatly improved while the reliability of service transmission is improved.
In specific implementation, the master device is mainly used to implement the determination and switching of the master and slave channels, and the slave device is mainly used to respond to the channel selection result made by the master device, so that when the master device determines the master and slave states of each channel for the first time or when the master device determines that the master and slave states of the master and slave channels need to be switched, a corresponding notification is sent to the slave device, so that the slave device completes corresponding processing.
Specifically, after the master-slave device determines the master-slave state of each channel for the first time and sends a notification carrying the determined master-slave states of the two channels to the slave device, before step S901 of the switching method provided in the embodiment of the present invention receives the notification carrying the master-slave state of the main channel and the backup channel to be switched, the method may further include:
receiving a notification carrying the determined main/standby states of the two channels sent by the main-end equipment;
the determined main channel is associated with a Y.1731 terminal, and the standby channel is associated with a Y.1564 terminal;
the y.1731 terminal is determined to be the response terminal and the y.1564 terminal is determined to be the loopback terminal.
Specifically, after receiving a notification that carries a main/standby state of a main/standby channel that needs to be switched and is sent by a main device, in order to respond to a channel selection result made by the main device and implement switching of the main/standby state of the main/standby channel, step S902 in the switching method provided in the embodiment of the present invention may specifically include:
associating the standby channel with a service enabling Y.1731 terminal, and associating the main channel with a service opening detection Y.1564 terminal;
the y.1731 terminal is determined to be the response terminal and the y.1564 terminal is determined to be the loopback terminal.
In a specific implementation, in order to implement communication between the master device and the slave device, a channel for communication needs to be established, and the channel is configured accordingly, so in the switching method provided in the embodiment of the present invention, before receiving the notification that carries the determined master/slave states of the two channels and is sent by the master device, the method may further include:
establishing two channels for communicating with a main terminal device, and configuring the two established channels;
it is determined whether the configuration of the two channels meets preset requirements.
Specifically, after two channels for communicating with the master device are established, a logic control channel needs to be established in each of the two channels, and a corresponding channel layer detection entity needs to be established for the two channels, so as to implement detection on channel layer performance; since the implementation of the above process is the same as the implementation of the similar process mentioned in the master device side, reference may be made to the foregoing for the implementation of establishing the logical control channel and the channel layer detection entity, and repeated details are not described again.
Of course, when determining whether the configuration of each channel meets the preset requirement, the specific implementation is the same as the implementation of the similar process mentioned in the master device side, and therefore, reference may also be made to the foregoing, and repeated details are not described again.
The foregoing handover method provided in the embodiment of the present invention is described below with reference to specific embodiments.
The first embodiment is as follows: with reference to the flowchart shown in fig. 10 and the interaction flowchart shown in fig. 11, the description will be made by taking the main/standby state of the main channel and the standby channel that need to be switched as an example; in order to clearly illustrate the interaction process between the master end device and the slave end device in fig. 11, only the numbers of the corresponding steps are shown in fig. 11.
S1001, the main end equipment cuts off the association between the main channel and the Y.1731 terminal and the association between the standby channel and the Y.1564 terminal;
s1002, the master end equipment sends a notification carrying the master/standby state of the master channel and the standby channel to be switched to the slave end equipment;
s1003, the slave end equipment receives a notification which is sent by the main end equipment and carries the main/standby state of a main channel and a standby channel to be switched;
s1004, the slave end equipment associates the standby channel with the Y.1731 terminal, and associates the main channel with the Y.1564 terminal;
s1005, the slave end equipment determines the Y.1731 terminal as a response terminal and determines the Y.1564 terminal as a loopback terminal;
s1006, the slave device sends a feedback message that the master/standby states of the master channel and the standby channel are switched to the master device;
s1007, the main terminal equipment receives the feedback message;
s1008, the master device associates the backup channel with the Y.1731 terminal, and associates the master channel with the Y.1564 terminal.
Based on the same inventive concept, embodiments of the present invention further provide a slave device, and since the working principle of the slave device is similar to that of the foregoing switching method on the slave device side, the specific implementation of the slave device may refer to the foregoing specific implementation of the switching method, and repeated details are omitted.
Specifically, as shown in fig. 12, the slave device provided in the embodiment of the present invention may include: a receiving module 1201, a switching module 1202 and a sending module 1203; wherein the content of the first and second substances,
a receiving module 1201, configured to receive a notification that carries a main/standby state of a main channel and a standby channel that need to be switched, where the notification is sent by a main device;
a switching module 1202, configured to switch the active/standby states of the main channel and the standby channel according to the received notification, and perform, in cooperation with the main-end device, detection on the performance of the main channel and the performance of the standby channel; wherein the performance of the main channel comprises: channel layer performance and service layer performance of the main channel; the properties of the backup channel include: channel layer performance and service layer performance of the standby channel;
a sending module 1203, configured to send a feedback message that the main/standby states of the main channel and the standby channel are switched to the main device.
In specific implementation, in the slave device provided in the embodiment of the present invention, the switching module 1202 is specifically configured to associate the standby channel with the service enabling y.1731 terminal, and associate the main channel with the service opening detection y.1564 terminal; the y.1731 terminal is determined to be the response terminal and the y.1564 terminal is determined to be the loopback terminal.
In specific implementation, before receiving the notification carrying the main/standby state of the main channel and the standby channel, sent by the master device, in the slave device provided in the embodiment of the present invention, as shown in fig. 13, the method may further include: a first determination module 1204;
the receiving module 1201 is further configured to receive a notification, which is sent by the master device and carries the determined master/standby states of the two channels;
a first determining module 1204, configured to associate the determined main channel with the y.1731 terminal, and associate the determined standby channel with the y.1564 terminal; the y.1731 terminal is determined to be the response terminal and the y.1564 terminal is determined to be the loopback terminal.
In specific implementation, before receiving the notification carrying the determined active/standby states of the two channels sent by the master device in the slave device provided in the embodiment of the present invention, as shown in fig. 13, the method may further include: a second determination module 1205;
a second determining module 1205, configured to establish two channels for communicating with the master device, and configure the two established channels; it is determined whether the configuration of the two channels meets preset requirements.
In specific implementation, in the slave device provided in the embodiment of the present invention, the first determining module 1204, the second determining module 1205 and the switching module 1202 form a service protection logic.
Specifically, the service protection logic in the slave device is mainly used for responding to channel selection made by the service protection logic in the master device, that is, determining the master/standby state between each channel according to the notification received by the receiving module, so as to facilitate making different channel decisions according to different services, implement normal transmission of services, and improve the efficiency of service transmission.
It should be noted that, the master device includes: the slave end device also comprises a receiving module 1201, a sending module 1203, a first determining module 1204, a second determining module 1205 and a switching module 1202; although the master end equipment and the slave end equipment comprise the five modules and the names of the modules are the same, the specific functions of the five modules in the master end equipment are different from the specific functions of the five modules in the slave end equipment, so that the modules are represented by different numbers; for example, the receiving module 703 in the master device is configured to receive a feedback message sent by the slave device, and the receiving module 1201 in the slave device is configured to receive various notifications sent by the master device, where although the receiving module 703 in the master device and the receiving module 1201 in the slave device are both configured to receive information, the received contents are not completely the same, so the receiving module in the master device is denoted by 703, and the receiving module in the slave device is denoted by 1201.
Based on the same inventive concept, an embodiment of the present invention further provides a system for switching between main and standby channels, as shown in fig. 14, where the system may include: the master device 100 according to an embodiment of the present invention, the slave device 200 according to an embodiment of the present invention, and a master channel and a slave channel for communication between the master device and the slave device. In fig. 14, the broken line indicates the backup path, and the solid line indicates the main path.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
The embodiment of the invention provides a method, a device and a system for switching a main channel and a standby channel, wherein when one side of a main end device determines whether the main state and the standby state of the main channel and the standby channel need to be switched or not through the detected performance of the main channel and the standby channel which are predetermined and used for communicating with a slave end device, the performance of the main channel and the standby channel comprises the following steps: the channel layer performance and the service layer performance of the main channel, and the channel layer performance and the service layer performance of the standby channel; therefore, when judging whether to switch the main/standby states of the main channel and the standby channel, the embodiment of the invention introduces the performance of the service layer, and uses the performance of the service layer and the performance of the channel layer as the condition for selecting the channel, namely as the input condition for communication protection switching, so that the communication protection switching is changed into the selection of the channel by the service, thereby enabling the communication network to sense the quality requirement of the service, and greatly improving the service capability and the opening capability of the network while improving the reliability of service transmission.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (26)

1. A method for switching a main channel and a standby channel is applied to main-end equipment, and comprises the following steps:
after a main channel and a standby channel for communicating with a slave end device are determined in advance, determining whether the main state and the standby state of the main channel and the standby channel need to be switched according to the detected performance of the main channel and the detected performance of the standby channel; wherein the performance of the main channel comprises: the channel layer performance and the service layer performance of the main channel; the performance of the backup channel comprises: the channel layer performance and the service layer performance of the standby channel;
when determining that the master/slave states of the master channel and the slave channel need to be switched, sending a notification carrying the master/slave states of the master channel and the slave channel to the slave device, so that the slave device sends a feedback message after switching the master/slave states of the master channel and the slave channel;
receiving a feedback message sent by the slave end equipment;
switching the main and standby states of the main channel and the standby channel;
a Y.1564 terminal and a Y.1731 terminal are configured on the master end device and the slave end device, if the current service is transmitted on the master channel, the Y.1731 terminals of the master end device and the slave end device are both associated with the master channel, and the Y.1564 terminals of the master end device and the slave end device are both associated with the standby channel; if the current service is transmitted on the standby channel, the Y.1731 terminals of the master end equipment and the slave end equipment are both associated with the standby channel, and the Y.1564 terminals of the master end equipment and the slave end equipment are both associated with the master channel; and on the side of the main end equipment, a Y.1564 terminal and a Y.1731 terminal are detection initiating terminals, and on the side of the auxiliary end equipment, the Y.1564 terminal is a loopback terminal and the Y.1731 terminal is a response terminal.
2. The handover method according to claim 1, wherein the detecting the performance of the main channel and the performance of the standby channel specifically includes:
respectively detecting the service layer performance of the main channel and the service layer performance of the standby channel in real time, and outputting a detection result according to a preset service detection period;
and respectively detecting the channel layer performance of the main channel and the channel layer performance of the standby channel in real time, and sending out a warning when determining that the messages sent by the slave end equipment are not received in three continuous preset channel detection periods through the main channel and/or the standby channel.
3. The handover method of claim 2, wherein the predetermined service detection period is determined by using the following formula:
tai ═ i × [ t/(a-1) -t/(a) ]/(2 × N) (t/a) + i × [ t/(a-1) -t/(a) ]/(2 × N), a is an integer greater than 1;
Tai=t+i×(t/2)/(2×N),a=1
wherein t represents a measurement window, Tai represents a preset service detection period corresponding to the ith service type in the a-th service class, and N represents the total number of the service types in the a-th service class.
4. The switching method according to claim 1, wherein the determining whether the active/standby states of the main channel and the standby channel need to be switched according to the detected performance of the main channel and the detected performance of the standby channel specifically includes:
determining whether the detected channel layer performance and/or service layer performance of the main channel is degraded;
when it is determined that both the detected channel layer performance and the detected service layer performance of the main channel are not degraded, the main/standby states of the main channel and the standby channel do not need to be switched;
when determining that the detected channel layer performance and/or service layer performance of the main channel is degraded, determining whether the detected channel layer performance and/or service layer performance of the standby channel is degraded;
when it is determined that both the detected channel layer performance and the detected service layer performance of the standby channel are not degraded, the main/standby states of the main channel and the standby channel need to be switched;
and when the detected deterioration of the channel layer performance and/or the service layer performance of the standby channel is determined, the main and standby states of the main channel and the standby channel are not required to be switched.
5. The switching method of claim 4, wherein the channel layer performance degrades as: the state of the channel is an interruption state;
the service layer performance degradation is: the value of the service layer performance is larger than a preset threshold value.
6. The handover method according to claim 1, wherein before the predetermining the primary channel and the backup channel for communication with the slave device, further comprising:
establishing two channels for communicating with the slave end equipment, and configuring the two established channels;
determining whether the configuration of the two channels meets a preset requirement;
when the configuration of the two channels is determined not to meet the preset requirement, reestablishing the two channels for communicating with the slave end equipment, and reconfiguring the reestablished two channels;
when the configuration of the two channels is determined to meet the preset requirement, detecting the channel layer performance and the service layer performance of the two channels;
determining the main and standby states of the two channels according to the detected channel layer performance and service layer performance of the two channels;
and sending a notification carrying the determined main/standby states of the two channels to the slave end equipment.
7. The switching method according to claim 6, wherein after the sending the notification carrying the determined active/standby states of the two channels to the slave device, further comprising:
associating the determined main channel with a service enabled Y.1731 terminal;
associating the determined standby channel with a service opening detection Y.1564 terminal;
before the sending the notification carrying the main/standby state of the main channel and the standby channel to the slave device, the method further includes:
cutting off the association of the main channel with the Y.1731 terminal;
and cutting off the association between the spare channel and the Y.1564 terminal.
8. The handover method according to any one of claims 1 to 7, further comprising:
and when determining that the main/standby states of the main channel and the standby channel do not need to be switched, maintaining the current main/standby states of the main channel and the standby channel.
9. A method for switching a main channel and a standby channel is applied to a slave device, and comprises the following steps:
receiving a notification which is sent by a main terminal device and carries the main/standby state of the main channel and the standby channel to be switched; the main end equipment determines whether the main state and the standby state of the main channel and the standby channel need to be switched or not according to the detected performance of the main channel and the detected performance of the standby channel;
switching the main and standby states of the main channel and the standby channel according to the received notification, and detecting the performance of the main channel and the performance of the standby channel by matching with the main end equipment; wherein the performance of the main channel comprises: the channel layer performance and the service layer performance of the main channel; the performance of the backup channel comprises: the channel layer performance and the service layer performance of the standby channel;
sending a feedback message that the main/standby states of the main channel and the standby channel are switched to the main-end device;
a Y.1564 terminal and a Y.1731 terminal are configured on the master end device and the slave end device, if the current service is transmitted on the master channel, the Y.1731 terminals of the master end device and the slave end device are both associated with the master channel, and the Y.1564 terminals of the master end device and the slave end device are both associated with the standby channel; if the current service is transmitted on the standby channel, the Y.1731 terminals of the master end equipment and the slave end equipment are both associated with the standby channel, and the Y.1564 terminals of the master end equipment and the slave end equipment are both associated with the master channel; and on the side of the main end equipment, a Y.1564 terminal and a Y.1731 terminal are detection initiating terminals, and on the side of the auxiliary end equipment, the Y.1564 terminal is a loopback terminal and the Y.1731 terminal is a response terminal.
10. The method according to claim 9, wherein before receiving the notification carrying the active/standby state of the main channel and the standby channel that is sent by the main end device, the method further comprises:
receiving a notification carrying the determined main/standby states of the two channels sent by the main terminal device;
associating the determined main channel with the Y.1731 terminal and the standby channel with the Y.1564 terminal;
and determining that the Y.1731 terminal is a response terminal and the Y.1564 terminal is a loopback terminal.
11. The method according to claim 9, wherein before the receiving the notification carrying the determined active/standby states of the two channels sent by the primary end device, the method further includes:
establishing two channels for communicating with the main terminal equipment, and configuring the two established channels;
determining whether the configuration of the two channels meets a preset requirement.
12. A master-end device, comprising: the device comprises a first determining module, a sending module, a receiving module and a switching module; wherein the content of the first and second substances,
the first determining module is configured to determine whether a master/standby state of a master channel and a standby channel needs to be switched according to the detected performance of the master channel and the detected performance of the standby channel after the master channel and the standby channel used for communicating with a slave device are predetermined; wherein the performance of the main channel comprises: the channel layer performance and the service layer performance of the main channel; the performance of the backup channel comprises: the channel layer performance and the service layer performance of the standby channel;
the sending module is configured to send, to the slave device, a notification carrying a main/standby state that needs to be switched between the main channel and the standby channel when it is determined that the main/standby state of the main channel and the standby channel needs to be switched, so that the slave device sends a feedback message after switching the main/standby state of the main channel and the standby channel;
the receiving module is configured to receive a feedback message sent by the slave device;
the switching module is used for switching the main and standby states of the main channel and the standby channel;
a Y.1564 terminal and a Y.1731 terminal are configured on the master end device and the slave end device, if the current service is transmitted on the master channel, the Y.1731 terminals of the master end device and the slave end device are both associated with the master channel, and the Y.1564 terminals of the master end device and the slave end device are both associated with the standby channel; if the current service is transmitted on the standby channel, the Y.1731 terminals of the master end equipment and the slave end equipment are both associated with the standby channel, and the Y.1564 terminals of the master end equipment and the slave end equipment are both associated with the master channel; and on the side of the main end equipment, a Y.1564 terminal and a Y.1731 terminal are detection initiating terminals, and on the side of the auxiliary end equipment, the Y.1564 terminal is a loopback terminal and the Y.1731 terminal is a response terminal.
13. The master-end device of claim 12, further comprising: a performance detection module;
the performance detection module is used for respectively detecting the service layer performance of the main channel and the service layer performance of the standby channel in real time and outputting a detection result according to a preset service detection period; and respectively detecting the channel layer performance of the main channel and the channel layer performance of the standby channel in real time, and sending out a warning when determining that the messages sent by the slave end equipment are not received in three continuous preset channel detection periods through the main channel and/or the standby channel.
14. The master device of claim 13, wherein the predetermined service detection period is determined by using the following formula:
tai ═ i × [ t/(a-1) -t/(a) ]/(2 × N) (t/a) + i × [ t/(a-1) -t/(a) ]/(2 × N), a is an integer greater than 1;
Tai=t+i×(t/2)/(2×N),a=1
wherein t represents a measurement window, Tai represents a preset service detection period corresponding to the ith service type in the a-th service class, and N represents the total number of the service types in the a-th service class.
15. The master end device of claim 13, wherein the first determining module is specifically configured to determine whether the detected channel layer performance and/or service layer performance of the master channel is degraded; when it is determined that both the detected channel layer performance and the detected service layer performance of the main channel are not degraded, the main/standby states of the main channel and the standby channel do not need to be switched; when determining that the detected channel layer performance and/or service layer performance of the main channel is degraded, determining whether the detected channel layer performance and/or service layer performance of the standby channel is degraded; when it is determined that both the detected channel layer performance and the detected service layer performance of the standby channel are not degraded, the main/standby states of the main channel and the standby channel need to be switched; and when the detected deterioration of the channel layer performance and/or the service layer performance of the standby channel is determined, the main and standby states of the main channel and the standby channel are not required to be switched.
16. The master-end device of claim 15, wherein the channel layer performance degrades as: the state of the channel is an interruption state;
the service layer performance degradation is: the value of the service layer performance is larger than a preset threshold value.
17. The master-end device of claim 15, wherein prior to the predetermining the master channel and the backup channel for communicating with the slave-end device, further comprising: a second determination module;
the second determining module is configured to establish two channels for communicating with the slave device, and configure the two established channels; determining whether the configuration of the two channels meets a preset requirement; when the configuration of the two channels is determined not to meet the preset requirement, reestablishing the two channels for communicating with the slave end equipment, and reconfiguring the reestablished two channels; determining the main and standby states of the two channels according to the detected channel layer performance and service layer performance of the two channels;
the performance detection module is further configured to detect channel layer performance and service layer performance of the two channels when it is determined that the configurations of the two channels meet a preset requirement;
the sending module is further configured to send a notification carrying the determined active/standby states of the two channels to the slave device.
18. The master end device of claim 17, wherein the performance detection module is formed by a service layer detection entity and a channel layer detection entity.
19. The master end device of claim 17, wherein the first determining module is further configured to associate the determined master channel with a traffic enabled y.1731 terminal; associating the determined standby channel with a service opening detection Y.1564 terminal;
before the notification carrying the main/standby state of the main channel and the standby channel to be switched is sent to the slave device, the switching module is further configured to cut off the association between the main channel and the y.1731 terminal; and cutting off the association between the spare channel and the Y.1564 terminal.
20. The master-end device of claim 17, further comprising: a maintenance module;
the maintaining module is configured to maintain the active-standby states of the current main channel and the current standby channel when it is determined that the active-standby states of the main channel and the standby channel do not need to be switched.
21. The master end device of claim 20, wherein the first determining module, the second determining module, the maintaining module, and the switching module constitute traffic protection logic.
22. A slave device, comprising: the device comprises a receiving module, a switching module and a sending module; wherein the content of the first and second substances,
the receiving module is used for receiving a notification which is sent by the main end equipment and carries the main/standby state of a main channel and a standby channel to be switched; the main end equipment determines whether the main state and the standby state of the main channel and the standby channel need to be switched or not according to the detected performance of the main channel and the detected performance of the standby channel;
the switching module is configured to switch the active/standby states of the main channel and the standby channel according to the received notification, and perform, in cooperation with the main-end device, detection on the performance of the main channel and the performance of the standby channel; wherein the performance of the main channel comprises: the channel layer performance and the service layer performance of the main channel; the performance of the backup channel comprises: the channel layer performance and the service layer performance of the standby channel;
the sending module is configured to send a feedback message that the main/standby states of the main channel and the standby channel are switched to the main device;
a Y.1564 terminal and a Y.1731 terminal are configured on the master end device and the slave end device, if the current service is transmitted on the master channel, the Y.1731 terminals of the master end device and the slave end device are both associated with the master channel, and the Y.1564 terminals of the master end device and the slave end device are both associated with the standby channel; if the current service is transmitted on the standby channel, the Y.1731 terminals of the master end equipment and the slave end equipment are both associated with the standby channel, and the Y.1564 terminals of the master end equipment and the slave end equipment are both associated with the master channel; and on the side of the main end equipment, a Y.1564 terminal and a Y.1731 terminal are detection initiating terminals, and on the side of the auxiliary end equipment, the Y.1564 terminal is a loopback terminal and the Y.1731 terminal is a response terminal.
23. The slave end device according to claim 22, wherein before receiving the notification that carries the active/standby state that needs to switch between the main channel and the standby channel, sent by the master end device, the method further comprises: a first determination module;
the receiving module is further configured to receive a notification, which is sent by the main end device and carries the determined active/standby states of the two channels;
the first determining module is used for associating the determined main channel with the Y.1731 terminal, and associating the determined standby channel with the Y.1564 terminal; and determining that the Y.1731 terminal is a response terminal and the Y.1564 terminal is a loopback terminal.
24. The slave end device according to claim 23, wherein before the receiving the notification carrying the determined active/standby states of the two channels sent by the master end device, the method further includes: a second determination module;
the second determining module is configured to establish two channels for communicating with the master device, and configure the two established channels; determining whether the configuration of the two channels meets a preset requirement.
25. The slave device of claim 24, wherein the first determining module, the second determining module, and the switching module constitute traffic protection logic.
26. A switching system for main and standby channels, comprising: the master end device according to any one of claims 12 to 21, the slave end device according to any one of claims 22 to 25, and a master channel and a backup channel for communication provided between the master end device and the slave end device.
CN201711422426.6A 2017-12-25 2017-12-25 Method, device and system for switching main channel and standby channel Active CN107948000B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711422426.6A CN107948000B (en) 2017-12-25 2017-12-25 Method, device and system for switching main channel and standby channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711422426.6A CN107948000B (en) 2017-12-25 2017-12-25 Method, device and system for switching main channel and standby channel

Publications (2)

Publication Number Publication Date
CN107948000A CN107948000A (en) 2018-04-20
CN107948000B true CN107948000B (en) 2021-11-19

Family

ID=61938980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711422426.6A Active CN107948000B (en) 2017-12-25 2017-12-25 Method, device and system for switching main channel and standby channel

Country Status (1)

Country Link
CN (1) CN107948000B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111679235B (en) * 2020-04-07 2023-02-28 南方电网科学研究院有限责任公司 Real-time simulation test method and device for electromagnetic transformer measuring system
CN111565133B (en) * 2020-04-24 2021-12-03 广州虎牙科技有限公司 Private line switching method and device, electronic equipment and computer readable storage medium
CN112422386B (en) * 2020-11-16 2022-12-13 中国运载火箭技术研究院 Flight control system and communication method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984743A (en) * 2012-12-13 2013-03-20 迈普通信技术股份有限公司 Main/standby link switching method and wireless route equipment
CN103259678A (en) * 2013-04-28 2013-08-21 华为技术有限公司 Main-auxiliary switching method, device, equipment and system
CN104935457A (en) * 2015-04-28 2015-09-23 瑞斯康达科技发展股份有限公司 E1 line protection switching method and system and protective equipment
CN105812208A (en) * 2016-05-06 2016-07-27 烽火通信科技股份有限公司 Multipoint service performance statistic method and system in frame type data communication device
CN106161232A (en) * 2015-04-21 2016-11-23 中兴通讯股份有限公司 A kind of method and apparatus of protecting tunnel switching

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6563979B2 (en) * 2001-06-22 2003-05-13 Dorsal Networks, Inc. Automatically switched redundant switch configurations
US10243841B2 (en) * 2016-06-06 2019-03-26 Cisco Technology, Inc. Multicast fast reroute at access devices with controller implemented multicast control plane

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984743A (en) * 2012-12-13 2013-03-20 迈普通信技术股份有限公司 Main/standby link switching method and wireless route equipment
CN103259678A (en) * 2013-04-28 2013-08-21 华为技术有限公司 Main-auxiliary switching method, device, equipment and system
CN106161232A (en) * 2015-04-21 2016-11-23 中兴通讯股份有限公司 A kind of method and apparatus of protecting tunnel switching
CN104935457A (en) * 2015-04-28 2015-09-23 瑞斯康达科技发展股份有限公司 E1 line protection switching method and system and protective equipment
CN105812208A (en) * 2016-05-06 2016-07-27 烽火通信科技股份有限公司 Multipoint service performance statistic method and system in frame type data communication device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
浅谈PTN网络的测试方法;周健;《信息通信》;20140930;全文 *

Also Published As

Publication number Publication date
CN107948000A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
CN103001799B (en) Method and node for achieving redundancy on basis of chain network
US8014300B2 (en) Resource state monitoring method, device and communication network
CN106789264B (en) A kind of method and apparatus that link aggregation group channel is switched fast
CN102257848B (en) Main and secondary apparatuses conversion method betwenn communication equipment, communication equipment and system, and request equipment of system and service
EP3029883B1 (en) Network protection method and apparatus, next-ring node, and system
CN107948000B (en) Method, device and system for switching main channel and standby channel
CN106656791A (en) Device state switching method, device and system
CN101645810A (en) Method and equipment for detecting pseudo wire (PW)
CN102075390A (en) Transmission state detection method and related device thereof
CN104283711A (en) Fault detection method based on BFD, nodes and system
CN101909006A (en) BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof
CN112995002B (en) Switch ring network design method, switch and storage medium
CN103220189A (en) Multi-active detection (MAD) backup method and equipment
WO2017000096A1 (en) Link recovery method and network device
US10033573B2 (en) Protection switching method, network, and system
CN111490859A (en) Switching method and device of ARQ mode
US11329719B2 (en) Proactive isolation of layer 1 faults based on layer 2 alarm indicators
CN101997703A (en) Method and device for managing Ethernet topology
EP3139527A1 (en) Protection switching method, node and control device
EP3232617B1 (en) Protection switching method and system, and nodes
CN108881011B (en) LACP (Link aggregation control protocol) switching method and device applied to cross-device
CN107623607B (en) BFD session connection establishment method and device
CN112737938B (en) DRP switching method, device, equipment and medium
US9806939B2 (en) Method and apparatus for linear protection switching
CN109981407A (en) Attack protection message method and device

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
CB02 Change of applicant information

Address after: 100094 First to Fifth Floors of Building 11, East Yard, No. 10 Wangdong Road, Northwest Haidian District, Beijing

Applicant after: Raisecom Technology Inc.

Address before: 100085 No. 2 Building, No. 28 Shangdi Sixth Street, Haidian District, Beijing

Applicant before: Raisecom Technology Inc.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant