WO2016019851A1 - Switchover implementation method, station and system - Google Patents

Switchover implementation method, station and system Download PDF

Info

Publication number
WO2016019851A1
WO2016019851A1 PCT/CN2015/086034 CN2015086034W WO2016019851A1 WO 2016019851 A1 WO2016019851 A1 WO 2016019851A1 CN 2015086034 W CN2015086034 W CN 2015086034W WO 2016019851 A1 WO2016019851 A1 WO 2016019851A1
Authority
WO
WIPO (PCT)
Prior art keywords
station
data frame
site
upstream line
downstream
Prior art date
Application number
PCT/CN2015/086034
Other languages
French (fr)
Chinese (zh)
Inventor
廖锦秋
欧斯思
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2016019851A1 publication Critical patent/WO2016019851A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems

Definitions

  • the present invention relates to the field of optical fiber network communication, and in particular, to a switching implementation method, a station, and a system.
  • Optical Transport Network is an important standard for optical transmission equipment.
  • the user equipment and the user equipment are connected by an optical transport network, that is, the user equipments connected through the optical transport network can transmit service signals to each other.
  • the user equipment 101 sends a service signal to the user equipment 102 as an example.
  • the user equipment 101 is a client service sender, and the user equipment 102 is a client service receiver.
  • the station 103 maps the service signal sent by the user equipment 101 into an ODUi signal, and the station 105 demaps the ODUi signal into a service signal.
  • OTU Optical Transform Unit, optical conversion Unit
  • multiple ODUi signals are multiplexed into one OTUk for transmission to improve transmission efficiency.
  • Both ODUi signals and OTUk signals are optical transmission network signals.
  • SDH Synchronous Digital Hierarchy
  • a very important feature of SDH technology is its material line protection capability.
  • the multiplex section ring network protection is widely used at present.
  • the high-efficiency material line protection technology realizes the continuous application of the optical transmission network in less than 50ms through the communication channel performance monitoring of the multiplex section and the automatic bridge protection control, and there is no interruption of the service signal.
  • each station is described in detail in conjunction with FIG. 2; the station 103 connected to the user equipment 101 for transmitting a service signal specifically includes two service data streams for mapping service signals into low-order ODUi.
  • the tributary board T10 wherein the tributary board 1031 is a protection board of the tributary board 1032, the tributary board 1031 and the tributary board 1032 are all connected with the user equipment 101, and the upstream line connected with the tributary board 1032 is mainly used.
  • the tributary board 1031 and the tributary board 1032 both send the service data stream to the cross board 1033, and the cross board 1033 selects the service data stream at the same time according to the principle of concurrent preference, that is, double-selection. Specifically, if the primary upstream line is normal, the cross board 1033 sends the data stream sent by the tributary board 1032 to the circuit board N. If the primary upstream line is abnormal, the cross board 1033 sends the data sent by the tributary board 1031. The stream is sent to the circuit board N; the circuit board N encapsulates the service data stream of the low-order ODUi into a high-order OTUk service data stream to transmit the high-order OTUk service data stream to the station 104.
  • the station 103 transmits the service data stream through the line between the tributary board 1031 and the user equipment 101 to complete the normal operation. 1+1 protection.
  • the tributary board T maps the service signal to the service data stream of the low-order ODUi, the service signal abnormality will cause the abnormality of the low-order ODUi.
  • the abnormal low-order ODUi will From station 103 to station 104, station 104 detects an abnormal low-order ODUi, performs protection switching within station 104, but the line between station 103 and station 104 is normal and should not perform protection switching at station 104.
  • the fault within the protection range triggers the protection switching, but the fault outside the protection range also causes the protection switching, and the line fault cannot be isolated in the failed protection switching domain.
  • the fault of the line faults causes the downstream stations that do not need to be switched to be switched, which causes unnecessary protection switching, which causes the data transmission to lag, resulting in a longer service signal recovery time.
  • the faulty site cannot be quickly located, and network operation and maintenance is difficult.
  • the embodiment of the invention provides a switching implementation method, a site and a system, which can avoid the reverse switching of the downstream site.
  • a first aspect of the embodiments of the present invention provides a method for implementing a switching, in which a plurality of sites are connected in series between a client service sending end and a client service receiving end, and the method includes:
  • the station detects whether the upstream line of the station is abnormal
  • the station modifies the first data frame to enable the modified to be sent to the downstream site of the station.
  • the first data frame is used to indicate that the downstream station does not perform protection switching, where the first data frame is a data frame sent by the station to the downstream station during the abnormality detection;
  • the station If the station detects that the upstream line of the station is abnormal according to the first data frame, the station performs protection switching;
  • the method further includes: before the site determines whether the upstream line of the site is abnormal, the method further includes:
  • the station maps the service signal to a service data stream, where the service data stream includes the first data frame and the second data frame;
  • the method further includes: before the station determines whether the upstream line of the station is abnormal, the method further includes:
  • the station receives a service data stream sent by the upstream station, where the service data stream includes the first data frame and the second data frame.
  • Whether the station determines whether the upstream line of the station is abnormal includes:
  • the station determines that the upstream line is normal
  • the station determines that the upstream line is abnormal.
  • Whether the station determines whether the upstream line of the station is abnormal includes:
  • the station determines that the upstream line of the station is normal
  • the station determines that the upstream line of the station is abnormal.
  • the method further includes:
  • the station determines a clock frequency offset of the first data frame.
  • Whether the station determines whether the upstream line of the station is abnormal includes:
  • the station determines that the upstream line of the station is abnormal
  • the station determines that the upstream line of the station is normal.
  • the modification of the first data frame by the station includes:
  • the station determines whether a clock frequency offset of the first data frame is within a preset range, wherein the current clock frequency offset located within the preset range is used to indicate The downstream site does not perform protection switching;
  • the station determines that the clock frequency offset of the first data frame is not within the preset range, the station determines that the first data frame does not satisfy the preset condition
  • the station modifies a clock frequency offset of the first data frame, so that a clock offset of the modified first data frame is within the preset range.
  • the method further includes: after the abnormality detection, after the station determines that the upstream line of the station is abnormal, the method further includes:
  • the station generates a clock by self-oscillation
  • the station Determining, by the station, that the clock generated by the self-oscillation of the station is a target clock, where the target clock is used to indicate that the downstream station does not perform protection switching;
  • Modifying the second data frame by the station includes:
  • the station replaces the clock of the second data frame with the target clock.
  • the method further includes: after the abnormality detection, after the station determines that the upstream line of the station is abnormal, the method further includes:
  • the station is self-oscillated to generate a periodic frame header
  • the frame header of the static vibration of the station is a target frame header, where the target frame header is used to indicate that the downstream site does not perform protection switching;
  • Modifying the second data frame by the station includes:
  • the station replaces a frame header of the second data frame with the target frame header.
  • the method further includes: after the abnormality detection, after the station determines that the upstream line of the station is abnormal, the method further includes:
  • the site If the site detects that the cost of the second data frame is set with the indication information for indicating the switching of the downstream station, the site modifies the switching indication information, so that the modified switching indication is modified.
  • the information is used to indicate that the downstream site does not perform protection switching;
  • Modifying the second data frame by the station includes:
  • the station replaces the overhead of the second data frame with the target overhead.
  • a second aspect of the embodiments of the present invention provides a site, including:
  • a detecting unit configured to detect whether an upstream line of the station is abnormal
  • a first modifying unit configured to modify the first data frame to ensure that the downlink data sent to the site is modified after determining that the first data frame does not satisfy the preset condition during the abnormality detection
  • the first data frame is used to indicate that the downstream station does not perform protection switching, where the first data frame is a data frame sent by the station to the downstream station during the abnormality detection;
  • a first determining unit configured to perform protection switching if an upstream line abnormality of the station is detected according to the first data frame
  • a second modifying unit configured to modify the second data frame, so that the modified second data frame sent to the downstream site is used to indicate that the downstream site does not perform protection switching, where
  • the two data frames are data frames received by the station through the abnormal upstream line and sent to the downstream station after the abnormality detection period.
  • the site also includes:
  • a first receiving unit configured to receive a service signal sent by the client service sending end if the upstream line of the station is connected to the client service sending end;
  • a second determining unit configured to map the service signal into a service data stream, where the service data stream includes the first data frame and the second data frame;
  • a second receiving unit configured to receive, when the upstream line of the station is connected to an upstream station of the station, a service data flow sent by the upstream station, where the service data flow includes the first data frame and The second data frame.
  • the detecting unit includes:
  • a first determining module configured to determine whether a coding mode of the first data frame is consistent with a preset coding mode, where the preset coding mode is the service signal or the received by the station by using the normal uplink line Describe the coding method of the service data stream;
  • a second determining module configured to determine that the upstream line is normal if it is determined that the encoding manner of the first data frame conforms to a preset encoding manner
  • a third determining module configured to determine that the upstream line is abnormal if it is determined that the encoding manner of the first data frame does not conform to the preset encoding manner.
  • the detecting unit includes:
  • a fourth determining module configured to perform a frame header search on the first data frame
  • a fifth determining module configured to determine whether the frame header can be continuously searched within a preset duration
  • a sixth determining module configured to determine that the upstream line of the station is normal if the frame header can be continuously searched within a preset duration
  • the seventh determining module is configured to determine that the upstream line of the station is abnormal if the frame header cannot be continuously searched for a preset duration.
  • the site also includes:
  • a third determining unit configured to determine a clock frequency offset of the first data frame.
  • the detecting unit includes:
  • An eighth determining module configured to determine whether a clock frequency offset of the first data frame is greater than or equal to a threshold value
  • a ninth determining module configured to determine that an upstream line of the station is abnormal if a clock frequency offset of the first data frame is greater than or equal to a threshold value
  • the tenth determining module is configured to determine that the upstream line of the station is normal if the clock frequency offset of the first data frame is less than a threshold.
  • the first modifying unit includes:
  • An eleventh determining module configured to determine, during an abnormality detection of the station, whether a clock frequency offset of the first data frame is within a preset range, where the current time is within the preset range The clock frequency is used to indicate that the downstream station does not perform protection switching;
  • a twelfth determining module configured to determine that the first data frame does not satisfy the preset condition if it is determined that a clock frequency offset of the first data frame is not within the preset range
  • a thirteenth determining module configured to modify a clock frequency offset of the first data frame, so that a clock offset of the modified first data frame is within the preset range.
  • the site also includes:
  • a first self-vibrating unit for generating a clock by self-oscillation
  • a fourth determining unit configured to determine that the clock generated by the self-oscillation of the station is a target clock, where the target clock is used to indicate that the downstream station does not perform protection switching;
  • the second modifying unit is configured to replace the clock of the second data frame with the target clock.
  • the site also includes:
  • a second self-vibrating unit configured to generate a periodic frame header by self-oscillation
  • a fifth determining unit configured to determine that the frame header of the static vibration of the station is a target frame header, where the target frame header is used to indicate that the downstream site does not perform protection switching;
  • the second modifying unit is configured to replace a frame header of the second data frame with the target frame header.
  • the site also includes:
  • a sixth determining unit configured to detect, in the overhead of the second data frame, that the switching indication information is used to indicate the switching of the downstream station, and modify the switching indication information, so that the modified switching
  • the indication information is used to indicate that the downstream site does not perform protection switching
  • a seventh determining unit configured to determine that the overhead of the modified switching indication information is set as a target overhead
  • the second modifying unit is configured to replace the overhead of the second data frame with the target overhead.
  • a second aspect of the embodiments of the present invention provides a system, including: for transmitting a service signal a client service sender and a client service receiver for receiving the service signal, and a plurality of the client service sender and the client service receiver are connected in series according to the second aspect of the present invention to the implementation of the present invention.
  • An embodiment of the present invention provides a switching implementation method, a site, and a system.
  • a site performs an abnormality detection on a service data flow to determine whether an upstream line of the station is abnormal. And performing protection switching at the local station; during the abnormality detection, if the station determines that the first data frame does not satisfy the preset condition, the station modifies the first data frame to be sent to The modified first data frame of the downstream site of the site is used to indicate that the downstream site does not perform protection switching, and the site modifies the second data frame to enable the modification to be sent to the downstream site.
  • the second data frame is used to indicate that the downstream station does not perform protection switching.
  • the first data frame sent to the downstream station during the abnormality detection and the second data frame sent to the downstream station after the abnormality detection period are not triggered by the downstream station to perform protection switching, so that the upstream The abnormality of the line does not spread, so that the downstream site does not undergo erroneous switching, and the service signal recovery time becomes longer due to the erroneous switching of the downstream site.
  • the site where the upstream line does not fail does not occur.
  • the protection switching enables the maintenance personnel to quickly determine that the site where the protection switching occurs is the site that sends the abnormality to the upstream line, and realizes the rapid location of the faulty site, which makes the network maintenance simple.
  • FIG. 1 is a schematic structural diagram of an optical transmission network system in the prior art
  • FIG. 2 is a schematic diagram showing the working process of the optical transport network system in the prior art
  • FIG. 3 is a flow chart of steps of a preferred embodiment of a method for implementing switching according to an embodiment of the present invention
  • FIG. 4 is a flow chart of steps of another preferred embodiment of a method for implementing switching according to an embodiment of the present invention.
  • FIG. 5 is a flow chart of steps of another preferred embodiment of a method for implementing switching according to an embodiment of the present invention.
  • FIG. 6 is a flow chart of steps of another preferred embodiment of a method for implementing switching according to an embodiment of the present invention.
  • FIG. 7 is a flow chart of steps of another preferred embodiment of a method for implementing switching according to an embodiment of the present invention.
  • FIG. 8 is a flow chart of steps of another preferred embodiment of a method for implementing switching according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a preferred embodiment of a station according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of another preferred embodiment of a station according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of another preferred embodiment of a station according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of another preferred embodiment of a station according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of another preferred embodiment of a station according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram of another preferred embodiment of a station according to an embodiment of the present invention.
  • the embodiment of the invention provides a switching implementation method, which can effectively prevent erroneous switching.
  • the switching implementation method shown in this embodiment includes:
  • the station detects whether an upstream line of the station is abnormal.
  • FIG. 4 is a schematic diagram, and in this embodiment, The specific number of sites is not limited.
  • the tributary board T of the station 403 connected to the client service sending end 401 is configured to map the service signal sent by the client service sending end 401 into a service data stream of the low-order ODUi
  • the circuit board of the station N encapsulates the service data streams of the plurality of low-order ODUis into a high-order OTUk service data stream, and the high-order OTUk service data stream can be sent to the downstream station 404.
  • the circuit board N of the station 405 connected to the customer service receiving end 402 converts the high-order OTUk service data stream into the service data stream of the low-order ODUi, and the tributary board T of the station 405 sets the service data of the low-order ODUi.
  • the stream is demapped into a service signal for transmission to the client service receiving end 402.
  • the station 403 for performing mapping processing on the service signal and the station 405 for performing demapping processing on the service data stream further include at least one OTUk service data stream for transmitting high order.
  • the number of sites 404 is not limited.
  • the site can be connected to the client service sending end through its upstream line, or can be connected to the upstream site.
  • the device shown in FIG. 4 is 1+1 board level protection, that is, the station 403 connected to the client service sending end 401 includes a main tributary board 4031 and a standby tributary board 4032.
  • the site connected to the upstream site includes a primary circuit board N and a backup circuit board N, exemplified by a station 404 that is connected to the upstream site 403 via an upstream line of the site 404, the site 404
  • the main circuit board is the circuit board 4041
  • the standby circuit board of the station 404 is the circuit board 4042.
  • 1+1 board level protection shown in this embodiment is described by way of example, and can also be applied to 1:M board level protection, that is, the station includes one main branch board T and M spare branches.
  • the M standby boards can be set with a priority level, so that if the upstream line is abnormal, the standby board is selected according to the priority set by the M standby boards to complete the protection switching.
  • the upstream line of the station 403 is a line between the primary tributary board 4031 and the client service sending end 401. If the upstream line is normal, the cross slab of the station 403 The service data stream is obtained by the primary tributary board 4031. If the upstream line is abnormal, the cross-board of the station 403 obtains the service data flow through the standby tributary board 4032 to complete the protection switching and ensure the service data flow. Normal transmission.
  • the station performs an abnormality detection on the upstream line of the station to determine whether an abnormality occurs in the upstream line of the station.
  • the embodiment does not limit how the abnormality detection is specifically performed on the site. As long as the upstream line is abnormal, the site can quickly detect and determine.
  • the station detects the warning information, it determines that the upstream line is abnormal, and the warning information may be: Loss of Signal (LOS), Loss of Frame (LOF), Loss of Clock (LOSS of clocl) , LOC), OUT of frame (OOF), signal degradation (SD), etc.
  • LOS Loss of Signal
  • LLF Loss of Frame
  • LOSS of clocl Loss of Clock
  • LOC Loss of Clock
  • OEF OUT of frame
  • SD signal degradation
  • the station modifies the first data frame to modify the downstream station sent to the site.
  • the first data frame is used to indicate that the downstream station does not perform protection switching;
  • the station needs to send the first data frame to the downstream station, if the upstream line of the station occurs If the abnormality occurs, the first data frame is abnormal.
  • the abnormal first data frame triggers the protection of the downstream site of the site.
  • the station first detects a first data frame to be sent by the station to the downstream station to determine whether the first data frame satisfies a preset condition.
  • the preset condition is not limited in this embodiment, and the downstream station of the station does not perform protection switching according to the first data frame that satisfies the preset condition.
  • the station If the station detects that the upstream line of the station is abnormal according to the first data frame, the station performs protection switching.
  • the station detects that the upstream line of the station is abnormal according to the first data frame of the service data flow that the station has sent to the downstream station, and performs protection switching at the site to ensure normal transmission of the data stream.
  • the site 403 is taken as an example. If the site 403 determines that the upstream line of the site 403 is abnormal, that is, the line between the primary tributary board 4031 of the site and the client service sending end 401 is abnormal. Then, the cross board of the station 403 receives the service data stream sent by the client service sending end 401 from the standby tributary board 4032.
  • the station modifies the second data frame, so that the modified second data frame sent to the downstream site is used to indicate that the downstream station does not perform protection switching.
  • the second data frame of the service data flow is modified by the station to prevent the downstream line from being abnormally changed, wherein the second data frame is an abnormality of the site.
  • the data frame received by the upstream line and sent to the downstream station after the abnormality detection period.
  • This embodiment does not limit how the site specifically modifies the service data stream. As long as the site sends the modified service data stream to the downstream site, the downstream site does not perform protection switching.
  • the service data flow is modified by the site in this embodiment, so that the first data frame sent by the station to the downstream site during the abnormality detection and the first sent to the downstream site after the abnormality detection period are performed.
  • Neither data frame triggers the downstream site for protection switching, so there is Effectively, the downstream station is prevented from being erroneously switched, so that the service line recovery time is not long due to the mistake of the downstream station, and in this embodiment, the protection line is not generated at the site where the upstream line does not fail, so that the maintenance personnel It can quickly determine that the site where the protection switching occurs is the site that sends the abnormality to the upstream line, which realizes the rapid location of the faulty site and makes the network maintenance simple.
  • FIG. 3 illustrates the implementation method of the switching in detail.
  • the following describes an example of how the station performs an abnormality detection to determine whether an abnormality occurs in the upstream line, in conjunction with the embodiment shown in FIG. 5;
  • the site obtains a service data stream.
  • the site may be connected to the client service through the upstream line, or may be connected to the upstream site, that is, if the upstream line of the site is connected to the client service sender, the specific manner for the site to obtain the service data flow is: Receiving, by the station, a service signal sent by the client service sending end, where the station maps the service signal into a service data stream, where the service data stream includes the first data frame and the second data frame;
  • the tributary board T of the station 403 connected to the client service sending end 401 is configured to map the service signal sent by the client service sending end 401 into a service data stream of the low-order ODUi.
  • the circuit board N encapsulates the service data streams of the plurality of low-order ODUi into a high-order OTUk service data stream, and the high-order OTUk service data stream can be sent to the downstream station 404.
  • the specific manner of the site acquiring the service data flow is: the site receives the service data flow sent by the upstream site, where the service data flow includes the The first data frame and the second data frame are described.
  • the tributary board T of the station 404 receives the high-order OTUk service data stream sent by the upstream station 403 through the upstream line, and the tributary board T of the station 404 sets the high-order OTUk service data.
  • the stream is parsed into a business data stream of a low-order ODUi.
  • the site determines a preset coding mode of the site.
  • the preset coding mode is a coding mode of the service signal or the service data flow received by the station through a normal uplink line;
  • the preset coding mode is pre-determined by the site and the client service sending end or the upstream site, or notified to the site by the management network element, where the management network element and the client service sending end respectively Connect to the site.
  • the station can perform different correctness checks on different service signals by using a preset coding mode. Measurement.
  • the station determines whether the encoding mode of the first data frame conforms to a preset encoding mode, and if so, proceeds to step 504, and if not, proceeds to step 505;
  • the station determines that the upstream line is normal.
  • the station determines that the upstream line is abnormal.
  • the station modifies the first data frame to modify the downlink station sent to the site.
  • the first data frame is used to indicate that the downstream station does not perform protection switching;
  • step 506 when the station performs step 502 to step 505 to determine whether the upstream line is abnormal, the station needs to perform step 506 after performing step 501 to obtain the service data flow to prevent the During the abnormality detection of the site (ie, step 502 to step 505), the first data frame sent to the downstream site triggers the downstream site to perform protection switching, and then the step 506 is required to modify the first data frame to be sent to the The modified first data frame of the downstream site of the site is used to indicate that the downstream site does not perform protection switching.
  • the station If the station detects that the uplink line of the station is abnormal according to the first data frame, the station performs protection switching.
  • the station modifies the second data frame, so that the modified second data frame sent to the downstream site is used to indicate that the downstream site does not perform protection switching.
  • the steps 506 to 508 in the embodiment are the same as the steps 302 to 304 in FIG. 3, and are not described in this embodiment.
  • the station If the station detects that the upstream line of the station is normal according to the first data frame, the station sends the second data frame to the downstream station.
  • the station does not need to modify the second data frame, because if the upstream line is normal, the second data frame sent through the normal upstream line does not trigger the downstream station to perform protection switching.
  • the upstream line is abnormal by using a preset coding manner, and the service data stream is modified by the site in this embodiment, so that the first data frame and the first data frame sent by the station to the downstream station during the abnormality detection are performed. a second data frame sent to the downstream site after the abnormality detection period
  • the protection of the downstream site is not triggered, so that the downstream site can be prevented from being erroneously switched, and the traffic signal recovery time is not long due to the reverse switching of the downstream site.
  • the upstream line does not fail. The protection switching will not occur at the site, so that the maintenance personnel can quickly determine that the site where the protection switching occurs is the site that sends the abnormality to the upstream line, and realizes the rapid location of the faulty site, which makes the network maintenance simple.
  • FIG. 3 illustrates the implementation method of the switching in detail.
  • the following describes an example of how the station performs an abnormality detection to determine whether an abnormality occurs in the upstream line, in conjunction with the embodiment shown in FIG. 6;
  • the site obtains a service data flow.
  • step 601 in this embodiment please refer to step 501 shown in FIG. 5, which is not described in this embodiment.
  • the station determines that the station performs correctness detection on the service data flow by using a frame header position.
  • the station determines whether the high-order OTUk service data stream is encapsulated with multiple low-order ODUi service data flows.
  • a service data stream of a plurality of low-order ODUis can be solved, and a demapping path is determined.
  • how to detect whether a high-order OTUk service data stream has a demapping path is not limited, for example, by detecting a frame header of each frame of a high-order OTUk service data stream or by using a high-order OTUk service data stream. Clock frequency deviation detection, etc.
  • the station performs a frame header search on the service data flow.
  • the site searches for a frame header in the service data stream received by the site, where the site specifically performs the frame header search of the service data stream, which is not described in this embodiment.
  • the station determines whether the frame header can be continuously searched within the preset duration, if not, proceed to step 605, and if so, proceed to step 606;
  • the frame header position of the next frame may be estimated according to the frame header position of the current frame, that is, the station performs a frame header search on the first data frame of the service data stream, when searching After a frame header, the station can estimate the frame header position of the next frame, and when the station receives the next frame, determining that the frame header of the frame is the same as the pre-estimated position, the search continues until If the frame header of the frame searched within the preset duration is the same as the preset, the station can determine that the station continuously searches for the frame header.
  • the station may continuously search for the frame header. If the upstream line of the station is abnormal, the station may not continuously search for the frame header within a preset duration.
  • the station determines that an upstream line is abnormal.
  • the station determines that its upstream line is normal.
  • the station modifies the first data frame to modify the downlink station sent to the site.
  • the first data frame is used to indicate that the downstream station does not perform protection switching;
  • step 602 to step 606 when the station performs step 602 to step 606 to determine whether the upstream line is abnormal, after performing the step 601 to obtain the service data flow, the station needs to perform step 607 to prevent the During the abnormality detection of the site (ie, step 602 to step 606), the first data frame sent to the downstream site triggers the downstream site to perform protection switching, and then step 607 is performed to modify the first data frame to be sent to the The modified first data frame of the downstream site of the site is used to indicate that the downstream site does not perform protection switching.
  • the station If the station detects that the upstream line of the station is abnormal according to the first data frame, the station performs protection switching.
  • the site modifies the second data frame, so that the modified second data frame sent to the downstream site is used to indicate that the downstream site does not perform protection switching.
  • Steps 607 to 609 in this embodiment are the same as the steps from step 302 to step 304 shown in FIG. 3, and are not described in this embodiment.
  • the station If the station determines that the upstream line of the station is normal, the station sends the second data frame to a downstream station.
  • the station does not need to modify the second data frame, because if the upstream line is normal, the second data frame sent through the normal upstream line does not trigger the downstream station to perform protection switching.
  • the service data stream is modified by the site in this embodiment, so that the site is sent to the downstream site during the abnormality detection.
  • the first data frame and the second data frame sent to the downstream station after the abnormality detection period do not trigger the protection switching of the downstream station, thereby effectively avoiding the reverse switching of the downstream station, thereby not being mistaken by the downstream station.
  • Switching to change the service signal recovery time Long, and in this embodiment, the protection line does not occur in the site where the upstream line does not fail, so that the maintenance personnel can quickly determine that the site where the protection switching occurs is the site that sends the abnormality to the upstream line, and realizes the rapid positioning of the faulty site. Make network maintenance simple.
  • FIG. 3 illustrates the implementation method of the switching in detail.
  • the following describes an example of how the station performs an abnormality detection to determine whether an abnormality occurs in the upstream line, in conjunction with the embodiment shown in FIG. 7;
  • the site obtains a service data flow.
  • step 701 in this embodiment please refer to step 501 shown in FIG. 5, which is not described in this embodiment.
  • the station determines a clock frequency offset of the first data frame.
  • the method for determining the clock frequency offset of the first data frame according to the first data frame of the service data flow is the prior art, and is not described in this embodiment, as long as the station can determine The clock frequency offset of the first data frame is sufficient.
  • the station determines whether the clock frequency offset of the first data frame is greater than or equal to the threshold; if yes, proceed to step 704, and if not, proceed to step 705;
  • Determining, by the site, the threshold value, the threshold value may be pre-agreed by the site and the client service sending end, or notified by the management network element, how specific is the threshold value in this embodiment
  • the setting is not limited, as long as the clock frequency offset is greater than or equal to the threshold, the station determines that the upstream line of the station is abnormal.
  • the station determines that an upstream line of the station is abnormal.
  • the station determines that an upstream line of the station is normal.
  • the station modifies the first data frame to modify the downlink station sent to the site.
  • the first data frame is used to indicate that the downstream station does not perform protection switching;
  • step 702 to step 705 when the station performs step 702 to step 705 to determine whether the upstream line is abnormal, after the step 701 is performed to obtain the service data flow, the station needs to perform step 706 to prevent the During the abnormality detection of the site (ie, step 702 to step 705), the first data frame sent to the downstream site triggers the downstream site to perform protection switching, and then step 706 is performed to modify the first data frame to be sent to the The modified first data frame of the downstream site of the site is used to indicate that the downstream site does not perform protection switching.
  • the station If the station detects that the uplink line of the station is abnormal according to the first data frame, the station performs protection switching.
  • the station modifies the second data frame, so that the modified second data frame sent to the downstream site is used to indicate that the downstream site does not perform protection switching.
  • the steps 706 to 708 in the embodiment are the same as the steps 302 to 304 in the embodiment shown in FIG. 3, and are not described in this embodiment.
  • the station If the station detects that the upstream line of the station is normal, the station sends the second data frame to the downstream station.
  • the station does not need to modify the second data frame, because if the upstream line is normal, the second data frame sent through the normal upstream line does not trigger the downstream station to perform protection switching.
  • the uplink data line is determined to be abnormal according to whether the clock frequency offset of the first data frame is greater than or equal to the threshold value, and the service data flow is modified by the site in this embodiment, so that the site is in progress.
  • the first data frame sent to the downstream site during the abnormality detection and the second data frame sent to the downstream site after the abnormality detection period do not trigger the protection switching of the downstream site, thereby effectively avoiding the reverse switching of the downstream site, and further
  • the service signal recovery time is not long due to the misplacement of the downstream site, and in this embodiment, the site where the upstream line does not fail does not undergo protection switching, so that the maintenance personnel can quickly determine that the site where the protection switching occurs is
  • the upstream line sends an abnormal site, which realizes the rapid location of the faulty site, making network maintenance simple.
  • the site obtains a service data flow.
  • step 501 shown in FIG. 5 please refer to step 501 shown in FIG. 5, and no further description is made in this step.
  • the station detects whether an upstream line of the station is abnormal.
  • step 801 shown in this embodiment please refer to step 301 shown in FIG. 3, which is not described in this embodiment.
  • the station determines a clock frequency offset of the first data frame.
  • the method for determining the clock frequency offset of the first data frame according to the first data frame of the service data flow is the prior art, and is not described in this embodiment, as long as the site can The clock frequency offset of the first data frame is determined.
  • the station determines whether the first data frame meets the preset condition; if not, proceed to step 805; if yes, proceed to step 806;
  • the current clock frequency offset in the preset range is used to indicate that the downstream station does not perform protection switching
  • the station determines that the clock frequency offset of the first data frame is not within the preset range, the station determines that the first data frame does not satisfy the preset condition
  • the station determines that the clock frequency offset of the first data frame is within the preset range, the station determines that the first data frame meets the preset condition
  • the station modifies a clock frequency offset of the first data frame, so that a clock frequency offset of the modified first data frame is located in the preset range.
  • the first data frame is modified by step 805, so that the modified first data frame satisfies the preset condition.
  • the station sends the first data frame to a downstream site.
  • the station sends the first data frame that meets the preset condition determined by step 804 or the first data frame that meets the preset condition determined by step 805 to the downstream site, so that the site performs the During the abnormality detection, the downstream site does not perform protection switching.
  • Step 802 is caused to make the station determine that its upstream line is abnormal, then proceed to step 807;
  • the station If the station detects that the upstream line of the station is abnormal according to the first data frame, the station performs protection switching.
  • step 807 in this embodiment please refer to step 303 shown in FIG. 3, which is not described in this embodiment.
  • the station generates a clock by self-oscillation.
  • the station After the abnormality detection period of the station is performed, it is determined that the upstream line of the station is abnormal, and in order to prevent the downstream station from performing erroneous switching, the station generates a clock by self-oscillation.
  • the station determines that a clock generated by the self-oscillation of the station is a target clock.
  • the target clock is used to indicate that the downstream station does not perform protection switching
  • the station is self-oscillated to generate a periodic frame header.
  • the station determines that the upstream line of the station is abnormal. To prevent the downstream station from performing erroneous switching, the station generates a periodic frame header by self-oscillation.
  • the specific structure of the site is self-oscillation to generate a periodic frame header. Please refer to the prior art, and no further details are provided in this step.
  • the station determines that a static frame header is generated by the station from a vibration as a target frame header.
  • the target frame header is used to indicate that the downstream site does not perform protection switching
  • the station detects, in the overhead of the second data frame, that the switching indication information is used to indicate the switching of the downstream station, where the site modifies the switching indication information, so that the modified The switching indication information is used to indicate that the downstream station does not perform protection switching;
  • the switching indication information is used by the station to instruct its downstream station to perform protection switching
  • the overhead is set in each frame in the service data flow.
  • the site determines that the cost of the modified switching indication information is set as a target cost.
  • the station replaces a clock of the second data frame with the target clock, the station replaces a frame header of the second data frame with the target frame header, and the station will be the second
  • the overhead of the data frame is replaced by the target overhead
  • the second data frame is modified in step 814, so that the second data frame carrying the target clock, the target frame header, and the target overhead does not trigger the downstream station to perform protection switching.
  • step 808 to 809 the steps of determining the target clock (steps 808 to 809) shown in this embodiment, the steps of determining the target frame header (steps 810 to 811), and the step of determining the target overhead (step 812 to step) 813)
  • the timing relationship is illustrated by way of example and is not limited, wherein the step of determining the target clock, the step of determining the target frame header, and the step of determining the target overhead are arbitrary, or may be juxtaposed, as long as the station is capable of standing Determine the target clock, target frame header, and target cost.
  • the clock frequency offset received by the station is modified, so that the modified clock frequency offset within the preset range indicates the downstream during the abnormality detection of the station.
  • the site does not perform protection switching, so that the first data frame sent by the station to the downstream site during the abnormality detection does not trigger the protection switching of the downstream site, further avoiding the possibility of erroneous switching, and the site detects the abnormality during the abnormality detection period.
  • the subsequent second data frame is modified so that The modified second data frame does not trigger the protection switching of the downstream station, so that the abnormality of the upstream line does not spread, and thus the downstream station does not perform erroneous switching during the abnormality detection.
  • the site where the upstream line does not fail does not undergo protection switching, so that the maintenance personnel can quickly determine that the site where the protection switching occurs is the upstream line.
  • Sending an abnormal site enables rapid location of the faulty site, making network maintenance simple.
  • the site where the upstream line is abnormal may be a site connected to the client service sender end or a site connected to the upstream site;
  • a site where an abnormality occurs on the upstream line is a site connected to the sender of the client service is taken as an example for description;
  • the T board of the station When receiving the service signal sent by the client service sending end, the T board of the station maps the service signal into the service data stream of the low-order ODUi, and the circuit board N of the station encapsulates the service data streams of the plurality of low-order ODUi.
  • the service data stream includes a first data frame and a second data frame, where the first data frame is a data frame that is sent to a downstream station during an abnormality detection of the station, where the second data frame is A data frame sent to the downstream site after the abnormality detection period.
  • the T-board of the station performs an abnormality detection on the first data frame to determine whether an upstream line of the station is abnormal;
  • the tributary board T of the station determines whether the service signal is correctly detected by a preset coding mode, or whether the service signal is correctly detected by the clock frequency offset detection;
  • the specific determination manner is that the tributary board T of the station determines whether there is a preset coding mode in the service data flow, and if yes, corrects the service signal by using a preset coding mode; determining the service data. Whether the stream can determine the clock frequency offset, and if so, correct the service signal by detecting the clock frequency offset;
  • the correctness detection of the service signal according to the preset coding mode is performed by using the tributary board T of the site as an example;
  • the specific manner in which the tributary board T of the station determines that the service signal is correctly detected by using a preset coding manner is:
  • the T board of the site determines a preset encoding mode
  • the preset coding mode is an Ethernet service check 66/64B out-of-synchronization check, and the management network element notifies the preset coding mode in advance, if the service signal received by the station is encoded and used. If the preset coding mode is consistent, the service signal is correct. If the coding mode of the service signal does not match the preset coding mode, the service signal is incorrect.
  • the station determines that the upstream line is abnormal
  • the tributary board T of the station If the tributary board T of the station detects the correctness of the service signal by the clock frequency offset detection, the tributary board T of the station first determines the clock frequency offset;
  • the tributary board T of the station is determined according to whether the clock frequency offset is greater than or equal to the threshold value. If the uplink line is abnormal, the specific determination manner may be:
  • the tributary board T of the station converts the service signal clock clk_serdes into the clock to be detected clk_otu;
  • the tributary board T of the station uses the fast and slow pattern to transfer the clock to be detected to the system clock domain gap_otu;
  • the tributary board T of the station counts gap_otu within 25/3us to generate a count value gap_cnt;
  • the tributary board T of the station performs a maximum and minimum out of bounds judgment on the count value gap_cnt, and outputs an outbound boundary indication ind;
  • the tributary board T of the station filters the out-of-bounds indication ind, and if it crosses the boundary n times continuously, it is determined that the clock frequency offset is greater than or equal to the threshold value, indicating that the upstream line is abnormal;
  • the T board of the station determines whether the clock frequency offset is within a preset range
  • the T-board of the station determines that the clock frequency offset is not within a preset range as an example:
  • the T-board of the station modifies the clock frequency offset until the modified clock frequency offset is within a preset range
  • the modified clock frequency offset in the preset range is used to indicate that the downstream station does not perform protection switching
  • the T board of the station determines that the upstream line is abnormal, then the station Point for protection switching;
  • the T-board of the station If the upstream line is abnormal, the T-board of the station generates a target clock by self-oscillation, and the self-oscillation generating target clock does not trigger the downstream station to perform erroneous switching;
  • the circuit board N of the station spontaneously generates a periodic frame header
  • the circuit board N of the station determines that the periodic frame header is the target frame header
  • the circuit board N of the station when the circuit board N of the station detects that the overhead of the first data frame is set with the switching indication information, the circuit board N of the station modifies the switching indication information, so that The modified switching indication information indicates that the downstream station does not perform protection switching;
  • the line board N of the site determines the overhead of the modified switching indication information to be the target overhead
  • the circuit board N of the station modifies the second data frame according to the target clock frequency offset, the target frame header, and the target overhead, so that the modified second data frame of the circuit board N of the station is used for indicating The downstream site does not perform protection switching;
  • the circuit board N of the downstream station receives the modified second data frame sent by the upstream station, and the downstream station does not perform protection switching according to the modified second data frame.
  • the site specifically includes:
  • the detecting unit 901 is configured to detect whether an upstream line of the station is abnormal.
  • FIG. 4 is a schematic diagram, and in this embodiment, The specific number of sites is not limited.
  • the tributary board T of the station 403 connected to the client service sending end 401 is configured to map the service signal sent by the client service sending end 401 into a service data stream of the low-order ODUi
  • the circuit board of the station N encapsulates the service data streams of the plurality of low-order ODUis into a high-order OTUk service data stream, and the high-order OTUk service data stream can be sent to the downstream station 404.
  • the circuit board N of the station 405 connected to the customer service receiving end 402 converts the high-order OTUk service data stream into the service data stream of the low-order ODUi, and the tributary board T of the station 405 sets the low-order ODUi
  • the service data stream is demapped into a service signal for transmission to the client service receiver 402.
  • the station 403 for mapping the service signal and the station 405 for performing the demapping process on the service data stream further includes at least one station 404 for transmitting the high-order OTUk service data stream, and the specific number is not used. limited.
  • the site can be connected to the client service sending end through its upstream line, or can be connected to the upstream site.
  • the device shown in FIG. 4 is 1+1 board level protection, that is, the station 403 connected to the client service sending end 401 includes a main tributary board 4031 and a standby tributary board 4032.
  • the site connected to the upstream site includes a primary circuit board N and a backup circuit board N, exemplified by a station 404 that is connected to the upstream site 403 via an upstream line of the site 404, the site 404
  • the main circuit board is the circuit board 4041
  • the standby circuit board of the station 404 is the circuit board 4042.
  • 1+1 board level protection shown in this embodiment is described by way of example, and can also be applied to 1:M board level protection, that is, the station includes one main branch board T and M spare branches.
  • the M standby boards can be set with a priority level, so that if the upstream line is abnormal, the standby board is selected according to the priority set by the M standby boards to complete the protection switching.
  • the upstream line of the station 403 is a line between the primary tributary board 4031 and the client service sending end 401. If the upstream line is normal, the cross slab of the station 403 The service data stream is obtained by the primary tributary board 4031. If the upstream line is abnormal, the cross-board of the station 403 obtains the service data flow through the standby tributary board 4032 to complete the protection switching and ensure the service data flow. Normal transmission.
  • the detecting unit 901 of the station tributary board T performs an abnormality detection on the upstream line of the station to determine whether an abnormality occurs in the upstream line of the station.
  • the detection unit 901 specifically performs abnormality detection. As long as the upstream line is abnormal, the detecting unit 901 can quickly detect and determine.
  • the detecting unit 901 detects the warning information, it determines an upstream line abnormality, and the warning information may be: Loss of Signal (LOS), Loss of Frame (LOF), Loss of Clock (LOSS) Of clocl, LOC), OUT of frame (OOF), signal degradation (SD), and so on.
  • LOS Loss of Signal
  • LOC Loss of Frame
  • OLF Loss of Clock
  • SD signal degradation
  • a first modifying unit 902 configured to modify the first data frame to modify a downlink station sent to the site, if it is determined that the first data frame does not satisfy the preset condition during the abnormality detection
  • the first data frame is used to indicate that the downstream station does not perform protection switching, where the first data frame is a data frame sent by the station to the downstream station during the abnormality detection;
  • the station needs to send the first data frame to the downstream station, and if an abnormality occurs in the upstream line of the station, The first data frame is abnormal, and the abnormal first data frame triggers the protection of the downstream site of the site for protection switching. In order to ensure that the downstream site does not perform error switching during the abnormality detection of the site, the site is not mis-switched.
  • the first modifying unit 902 first detects a first data frame to be sent by the station to the downstream station to determine whether the first data frame satisfies a preset condition.
  • the preset condition is not limited in this embodiment, and the downstream station of the station does not perform protection switching according to the first data frame that satisfies the preset condition.
  • the first determining unit 903 is configured to perform protection switching if the upstream line abnormality of the station is detected according to the first data frame;
  • the protection switching is performed at the site to ensure data. Normal transmission of the stream.
  • the station 403 is taken as an example. If the station 403 determines that the upstream line of the station 403 is abnormal, the first determining unit 903 of the station determines the tributary board 4031 for use and the client service sending end 401. If the line is abnormal, the cross board of the station 403 receives the service data stream sent by the client service sending end 401 from the standby tributary board 4032.
  • the second modifying unit 904 is configured to modify the second data frame, so that the modified second data frame sent to the downstream site is used to indicate that the downstream site does not perform protection switching, where
  • the second data frame is a data frame received by the station through the abnormal upstream line and sent to the downstream station after the abnormality detection period.
  • the second modifying unit 904 modifies the second data frame of the service data stream, in order to avoid erroneous switching of the downstream line, where the second data frame is modified.
  • Receiving the abnormality check for the site through the abnormal upstream line A data frame sent to the downstream site after the measurement period.
  • the embodiment does not limit how the second modification unit 904 specifically modifies the service data flow. If the site sends the modified service data flow to the downstream site, the downstream site does not perform protection switching. can.
  • the protection of the downstream site is not triggered, so that the downstream site can be prevented from being erroneously switched, and the traffic signal recovery time is not long due to the reverse switching of the downstream site.
  • the upstream line does not fail. The protection switching will not occur at the site, so that the maintenance personnel can quickly determine that the site where the protection switching occurs is the site that sends the abnormality to the upstream line, and realizes the rapid location of the faulty site, which makes the network maintenance simple.
  • FIG. 9 is a detailed description of a specific structure of a site that can prevent mis-switching.
  • the specific structure of a site that can implement anomaly detection to determine whether an abnormality occurs on the upstream line is described in detail below with reference to FIG. 10:
  • the site includes:
  • the first receiving unit 1001 is configured to: if the upstream line of the station is connected to the client service sending end, receive a service signal sent by the client service sending end;
  • a second determining unit 1002 configured to map the service signal into a service data stream, where the service data stream includes the first data frame and the second data frame;
  • the second determining unit 1002 of the tributary T of the station 403 connected to the client service sending end 401 is configured to process the service signal sent by the client service sending end 401 into a low-order ODUi.
  • the service data stream, the circuit board N of the station encapsulates the service data streams of the plurality of low-order ODUi into a high-order OTUk service data stream, and the high-order OTUk service data stream can be sent to the downstream station 404.
  • the second receiving unit 1003 is configured to: if the upstream line of the station is connected to an upstream station of the station, receive a service data flow sent by the upstream station, where the service data flow includes the first data frame And the second data frame;
  • the second receiving unit 1003 of the tributary T of the station 404 receives the high-order OTUk service data stream sent by the upstream station 403 through the upstream line, and the tributary board T of the station 404
  • the high-order OTUk service data stream is parsed into a low-order ODUi service data stream.
  • a detecting unit 1004 configured to detect whether an upstream line of the station is abnormal
  • the detecting unit 1004 includes:
  • the first determining module 10041 is configured to determine whether the coding mode of the first data frame is consistent with a preset coding mode, where the preset coding mode is the service signal received by the station through a normal uplink line or Encoding method of the service data stream;
  • the preset coding mode is a coding mode of the service signal or the service data flow received by the station through a normal uplink line;
  • the preset coding mode is pre-determined by the site and the client service sending end or the upstream site, or notified to the site by the management network element, where the management network element and the client service sending end respectively Connect to the site.
  • the station can perform different correctness detection on different service signals by using a preset coding mode.
  • the second determining module 10042 is configured to determine that the upstream line is normal if it is determined that the encoding manner of the first data frame conforms to a preset encoding manner;
  • the third determining module 10043 is configured to determine that the upstream line is abnormal if it is determined that the encoding manner of the first data frame does not meet the preset encoding manner;
  • the first modifying unit 1005 is configured to modify, during the abnormality detection, that the first data frame does not satisfy the preset condition, to modify the first data frame, so as to modify the downstream station sent to the site
  • the first data frame is used to indicate that the downstream station does not perform protection switching, where the first data frame is a data frame sent by the station to the downstream station during the abnormality detection;
  • the first determining unit 1006 is configured to perform protection switching if the uplink line abnormality of the station is detected according to the first data frame;
  • the second modifying unit 1007 is configured to modify the second data frame, so that the modified second data frame sent to the downstream site is used to indicate that the downstream site does not perform protection switching, where
  • the second data frame is a data frame received by the station through the abnormal upstream line and sent to the downstream station after the abnormality detection period.
  • the station is used in this embodiment. Modifying the service data stream so that the first data frame sent by the station to the downstream station during the abnormality detection and the second data frame sent to the downstream station after the abnormality detection period do not trigger the downstream station.
  • the protection switching is performed to effectively prevent the downstream station from being erroneously switched, so that the service line recovery time is not long due to the erroneous switching of the downstream station, and in this embodiment, the station having no fault on the upstream line does not protect.
  • the switching enables the maintenance personnel to quickly determine that the site where the protection switching occurs is the site that sends the abnormality to the upstream line, and realizes the rapid location of the faulty site, which makes the network maintenance simple.
  • FIG. 9 is a detailed description of a specific structure of a site that can prevent mis-switching.
  • the specific structure of a site that can implement anomaly detection to determine whether an abnormality occurs on the upstream line is described in detail below with reference to FIG. 11 :
  • the site includes:
  • the first receiving unit 1101 is configured to: if the upstream line of the station is connected to the client service sending end, receive a service signal sent by the client service sending end;
  • a second determining unit 1102 configured to map the service signal into a service data stream, where the service data stream includes the first data frame and the second data frame;
  • the second receiving unit 1103 is configured to: if the upstream line of the station is connected to an upstream station of the station, receive a service data flow sent by the upstream station, where the service data flow includes the first data frame And the second data frame;
  • a detecting unit 1104 configured to detect whether an upstream line of the station is abnormal
  • the detecting unit 1104 includes:
  • a fourth determining module 11041 configured to perform a frame header search on the first data frame
  • the fifth determining module 11042 is configured to determine whether the frame header can be continuously searched within the preset duration
  • the sixth determining module 11043 is configured to determine that the upstream line of the station is normal if the frame header can be continuously searched within a preset time period;
  • the seventh determining module 11044 is configured to determine that an upstream line of the station is abnormal if the frame header cannot be continuously searched within a preset duration;
  • a first modifying unit 1105 configured to modify, when the first data frame does not satisfy the preset condition, during the abnormality detection, to modify the first data frame, so as to modify the downstream station sent to the site
  • the first data frame is used to indicate that the downstream station does not perform protection switching, where a first data frame is a data frame sent by the station to the downstream station during the abnormality detection;
  • the first determining unit 1106 is configured to perform protection switching if the upstream line abnormality of the station is detected according to the first data frame;
  • a second modifying unit 1107 configured to modify the second data frame, so that the modified second data frame sent to the downstream site is used to indicate that the downstream site does not perform protection switching, where
  • the second data frame is a data frame received by the station through the abnormal upstream line and sent to the downstream station after the abnormality detection period.
  • the service data stream is modified by the site in this embodiment, so that the site is sent to the downstream site during the abnormality detection.
  • the first data frame and the second data frame sent to the downstream station after the abnormality detection period do not trigger the protection switching of the downstream station, thereby effectively avoiding the reverse switching of the downstream station, thereby not being mistaken by the downstream station.
  • Switching to make the service signal recovery time become longer, and in this embodiment, the site where the upstream line does not fail does not undergo protection switching, so that the maintenance personnel can quickly determine that the site where the protection switching occurs is the site where the upstream line sends an abnormality.
  • the rapid location of the faulty site is achieved, making network maintenance simple.
  • FIG. 9 is a detailed description of a specific structure of a site that can prevent mis-switching.
  • the specific structure of a site that can implement anomaly detection to determine whether an abnormality occurs on the upstream line is described in detail below with reference to FIG. 12:
  • the site includes:
  • the first receiving unit 1201 is configured to: if the upstream line of the station is connected to the client service sending end, receive a service signal sent by the client service sending end;
  • a second determining unit 1202 configured to map the service signal into a service data stream, where the service data stream includes the first data frame and the second data frame;
  • the second receiving unit 1203 is configured to: if the upstream line of the station is connected to an upstream station of the station, receive a service data flow sent by the upstream station, where the service data flow includes the first data frame And the second data frame;
  • the third determining unit 1204 is configured to determine a clock frequency offset of the first data frame.
  • the detecting unit 1205 is configured to detect whether an upstream line of the station is abnormal.
  • the detecting unit 1205 includes:
  • the eighth determining module 12051 is configured to determine whether a clock frequency offset of the first data frame is greater than or equal to a threshold value
  • the ninth determining module 12052 is configured to determine that an uplink line of the station is abnormal if a clock frequency offset of the first data frame is greater than or equal to a threshold value;
  • the tenth determining module 12053 is configured to determine that an upstream line of the station is normal if a clock frequency offset of the first data frame is less than a threshold value;
  • the first modifying unit 1206 is configured to modify, during the abnormality detection, that the first data frame does not satisfy the preset condition, and modify the first data frame to modify the downstream station sent to the site.
  • the first data frame is used to indicate that the downstream station does not perform protection switching, where the first data frame is a data frame sent by the station to the downstream station during the abnormality detection;
  • the first determining unit 1207 is configured to perform protection switching if the upstream line abnormality of the station is detected according to the first data frame;
  • a second modifying unit 1208, configured to modify the second data frame, so that the modified second data frame sent to the downstream site is used to indicate that the downstream site does not perform protection switching, where
  • the second data frame is a data frame received by the station through the abnormal upstream line and sent to the downstream station after the abnormality detection period.
  • the uplink data line is determined to be abnormal according to whether the clock frequency offset of the first data frame is greater than or equal to the threshold value, and the service data flow is modified by the site in this embodiment, so that the site is in progress.
  • the first data frame sent to the downstream site during the abnormality detection and the second data frame sent to the downstream site after the abnormality detection period do not trigger the protection switching of the downstream site, thereby effectively avoiding the reverse switching of the downstream site, and further
  • the service signal recovery time is not long due to the misplacement of the downstream site, and in this embodiment, the site where the upstream line does not fail does not undergo protection switching, so that the maintenance personnel can quickly determine that the site where the protection switching occurs is
  • the upstream line sends an abnormal site, which realizes the rapid location of the faulty site, making network maintenance simple.
  • the site includes:
  • the first receiving unit 1301 is configured to: if the upstream line of the station is connected to the client service sending end, receive a service signal sent by the client service sending end;
  • a second determining unit 1302 configured to map the service signal into a service data stream, where the The service data stream includes the first data frame and the second data frame;
  • the second receiving unit 1303 is configured to: if the upstream line of the station is connected to the upstream station of the station, receive a service data flow sent by the upstream station, where the service data flow includes the first data frame And the second data frame;
  • a third determining unit 1304, configured to determine a clock frequency offset of the first data frame
  • a detecting unit 1305, configured to detect whether an upstream line of the station is abnormal
  • a first modifying unit 1306, configured to modify, when the first data frame does not meet the preset condition, during the abnormality detection, to modify the first data frame, so as to modify the downstream station sent to the site
  • the first data frame is used to indicate that the downstream station does not perform protection switching, where the first data frame is a data frame sent by the station to the downstream station during the abnormality detection;
  • the first modifying unit 1306 includes:
  • An eleventh determining module 13061 configured to determine, during an abnormality detection of the station, whether a clock frequency offset of the first data frame is within a preset range, where the current clock is located within the preset range The frequency offset is used to indicate that the downstream station does not perform protection switching;
  • the twelfth determining module 13062 is configured to: if it is determined that the clock frequency offset of the first data frame is not located in the preset range, determine that the first data frame does not satisfy the preset condition;
  • the thirteenth determining module 13063 is configured to modify a clock frequency offset of the first data frame, so that the modified clock frequency offset of the first data frame is located within the preset range.
  • the first determining unit 1307 is configured to perform protection switching if the upstream line abnormality of the station is detected according to the first data frame;
  • the site also includes:
  • a first self-oscillation unit 1308, configured to generate a clock by self-oscillation
  • a fourth determining unit 1309 configured to determine that the clock generated by the self-oscillation of the station is a target clock, where the target clock is used to indicate that the downstream station does not perform protection switching;
  • a second self-oscillation unit 1310 configured to generate a periodic frame header by self-oscillation
  • the fifth determining unit 1311 is configured to determine that the frame header of the station self-oscillation is a target frame header, where the target frame header is used to indicate that the downstream station does not perform protection switching.
  • the sixth determining unit 1312 is configured to detect that the switching instruction information for indicating the switching of the downstream station is set in the overhead of the second data frame, and then modify the switching indication information to modify The changed switching indication information is used to indicate that the downstream station does not perform protection switching;
  • the seventh determining unit 1313 is configured to determine that the overhead of the modified switching indication information is set as a target overhead
  • a second modifying unit 1314 configured to replace a clock of the second data frame with the target clock, to replace a frame header of the second data frame with the target frame header, and to use the The overhead of the two data frames is replaced by the target overhead.
  • the clock frequency offset received by the station is modified, so that the modified clock frequency offset within the preset range indicates the downstream during the abnormality detection of the station.
  • the site does not perform protection switching, so that the first data frame sent by the station to the downstream site during the abnormality detection does not trigger the protection switching of the downstream site, further avoiding the possibility of erroneous switching, and the site detects the abnormality during the abnormality detection period.
  • the subsequent second data frame is modified such that the modified second data frame does not trigger the protection switching of the downstream station, so that the abnormality of the upstream line does not spread, thereby causing the station to perform abnormality detection during the abnormality detection.
  • the downstream site does not undergo erroneous switching, and the service signal recovery time becomes longer due to the erroneous switching of the downstream site.
  • the site where the upstream line does not fail does not undergo protection switching, so that the maintenance personnel can quickly Determining the site where the protection switching occurs is the site that sends the abnormality to the upstream line. Quickly locate the site, making the network simple maintenance.
  • the site where the upstream line is abnormal may be a site connected to the client service sender end or a site connected to the upstream site;
  • a site where an abnormality occurs on the upstream line is a site connected to the sender of the client service is taken as an example for description;
  • the second determining unit 1002 of the T-board of the station maps the service signal into the service data stream of the low-order ODUi
  • the circuit board N of the station encapsulates the service data streams of the plurality of low-order ODUi into a high-order OTUk service data stream;
  • the service data stream includes a first data frame and a second data frame, where the first data frame is a data frame that is sent to a downstream site during an abnormality detection of the station, where the second data is The frame is a data frame that is sent to the downstream site after the abnormality detection period.
  • the detecting unit 1004 of the T-board of the station performs an abnormality detection on the first data frame to determine whether an upstream line of the station is abnormal;
  • the detecting unit 1004 of the tributary board T of the station determines whether the correctness of the service signal is detected by the preset coding mode or the correctness of the service signal is detected by the clock frequency offset detection;
  • the specific determining manner is that the detecting unit 1004 of the tributary board T of the station determines whether there is a preset encoding mode in the service data stream, and if yes, corrects the service signal by using a preset encoding manner; Whether the service data stream can determine a clock frequency offset, and if so, correcting the service signal by using a clock frequency offset detection;
  • the detection unit 1004 of the tributary board T of the site performs the correctness detection of the service signal according to the preset coding mode as an example
  • the specific manner in which the detecting unit 1004 of the tributary board T of the site determines that the service signal is correctly detected by using a preset encoding manner is:
  • the first determining module 10041 of the T board of the site determines a preset encoding mode
  • the preset coding mode is an Ethernet service check 66/64B out-of-synchronization check, and the management network element notifies the preset coding mode in advance, if the service signal received by the station is encoded and used. If the preset coding mode is consistent, the service signal is correct. If the coding mode of the service signal does not match the preset coding mode, the service signal is incorrect.
  • the third determining module 10043 of the T-board of the site detects that the service signal does not meet the preset encoding mode, the third determining module 10043 of the site determines that the upstream line is abnormal;
  • the third determining unit 1204 of the tributary T of the station first determines the clock frequency offset
  • the eighth determining module 12051 of the tributary T of the station determines whether the clock frequency offset is greater than or equal to the threshold according to the determined threshold. If the ninth determining module 12052 determines that the upstream line is abnormal, the specific determining unit 12052 determines that the upstream line is abnormal.
  • the method of determination can be:
  • the eighth determining module 12051 of the tributary T of the station converts the service signal clock clk_serdes into the to-be-checked clock clk_otu;
  • the eighth determining module 12051 of the tributary board T of the station uses the fast and slow pattern to transfer the clock to be detected to the system clock domain gap_otu;
  • the eighth determining module 12051 of the tributary T of the station counts gap_otu within 25/3us to generate a count value gap_cnt;
  • the eighth determining module 12051 of the tributary board T of the station performs a maximum and minimum out of bounds judgment on the count value gap_cnt, and outputs an outbound boundary indication ind;
  • the eighth determining module 12051 of the tributary T of the station filters the outbound indication ind, and the nth determining module 12052 determines that the clock frequency offset is greater than or equal to the threshold, indicating the upstream line. abnormal;
  • the eleventh determining module 13061 of the first modifying unit 1306 of the T-board of the station further determines whether the clock frequency offset is at a preset.
  • the twelfth determining module 13062 of the first modifying unit 1306 of the T-board of the station determines that the clock frequency offset is not within the preset range as an example:
  • the thirteenth determining module 13063 of the T-board of the station modifies the clock frequency offset until The modified clock frequency offset is within a preset range
  • the modified clock frequency offset in the preset range is used to indicate that the downstream station does not perform protection switching
  • the first determining unit 1307 of the T-board of the station determines that the upstream line is abnormal, and performs protection switching at the local station;
  • the first self-vibration unit 1308 of the T-board of the station generates a target clock by itself, and the self-oscillation generating target clock does not trigger the downstream station to perform erroneous switching;
  • the second self-vibration unit 1310 of the circuit board N of the station generates a periodic frame header by self-oscillation
  • the fifth determining unit 1311 of the circuit board N of the station determines that the periodic frame header is the target frame header
  • the sixth determining unit 1312 of the circuit board N of the station detects that the overhead of the first data frame is set with the switching indication information, and the sixth of the circuit board N of the station The determining unit 1312 modifies the switching indication information, so that the modified switching indication information indicates that the downstream station does not perform protection switching;
  • the seventh determining unit 1313 of the circuit board N of the site determines the overhead of the modified switching indication information to be the target overhead
  • the second modifying unit 1314 of the circuit board N of the station modifies the second data frame according to the target clock frequency offset, the target frame header, and the target overhead, so that the circuit board N of the station is modified.
  • the second data frame is used to indicate that the downstream site does not perform protection switching;
  • the circuit board N of the downstream station receives the modified second data frame sent by the upstream station, and the downstream station does not perform protection switching according to the modified second data frame.
  • the present invention also provides a system, the system includes a client service sender for transmitting a service signal, and a client service receiver for receiving the service signal, and the client service sender and the client service receiver There are a plurality of stations as shown in FIGS. 9 to 13 in series.
  • FIG. 9 to FIG. 13 illustrates the structure of the site in detail from the perspective of the module function entity.
  • the site in the embodiment of the present invention is described in detail below with reference to FIG. 14 , which is shown in FIG. 14 .
  • Another embodiment of a site in an embodiment includes:
  • Figure 14 depicts the structure of a station provided by another embodiment of the present invention.
  • the site 1400 specifically includes:
  • the input device 1401, the output device 1402, the processor 1403, and the memory 1404 (wherein the processor 1403 shown in FIG. 14 may have one or more, and one processor 1403 in FIG. 14 is taken as an example);
  • the input device 1401, the output device 1402, the processor 1403, and the memory 1404 may be connected by a bus or other means, wherein the bus connection is taken as an example in FIG.
  • a plurality of sites are connected in series between the client service sender and the client service receiver.
  • the processor 1403 is configured to perform the following steps:
  • the downstream station does not perform protection switching, where the first data frame is a data frame that is sent to the downstream station during the abnormality detection;
  • Modifying the second data frame, so that the modified second data frame sent to the downstream site is used to indicate that the downstream station does not perform protection switching, where the second data frame is abnormal A data frame received by the upstream line and transmitted to the downstream station after the abnormality detection period.
  • processor 1403 is further configured to perform the following steps:
  • the method further includes: before determining whether the upstream line is abnormal, the method further includes:
  • the method further includes: before determining whether the upstream line is abnormal, the method further includes:
  • processor 1403 is further configured to perform the following steps:
  • the preset coding mode is a coding mode of the service signal or the service data flow received by the normal uplink line
  • processor 1403 is further configured to perform the following steps:
  • processor 1403 is further configured to perform the following steps:
  • processor 1403 is further configured to perform the following steps:
  • processor 1403 is further configured to perform the following steps:
  • processor 1403 is further configured to perform the following steps:
  • the clock generated by the self-oscillation is a target clock, where the target clock is used to indicate that the downstream station does not perform protection switching;
  • Modifications to the second data frame include:
  • the clock of the second data frame is replaced with the target clock.
  • processor 1403 is further configured to perform the following steps:
  • Self-oscillation generates a periodic frame header
  • Modifications to the second data frame include:
  • the frame header of the second data frame is replaced with the target frame header.
  • processor 1403 is further configured to perform the following steps:
  • Modifications to the second data frame include:
  • the overhead of the second data frame is replaced by the target overhead.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Provided in an embodiment of the present invention are a switchover implementation method, station and system. The switchover implementation method comprises: a station detects a service data stream abnormality to determine whether an upstream line of the station is abnormal; if the station determines that the upstream line of the station is abnormal, then the station performs a protection switchover locally, and neither a first data frame transmitted to a downstream station during abnormality detection nor a second data frame transmitted to the downstream station after the abnormality detection will trigger a protection switchover performed by the downstream station, so that the abnormality of the upstream line will not spread, preventing an unnecessary switchover performed by the downstream station, and thus avoiding an increase in service signal recovery time resulting from an unnecessary switchover; in addition, a station functioning properly on the upstream line will not perform a protection switchover, so that maintenance personnel can quickly identify a station performing a protection switchover as a station with transmission abnormalities on the upstream line, thus quickly locating a malfunctioning station and simplifying network maintenance.

Description

一种倒换实现方法、站点及系统Switching implementation method, site and system
本申请要求于2014年08月06日提交中国专利局、申请号为201410385026.2,发明名称为“一种倒换实现方法、站点及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201410385026.2, filed on Aug. 6, 2014, entitled "A Switching Implementation Method, Site and System", the entire contents of which are incorporated herein by reference. In the application.
技术领域Technical field
本发明涉及光纤网络通信领域,尤其涉及一种倒换实现方法、站点及系统。The present invention relates to the field of optical fiber network communication, and in particular, to a switching implementation method, a station, and a system.
背景技术Background technique
光传送网(OTN,Optical Transport Network)是光传输设备的重要标准。用户设备和用户设备之间通过光传送网连接,即通过光传送网连接的用户设备可相互发送业务信号。如图1所示为例,以用户设备101将其业务信号发送至用户设备102为例进行说明,即用户设备101为客户业务发送端,用户设备102为客户业务接收端。该光传送网内包括有多个用于处理光传送网信号的站点,各个站点内部所处理的光传送网的标准信号格式为ODUi信号(i=0,1,2,3,4,2e,3e,flex)(ODU;Optical channel Data Unit,光通道数据单元),如图1所示,站点103将用户设备101发送的业务信号映射处理为ODUi信号,站点105将ODUi信号解映射为业务信号以发送给用户设备102。其中,该ODUi信号只在各个站点内部存在,在站点之间传送则将该ODUi信号转换为OTUk信号(k=1,2,3,4,2e,3e)(OTU:Optical Transform Unit,光转化单元),一般来说多个ODUi信号会被复用到一个OTUk中传送,以提高传送效率,ODUi信号和OTUk信号都是光传送网信号。Optical Transport Network (OTN) is an important standard for optical transmission equipment. The user equipment and the user equipment are connected by an optical transport network, that is, the user equipments connected through the optical transport network can transmit service signals to each other. As shown in FIG. 1 , the user equipment 101 sends a service signal to the user equipment 102 as an example. The user equipment 101 is a client service sender, and the user equipment 102 is a client service receiver. The optical transport network includes a plurality of stations for processing optical transport network signals, and the standard signal format of the optical transport network processed in each station is an ODUi signal (i=0, 1, 2, 3, 4, 2e, 3e, flex) (ODU; Optical Channel Data Unit), as shown in FIG. 1, the station 103 maps the service signal sent by the user equipment 101 into an ODUi signal, and the station 105 demaps the ODUi signal into a service signal. To be sent to the user device 102. Wherein, the ODUi signal exists only in each station, and the ODUi signal is converted into an OTUk signal (k=1, 2, 3, 4, 2e, 3e) when transmitted between stations (OTU: Optical Transform Unit, optical conversion Unit) In general, multiple ODUi signals are multiplexed into one OTUk for transmission to improve transmission efficiency. Both ODUi signals and OTUk signals are optical transmission network signals.
而随着光线通信技术的告诉发展,一根光纤中汇聚了成千上万的信息,一旦光纤出现故障,就会造成很大的不良影响,因此需要光传送网中的各个设备具有良好的自愈能力,在此背景下SDH(Synchronous Digital Hierarchy,数字同步体系)得到广泛的应用,SDH技术中一个非常重要的特性是它的物料线路保护能力,其中的复用段环网保护是目前应用广泛,高效的物料线路保护技术,它通过复用段的通信信道性能监视以及自动桥接保护控制,能够在小于50ms的时间内实现光传送网的连续应用,不会出现业务信号的中断。 With the development of optical communication technology, thousands of pieces of information are gathered in one fiber. Once the fiber fails, it will cause great adverse effects. Therefore, each device in the optical transmission network needs to have good self. In this context, SDH (Synchronous Digital Hierarchy) is widely used. A very important feature of SDH technology is its material line protection capability. The multiplex section ring network protection is widely used at present. The high-efficiency material line protection technology realizes the continuous application of the optical transmission network in less than 50ms through the communication channel performance monitoring of the multiplex section and the automatic bridge protection control, and there is no interruption of the service signal.
结合图2所示对各个站点内部的具体结构进行详细说明;与用以发送业务信号的用户设备101连接的站点103具体包括两个用于将业务信号映射处理成低阶ODUi的业务数据流的支路板T,其中,支路板1031是支路板1032的保护单板,支路板1031和支路板1032均与用户设备101连接,且与支路板1032连接的上游线路为主用上游线路,与支路板1301连接的上游线路为保护上游线路。在站点103内部,支路板1031和支路板1032均把业务数据流双发给交叉板1033,交叉板1033根据并发优选原则同时对业务数据流进行选收,即双发选收。具体的,若主用上游线路正常,则交叉板1033将支路板1032发送过来的数据流发送给线路板N,若主用上游线路异常,则交叉板1033将支路板1031发送过来的数据流发送给线路板N;线路板N将低阶ODUi的业务数据流封装成高阶的OTUk业务数据流,以使高阶的OTUk业务数据流发送至站点104。The specific structure inside each station is described in detail in conjunction with FIG. 2; the station 103 connected to the user equipment 101 for transmitting a service signal specifically includes two service data streams for mapping service signals into low-order ODUi. The tributary board T10, wherein the tributary board 1031 is a protection board of the tributary board 1032, the tributary board 1031 and the tributary board 1032 are all connected with the user equipment 101, and the upstream line connected with the tributary board 1032 is mainly used. The upstream line, the upstream line connected to the tributary board 1301, protects the upstream line. Within the site 103, the tributary board 1031 and the tributary board 1032 both send the service data stream to the cross board 1033, and the cross board 1033 selects the service data stream at the same time according to the principle of concurrent preference, that is, double-selection. Specifically, if the primary upstream line is normal, the cross board 1033 sends the data stream sent by the tributary board 1032 to the circuit board N. If the primary upstream line is abnormal, the cross board 1033 sends the data sent by the tributary board 1031. The stream is sent to the circuit board N; the circuit board N encapsulates the service data stream of the low-order ODUi into a high-order OTUk service data stream to transmit the high-order OTUk service data stream to the station 104.
如图2所示,若支路板1032与用户设备101之间的线路发生异常时,则站点103会通过支路板1031与用户设备101之间的线路进行业务数据流的传输,以完成正常的1+1保护功能。当支路板T将业务信号映射为低阶ODUi的业务数据流时,业务信号异常将导致低阶ODUi的异常,在支路板T进行异常检测的时间段内,该异常的低阶ODUi会从站点103传送至站点104,站点104检测到异常的低阶ODUi,在站点104内进行保护倒换,但是站点103和站点104之间的线路是正常的,不应该在站点104上进行保护倒换。As shown in FIG. 2, if an abnormality occurs in the line between the tributary board 1032 and the user equipment 101, the station 103 transmits the service data stream through the line between the tributary board 1031 and the user equipment 101 to complete the normal operation. 1+1 protection. When the tributary board T maps the service signal to the service data stream of the low-order ODUi, the service signal abnormality will cause the abnormality of the low-order ODUi. In the period during which the tributary board T performs the abnormality detection, the abnormal low-order ODUi will From station 103 to station 104, station 104 detects an abnormal low-order ODUi, performs protection switching within station 104, but the line between station 103 and station 104 is normal and should not perform protection switching at station 104.
由上可知,保护范围内的故障触发保护倒换,但是保护范围之外的故障也会引起保护倒换,无法将线路故障隔离在发生故障的保护倒换域中。线路故障扩散会引起不需要倒换的下游站点发生倒换,从而引起不必要的保护倒换,进而使得数据传输的滞后,导致业务信号恢复时间变长,故障站点不能快速定位,网络运维困难。It can be seen from the above that the fault within the protection range triggers the protection switching, but the fault outside the protection range also causes the protection switching, and the line fault cannot be isolated in the failed protection switching domain. The fault of the line faults causes the downstream stations that do not need to be switched to be switched, which causes unnecessary protection switching, which causes the data transmission to lag, resulting in a longer service signal recovery time. The faulty site cannot be quickly located, and network operation and maintenance is difficult.
发明内容Summary of the invention
本发明实施例提供了一种倒换实现方法、站点及系统,其可避免下游站点误倒换。The embodiment of the invention provides a switching implementation method, a site and a system, which can avoid the reverse switching of the downstream site.
本发明实施例第一方面提供了一种倒换实现方法,客户业务发送端和客户业务接收端之间串联有多个站点,所述方法包括: A first aspect of the embodiments of the present invention provides a method for implementing a switching, in which a plurality of sites are connected in series between a client service sending end and a client service receiving end, and the method includes:
所述站点检测所述站点的上游线路是否异常;The station detects whether the upstream line of the station is abnormal;
在所述异常检测期间,若所述站点确定第一数据帧不满足预置条件,则所述站点对所述第一数据帧进行修改,以使发送至所述站点的下游站点的修改后的所述第一数据帧用于指示所述下游站点不进行保护倒换,其中,所述第一数据帧为所述站点进行所述异常检测期间发送至所述下游站点的数据帧;During the abnormality detection, if the station determines that the first data frame does not satisfy the preset condition, the station modifies the first data frame to enable the modified to be sent to the downstream site of the station. The first data frame is used to indicate that the downstream station does not perform protection switching, where the first data frame is a data frame sent by the station to the downstream station during the abnormality detection;
若所述站点根据所述第一数据帧检测出所述站点的上游线路异常,则所述站点进行保护倒换;If the station detects that the upstream line of the station is abnormal according to the first data frame, the station performs protection switching;
所述站点对第二数据帧进行修改,以使发送至所述下游站点的修改后的所述第二数据帧用于指示所述下游站点不进行保护倒换,其中,所述第二数据帧为所述站点通过异常的所述上游线路接收到的且在所述异常检测期间之后发送至所述下游站点的数据帧。Modifying, by the station, the second data frame, so that the modified second data frame sent to the downstream station is used to indicate that the downstream station does not perform protection switching, where the second data frame is A data frame received by the station through the abnormal upstream line and sent to the downstream station after the abnormality detection period.
结合本发明实施例的第一方面,本发明实施例的第一方面的第一种实现方式中,With reference to the first aspect of the embodiments of the present invention, in a first implementation manner of the first aspect of the embodiments of the present invention,
若所述站点的上游线路与所述客户业务发送端连接,则在所述站点确定所述站点的上游线路是否异常之前,所述方法还包括:If the upstream line of the site is connected to the client service sender, the method further includes: before the site determines whether the upstream line of the site is abnormal, the method further includes:
所述站点接收所述客户业务发送端发送的业务信号;Receiving, by the station, a service signal sent by the sending end of the client service;
所述站点将所述业务信号映射为业务数据流,其中,所述业务数据流包括所述第一数据帧和所述第二数据帧;The station maps the service signal to a service data stream, where the service data stream includes the first data frame and the second data frame;
若所述站点的上游线路与所述站点的上游站点连接,则在所述站点确定所述站点的上游线路是否异常之前,所述方法还包括:If the upstream line of the station is connected to the upstream station of the station, the method further includes: before the station determines whether the upstream line of the station is abnormal, the method further includes:
所述站点接收所述上游站点发送的业务数据流,其中,所述业务数据流包括所述第一数据帧和所述第二数据帧。The station receives a service data stream sent by the upstream station, where the service data stream includes the first data frame and the second data frame.
结合本发明实施例的第一方面或本发明实施例的第一方面的第一种实现方式,本发明实施例的第一方面的第二种实现方式中,With reference to the first aspect of the embodiment of the present invention or the first implementation manner of the first aspect of the embodiment of the present invention, in a second implementation manner of the first aspect of the embodiment of the present invention,
所述站点确定所述站点的上游线路是否异常包括:Whether the station determines whether the upstream line of the station is abnormal includes:
所述站点确定所述第一数据帧的编码方式是否符合预设编码方式,所述预设编码方式为所述站点通过正常的所述上游线路接收到的所述业务信号或所述业务数据流的编码方式;Determining, by the station, whether the coding mode of the first data frame is in a preset coding mode, where the preset coding mode is the service signal or the service data flow received by the station through the normal uplink line. Coding method
若是,则所述站点确定所述上游线路正常; If yes, the station determines that the upstream line is normal;
若否,则所述站点确定所述上游线路异常。If not, the station determines that the upstream line is abnormal.
结合本发明实施例的第一方面或本发明实施例的第一方面的第一种实现方式,本发明实施例的第一方面的第三种实现方式中,With reference to the first aspect of the embodiment of the present invention or the first implementation manner of the first aspect of the embodiment of the present invention, in a third implementation manner of the first aspect of the embodiment of the present invention,
所述站点确定所述站点的上游线路是否异常包括:Whether the station determines whether the upstream line of the station is abnormal includes:
所述站点对所述第一数据帧进行帧头搜索;Performing, by the station, a frame header search on the first data frame;
所述站点确定在预设时长内是否能连续搜索到帧头;Determining, by the station, whether the frame header can be continuously searched within a preset time period;
若是,则所述站点确定所述站点的上游线路正常;If yes, the station determines that the upstream line of the station is normal;
若否,则所述站点确定所述站点的上游线路异常。If not, the station determines that the upstream line of the station is abnormal.
结合本发明实施例的第一方面或本发明实施例的第一方面的第一种实现方式,本发明实施例的第一方面的第四种实现方式中,With reference to the first aspect of the embodiments of the present invention or the first implementation manner of the first aspect of the embodiments of the present invention, in a fourth implementation manner of the first aspect of the embodiments of the present invention,
所述站点确定所述站点的上游线路是否异常之前,所述方法还包括:Before the determining whether the upstream line of the site is abnormal, the method further includes:
所述站点确定所述第一数据帧的时钟频偏。The station determines a clock frequency offset of the first data frame.
结合本发明实施例的第一方面的第四种实现方式,本发明实施例的第一方面的第五种实现方式中,With reference to the fourth implementation manner of the first aspect of the embodiment of the present invention, in a fifth implementation manner of the first aspect of the embodiment of the present invention,
所述站点确定所述站点的上游线路是否异常包括:Whether the station determines whether the upstream line of the station is abnormal includes:
所述站点确定所述第一数据帧的时钟频偏是否大于或等于门限值;Determining, by the station, whether a clock frequency offset of the first data frame is greater than or equal to a threshold;
若是,则所述站点确定所述站点的上游线路异常;If yes, the station determines that the upstream line of the station is abnormal;
若否,则所述站点确定所述站点的上游线路正常。If not, the station determines that the upstream line of the station is normal.
结合本发明实施例的第一方面的第四种实现方式,本发明实施例的第一方面的第六种实现方式中,With reference to the fourth implementation manner of the first aspect of the embodiment of the present invention, in a sixth implementation manner of the first aspect of the embodiment of the present invention,
所述异常检测期间,若所述站点确定第一数据帧不满足预置条件,则所述站点对所述第一数据帧进行修改包括:During the abnormality detection, if the station determines that the first data frame does not meet the preset condition, the modification of the first data frame by the station includes:
在所述站点进行异常检测期间,所述站点确定所述第一数据帧的时钟频偏是否位于预设范围内,其中,位于所述预设范围内的所述当前时钟频偏用于指示所述下游站点不进行保护倒换;During the abnormality detection of the station, the station determines whether a clock frequency offset of the first data frame is within a preset range, wherein the current clock frequency offset located within the preset range is used to indicate The downstream site does not perform protection switching;
若所述站点确定所述第一数据帧的时钟频偏不位于所述预设范围内,则所述站点确定所述第一数据帧不满足所述预置条件;If the station determines that the clock frequency offset of the first data frame is not within the preset range, the station determines that the first data frame does not satisfy the preset condition;
所述站点修改所述第一数据帧的时钟频偏,以使得修改后的所述第一数据帧的时钟频偏位于所述预设范围内。 The station modifies a clock frequency offset of the first data frame, so that a clock offset of the modified first data frame is within the preset range.
结合本发明实施例的第一方面或本发明实施例的第一方面的第一种实现方式,本发明实施例的第一方面的第七种实现方式中,With reference to the first aspect of the embodiments of the present invention or the first implementation manner of the first aspect of the embodiments of the present invention, in a seventh implementation manner of the first aspect of the embodiments of the present disclosure,
所述经过所述异常检测期间,若所述站点确定所述站点的上游线路异常之后,所述方法还包括:The method further includes: after the abnormality detection, after the station determines that the upstream line of the station is abnormal, the method further includes:
所述站点自振生成时钟;The station generates a clock by self-oscillation;
所述站点确定所述站点自振生成的时钟为目标时钟,其中,所述目标时钟用于指示所述下游站点不进行保护倒换;Determining, by the station, that the clock generated by the self-oscillation of the station is a target clock, where the target clock is used to indicate that the downstream station does not perform protection switching;
所述站点对第二数据帧进行修改包括:Modifying the second data frame by the station includes:
所述站点将所述第二数据帧的时钟替换为所述目标时钟。The station replaces the clock of the second data frame with the target clock.
结合本发明实施例的第一方面或本发明实施例的第一方面的第一种实现方式,本发明实施例的第一方面的第八种实现方式中,With reference to the first aspect of the embodiments of the present invention or the first implementation manner of the first aspect of the embodiments of the present invention, in an eighth implementation manner of the first aspect of the embodiments of the present invention,
所述经过所述异常检测期间,若所述站点确定所述站点的上游线路异常之后,所述方法还包括:The method further includes: after the abnormality detection, after the station determines that the upstream line of the station is abnormal, the method further includes:
所述站点自振生成周期性的帧头;The station is self-oscillated to generate a periodic frame header;
所述站点确定所述站点自振生成周期性的帧头为目标帧头,其中,所述目标帧头用于指示所述下游站点不进行保护倒换;Determining, by the station, the frame header of the static vibration of the station is a target frame header, where the target frame header is used to indicate that the downstream site does not perform protection switching;
所述站点对第二数据帧进行修改包括:Modifying the second data frame by the station includes:
所述站点将所述第二数据帧的帧头替换为所述目标帧头。The station replaces a frame header of the second data frame with the target frame header.
结合本发明实施例的第一方面或本发明实施例的第一方面的第一种实现方式,本发明实施例的第一方面的第九种实现方式中,With reference to the first aspect of the embodiments of the present invention or the first implementation manner of the first aspect of the embodiments of the present invention, in a ninth implementation manner of the first aspect of the embodiments of the present invention,
所述经过所述异常检测期间,若所述站点确定所述站点的上游线路异常之后,所述方法还包括:The method further includes: after the abnormality detection, after the station determines that the upstream line of the station is abnormal, the method further includes:
所述站点检测到所述第二数据帧的开销中设置有用于指示所述下游站点倒换的倒换指示信息,则所述站点对所述倒换指示信息进行修改,以使修改后的所述倒换指示信息用于指示所述下游站点不进行保护倒换;If the site detects that the cost of the second data frame is set with the indication information for indicating the switching of the downstream station, the site modifies the switching indication information, so that the modified switching indication is modified. The information is used to indicate that the downstream site does not perform protection switching;
所述站点确定设置有修改后的所述倒换指示信息的开销为目标开销;Determining, by the site, that the modified overhead of the switching indication information is a target overhead;
所述站点对第二数据帧进行修改包括:Modifying the second data frame by the station includes:
所述站点将所述第二数据帧的开销替换为所述目标开销。The station replaces the overhead of the second data frame with the target overhead.
本发明实施例第二方面提供了一种站点,包括: A second aspect of the embodiments of the present invention provides a site, including:
检测单元,用于检测所述站点的上游线路是否异常;a detecting unit, configured to detect whether an upstream line of the station is abnormal;
第一修改单元,用于在所述异常检测期间,若确定第一数据帧不满足预置条件,则对所述第一数据帧进行修改,以使发送至所述站点的下游站点的修改后的所述第一数据帧用于指示所述下游站点不进行保护倒换,其中,所述第一数据帧为所述站点进行所述异常检测期间发送至所述下游站点的数据帧;a first modifying unit, configured to modify the first data frame to ensure that the downlink data sent to the site is modified after determining that the first data frame does not satisfy the preset condition during the abnormality detection The first data frame is used to indicate that the downstream station does not perform protection switching, where the first data frame is a data frame sent by the station to the downstream station during the abnormality detection;
第一确定单元,用于若根据所述第一数据帧检测出所述站点的上游线路异常,则进行保护倒换;a first determining unit, configured to perform protection switching if an upstream line abnormality of the station is detected according to the first data frame;
第二修改单元,用于对第二数据帧进行修改,以使发送至所述下游站点的修改后的所述第二数据帧用于指示所述下游站点不进行保护倒换,其中,所述第二数据帧为所述站点通过异常的所述上游线路接收到的且在所述异常检测期间之后发送至所述下游站点的数据帧。a second modifying unit, configured to modify the second data frame, so that the modified second data frame sent to the downstream site is used to indicate that the downstream site does not perform protection switching, where The two data frames are data frames received by the station through the abnormal upstream line and sent to the downstream station after the abnormality detection period.
结合本发明实施例的第二方面,本发明实施例的第二方面的第一种实现方式中,With reference to the second aspect of the embodiments of the present invention, in a first implementation manner of the second aspect of the embodiment of the present invention,
所述站点还包括:The site also includes:
第一接收单元,用于若所述站点的上游线路与所述客户业务发送端连接,则接收所述客户业务发送端发送的业务信号;a first receiving unit, configured to receive a service signal sent by the client service sending end if the upstream line of the station is connected to the client service sending end;
第二确定单元,用于将所述业务信号映射为业务数据流,其中,所述业务数据流包括所述第一数据帧和所述第二数据帧;a second determining unit, configured to map the service signal into a service data stream, where the service data stream includes the first data frame and the second data frame;
第二接收单元,用于若所述站点的上游线路与所述站点的上游站点连接,则接收所述上游站点发送的业务数据流,其中,所述业务数据流包括所述第一数据帧和所述第二数据帧。a second receiving unit, configured to receive, when the upstream line of the station is connected to an upstream station of the station, a service data flow sent by the upstream station, where the service data flow includes the first data frame and The second data frame.
结合本发明实施例的第二方面或本发明实施例的第二方面的第一种实现方式,本发明实施例的第二方面的第三种实现方式中,With reference to the second aspect of the embodiment of the present invention or the first implementation manner of the second aspect of the embodiment of the present invention, in a third implementation manner of the second aspect of the embodiment of the present invention,
所述检测单元包括:The detecting unit includes:
第一确定模块,用于确定所述第一数据帧的编码方式是否符合预设编码方式,所述预设编码方式为所述站点通过正常的所述上游线路接收到的所述业务信号或所述业务数据流的编码方式;a first determining module, configured to determine whether a coding mode of the first data frame is consistent with a preset coding mode, where the preset coding mode is the service signal or the received by the station by using the normal uplink line Describe the coding method of the service data stream;
第二确定模块,用于若确定所述第一数据帧的编码方式符合预设编码方式,则确定所述上游线路正常; a second determining module, configured to determine that the upstream line is normal if it is determined that the encoding manner of the first data frame conforms to a preset encoding manner;
第三确定模块,用于若确定所述第一数据帧的编码方式不符合预设编码方式,则确定所述上游线路异常。And a third determining module, configured to determine that the upstream line is abnormal if it is determined that the encoding manner of the first data frame does not conform to the preset encoding manner.
结合本发明实施例的第二方面或本发明实施例的第二方面的第一种实现方式,本发明实施例的第二方面的第四种实现方式中,With reference to the second aspect of the embodiment of the present invention or the first implementation manner of the second aspect of the embodiment of the present invention, in a fourth implementation manner of the second aspect of the embodiment of the present invention,
所述检测单元包括:The detecting unit includes:
第四确定模块,用于对所述第一数据帧进行帧头搜索;a fourth determining module, configured to perform a frame header search on the first data frame;
第五确定模块,用于确定在预设时长内是否能连续搜索到帧头;a fifth determining module, configured to determine whether the frame header can be continuously searched within a preset duration;
第六确定模块,用于若在预设时长内能连续搜索到帧头,则确定所述站点的上游线路正常;a sixth determining module, configured to determine that the upstream line of the station is normal if the frame header can be continuously searched within a preset duration;
第七确定模块,用于若在预设时长内不能连续搜索到帧头,则确定所述站点的上游线路异常。The seventh determining module is configured to determine that the upstream line of the station is abnormal if the frame header cannot be continuously searched for a preset duration.
结合本发明实施例的第二方面或本发明实施例的第二方面的第一种实现方式,本发明实施例的第二方面的第五种实现方式中,With reference to the second aspect of the embodiment of the present invention or the first implementation manner of the second aspect of the embodiment of the present invention, in a fifth implementation manner of the second aspect of the embodiment of the present invention,
所述站点还包括:The site also includes:
第三确定单元,用于确定所述第一数据帧的时钟频偏。And a third determining unit, configured to determine a clock frequency offset of the first data frame.
结合本发明实施例的第二方面的第五种实现方式,本发明实施例的第二方面的第六种实现方式中,With reference to the fifth implementation manner of the second aspect of the embodiment of the present invention, in a sixth implementation manner of the second aspect of the embodiment of the present invention,
所述检测单元包括:The detecting unit includes:
第八确定模块,用于确定所述第一数据帧的时钟频偏是否大于或等于门限值;An eighth determining module, configured to determine whether a clock frequency offset of the first data frame is greater than or equal to a threshold value;
第九确定模块,用于若所述第一数据帧的时钟频偏大于或等于门限值,则确定所述站点的上游线路异常;a ninth determining module, configured to determine that an upstream line of the station is abnormal if a clock frequency offset of the first data frame is greater than or equal to a threshold value;
第十确定模块,用于若所述第一数据帧的时钟频偏小于门限值,则确定所述站点的上游线路正常。The tenth determining module is configured to determine that the upstream line of the station is normal if the clock frequency offset of the first data frame is less than a threshold.
结合本发明实施例的第二方面的第五种实现方式,本发明实施例的第二方面的第七种实现方式中,With reference to the fifth implementation manner of the second aspect of the embodiment of the present invention, in a seventh implementation manner of the second aspect of the embodiment of the present invention,
所述第一修改单元包括:The first modifying unit includes:
第十一确定模块,用于在所述站点进行异常检测期间,确定所述第一数据帧的时钟频偏是否位于预设范围内,其中,位于所述预设范围内的所述当前时 钟频偏用于指示所述下游站点不进行保护倒换;An eleventh determining module, configured to determine, during an abnormality detection of the station, whether a clock frequency offset of the first data frame is within a preset range, where the current time is within the preset range The clock frequency is used to indicate that the downstream station does not perform protection switching;
第十二确定模块,用于若确定所述第一数据帧的时钟频偏不位于所述预设范围内,则确定所述第一数据帧不满足所述预置条件;a twelfth determining module, configured to determine that the first data frame does not satisfy the preset condition if it is determined that a clock frequency offset of the first data frame is not within the preset range;
第十三确定模块,用于修改所述第一数据帧的时钟频偏,以使得修改后的所述第一数据帧的时钟频偏位于所述预设范围内。And a thirteenth determining module, configured to modify a clock frequency offset of the first data frame, so that a clock offset of the modified first data frame is within the preset range.
结合本发明实施例的第二方面或本发明实施例的第二方面的第一种实现方式,本发明实施例的第二方面的第八种实现方式中,With reference to the second aspect of the embodiment of the present invention or the first implementation manner of the second aspect of the embodiment of the present invention, in an eighth implementation manner of the second aspect of the embodiment of the present invention,
所述站点还包括:The site also includes:
第一自振单元,用于自振生成时钟;a first self-vibrating unit for generating a clock by self-oscillation;
第四确定单元,用于确定所述站点自振生成的时钟为目标时钟,其中,所述目标时钟用于指示所述下游站点不进行保护倒换;a fourth determining unit, configured to determine that the clock generated by the self-oscillation of the station is a target clock, where the target clock is used to indicate that the downstream station does not perform protection switching;
所述第二修改单元用于,将所述第二数据帧的时钟替换为所述目标时钟。The second modifying unit is configured to replace the clock of the second data frame with the target clock.
结合本发明实施例的第二方面或本发明实施例的第二方面的第一种实现方式,本发明实施例的第二方面的第九种实现方式中,With reference to the second aspect of the embodiment of the present invention or the first implementation manner of the second aspect of the embodiment of the present invention, in a ninth implementation manner of the second aspect of the embodiment of the present invention,
所述站点还包括:The site also includes:
第二自振单元,用于自振生成周期性的帧头;a second self-vibrating unit, configured to generate a periodic frame header by self-oscillation;
第五确定单元,用于确定所述站点自振生成周期性的帧头为目标帧头,其中,所述目标帧头用于指示所述下游站点不进行保护倒换;a fifth determining unit, configured to determine that the frame header of the static vibration of the station is a target frame header, where the target frame header is used to indicate that the downstream site does not perform protection switching;
所述第二修改单元用于,将所述第二数据帧的帧头替换为所述目标帧头。The second modifying unit is configured to replace a frame header of the second data frame with the target frame header.
结合本发明实施例的第二方面或本发明实施例的第二方面的第一种实现方式,本发明实施例的第二方面的第十种实现方式中,With reference to the second aspect of the embodiment of the present invention or the first implementation manner of the second aspect of the embodiment of the present invention, in the tenth implementation manner of the second aspect of the embodiment of the present invention,
所述站点还包括:The site also includes:
第六确定单元,用于检测到所述第二数据帧的开销中设置有用于指示所述下游站点倒换的倒换指示信息,则对所述倒换指示信息进行修改,以使修改后的所述倒换指示信息用于指示所述下游站点不进行保护倒换;a sixth determining unit, configured to detect, in the overhead of the second data frame, that the switching indication information is used to indicate the switching of the downstream station, and modify the switching indication information, so that the modified switching The indication information is used to indicate that the downstream site does not perform protection switching;
第七确定单元,用于确定设置有修改后的所述倒换指示信息的开销为目标开销;a seventh determining unit, configured to determine that the overhead of the modified switching indication information is set as a target overhead;
所述第二修改单元用于,将所述第二数据帧的开销替换为所述目标开销。The second modifying unit is configured to replace the overhead of the second data frame with the target overhead.
本发明实施例第二方面提供了一种系统,其中,包括用于发送业务信号的 客户业务发送端以及用于接收所述业务信号的客户业务接收端,且所述客户业务发送端与所述客户业务接收端之间串联有多个如本发明实施例第二方面至本发明实施例的第二方面的第十种实现方式所述的站点。A second aspect of the embodiments of the present invention provides a system, including: for transmitting a service signal a client service sender and a client service receiver for receiving the service signal, and a plurality of the client service sender and the client service receiver are connected in series according to the second aspect of the present invention to the implementation of the present invention. The site described in the tenth implementation of the second aspect of the example.
本发明实施例提供了一种倒换实现方法、站点及系统,该倒换实现方法中,站点对业务数据流进行异常检测,以确定该站点的上游线路是否异常;若所述站点确定其上游线路异常,则在本站点进行保护倒换;在所述异常检测期间,若所述站点确定第一数据帧不满足预置条件,则所述站点对所述第一数据帧进行修改,以使发送至所述站点的下游站点的修改后的所述第一数据帧用于指示所述下游站点不进行保护倒换,所述站点对第二数据帧进行修改,以使发送至所述下游站点的修改后的所述第二数据帧用于指示所述下游站点不进行保护倒换。通过本发明实施例使得在异常检测期间发送至下游站点的第一数据帧以及所述异常检测期间之后发送至下游站点的第二数据帧均不会触发所述下游站点进行保护倒换,以使得上游线路的异常不会扩散,进而使得下游站点不会发生误倒换,不会因下游站点的误倒换以使得业务信号恢复时间变长,且本实施例中,上游线路没有发生故障的站点不会发生保护倒换,使得维修人员能够迅速的确定发生保护倒换的站点即为上游线路发送异常的站点,实现了故障站点的迅速定位,使得网络维护简单。An embodiment of the present invention provides a switching implementation method, a site, and a system. In the switching implementation method, a site performs an abnormality detection on a service data flow to determine whether an upstream line of the station is abnormal. And performing protection switching at the local station; during the abnormality detection, if the station determines that the first data frame does not satisfy the preset condition, the station modifies the first data frame to be sent to The modified first data frame of the downstream site of the site is used to indicate that the downstream site does not perform protection switching, and the site modifies the second data frame to enable the modification to be sent to the downstream site. The second data frame is used to indicate that the downstream station does not perform protection switching. The first data frame sent to the downstream station during the abnormality detection and the second data frame sent to the downstream station after the abnormality detection period are not triggered by the downstream station to perform protection switching, so that the upstream The abnormality of the line does not spread, so that the downstream site does not undergo erroneous switching, and the service signal recovery time becomes longer due to the erroneous switching of the downstream site. In this embodiment, the site where the upstream line does not fail does not occur. The protection switching enables the maintenance personnel to quickly determine that the site where the protection switching occurs is the site that sends the abnormality to the upstream line, and realizes the rapid location of the faulty site, which makes the network maintenance simple.
附图说明DRAWINGS
图1为现有技术中光传送网系统结构示意图;1 is a schematic structural diagram of an optical transmission network system in the prior art;
图2为现有技术中光传送网系统工作过程示意图;2 is a schematic diagram showing the working process of the optical transport network system in the prior art;
图3为本发明实施例所提供的倒换实现方法的一种较佳实施例步骤流程图;3 is a flow chart of steps of a preferred embodiment of a method for implementing switching according to an embodiment of the present invention;
图4为本发明实施例所提供的倒换实现方法的另一种较佳实施例步骤流程图;4 is a flow chart of steps of another preferred embodiment of a method for implementing switching according to an embodiment of the present invention;
图5为本发明实施例所提供的倒换实现方法的另一种较佳实施例步骤流程图;FIG. 5 is a flow chart of steps of another preferred embodiment of a method for implementing switching according to an embodiment of the present invention;
图6为本发明实施例所提供的倒换实现方法的另一种较佳实施例步骤流程图; FIG. 6 is a flow chart of steps of another preferred embodiment of a method for implementing switching according to an embodiment of the present invention;
图7为本发明实施例所提供的倒换实现方法的另一种较佳实施例步骤流程图;FIG. 7 is a flow chart of steps of another preferred embodiment of a method for implementing switching according to an embodiment of the present invention;
图8为本发明实施例所提供的倒换实现方法的另一种较佳实施例步骤流程图;FIG. 8 is a flow chart of steps of another preferred embodiment of a method for implementing switching according to an embodiment of the present invention;
图9为本发明实施例所提供的站点的一种较佳实施例结构示意图;FIG. 9 is a schematic structural diagram of a preferred embodiment of a station according to an embodiment of the present disclosure;
图10为本发明实施例所提供的站点的另一种较佳实施例结构示意图;FIG. 10 is a schematic structural diagram of another preferred embodiment of a station according to an embodiment of the present disclosure;
图11为本发明实施例所提供的站点的另一种较佳实施例结构示意图;FIG. 11 is a schematic structural diagram of another preferred embodiment of a station according to an embodiment of the present disclosure;
图12为本发明实施例所提供的站点的另一种较佳实施例结构示意图;FIG. 12 is a schematic structural diagram of another preferred embodiment of a station according to an embodiment of the present disclosure;
图13为本发明实施例所提供的站点的另一种较佳实施例结构示意图;FIG. 13 is a schematic structural diagram of another preferred embodiment of a station according to an embodiment of the present disclosure;
图14为本发明实施例所提供的站点的另一种较佳实施例结构示意图。FIG. 14 is a schematic structural diagram of another preferred embodiment of a station according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例提供了一种倒换实现方法,其可有效的防止误倒换。The embodiment of the invention provides a switching implementation method, which can effectively prevent erroneous switching.
如图3所示,本实施例所示的倒换实现方法包括:As shown in FIG. 3, the switching implementation method shown in this embodiment includes:
301、所述站点检测所述站点的上游线路是否异常;301. The station detects whether an upstream line of the station is abnormal.
为更好的理解本发明实施例,则首先对设置有该站点的光传送网的具体结构进行详细说明:For a better understanding of the embodiments of the present invention, the specific structure of the optical transport network provided with the site is first described in detail:
如图4所示,在本实施例中,所述客户业务发送端401与客户业务接收端402之间串联有多个站点,需明确的是,图4为示意图,在本实施例中对所述站点的具体数目不作限定。As shown in FIG. 4, in this embodiment, a plurality of sites are connected in series between the client service sending end 401 and the client service receiving end 402. It is to be understood that FIG. 4 is a schematic diagram, and in this embodiment, The specific number of sites is not limited.
其具体结构为:与所述客户业务发送端401连接的站点403的支路板T用于将客户业务发送端401发送的业务信号映射处理成低阶ODUi的业务数据流,该站点的线路板N将多个低阶ODUi的业务数据流封装成高阶的OTUk业务数据流,进而可将该高阶的OTUk业务数据流发送至下游站点404。The specific structure is: the tributary board T of the station 403 connected to the client service sending end 401 is configured to map the service signal sent by the client service sending end 401 into a service data stream of the low-order ODUi, and the circuit board of the station N encapsulates the service data streams of the plurality of low-order ODUis into a high-order OTUk service data stream, and the high-order OTUk service data stream can be sent to the downstream station 404.
与所述客户业务接收端402连接的站点405的线路板N将高阶的OTUk业务数据流转换为低阶ODUi的业务数据流,该站点405的支路板T将该低阶ODUi的业务数据流进行解映射处理成业务信号以发送给客户业务接收端402。The circuit board N of the station 405 connected to the customer service receiving end 402 converts the high-order OTUk service data stream into the service data stream of the low-order ODUi, and the tributary board T of the station 405 sets the service data of the low-order ODUi. The stream is demapped into a service signal for transmission to the client service receiving end 402.
其中,用于将业务信号进行映射处理的站点403和用于将业务数据流进行解映射处理的站点405之间还包括至少一个用于传输高阶的OTUk业务数据流 的站点404,具体数目不作限定。The station 403 for performing mapping processing on the service signal and the station 405 for performing demapping processing on the service data stream further include at least one OTUk service data stream for transmitting high order. The number of sites 404 is not limited.
可见,本实施例中站点可通过其上游线路与客户业务发送端连接,也可与上游站点连接。It can be seen that in this embodiment, the site can be connected to the client service sending end through its upstream line, or can be connected to the upstream site.
具体的,本实施例图4所示的为1+1板级保护,即与所述客户业务发送端401连接的站点403中包括一个主用的支路板4031和一个备用支路板4032,与上游站点连接的站点内包括一个主用线路板N以及一个备用线路板N,以站定404为例,所述站点404通过所述站点404的上游线路与上游站点403连接,所述站点404的主用线路板为线路板4041,所述站点404的备用线路板为线路板4042。Specifically, the device shown in FIG. 4 is 1+1 board level protection, that is, the station 403 connected to the client service sending end 401 includes a main tributary board 4031 and a standby tributary board 4032. The site connected to the upstream site includes a primary circuit board N and a backup circuit board N, exemplified by a station 404 that is connected to the upstream site 403 via an upstream line of the site 404, the site 404 The main circuit board is the circuit board 4041, and the standby circuit board of the station 404 is the circuit board 4042.
需明确的是,本实施例所示的1+1板级保护为举例进行说明,还可应用于1:M板级保护,即站点中包括一个主用的支路板T以及M个备用支路板T或一个主用线路板N以及M个备用线路板N。It should be clarified that the 1+1 board level protection shown in this embodiment is described by way of example, and can also be applied to 1:M board level protection, that is, the station includes one main branch board T and M spare branches. The board T or one main board N and M spare boards N.
其中,M个备用板可设定优先级,以使得若上游线路异常,则根据M个备用板所设定优先级选定备用板,以完成保护倒换。The M standby boards can be set with a priority level, so that if the upstream line is abnormal, the standby board is selected according to the priority set by the M standby boards to complete the protection switching.
以站点403为例,所述站点403的所述上游线路为所述主用的支路板4031与所述客户业务发送端401之间的线路,若该上游线路正常,则站点403的交叉板通过主用的支路板4031获取所述业务数据流;若该上游线路异常,则站点403的交叉板通过备用支路板4032获取所述业务数据流,以完成保护倒换,保障业务数据流的正常传输。Taking the site 403 as an example, the upstream line of the station 403 is a line between the primary tributary board 4031 and the client service sending end 401. If the upstream line is normal, the cross slab of the station 403 The service data stream is obtained by the primary tributary board 4031. If the upstream line is abnormal, the cross-board of the station 403 obtains the service data flow through the standby tributary board 4032 to complete the protection switching and ensure the service data flow. Normal transmission.
本实施例中,所述站点对所述站点的上游线路进行异常检测,以确定所述站点的上游线路是否出现异常。In this embodiment, the station performs an abnormality detection on the upstream line of the station to determine whether an abnormality occurs in the upstream line of the station.
需明确的是,本实施例对所述站点具体是如何进行异常检测的不作限定,只要该上游线路异常,站点能够迅速检测并确定即可。It should be clarified that the embodiment does not limit how the abnormality detection is specifically performed on the site. As long as the upstream line is abnormal, the site can quickly detect and determine.
例如,若所述站点检测到警告信息,则确定上游线路异常,所述警告信息可为:信号丢失(Loss of Signal,LOS)、帧丢失(Loss of Frame,LOF)、时钟丢失(LOSS of clocl,LOC)、帧失步(OUT of frame,OOF)、信号劣化(signal Degrade,SD)等。For example, if the station detects the warning information, it determines that the upstream line is abnormal, and the warning information may be: Loss of Signal (LOS), Loss of Frame (LOF), Loss of Clock (LOSS of clocl) , LOC), OUT of frame (OOF), signal degradation (SD), etc.
302、在所述异常检测期间,若所述站点确定第一数据帧不满足预置条件,则所述站点对所述第一数据帧进行修改,以使发送至所述站点的下游站点的修改后的所述第一数据帧用于指示所述下游站点不进行保护倒换; 302. During the abnormality detection, if the station determines that the first data frame does not satisfy the preset condition, the station modifies the first data frame to modify the downstream station sent to the site. The first data frame is used to indicate that the downstream station does not perform protection switching;
在进行异常检测期间,即进行步骤301时,所述站点在尚未确定所述站点的上游线路是否异常时,所述站点需要将第一数据帧发送至下游站点,若所述站点的上游线路发生异常,则会导致第一数据帧异常,异常的第一数据帧会触发所述站点的下游站点进行保护倒换,为了保障所述站点进行异常检测期间,所述下游站点不会进行误倒换,则所述站点首先对所述站点要发送给下游站点的第一数据帧进行检测,以确定所述第一数据帧是否满足预置条件。During the abnormality detection, that is, when step 301 is performed, when the station has not determined whether the upstream line of the station is abnormal, the station needs to send the first data frame to the downstream station, if the upstream line of the station occurs If the abnormality occurs, the first data frame is abnormal. The abnormal first data frame triggers the protection of the downstream site of the site. In order to ensure that the downstream site does not perform erroneous switching during the abnormality detection of the site, The station first detects a first data frame to be sent by the station to the downstream station to determine whether the first data frame satisfies a preset condition.
其中,本实施例对所述预置条件不作限定,所述站点的下游站点根据满足所述预置条件的第一数据帧不会进行保护倒换即可。The preset condition is not limited in this embodiment, and the downstream station of the station does not perform protection switching according to the first data frame that satisfies the preset condition.
303、若所述站点根据所述第一数据帧检测出所述站点的上游线路异常,则所述站点进行保护倒换;303. If the station detects that the upstream line of the station is abnormal according to the first data frame, the station performs protection switching.
即站点根据所述站点已发往下游站点的所述业务数据流的第一数据帧检测到所述站点的上游线路出现异常,则在本站点进行保护倒换,以保障数据流的正常传输。That is, the station detects that the upstream line of the station is abnormal according to the first data frame of the service data flow that the station has sent to the downstream station, and performs protection switching at the site to ensure normal transmission of the data stream.
如图4所示,以站点403为例,即若站点403确定站点403的上游线路异常,即所述站点的主用的支路板4031与所述客户业务发送端401之间的线路异常,则所述站点403的交叉板从备用支路板4032接收所述客户业务发送端401发送的所述业务数据流。As shown in FIG. 4, the site 403 is taken as an example. If the site 403 determines that the upstream line of the site 403 is abnormal, that is, the line between the primary tributary board 4031 of the site and the client service sending end 401 is abnormal. Then, the cross board of the station 403 receives the service data stream sent by the client service sending end 401 from the standby tributary board 4032.
304、所述站点对第二数据帧进行修改,以使发送至所述下游站点的修改后的所述第二数据帧用于指示所述下游站点不进行保护倒换。304. The station modifies the second data frame, so that the modified second data frame sent to the downstream site is used to indicate that the downstream station does not perform protection switching.
因所述站点确定上游线路异常,则为避免下游线路发生误倒换,则所述站点对所述业务数据流的第二数据帧进行修改,其中,所述第二数据帧为所述站点通过异常的所述上游线路接收到的且在所述异常检测期间之后发送至所述下游站点的数据帧。The second data frame of the service data flow is modified by the station to prevent the downstream line from being abnormally changed, wherein the second data frame is an abnormality of the site. The data frame received by the upstream line and sent to the downstream station after the abnormality detection period.
本实施例对所述站点具体是如何对所述业务数据流进行修改的不作限定,只要使得站点将已修改的业务数据流发送至下游站点时,下游站点不会进行保护倒换即可。This embodiment does not limit how the site specifically modifies the service data stream. As long as the site sends the modified service data stream to the downstream site, the downstream site does not perform protection switching.
具体的,通过本实施例所述站点对所述业务数据流进行修改,使得所述站点在进行异常检测期间发送至下游站点的第一数据帧以及所述异常检测期间之后发送至下游站点的第二数据帧均不会触发下游站点进行保护倒换,从而有 效的避免了下游站点进行误倒换,进而不会因下游站点的误倒换以使得业务信号恢复时间变长,且本实施例中,上游线路没有发生故障的站点不会发生保护倒换,使得维修人员能够迅速的确定发生保护倒换的站点即为上游线路发送异常的站点,实现了故障站点的迅速定位,使得网络维护简单。Specifically, the service data flow is modified by the site in this embodiment, so that the first data frame sent by the station to the downstream site during the abnormality detection and the first sent to the downstream site after the abnormality detection period are performed. Neither data frame triggers the downstream site for protection switching, so there is Effectively, the downstream station is prevented from being erroneously switched, so that the service line recovery time is not long due to the mistake of the downstream station, and in this embodiment, the protection line is not generated at the site where the upstream line does not fail, so that the maintenance personnel It can quickly determine that the site where the protection switching occurs is the site that sends the abnormality to the upstream line, which realizes the rapid location of the faulty site and makes the network maintenance simple.
图3所示的实施例对倒换实现方法进行详细说明,以下结合图5所示的实施例说明所述站点是如何进行异常检测以确定上游线路是否出现异常的;The embodiment shown in FIG. 3 illustrates the implementation method of the switching in detail. The following describes an example of how the station performs an abnormality detection to determine whether an abnormality occurs in the upstream line, in conjunction with the embodiment shown in FIG. 5;
501、所述站点获取业务数据流;501. The site obtains a service data stream.
因所述站点通过上游线路可与客户业务发送端连接也可以与上游站点连接,即若所述站点的上游线路与所述客户业务发送端连接,则站点获取业务数据流的具体方式为:所述站点接收所述客户业务发送端发送的业务信号,所述站点将所述业务信号映射为业务数据流,其中,所述业务数据流包括所述第一数据帧和所述第二数据帧;The site may be connected to the client service through the upstream line, or may be connected to the upstream site, that is, if the upstream line of the site is connected to the client service sender, the specific manner for the site to obtain the service data flow is: Receiving, by the station, a service signal sent by the client service sending end, where the station maps the service signal into a service data stream, where the service data stream includes the first data frame and the second data frame;
以图4所示为例,与所述客户业务发送端401连接的站点403的支路板T用于将客户业务发送端401发送的业务信号映射处理成低阶ODUi的业务数据流,该站点的线路板N将多个低阶ODUi的业务数据流封装成高阶的OTUk业务数据流,进而可将该高阶的OTUk业务数据流发送至下游站点404。As shown in FIG. 4, the tributary board T of the station 403 connected to the client service sending end 401 is configured to map the service signal sent by the client service sending end 401 into a service data stream of the low-order ODUi. The circuit board N encapsulates the service data streams of the plurality of low-order ODUi into a high-order OTUk service data stream, and the high-order OTUk service data stream can be sent to the downstream station 404.
若所述站点的上游线路与所述站点的上游站点连接,则站点获取业务数据流的具体方式为:所述站点接收所述上游站点发送的业务数据流,其中,所述业务数据流包括所述第一数据帧和所述第二数据帧。If the upstream line of the site is connected to the upstream site of the site, the specific manner of the site acquiring the service data flow is: the site receives the service data flow sent by the upstream site, where the service data flow includes the The first data frame and the second data frame are described.
以图4所示为例,站点404的支路板T通过上游线路接收上游站点403发送的高阶的OTUk业务数据流,所述站点404的支路板T将所述高阶的OTUk业务数据流解析为低阶ODUi的业务数据流。As shown in FIG. 4, the tributary board T of the station 404 receives the high-order OTUk service data stream sent by the upstream station 403 through the upstream line, and the tributary board T of the station 404 sets the high-order OTUk service data. The stream is parsed into a business data stream of a low-order ODUi.
502、所述站点确定所述站点预设编码方式;502. The site determines a preset coding mode of the site.
所述预设编码方式为所述站点通过正常的所述上游线路接收到的所述业务信号或所述业务数据流的编码方式;The preset coding mode is a coding mode of the service signal or the service data flow received by the station through a normal uplink line;
所述预设编码方式为该站点与所述客户业务发送端或上游站点预先预定的,或由管理网元通知给所述站点的,其中,所述管理网元分别与所述客户业务发送端与所述站点连接。The preset coding mode is pre-determined by the site and the client service sending end or the upstream site, or notified to the site by the management network element, where the management network element and the client service sending end respectively Connect to the site.
所述站点通过预设编码方式,可对不同的业务信号进行不同的正确性检 测。The station can perform different correctness checks on different service signals by using a preset coding mode. Measurement.
例如对以太网业务检查66/64B失步检查。For example, check the 66/64B out-of-synchronization check for the Ethernet service.
503、所述站点确定所述第一数据帧的编码方式是否符合预设编码方式,若是,则进行步骤504,若否,则进行步骤505;503, the station determines whether the encoding mode of the first data frame conforms to a preset encoding mode, and if so, proceeds to step 504, and if not, proceeds to step 505;
504、所述站点确定所述上游线路正常;504. The station determines that the upstream line is normal.
505、所述站点确定所述上游线路异常;505. The station determines that the upstream line is abnormal.
506、在所述异常检测期间,若所述站点确定第一数据帧不满足预置条件,则所述站点对所述第一数据帧进行修改,以使发送至所述站点的下游站点的修改后的所述第一数据帧用于指示所述下游站点不进行保护倒换;506. During the abnormality detection, if the station determines that the first data frame does not satisfy the preset condition, the station modifies the first data frame to modify the downlink station sent to the site. The first data frame is used to indicate that the downstream station does not perform protection switching;
即本实施例中,所述站点在进行步骤502至步骤505以确定所述上游线路是否异常时,所述站点在进行完步骤501以获取业务数据流后,需要进行步骤506以防止在所述站点进行异常检测期间(即进行步骤502至步骤505),发送至下游站点的第一数据帧触发下游站点进行保护倒换,则需要进行步骤506对第一数据帧进行修改,以使发送至所述站点的下游站点的修改后的所述第一数据帧用于指示所述下游站点不进行保护倒换。In this embodiment, when the station performs step 502 to step 505 to determine whether the upstream line is abnormal, the station needs to perform step 506 after performing step 501 to obtain the service data flow to prevent the During the abnormality detection of the site (ie, step 502 to step 505), the first data frame sent to the downstream site triggers the downstream site to perform protection switching, and then the step 506 is required to modify the first data frame to be sent to the The modified first data frame of the downstream site of the site is used to indicate that the downstream site does not perform protection switching.
507、若所述站点根据所述第一数据帧检测出所述站点的上游线路异常,则所述站点进行保护倒换;507. If the station detects that the uplink line of the station is abnormal according to the first data frame, the station performs protection switching.
508、所述站点对第二数据帧进行修改,以使发送至所述下游站点的修改后的所述第二数据帧用于指示所述下游站点不进行保护倒换;508. The station modifies the second data frame, so that the modified second data frame sent to the downstream site is used to indicate that the downstream site does not perform protection switching.
本实施例中所述步骤506至步骤508与图3所示的步骤302至步骤304过程相同,在本实施例中不做赘述。The steps 506 to 508 in the embodiment are the same as the steps 302 to 304 in FIG. 3, and are not described in this embodiment.
509、若所述站点根据所述第一数据帧检测出所述站点的上游线路正常,则所述站点将所述第二数据帧发送至所述下游站点。509. If the station detects that the upstream line of the station is normal according to the first data frame, the station sends the second data frame to the downstream station.
若所述上游线路正常,则所述站点无需对该第二数据帧进行修改,因为若上游线路正常,则通过正常的上游线路发送过来的第二数据帧不会触发下游站点进行保护倒换。If the upstream line is normal, the station does not need to modify the second data frame, because if the upstream line is normal, the second data frame sent through the normal upstream line does not trigger the downstream station to perform protection switching.
本实施例通过预设编码方式确定上游线路是否异常,通过本实施例所述站点对所述业务数据流进行修改,使得所述站点在进行异常检测期间发送至下游站点的第一数据帧以及所述异常检测期间之后发送至下游站点的第二数据帧 均不会触发下游站点进行保护倒换,从而有效的避免了下游站点进行误倒换,进而不会因下游站点的误倒换以使得业务信号恢复时间变长,且本实施例中,上游线路没有发生故障的站点不会发生保护倒换,使得维修人员能够迅速的确定发生保护倒换的站点即为上游线路发送异常的站点,实现了故障站点的迅速定位,使得网络维护简单。In this embodiment, it is determined whether the upstream line is abnormal by using a preset coding manner, and the service data stream is modified by the site in this embodiment, so that the first data frame and the first data frame sent by the station to the downstream station during the abnormality detection are performed. a second data frame sent to the downstream site after the abnormality detection period The protection of the downstream site is not triggered, so that the downstream site can be prevented from being erroneously switched, and the traffic signal recovery time is not long due to the reverse switching of the downstream site. In this embodiment, the upstream line does not fail. The protection switching will not occur at the site, so that the maintenance personnel can quickly determine that the site where the protection switching occurs is the site that sends the abnormality to the upstream line, and realizes the rapid location of the faulty site, which makes the network maintenance simple.
图3所示的实施例对倒换实现方法进行详细说明,以下结合图6所示的实施例说明所述站点是如何进行异常检测以确定上游线路是否出现异常的;The embodiment shown in FIG. 3 illustrates the implementation method of the switching in detail. The following describes an example of how the station performs an abnormality detection to determine whether an abnormality occurs in the upstream line, in conjunction with the embodiment shown in FIG. 6;
601、所述站点获取业务数据流;601. The site obtains a service data flow.
本实施例步骤601的具体过程请见图5所示的步骤501,在本实施例中不做赘述。For the specific process of step 601 in this embodiment, please refer to step 501 shown in FIG. 5, which is not described in this embodiment.
602、若所述站点确定该业务数据流有解映射路径,则所述站点确定所述站点通过帧头位置对所述业务数据流进行正确性检测;602. If the station determines that the service data flow has a demapping path, the station determines that the station performs correctness detection on the service data flow by using a frame header position.
即若所述站点接收到该业务数据流为上游站点发送的高阶的OTUk业务数据流,所述站点确定该高阶的OTUk业务数据流是否封装有多个低阶ODUi的业务数据流,若能够解出多个低阶ODUi的业务数据流,则确定有解映射路径。That is, if the station receives the high-order OTUk service data stream sent by the upstream station, the station determines whether the high-order OTUk service data stream is encapsulated with multiple low-order ODUi service data flows. A service data stream of a plurality of low-order ODUis can be solved, and a demapping path is determined.
本实施例中对高阶的OTUk业务数据流具体如何检测是否有解映射路径不作限定,例如可通过检测高阶的OTUk业务数据流的各帧的帧头或通过高阶的OTUk业务数据流的钟频偏检测等。In this embodiment, how to detect whether a high-order OTUk service data stream has a demapping path is not limited, for example, by detecting a frame header of each frame of a high-order OTUk service data stream or by using a high-order OTUk service data stream. Clock frequency deviation detection, etc.
603、所述站点对所述业务数据流进行帧头搜索;603. The station performs a frame header search on the service data flow.
所述站点搜索所述站点接收到的业务数据流中的帧头,其中,所述站点具体如何进行业务数据流的帧头搜索的为现有技术,在本实施例中不做赘述。The site searches for a frame header in the service data stream received by the site, where the site specifically performs the frame header search of the service data stream, which is not described in this embodiment.
604、所述站点确定在预设时长内是否可连续搜索到帧头,若否,则进行步骤605,若是,则进行步骤606;604, the station determines whether the frame header can be continuously searched within the preset duration, if not, proceed to step 605, and if so, proceed to step 606;
具体的,因站点接收一个帧后,即可根据当前帧的帧头位置估计下一个帧的帧头位置,即所述站点对所述业务数据流的第一数据帧进行帧头搜索,当搜索到一个帧头后,所述站点即可估计下一个帧的帧头位置,所述站点在接收所述下一个帧时,确定该帧的帧头与预先估计的位置相同,则继续搜索,直至在预设时长内搜索到的帧的帧头均与预设的相同,则所述站点即可确定所述站点连续搜索到帧头。 Specifically, after the station receives a frame, the frame header position of the next frame may be estimated according to the frame header position of the current frame, that is, the station performs a frame header search on the first data frame of the service data stream, when searching After a frame header, the station can estimate the frame header position of the next frame, and when the station receives the next frame, determining that the frame header of the frame is the same as the pre-estimated position, the search continues until If the frame header of the frame searched within the preset duration is the same as the preset, the station can determine that the station continuously searches for the frame header.
若所述站点的上游线路正常,则所述站定可连续搜索到帧头,若所述站点的上游线路异常,则所述站点在预设时长内则无法连续搜索到的帧头。If the upstream line of the station is normal, the station may continuously search for the frame header. If the upstream line of the station is abnormal, the station may not continuously search for the frame header within a preset duration.
605、所述站点确定其上游线路异常;605. The station determines that an upstream line is abnormal.
606、所述站点确定其上游线路正常;606. The station determines that its upstream line is normal.
607、在所述异常检测期间,若所述站点确定第一数据帧不满足预置条件,则所述站点对所述第一数据帧进行修改,以使发送至所述站点的下游站点的修改后的所述第一数据帧用于指示所述下游站点不进行保护倒换;607. During the abnormality detection, if the station determines that the first data frame does not satisfy the preset condition, the station modifies the first data frame to modify the downlink station sent to the site. The first data frame is used to indicate that the downstream station does not perform protection switching;
即本实施例中,所述站点在进行步骤602至步骤606以确定所述上游线路是否异常时,所述站点在进行完步骤601以获取业务数据流后,需要进行步骤607以防止在所述站点进行异常检测期间(即进行步骤602至步骤606),发送至下游站点的第一数据帧触发下游站点进行保护倒换,则需要进行步骤607对第一数据帧进行修改,以使发送至所述站点的下游站点的修改后的所述第一数据帧用于指示所述下游站点不进行保护倒换。That is, in this embodiment, when the station performs step 602 to step 606 to determine whether the upstream line is abnormal, after performing the step 601 to obtain the service data flow, the station needs to perform step 607 to prevent the During the abnormality detection of the site (ie, step 602 to step 606), the first data frame sent to the downstream site triggers the downstream site to perform protection switching, and then step 607 is performed to modify the first data frame to be sent to the The modified first data frame of the downstream site of the site is used to indicate that the downstream site does not perform protection switching.
608、若所述站点根据所述第一数据帧检测出所述站点的上游线路异常,则所述站点进行保护倒换;608. If the station detects that the upstream line of the station is abnormal according to the first data frame, the station performs protection switching.
609、所述站点对第二数据帧进行修改,以使发送至所述下游站点的修改后的所述第二数据帧用于指示所述下游站点不进行保护倒换;609. The site modifies the second data frame, so that the modified second data frame sent to the downstream site is used to indicate that the downstream site does not perform protection switching.
本实施例步骤607至步骤609与图3所示的步骤302至步骤304过程相同,在本实施例中不做赘述。 Steps 607 to 609 in this embodiment are the same as the steps from step 302 to step 304 shown in FIG. 3, and are not described in this embodiment.
610、若所述站点确定所述站点的上游线路正常,则所述站点将所述第二数据帧发送至下游站点;610. If the station determines that the upstream line of the station is normal, the station sends the second data frame to a downstream station.
若所述上游线路正常,则所述站点无需对该第二数据帧进行修改,因为若上游线路正常,则通过正常的上游线路发送过来的第二数据帧不会触发下游站点进行保护倒换。If the upstream line is normal, the station does not need to modify the second data frame, because if the upstream line is normal, the second data frame sent through the normal upstream line does not trigger the downstream station to perform protection switching.
本实施例通过对第一数据帧的帧头进行搜索以确定上游线路是否异常,通过本实施例所述站点对所述业务数据流进行修改,使得所述站点在进行异常检测期间发送至下游站点的第一数据帧以及所述异常检测期间之后发送至下游站点的第二数据帧均不会触发下游站点进行保护倒换,从而有效的避免了下游站点进行误倒换,进而不会因下游站点的误倒换以使得业务信号恢复时间变 长,且本实施例中,上游线路没有发生故障的站点不会发生保护倒换,使得维修人员能够迅速的确定发生保护倒换的站点即为上游线路发送异常的站点,实现了故障站点的迅速定位,使得网络维护简单。In this embodiment, by performing a search on the frame header of the first data frame to determine whether the upstream line is abnormal, the service data stream is modified by the site in this embodiment, so that the site is sent to the downstream site during the abnormality detection. The first data frame and the second data frame sent to the downstream station after the abnormality detection period do not trigger the protection switching of the downstream station, thereby effectively avoiding the reverse switching of the downstream station, thereby not being mistaken by the downstream station. Switching to change the service signal recovery time Long, and in this embodiment, the protection line does not occur in the site where the upstream line does not fail, so that the maintenance personnel can quickly determine that the site where the protection switching occurs is the site that sends the abnormality to the upstream line, and realizes the rapid positioning of the faulty site. Make network maintenance simple.
图3所示的实施例对倒换实现方法进行详细说明,以下结合图7所示的实施例说明所述站点是如何进行异常检测以确定上游线路是否出现异常的;The embodiment shown in FIG. 3 illustrates the implementation method of the switching in detail. The following describes an example of how the station performs an abnormality detection to determine whether an abnormality occurs in the upstream line, in conjunction with the embodiment shown in FIG. 7;
701、所述站点获取业务数据流;701. The site obtains a service data flow.
本实施例步骤701的具体过程请见图5所示的步骤501,在本实施例中不做赘述。For the specific process of step 701 in this embodiment, please refer to step 501 shown in FIG. 5, which is not described in this embodiment.
702、所述站点确定所述第一数据帧的时钟频偏;702. The station determines a clock frequency offset of the first data frame.
其中,所述站点具体如何根据所述业务数据流的第一数据帧确定所述第一数据帧的时钟频偏的为现有技术,在本实施例中不做赘述,只要所述站点能够确定出所述第一数据帧的时钟频偏即可。The method for determining the clock frequency offset of the first data frame according to the first data frame of the service data flow is the prior art, and is not described in this embodiment, as long as the station can determine The clock frequency offset of the first data frame is sufficient.
703、所述站点确定所述第一数据帧的时钟频偏是否大于或等于门限值;若是,则进行步骤704,若否,则进行步骤705;703, the station determines whether the clock frequency offset of the first data frame is greater than or equal to the threshold; if yes, proceed to step 704, and if not, proceed to step 705;
所述站点预先确定该门限值,该门限值可为所述站点与所述客户业务发送端预先约定的,或所述管理网元通知的,本实施例对所述门限值具体如何设置的不作限定,只要所述时钟频偏是否大于或等于所述门限值,则所述站点确定所述站点的上游线路异常即可。Determining, by the site, the threshold value, the threshold value may be pre-agreed by the site and the client service sending end, or notified by the management network element, how specific is the threshold value in this embodiment The setting is not limited, as long as the clock frequency offset is greater than or equal to the threshold, the station determines that the upstream line of the station is abnormal.
704、所述站点确定所述站点的上游线路异常;704. The station determines that an upstream line of the station is abnormal.
705、所述站点确定所述站点的上游线路正常;705. The station determines that an upstream line of the station is normal.
706、在所述异常检测期间,若所述站点确定第一数据帧不满足预置条件,则所述站点对所述第一数据帧进行修改,以使发送至所述站点的下游站点的修改后的所述第一数据帧用于指示所述下游站点不进行保护倒换;706. During the abnormality detection, if the station determines that the first data frame does not satisfy the preset condition, the station modifies the first data frame to modify the downlink station sent to the site. The first data frame is used to indicate that the downstream station does not perform protection switching;
即本实施例中,所述站点在进行步骤702至步骤705以确定所述上游线路是否异常时,所述站点在进行完步骤701以获取业务数据流后,需要进行步骤706以防止在所述站点进行异常检测期间(即进行步骤702至步骤705),发送至下游站点的第一数据帧触发下游站点进行保护倒换,则需要进行步骤706对第一数据帧进行修改,以使发送至所述站点的下游站点的修改后的所述第一数据帧用于指示所述下游站点不进行保护倒换。 That is, in the embodiment, when the station performs step 702 to step 705 to determine whether the upstream line is abnormal, after the step 701 is performed to obtain the service data flow, the station needs to perform step 706 to prevent the During the abnormality detection of the site (ie, step 702 to step 705), the first data frame sent to the downstream site triggers the downstream site to perform protection switching, and then step 706 is performed to modify the first data frame to be sent to the The modified first data frame of the downstream site of the site is used to indicate that the downstream site does not perform protection switching.
707、若所述站点根据所述第一数据帧检测出所述站点的上游线路异常,则所述站点进行保护倒换;707. If the station detects that the uplink line of the station is abnormal according to the first data frame, the station performs protection switching.
708、所述站点对第二数据帧进行修改,以使发送至所述下游站点的修改后的所述第二数据帧用于指示所述下游站点不进行保护倒换。708. The station modifies the second data frame, so that the modified second data frame sent to the downstream site is used to indicate that the downstream site does not perform protection switching.
本实施例中步骤706至步骤708与图3所示的实施例中的步骤302至步骤304过程相同,在本实施例中不做赘述。The steps 706 to 708 in the embodiment are the same as the steps 302 to 304 in the embodiment shown in FIG. 3, and are not described in this embodiment.
709、若所述站点检测出所述站点的上游线路正常,则所述站点将所述第二数据帧发送至所述下游站点。709. If the station detects that the upstream line of the station is normal, the station sends the second data frame to the downstream station.
若所述上游线路正常,则所述站点无需对该第二数据帧进行修改,因为若上游线路正常,则通过正常的上游线路发送过来的第二数据帧不会触发下游站点进行保护倒换。If the upstream line is normal, the station does not need to modify the second data frame, because if the upstream line is normal, the second data frame sent through the normal upstream line does not trigger the downstream station to perform protection switching.
本实施例根据所述第一数据帧的时钟频偏是否大于或等于门限值来确定上游线路是否异常,通过本实施例所述站点对所述业务数据流进行修改,使得所述站点在进行异常检测期间发送至下游站点的第一数据帧以及所述异常检测期间之后发送至下游站点的第二数据帧均不会触发下游站点进行保护倒换,从而有效的避免了下游站点进行误倒换,进而不会因下游站点的误倒换以使得业务信号恢复时间变长,且本实施例中,上游线路没有发生故障的站点不会发生保护倒换,使得维修人员能够迅速的确定发生保护倒换的站点即为上游线路发送异常的站点,实现了故障站点的迅速定位,使得网络维护简单。In this embodiment, the uplink data line is determined to be abnormal according to whether the clock frequency offset of the first data frame is greater than or equal to the threshold value, and the service data flow is modified by the site in this embodiment, so that the site is in progress. The first data frame sent to the downstream site during the abnormality detection and the second data frame sent to the downstream site after the abnormality detection period do not trigger the protection switching of the downstream site, thereby effectively avoiding the reverse switching of the downstream site, and further The service signal recovery time is not long due to the misplacement of the downstream site, and in this embodiment, the site where the upstream line does not fail does not undergo protection switching, so that the maintenance personnel can quickly determine that the site where the protection switching occurs is The upstream line sends an abnormal site, which realizes the rapid location of the faulty site, making network maintenance simple.
以下结合图8所示的实施例说明所述站点是如何对所述业务数据流进行修改的:The following describes how the site modifies the service data flow in conjunction with the embodiment shown in FIG. 8:
801、所述站点获取业务数据流;801. The site obtains a service data flow.
具体请见图5所示的步骤501,在本步骤中不做赘述。For details, please refer to step 501 shown in FIG. 5, and no further description is made in this step.
802、所述站点检测所述站点的上游线路是否异常;802. The station detects whether an upstream line of the station is abnormal.
其中,本实施例所示的步骤801的具体过程请见图3所示的步骤301,在本实施例中不做赘述。For the specific process of step 801 shown in this embodiment, please refer to step 301 shown in FIG. 3, which is not described in this embodiment.
803、所述站点确定所述第一数据帧的时钟频偏;803. The station determines a clock frequency offset of the first data frame.
其中,所述站点具体如何根据所述业务数据流的第一数据帧确定所述第一数据帧的时钟频偏的为现有技术,在本实施例中不做赘述,只要所述站点能够 确定出所述第一数据帧的时钟频偏即可。The method for determining the clock frequency offset of the first data frame according to the first data frame of the service data flow is the prior art, and is not described in this embodiment, as long as the site can The clock frequency offset of the first data frame is determined.
804、在所述异常检测期间,所述站点确定第一数据帧是否满足预置条件;若否,则进行步骤805;若是,则进行步骤806;804, during the abnormality detection, the station determines whether the first data frame meets the preset condition; if not, proceed to step 805; if yes, proceed to step 806;
其中,位于所述预设范围内的所述当前时钟频偏用于指示所述下游站点不进行保护倒换;The current clock frequency offset in the preset range is used to indicate that the downstream station does not perform protection switching;
若所述站点确定所述第一数据帧的时钟频偏不位于所述预设范围内,则所述站点确定所述第一数据帧不满足所述预置条件;If the station determines that the clock frequency offset of the first data frame is not within the preset range, the station determines that the first data frame does not satisfy the preset condition;
若所述站点确定所述第一数据帧的时钟频偏位于所述预设范围内,则所述站点确定所述第一数据帧满足所述预置条件;If the station determines that the clock frequency offset of the first data frame is within the preset range, the station determines that the first data frame meets the preset condition;
805、所述站点修改所述第一数据帧的时钟频偏,以使得修改后的所述第一数据帧的时钟频偏位于所述预设范围内;805. The station modifies a clock frequency offset of the first data frame, so that a clock frequency offset of the modified first data frame is located in the preset range.
即通过步骤805对所述第一数据帧进行修改,以使修改后的所述第一数据帧满足所述预置条件。That is, the first data frame is modified by step 805, so that the modified first data frame satisfies the preset condition.
806、所述站点将所述第一数据帧发送至下游站点;806. The station sends the first data frame to a downstream site.
即所述站点将通过步骤804确定的满足所述预置条件的第一数据帧或通过步骤805确定的修改后满足预置条件的第一数据帧发送至下游站点,以使在所述站点进行异常检测期间,所述下游站点不会进行保护倒换。That is, the station sends the first data frame that meets the preset condition determined by step 804 or the first data frame that meets the preset condition determined by step 805 to the downstream site, so that the site performs the During the abnormality detection, the downstream site does not perform protection switching.
通过步骤802使得所述站点确定其上游线路异常,则进行步骤807;Step 802 is caused to make the station determine that its upstream line is abnormal, then proceed to step 807;
807、若所述站点根据所述第一数据帧检测出所述站点的上游线路异常,则所述站点进行保护倒换;807. If the station detects that the upstream line of the station is abnormal according to the first data frame, the station performs protection switching.
本实施例步骤807的具体过程请见图3所示的步骤303,在本实施例中不做赘述。For the specific process of step 807 in this embodiment, please refer to step 303 shown in FIG. 3, which is not described in this embodiment.
808、所述站点自振生成时钟;808. The station generates a clock by self-oscillation.
所述站点进行异常检测期间之后,确定所述站点的上游线路异常,则为防止下游站点进行误倒换,则所述站点自振生成时钟。After the abnormality detection period of the station is performed, it is determined that the upstream line of the station is abnormal, and in order to prevent the downstream station from performing erroneous switching, the station generates a clock by self-oscillation.
其中,站点具体是如何自振生成时钟的请见现有技术,在本步骤中不做赘述。For details, how to generate a clock by self-oscillation is known in the prior art, and will not be described in this step.
809、所述站点确定所述站点自振生成的时钟为目标时钟;809. The station determines that a clock generated by the self-oscillation of the station is a target clock.
其中,所述目标时钟用于指示所述下游站点不进行保护倒换; The target clock is used to indicate that the downstream station does not perform protection switching;
810、所述站点自振生成周期性的帧头;810. The station is self-oscillated to generate a periodic frame header.
所述站点进行异常检测期间之后,确定所述站点的上游线路异常,则为防止下游站点进行误倒换,则所述站点自振生成周期性的帧头。After the abnormality detection period is performed, the station determines that the upstream line of the station is abnormal. To prevent the downstream station from performing erroneous switching, the station generates a periodic frame header by self-oscillation.
其中,站点具体是如何自振生成周期性的帧头的请见现有技术,在本步骤中不做赘述。The specific structure of the site is self-oscillation to generate a periodic frame header. Please refer to the prior art, and no further details are provided in this step.
811、所述站点确定所述站点自振生成周期性的帧头为目标帧头;811. The station determines that a static frame header is generated by the station from a vibration as a target frame header.
其中,所述目标帧头用于指示所述下游站点不进行保护倒换;The target frame header is used to indicate that the downstream site does not perform protection switching;
812、所述站点检测到所述第二数据帧的开销中设置有用于指示所述下游站点倒换的倒换指示信息,则所述站点对所述倒换指示信息进行修改,以使修改后的所述倒换指示信息用于指示所述下游站点不进行保护倒换;812. The station detects, in the overhead of the second data frame, that the switching indication information is used to indicate the switching of the downstream station, where the site modifies the switching indication information, so that the modified The switching indication information is used to indicate that the downstream station does not perform protection switching;
其中,所述倒换指示信息用于所述站点指示其下游站点进行保护倒换;The switching indication information is used by the station to instruct its downstream station to perform protection switching;
具体的,所述业务数据流中的各个帧中均设置有所述开销。Specifically, the overhead is set in each frame in the service data flow.
813、所述站点确定设置有修改后的所述倒换指示信息的开销为目标开销;813. The site determines that the cost of the modified switching indication information is set as a target cost.
814、所述站点将所述第二数据帧的时钟替换为所述目标时钟、所述站点将所述第二数据帧的帧头替换为所述目标帧头以及所述站点将所述第二数据帧的开销替换为所述目标开销;814. The station replaces a clock of the second data frame with the target clock, the station replaces a frame header of the second data frame with the target frame header, and the station will be the second The overhead of the data frame is replaced by the target overhead;
即通过步骤814对所述第二数据帧进行修改,以使携带有所述目标时钟、所述目标帧头以及所述目标开销的第二数据帧不会触发下游站点进行保护倒换。That is, the second data frame is modified in step 814, so that the second data frame carrying the target clock, the target frame header, and the target overhead does not trigger the downstream station to perform protection switching.
需明确的是,本实施例所示的确定目标时钟的步骤(步骤808至步骤809)、确定所述目标帧头的步骤(步骤810至步骤811)以及确定目标开销的步骤(步骤812至步骤813)之间时序关系为举例进行说明,不作限定,其中确定目标时钟的步骤、确定目标帧头的步骤以及确定目标开销的步骤的先后关系为任意的,也可为并列的,只要站定能够确定目标时钟、目标帧头以及目标开销即可。It should be clarified that the steps of determining the target clock (steps 808 to 809) shown in this embodiment, the steps of determining the target frame header (steps 810 to 811), and the step of determining the target overhead (step 812 to step) 813) The timing relationship is illustrated by way of example and is not limited, wherein the step of determining the target clock, the step of determining the target frame header, and the step of determining the target overhead are arbitrary, or may be juxtaposed, as long as the station is capable of standing Determine the target clock, target frame header, and target cost.
本实施例中,在异常检测期间,所述站点接收到的时钟频偏进行修改,使得修改后的位于所述预设范围内的所述时钟频偏在所述站点进行异常检测期间指示所述下游站点不进行保护倒换,从而保障站点在进行异常检测期间发送至下游站点的第一数据帧不会触发下游站点进行保护倒换,进一步避免了误倒换的可能,且所述站点对所述异常检测期间之后的第二数据帧进行修改,使得 该修改后的所述第二数据帧不会触发所述下游站点进行保护倒换,以使得上游线路的异常不会扩散,进而使得站点在进行异常检测期间,下游站点不会发生误倒换,不会因下游站点的误倒换以使得业务信号恢复时间变长,且本实施例中,上游线路没有发生故障的站点不会发生保护倒换,使得维修人员能够迅速的确定发生保护倒换的站点即为上游线路发送异常的站点,实现了故障站点的迅速定位,使得网络维护简单。In this embodiment, during the abnormality detection, the clock frequency offset received by the station is modified, so that the modified clock frequency offset within the preset range indicates the downstream during the abnormality detection of the station. The site does not perform protection switching, so that the first data frame sent by the station to the downstream site during the abnormality detection does not trigger the protection switching of the downstream site, further avoiding the possibility of erroneous switching, and the site detects the abnormality during the abnormality detection period. The subsequent second data frame is modified so that The modified second data frame does not trigger the protection switching of the downstream station, so that the abnormality of the upstream line does not spread, and thus the downstream station does not perform erroneous switching during the abnormality detection. Because the error of the downstream site is changed, the service signal recovery time becomes longer, and in this embodiment, the site where the upstream line does not fail does not undergo protection switching, so that the maintenance personnel can quickly determine that the site where the protection switching occurs is the upstream line. Sending an abnormal site enables rapid location of the faulty site, making network maintenance simple.
为更好的理解本发明实施例,以下举具体应用场景对本发明所提供的倒换实现方法进行详细说明:For a better understanding of the embodiments of the present invention, the following describes the implementation method of the switching provided by the present invention in detail:
在本发明实施例中,上游线路出现异常的站点可为与客户业务发送端连接的站点或与上游站点连接的站点;In the embodiment of the present invention, the site where the upstream line is abnormal may be a site connected to the client service sender end or a site connected to the upstream site;
本应用场景以上游线路出现异常的站点为与客户业务发送端连接的站点为例进行说明;In this application scenario, a site where an abnormality occurs on the upstream line is a site connected to the sender of the client service is taken as an example for description;
该站点的T板在接收到客户业务发送端所发送的业务信号时,将业务信号映射处理成低阶ODUi的业务数据流,该站点的线路板N将多个低阶ODUi的业务数据流封装成高阶的OTUk业务数据流;When receiving the service signal sent by the client service sending end, the T board of the station maps the service signal into the service data stream of the low-order ODUi, and the circuit board N of the station encapsulates the service data streams of the plurality of low-order ODUi. High-order OTUk business data flow;
具体的,所述业务数据流包括第一数据帧和第二数据帧,其中,所述第一数据帧为所述站点进行异常检测期间发送至下游站点的数据帧,所述第二数据帧为所述异常检测期间之后发送至下游站点的数据帧。Specifically, the service data stream includes a first data frame and a second data frame, where the first data frame is a data frame that is sent to a downstream station during an abnormality detection of the station, where the second data frame is A data frame sent to the downstream site after the abnormality detection period.
所述站点的T板对所述第一数据帧进行异常检测,以确定该站点的上游线路是否异常;The T-board of the station performs an abnormality detection on the first data frame to determine whether an upstream line of the station is abnormal;
其具体的确定该站点的上游线路是否异常的方式为:The specific way to determine whether the upstream line of the station is abnormal is:
所述站点的支路板T预先确定是通过预设编码方式对业务信号进行正确性检测,还是通过时钟频偏检测对业务信号进行正确性检测;The tributary board T of the station determines whether the service signal is correctly detected by a preset coding mode, or whether the service signal is correctly detected by the clock frequency offset detection;
其具体的确定方式为所述站点的支路板T确定所述业务数据流中是否有预设编码方式,若有,则通过预设编码方式对业务信号进行正确性检测;确定所述业务数据流是否可确定时钟频偏,若可,则通过时钟频偏检测对业务信号进行正确性检测;The specific determination manner is that the tributary board T of the station determines whether there is a preset coding mode in the service data flow, and if yes, corrects the service signal by using a preset coding mode; determining the service data. Whether the stream can determine the clock frequency offset, and if so, correct the service signal by detecting the clock frequency offset;
以所述站点的支路板T根据预设编码方式对业务信号进行正确性检测为例进行说明; The correctness detection of the service signal according to the preset coding mode is performed by using the tributary board T of the site as an example;
所述站点的支路板T预先确定是通过预设编码方式对业务信号进行正确性检测的具体方式为:The specific manner in which the tributary board T of the station determines that the service signal is correctly detected by using a preset coding manner is:
所述站点的T板确定预设编码方式;The T board of the site determines a preset encoding mode;
本应用场景中,该预设编码方式为以太网业务检查66/64B失步检查为例,管理网元预先通知所述预设编码方式,若所述站点接收到的业务信号的编码方式与所述预设编码方式相符,则说明业务信号正确,若所述业务信号的编码方式与所述预设编码方式不相符,则说明业务信号不正确;In this application scenario, the preset coding mode is an Ethernet service check 66/64B out-of-synchronization check, and the management network element notifies the preset coding mode in advance, if the service signal received by the station is encoded and used. If the preset coding mode is consistent, the service signal is correct. If the coding mode of the service signal does not match the preset coding mode, the service signal is incorrect.
若所述站点的T板检测所述业务信号不符合所述预设编码方式,则所述站点确定所述上游线路异常;If the T-board of the station detects that the service signal does not meet the preset coding mode, the station determines that the upstream line is abnormal;
若以所述站点的支路板T通过时钟频偏检测对业务信号进行正确性检测,则所述站点的支路板T首先确定所述时钟频偏;If the tributary board T of the station detects the correctness of the service signal by the clock frequency offset detection, the tributary board T of the station first determines the clock frequency offset;
所述站点的支路板T根据已确定的所述时钟频偏是否大于或等于门限值,若大于或等于,则说明上游线路异常,则具体的确定方式可为:The tributary board T of the station is determined according to whether the clock frequency offset is greater than or equal to the threshold value. If the uplink line is abnormal, the specific determination manner may be:
所述站点的支路板T将业务信号时钟clk_serdes转为待检时钟clk_otu;The tributary board T of the station converts the service signal clock clk_serdes into the clock to be detected clk_otu;
所述站点的支路板T用快慢图案将待检时钟转到系统时钟域gap_otu;The tributary board T of the station uses the fast and slow pattern to transfer the clock to be detected to the system clock domain gap_otu;
所述站点的支路板T在25/3us内对gap_otu计数以生成计数值gap_cnt;The tributary board T of the station counts gap_otu within 25/3us to generate a count value gap_cnt;
所述站点的支路板T对计数值gap_cnt进行最大最小值越界判断,输出越界指示ind;The tributary board T of the station performs a maximum and minimum out of bounds judgment on the count value gap_cnt, and outputs an outbound boundary indication ind;
所述站点的支路板T对越界指示ind进行过滤,连续n次越界,则确定所述时钟频偏大于或等于门限值,则说明其上游线路异常;The tributary board T of the station filters the out-of-bounds indication ind, and if it crosses the boundary n times continuously, it is determined that the clock frequency offset is greater than or equal to the threshold value, indicating that the upstream line is abnormal;
在进行上述异常检测期间,为防止所述站点的下游站点进行误倒换,则所述站点的T板进一步确定所述时钟频偏是否位于预设范围内;During the abnormality detection, in order to prevent the downstream station of the station from performing erroneous switching, the T board of the station further determines whether the clock frequency offset is within a preset range;
本实施例以所述站点的T板确定所述时钟频偏没有位于预设范围内为例进行说明:In this embodiment, the T-board of the station determines that the clock frequency offset is not within a preset range as an example:
即若所述站点的T板确定所述时钟频偏没有位于预设范围内,则所述站点的T板修改所述时钟频偏,直至修改后的所述时钟频偏位于预设范围内;That is, if the T-board of the station determines that the clock frequency offset is not within the preset range, the T-board of the station modifies the clock frequency offset until the modified clock frequency offset is within a preset range;
其中,修改后的位于所述预设范围内的所述时钟频偏用于指示下游站点不进行保护倒换;The modified clock frequency offset in the preset range is used to indicate that the downstream station does not perform protection switching;
经过上述异常检测期间,所述站点的T板确定其上游线路异常,则在本站 点进行保护倒换;After the abnormality detection period, the T board of the station determines that the upstream line is abnormal, then the station Point for protection switching;
因上游线路异常,则所述站点的T板自振生成目标时钟,该自振生成目标时钟不会触发下游站点进行误倒换;If the upstream line is abnormal, the T-board of the station generates a target clock by self-oscillation, and the self-oscillation generating target clock does not trigger the downstream station to perform erroneous switching;
经过所述异常检测期间,所述站点的线路板N自振生成周期性的帧头;During the abnormality detection, the circuit board N of the station spontaneously generates a periodic frame header;
所述站点的线路板N确定所述周期性的帧头为所述目标帧头;The circuit board N of the station determines that the periodic frame header is the target frame header;
经过所述异常检测期间,所述站点的线路板N检测到所述第一数据帧的开销中设置有倒换指示信息,则所述站点的线路板N对所述倒换指示信息进行修改,以使修改后的所述倒换指示信息指示所述下游站点不进行保护倒换;During the abnormality detection, when the circuit board N of the station detects that the overhead of the first data frame is set with the switching indication information, the circuit board N of the station modifies the switching indication information, so that The modified switching indication information indicates that the downstream station does not perform protection switching;
且所述站点的线路板N将设置有修改后的所述倒换指示信息的开销确定为所述目标开销;And the line board N of the site determines the overhead of the modified switching indication information to be the target overhead;
所述站点的线路板N根据所述目标时钟频偏、目标帧头以及目标开销对所述第二数据帧进行修改,以使所述站点的线路板N修改后的第二数据帧用于指示下游站点不进行保护倒换;The circuit board N of the station modifies the second data frame according to the target clock frequency offset, the target frame header, and the target overhead, so that the modified second data frame of the circuit board N of the station is used for indicating The downstream site does not perform protection switching;
下游站点的线路板N接收上游站点发送的修改后的第二数据帧,下游站点根据该修改后的第二数据帧不会进行保护倒换。The circuit board N of the downstream station receives the modified second data frame sent by the upstream station, and the downstream station does not perform protection switching according to the modified second data frame.
以下结合图9所示对可实现防止误倒换的站点的具体结构进行详细说明:The specific structure of the site that can prevent mis-switching is described in detail below with reference to FIG. 9:
所述站点具体包括:The site specifically includes:
检测单元901,用于检测所述站点的上游线路是否异常;The detecting unit 901 is configured to detect whether an upstream line of the station is abnormal.
为更好的理解本发明实施例,则首先对设置有该站点的光传送网的具体结构进行详细说明:For a better understanding of the embodiments of the present invention, the specific structure of the optical transport network provided with the site is first described in detail:
如图4所示,在本实施例中,所述客户业务发送端401与客户业务接收端402之间串联有多个站点,需明确的是,图4为示意图,在本实施例中对所述站点的具体数目不作限定。As shown in FIG. 4, in this embodiment, a plurality of sites are connected in series between the client service sending end 401 and the client service receiving end 402. It is to be understood that FIG. 4 is a schematic diagram, and in this embodiment, The specific number of sites is not limited.
其具体结构为:与所述客户业务发送端401连接的站点403的支路板T用于将客户业务发送端401发送的业务信号映射处理成低阶ODUi的业务数据流,该站点的线路板N将多个低阶ODUi的业务数据流封装成高阶的OTUk业务数据流,进而可将该高阶的OTUk业务数据流发送至下游站点404。The specific structure is: the tributary board T of the station 403 connected to the client service sending end 401 is configured to map the service signal sent by the client service sending end 401 into a service data stream of the low-order ODUi, and the circuit board of the station N encapsulates the service data streams of the plurality of low-order ODUis into a high-order OTUk service data stream, and the high-order OTUk service data stream can be sent to the downstream station 404.
与所述客户业务接收端402连接的站点405的线路板N将高阶的OTUk业务数据流转换为低阶ODUi的业务数据流,该站点405的支路板T将该低阶ODUi 的业务数据流进行解映射处理成业务信号以发送给客户业务接收端402。The circuit board N of the station 405 connected to the customer service receiving end 402 converts the high-order OTUk service data stream into the service data stream of the low-order ODUi, and the tributary board T of the station 405 sets the low-order ODUi The service data stream is demapped into a service signal for transmission to the client service receiver 402.
其中,用于将业务信号进行映射处理的站点403和用于将业务数据流进行解映射处理的站点405之间还包括至少一个用于传输高阶的OTUk业务数据流的站点404,具体数目不作限定。The station 403 for mapping the service signal and the station 405 for performing the demapping process on the service data stream further includes at least one station 404 for transmitting the high-order OTUk service data stream, and the specific number is not used. limited.
可见,本实施例中站点可通过其上游线路与客户业务发送端连接,也可与上游站点连接。It can be seen that in this embodiment, the site can be connected to the client service sending end through its upstream line, or can be connected to the upstream site.
具体的,本实施例图4所示的为1+1板级保护,即与所述客户业务发送端401连接的站点403中包括一个主用的支路板4031和一个备用支路板4032,与上游站点连接的站点内包括一个主用线路板N以及一个备用线路板N,以站定404为例,所述站点404通过所述站点404的上游线路与上游站点403连接,所述站点404的主用线路板为线路板4041,所述站点404的备用线路板为线路板4042。Specifically, the device shown in FIG. 4 is 1+1 board level protection, that is, the station 403 connected to the client service sending end 401 includes a main tributary board 4031 and a standby tributary board 4032. The site connected to the upstream site includes a primary circuit board N and a backup circuit board N, exemplified by a station 404 that is connected to the upstream site 403 via an upstream line of the site 404, the site 404 The main circuit board is the circuit board 4041, and the standby circuit board of the station 404 is the circuit board 4042.
需明确的是,本实施例所示的1+1板级保护为举例进行说明,还可应用于1:M板级保护,即站点中包括一个主用的支路板T以及M个备用支路板T或一个主用线路板N以及M个备用线路板N。It should be clarified that the 1+1 board level protection shown in this embodiment is described by way of example, and can also be applied to 1:M board level protection, that is, the station includes one main branch board T and M spare branches. The board T or one main board N and M spare boards N.
其中,M个备用板可设定优先级,以使得若上游线路异常,则根据M个备用板所设定优先级选定备用板,以完成保护倒换。The M standby boards can be set with a priority level, so that if the upstream line is abnormal, the standby board is selected according to the priority set by the M standby boards to complete the protection switching.
以站点403为例,所述站点403的所述上游线路为所述主用的支路板4031与所述客户业务发送端401之间的线路,若该上游线路正常,则站点403的交叉板通过主用的支路板4031获取所述业务数据流;若该上游线路异常,则站点403的交叉板通过备用支路板4032获取所述业务数据流,以完成保护倒换,保障业务数据流的正常传输。Taking the site 403 as an example, the upstream line of the station 403 is a line between the primary tributary board 4031 and the client service sending end 401. If the upstream line is normal, the cross slab of the station 403 The service data stream is obtained by the primary tributary board 4031. If the upstream line is abnormal, the cross-board of the station 403 obtains the service data flow through the standby tributary board 4032 to complete the protection switching and ensure the service data flow. Normal transmission.
本实施例中,所述站点支路板T的检测单元901对所述站点的上游线路进行异常检测,以确定所述站点的上游线路是否出现异常。In this embodiment, the detecting unit 901 of the station tributary board T performs an abnormality detection on the upstream line of the station to determine whether an abnormality occurs in the upstream line of the station.
需明确的是,本实施例对所述检测单元901具体是如何进行异常检测的不作限定,只要该上游线路异常,检测单元901能够迅速检测并确定即可。It should be understood that, in this embodiment, the detection unit 901 specifically performs abnormality detection. As long as the upstream line is abnormal, the detecting unit 901 can quickly detect and determine.
例如,若所述检测单元901检测到警告信息,则确定上游线路异常,所述警告信息可为:信号丢失(Loss of Signal,LOS)、帧丢失(Loss of Frame,LOF)、时钟丢失(LOSS of clocl,LOC)、帧失步(OUT of frame,OOF)、信号劣化(signal Degrade,SD)等。 For example, if the detecting unit 901 detects the warning information, it determines an upstream line abnormality, and the warning information may be: Loss of Signal (LOS), Loss of Frame (LOF), Loss of Clock (LOSS) Of clocl, LOC), OUT of frame (OOF), signal degradation (SD), and so on.
第一修改单元902,用于在所述异常检测期间,若确定第一数据帧不满足预置条件,则对所述第一数据帧进行修改,以使发送至所述站点的下游站点的修改后的所述第一数据帧用于指示所述下游站点不进行保护倒换,其中,所述第一数据帧为所述站点进行所述异常检测期间发送至所述下游站点的数据帧;a first modifying unit 902, configured to modify the first data frame to modify a downlink station sent to the site, if it is determined that the first data frame does not satisfy the preset condition during the abnormality detection The first data frame is used to indicate that the downstream station does not perform protection switching, where the first data frame is a data frame sent by the station to the downstream station during the abnormality detection;
在进行异常检测期间,即所述检测单元901确定确定所述站点的上游线路是否出现异常时,所述站点需要将第一数据帧发送至下游站点,若所述站点的上游线路发生异常,则会导致第一数据帧异常,异常的第一数据帧会触发所述站点的下游站点进行保护倒换,为了保障所述站点进行异常检测期间,所述下游站点不会进行误倒换,则所述站点的第一修改单元902首先对所述站点要发送给下游站点的第一数据帧进行检测,以确定所述第一数据帧是否满足预置条件。During the abnormality detection, that is, when the detecting unit 901 determines whether an abnormality occurs in the upstream line of the station, the station needs to send the first data frame to the downstream station, and if an abnormality occurs in the upstream line of the station, The first data frame is abnormal, and the abnormal first data frame triggers the protection of the downstream site of the site for protection switching. In order to ensure that the downstream site does not perform error switching during the abnormality detection of the site, the site is not mis-switched. The first modifying unit 902 first detects a first data frame to be sent by the station to the downstream station to determine whether the first data frame satisfies a preset condition.
其中,本实施例对所述预置条件不作限定,所述站点的下游站点根据满足所述预置条件的第一数据帧不会进行保护倒换即可。The preset condition is not limited in this embodiment, and the downstream station of the station does not perform protection switching according to the first data frame that satisfies the preset condition.
第一确定单元903,用于若根据所述第一数据帧检测出所述站点的上游线路异常,则进行保护倒换;The first determining unit 903 is configured to perform protection switching if the upstream line abnormality of the station is detected according to the first data frame;
即若所述检测单元901根据所述站点已发往下游站点的所述业务数据流的第一数据帧检测到所述站点的上游线路出现异常,则在本站点进行保护倒换,以保障数据流的正常传输。That is, if the detecting unit 901 detects that an abnormality occurs in the upstream line of the station according to the first data frame of the service data flow that the station has sent to the downstream station, the protection switching is performed at the site to ensure data. Normal transmission of the stream.
如图4所示,以站点403为例,即若站点403确定站点403的上游线路异常,即所述站点的第一确定单元903确定主用的支路板4031与所述客户业务发送端401之间的线路异常,则所述站点403的交叉板从备用支路板4032接收所述客户业务发送端401发送的所述业务数据流。As shown in FIG. 4, the station 403 is taken as an example. If the station 403 determines that the upstream line of the station 403 is abnormal, the first determining unit 903 of the station determines the tributary board 4031 for use and the client service sending end 401. If the line is abnormal, the cross board of the station 403 receives the service data stream sent by the client service sending end 401 from the standby tributary board 4032.
第二修改单元904,用于对第二数据帧进行修改,以使发送至所述下游站点的修改后的所述第二数据帧用于指示所述下游站点不进行保护倒换,其中,所述第二数据帧为所述站点通过异常的所述上游线路接收到的且在所述异常检测期间之后发送至所述下游站点的数据帧。The second modifying unit 904 is configured to modify the second data frame, so that the modified second data frame sent to the downstream site is used to indicate that the downstream site does not perform protection switching, where The second data frame is a data frame received by the station through the abnormal upstream line and sent to the downstream station after the abnormality detection period.
因所述检测单元901确定上游线路异常,则为避免下游线路发生误倒换,则所述第二修改单元904对所述业务数据流的第二数据帧进行修改,其中,所述第二数据帧为所述站点通过异常的所述上游线路接收到的且在所述异常检 测期间之后发送至所述下游站点的数据帧。Because the detecting unit 901 determines that the upstream line is abnormal, the second modifying unit 904 modifies the second data frame of the service data stream, in order to avoid erroneous switching of the downstream line, where the second data frame is modified. Receiving the abnormality check for the site through the abnormal upstream line A data frame sent to the downstream site after the measurement period.
本实施例对所述第二修改单元904具体是如何对所述业务数据流进行修改的不作限定,只要使得站点将已修改的业务数据流发送至下游站点时,下游站点不会进行保护倒换即可。The embodiment does not limit how the second modification unit 904 specifically modifies the service data flow. If the site sends the modified service data flow to the downstream site, the downstream site does not perform protection switching. can.
通过本实施例所述站点对所述业务数据流进行修改,使得所述站点在进行异常检测期间发送至下游站点的第一数据帧以及所述异常检测期间之后发送至下游站点的第二数据帧均不会触发下游站点进行保护倒换,从而有效的避免了下游站点进行误倒换,进而不会因下游站点的误倒换以使得业务信号恢复时间变长,且本实施例中,上游线路没有发生故障的站点不会发生保护倒换,使得维修人员能够迅速的确定发生保护倒换的站点即为上游线路发送异常的站点,实现了故障站点的迅速定位,使得网络维护简单。Modifying, by the site in this embodiment, the service data flow, so that the first data frame sent by the station to the downstream site during the abnormality detection and the second data frame sent to the downstream site after the abnormality detection period The protection of the downstream site is not triggered, so that the downstream site can be prevented from being erroneously switched, and the traffic signal recovery time is not long due to the reverse switching of the downstream site. In this embodiment, the upstream line does not fail. The protection switching will not occur at the site, so that the maintenance personnel can quickly determine that the site where the protection switching occurs is the site that sends the abnormality to the upstream line, and realizes the rapid location of the faulty site, which makes the network maintenance simple.
图9所示对可实现防止误倒换的站点的具体结构进行详细说明,以下结合图10对可实现异常检测以确定上游线路是否出现异常的站点的具体结构进行详细说明:FIG. 9 is a detailed description of a specific structure of a site that can prevent mis-switching. The specific structure of a site that can implement anomaly detection to determine whether an abnormality occurs on the upstream line is described in detail below with reference to FIG. 10:
所述站点包括:The site includes:
第一接收单元1001,用于若所述站点的上游线路与所述客户业务发送端连接,则接收所述客户业务发送端发送的业务信号;The first receiving unit 1001 is configured to: if the upstream line of the station is connected to the client service sending end, receive a service signal sent by the client service sending end;
第二确定单元1002,用于将所述业务信号映射为业务数据流,其中,所述业务数据流包括所述第一数据帧和所述第二数据帧;a second determining unit 1002, configured to map the service signal into a service data stream, where the service data stream includes the first data frame and the second data frame;
以图4所示为例,与所述客户业务发送端401连接的站点403的支路板T的第二确定单元1002用于将客户业务发送端401发送的业务信号映射处理成低阶ODUi的业务数据流,该站点的线路板N将多个低阶ODUi的业务数据流封装成高阶的OTUk业务数据流,进而可将该高阶的OTUk业务数据流发送至下游站点404。As shown in FIG. 4, the second determining unit 1002 of the tributary T of the station 403 connected to the client service sending end 401 is configured to process the service signal sent by the client service sending end 401 into a low-order ODUi. The service data stream, the circuit board N of the station encapsulates the service data streams of the plurality of low-order ODUi into a high-order OTUk service data stream, and the high-order OTUk service data stream can be sent to the downstream station 404.
第二接收单元1003,用于若所述站点的上游线路与所述站点的上游站点连接,则接收所述上游站点发送的业务数据流,其中,所述业务数据流包括所述第一数据帧和所述第二数据帧;The second receiving unit 1003 is configured to: if the upstream line of the station is connected to an upstream station of the station, receive a service data flow sent by the upstream station, where the service data flow includes the first data frame And the second data frame;
以图4所示为例,站点404的支路板T的第二接收单元1003通过上游线路接收上游站点403发送的高阶的OTUk业务数据流,所述站点404的支路板T将所 述高阶的OTUk业务数据流解析为低阶ODUi的业务数据流。As shown in FIG. 4, the second receiving unit 1003 of the tributary T of the station 404 receives the high-order OTUk service data stream sent by the upstream station 403 through the upstream line, and the tributary board T of the station 404 The high-order OTUk service data stream is parsed into a low-order ODUi service data stream.
检测单元1004,用于检测所述站点的上游线路是否异常;a detecting unit 1004, configured to detect whether an upstream line of the station is abnormal;
具体的,所述检测单元1004包括:Specifically, the detecting unit 1004 includes:
第一确定模块10041,用于确定所述第一数据帧的编码方式是否符合预设编码方式,所述预设编码方式为所述站点通过正常的所述上游线路接收到的所述业务信号或所述业务数据流的编码方式;The first determining module 10041 is configured to determine whether the coding mode of the first data frame is consistent with a preset coding mode, where the preset coding mode is the service signal received by the station through a normal uplink line or Encoding method of the service data stream;
所述预设编码方式为所述站点通过正常的所述上游线路接收到的所述业务信号或所述业务数据流的编码方式;The preset coding mode is a coding mode of the service signal or the service data flow received by the station through a normal uplink line;
所述预设编码方式为该站点与所述客户业务发送端或上游站点预先预定的,或由管理网元通知给所述站点的,其中,所述管理网元分别与所述客户业务发送端与所述站点连接。The preset coding mode is pre-determined by the site and the client service sending end or the upstream site, or notified to the site by the management network element, where the management network element and the client service sending end respectively Connect to the site.
所述站点通过预设编码方式,可对不同的业务信号进行不同的正确性检测。The station can perform different correctness detection on different service signals by using a preset coding mode.
例如对以太网业务检查66/64B失步检查。For example, check the 66/64B out-of-synchronization check for the Ethernet service.
第二确定模块10042,用于若确定所述第一数据帧的编码方式符合预设编码方式,则确定所述上游线路正常;The second determining module 10042 is configured to determine that the upstream line is normal if it is determined that the encoding manner of the first data frame conforms to a preset encoding manner;
第三确定模块10043,用于若确定所述第一数据帧的编码方式不符合预设编码方式,则确定所述上游线路异常;The third determining module 10043 is configured to determine that the upstream line is abnormal if it is determined that the encoding manner of the first data frame does not meet the preset encoding manner;
第一修改单元1005,用于在所述异常检测期间,若确定第一数据帧不满足预置条件,则对所述第一数据帧进行修改,以使发送至所述站点的下游站点的修改后的所述第一数据帧用于指示所述下游站点不进行保护倒换,其中,所述第一数据帧为所述站点进行所述异常检测期间发送至所述下游站点的数据帧;The first modifying unit 1005 is configured to modify, during the abnormality detection, that the first data frame does not satisfy the preset condition, to modify the first data frame, so as to modify the downstream station sent to the site The first data frame is used to indicate that the downstream station does not perform protection switching, where the first data frame is a data frame sent by the station to the downstream station during the abnormality detection;
第一确定单元1006,用于若根据所述第一数据帧检测出所述站点的上游线路异常,则进行保护倒换;The first determining unit 1006 is configured to perform protection switching if the uplink line abnormality of the station is detected according to the first data frame;
第二修改单元1007,用于对第二数据帧进行修改,以使发送至所述下游站点的修改后的所述第二数据帧用于指示所述下游站点不进行保护倒换,其中,所述第二数据帧为所述站点通过异常的所述上游线路接收到的且在所述异常检测期间之后发送至所述下游站点的数据帧。The second modifying unit 1007 is configured to modify the second data frame, so that the modified second data frame sent to the downstream site is used to indicate that the downstream site does not perform protection switching, where The second data frame is a data frame received by the station through the abnormal upstream line and sent to the downstream station after the abnormality detection period.
本实施例通过预设编码方式确定上游线路是否异常,通过本实施例所述站 点对所述业务数据流进行修改,使得所述站点在进行异常检测期间发送至下游站点的第一数据帧以及所述异常检测期间之后发送至下游站点的第二数据帧均不会触发下游站点进行保护倒换,从而有效的避免了下游站点进行误倒换,进而不会因下游站点的误倒换以使得业务信号恢复时间变长,且本实施例中,上游线路没有发生故障的站点不会发生保护倒换,使得维修人员能够迅速的确定发生保护倒换的站点即为上游线路发送异常的站点,实现了故障站点的迅速定位,使得网络维护简单。In this embodiment, it is determined whether the upstream line is abnormal by using a preset coding manner, and the station is used in this embodiment. Modifying the service data stream so that the first data frame sent by the station to the downstream station during the abnormality detection and the second data frame sent to the downstream station after the abnormality detection period do not trigger the downstream station The protection switching is performed to effectively prevent the downstream station from being erroneously switched, so that the service line recovery time is not long due to the erroneous switching of the downstream station, and in this embodiment, the station having no fault on the upstream line does not protect. The switching enables the maintenance personnel to quickly determine that the site where the protection switching occurs is the site that sends the abnormality to the upstream line, and realizes the rapid location of the faulty site, which makes the network maintenance simple.
图9所示对可实现防止误倒换的站点的具体结构进行详细说明,以下结合图11对可实现异常检测以确定上游线路是否出现异常的站点的具体结构进行详细说明:FIG. 9 is a detailed description of a specific structure of a site that can prevent mis-switching. The specific structure of a site that can implement anomaly detection to determine whether an abnormality occurs on the upstream line is described in detail below with reference to FIG. 11 :
所述站点包括:The site includes:
第一接收单元1101,用于若所述站点的上游线路与所述客户业务发送端连接,则接收所述客户业务发送端发送的业务信号;The first receiving unit 1101 is configured to: if the upstream line of the station is connected to the client service sending end, receive a service signal sent by the client service sending end;
第二确定单元1102,用于将所述业务信号映射为业务数据流,其中,所述业务数据流包括所述第一数据帧和所述第二数据帧;a second determining unit 1102, configured to map the service signal into a service data stream, where the service data stream includes the first data frame and the second data frame;
第二接收单元1103,用于若所述站点的上游线路与所述站点的上游站点连接,则接收所述上游站点发送的业务数据流,其中,所述业务数据流包括所述第一数据帧和所述第二数据帧;The second receiving unit 1103 is configured to: if the upstream line of the station is connected to an upstream station of the station, receive a service data flow sent by the upstream station, where the service data flow includes the first data frame And the second data frame;
检测单元1104,用于检测所述站点的上游线路是否异常;a detecting unit 1104, configured to detect whether an upstream line of the station is abnormal;
具体的,所述检测单元1104包括:Specifically, the detecting unit 1104 includes:
第四确定模块11041,用于对所述第一数据帧进行帧头搜索;a fourth determining module 11041, configured to perform a frame header search on the first data frame;
第五确定模块11042,用于确定在预设时长内是否能连续搜索到帧头;The fifth determining module 11042 is configured to determine whether the frame header can be continuously searched within the preset duration;
第六确定模块11043,用于若在预设时长内能连续搜索到帧头,则确定所述站点的上游线路正常;The sixth determining module 11043 is configured to determine that the upstream line of the station is normal if the frame header can be continuously searched within a preset time period;
第七确定模块11044,用于若在预设时长内不能连续搜索到帧头,则确定所述站点的上游线路异常;The seventh determining module 11044 is configured to determine that an upstream line of the station is abnormal if the frame header cannot be continuously searched within a preset duration;
第一修改单元1105,用于在所述异常检测期间,若确定第一数据帧不满足预置条件,则对所述第一数据帧进行修改,以使发送至所述站点的下游站点的修改后的所述第一数据帧用于指示所述下游站点不进行保护倒换,其中,所述 第一数据帧为所述站点进行所述异常检测期间发送至所述下游站点的数据帧;a first modifying unit 1105, configured to modify, when the first data frame does not satisfy the preset condition, during the abnormality detection, to modify the first data frame, so as to modify the downstream station sent to the site The first data frame is used to indicate that the downstream station does not perform protection switching, where a first data frame is a data frame sent by the station to the downstream station during the abnormality detection;
第一确定单元1106,用于若根据所述第一数据帧检测出所述站点的上游线路异常,则进行保护倒换;The first determining unit 1106 is configured to perform protection switching if the upstream line abnormality of the station is detected according to the first data frame;
第二修改单元1107,用于对第二数据帧进行修改,以使发送至所述下游站点的修改后的所述第二数据帧用于指示所述下游站点不进行保护倒换,其中,所述第二数据帧为所述站点通过异常的所述上游线路接收到的且在所述异常检测期间之后发送至所述下游站点的数据帧。a second modifying unit 1107, configured to modify the second data frame, so that the modified second data frame sent to the downstream site is used to indicate that the downstream site does not perform protection switching, where The second data frame is a data frame received by the station through the abnormal upstream line and sent to the downstream station after the abnormality detection period.
本实施例通过对第一数据帧的帧头进行搜索以确定上游线路是否异常,通过本实施例所述站点对所述业务数据流进行修改,使得所述站点在进行异常检测期间发送至下游站点的第一数据帧以及所述异常检测期间之后发送至下游站点的第二数据帧均不会触发下游站点进行保护倒换,从而有效的避免了下游站点进行误倒换,进而不会因下游站点的误倒换以使得业务信号恢复时间变长,且本实施例中,上游线路没有发生故障的站点不会发生保护倒换,使得维修人员能够迅速的确定发生保护倒换的站点即为上游线路发送异常的站点,实现了故障站点的迅速定位,使得网络维护简单。In this embodiment, by performing a search on the frame header of the first data frame to determine whether the upstream line is abnormal, the service data stream is modified by the site in this embodiment, so that the site is sent to the downstream site during the abnormality detection. The first data frame and the second data frame sent to the downstream station after the abnormality detection period do not trigger the protection switching of the downstream station, thereby effectively avoiding the reverse switching of the downstream station, thereby not being mistaken by the downstream station. Switching to make the service signal recovery time become longer, and in this embodiment, the site where the upstream line does not fail does not undergo protection switching, so that the maintenance personnel can quickly determine that the site where the protection switching occurs is the site where the upstream line sends an abnormality. The rapid location of the faulty site is achieved, making network maintenance simple.
图9所示对可实现防止误倒换的站点的具体结构进行详细说明,以下结合图12对可实现异常检测以确定上游线路是否出现异常的站点的具体结构进行详细说明:FIG. 9 is a detailed description of a specific structure of a site that can prevent mis-switching. The specific structure of a site that can implement anomaly detection to determine whether an abnormality occurs on the upstream line is described in detail below with reference to FIG. 12:
所述站点包括:The site includes:
第一接收单元1201,用于若所述站点的上游线路与所述客户业务发送端连接,则接收所述客户业务发送端发送的业务信号;The first receiving unit 1201 is configured to: if the upstream line of the station is connected to the client service sending end, receive a service signal sent by the client service sending end;
第二确定单元1202,用于将所述业务信号映射为业务数据流,其中,所述业务数据流包括所述第一数据帧和所述第二数据帧;a second determining unit 1202, configured to map the service signal into a service data stream, where the service data stream includes the first data frame and the second data frame;
第二接收单元1203,用于若所述站点的上游线路与所述站点的上游站点连接,则接收所述上游站点发送的业务数据流,其中,所述业务数据流包括所述第一数据帧和所述第二数据帧;The second receiving unit 1203 is configured to: if the upstream line of the station is connected to an upstream station of the station, receive a service data flow sent by the upstream station, where the service data flow includes the first data frame And the second data frame;
第三确定单元1204,用于确定所述第一数据帧的时钟频偏。The third determining unit 1204 is configured to determine a clock frequency offset of the first data frame.
检测单元1205,用于检测所述站点的上游线路是否异常;The detecting unit 1205 is configured to detect whether an upstream line of the station is abnormal.
具体的,所述检测单元1205包括: Specifically, the detecting unit 1205 includes:
第八确定模块12051,用于确定所述第一数据帧的时钟频偏是否大于或等于门限值;The eighth determining module 12051 is configured to determine whether a clock frequency offset of the first data frame is greater than or equal to a threshold value;
第九确定模块12052,用于若所述第一数据帧的时钟频偏大于或等于门限值,则确定所述站点的上游线路异常;The ninth determining module 12052 is configured to determine that an uplink line of the station is abnormal if a clock frequency offset of the first data frame is greater than or equal to a threshold value;
第十确定模块12053,用于若所述第一数据帧的时钟频偏小于门限值,则确定所述站点的上游线路正常;The tenth determining module 12053 is configured to determine that an upstream line of the station is normal if a clock frequency offset of the first data frame is less than a threshold value;
第一修改单元1206,用于在所述异常检测期间,若确定第一数据帧不满足预置条件,则对所述第一数据帧进行修改,以使发送至所述站点的下游站点的修改后的所述第一数据帧用于指示所述下游站点不进行保护倒换,其中,所述第一数据帧为所述站点进行所述异常检测期间发送至所述下游站点的数据帧;The first modifying unit 1206 is configured to modify, during the abnormality detection, that the first data frame does not satisfy the preset condition, and modify the first data frame to modify the downstream station sent to the site. The first data frame is used to indicate that the downstream station does not perform protection switching, where the first data frame is a data frame sent by the station to the downstream station during the abnormality detection;
第一确定单元1207,用于若根据所述第一数据帧检测出所述站点的上游线路异常,则进行保护倒换;The first determining unit 1207 is configured to perform protection switching if the upstream line abnormality of the station is detected according to the first data frame;
第二修改单元1208,用于对第二数据帧进行修改,以使发送至所述下游站点的修改后的所述第二数据帧用于指示所述下游站点不进行保护倒换,其中,所述第二数据帧为所述站点通过异常的所述上游线路接收到的且在所述异常检测期间之后发送至所述下游站点的数据帧。a second modifying unit 1208, configured to modify the second data frame, so that the modified second data frame sent to the downstream site is used to indicate that the downstream site does not perform protection switching, where The second data frame is a data frame received by the station through the abnormal upstream line and sent to the downstream station after the abnormality detection period.
本实施例根据所述第一数据帧的时钟频偏是否大于或等于门限值来确定上游线路是否异常,通过本实施例所述站点对所述业务数据流进行修改,使得所述站点在进行异常检测期间发送至下游站点的第一数据帧以及所述异常检测期间之后发送至下游站点的第二数据帧均不会触发下游站点进行保护倒换,从而有效的避免了下游站点进行误倒换,进而不会因下游站点的误倒换以使得业务信号恢复时间变长,且本实施例中,上游线路没有发生故障的站点不会发生保护倒换,使得维修人员能够迅速的确定发生保护倒换的站点即为上游线路发送异常的站点,实现了故障站点的迅速定位,使得网络维护简单。In this embodiment, the uplink data line is determined to be abnormal according to whether the clock frequency offset of the first data frame is greater than or equal to the threshold value, and the service data flow is modified by the site in this embodiment, so that the site is in progress. The first data frame sent to the downstream site during the abnormality detection and the second data frame sent to the downstream site after the abnormality detection period do not trigger the protection switching of the downstream site, thereby effectively avoiding the reverse switching of the downstream site, and further The service signal recovery time is not long due to the misplacement of the downstream site, and in this embodiment, the site where the upstream line does not fail does not undergo protection switching, so that the maintenance personnel can quickly determine that the site where the protection switching occurs is The upstream line sends an abnormal site, which realizes the rapid location of the faulty site, making network maintenance simple.
以下结合图13说明可对所述业务数据流进行修改的站点的具体结构;The specific structure of a site that can modify the service data flow is described below with reference to FIG.
所述站点包括:The site includes:
第一接收单元1301,用于若所述站点的上游线路与所述客户业务发送端连接,则接收所述客户业务发送端发送的业务信号;The first receiving unit 1301 is configured to: if the upstream line of the station is connected to the client service sending end, receive a service signal sent by the client service sending end;
第二确定单元1302,用于将所述业务信号映射为业务数据流,其中,所述 业务数据流包括所述第一数据帧和所述第二数据帧;a second determining unit 1302, configured to map the service signal into a service data stream, where the The service data stream includes the first data frame and the second data frame;
第二接收单元1303,用于若所述站点的上游线路与所述站点的上游站点连接,则接收所述上游站点发送的业务数据流,其中,所述业务数据流包括所述第一数据帧和所述第二数据帧;The second receiving unit 1303 is configured to: if the upstream line of the station is connected to the upstream station of the station, receive a service data flow sent by the upstream station, where the service data flow includes the first data frame And the second data frame;
第三确定单元1304,用于确定所述第一数据帧的时钟频偏;a third determining unit 1304, configured to determine a clock frequency offset of the first data frame;
检测单元1305,用于检测所述站点的上游线路是否异常;a detecting unit 1305, configured to detect whether an upstream line of the station is abnormal;
第一修改单元1306,用于在所述异常检测期间,若确定第一数据帧不满足预置条件,则对所述第一数据帧进行修改,以使发送至所述站点的下游站点的修改后的所述第一数据帧用于指示所述下游站点不进行保护倒换,其中,所述第一数据帧为所述站点进行所述异常检测期间发送至所述下游站点的数据帧;a first modifying unit 1306, configured to modify, when the first data frame does not meet the preset condition, during the abnormality detection, to modify the first data frame, so as to modify the downstream station sent to the site The first data frame is used to indicate that the downstream station does not perform protection switching, where the first data frame is a data frame sent by the station to the downstream station during the abnormality detection;
具体的,所述第一修改单元1306包括:Specifically, the first modifying unit 1306 includes:
第十一确定模块13061,用于在所述站点进行异常检测期间,确定所述第一数据帧的时钟频偏是否位于预设范围内,其中,位于所述预设范围内的所述当前时钟频偏用于指示所述下游站点不进行保护倒换;An eleventh determining module 13061, configured to determine, during an abnormality detection of the station, whether a clock frequency offset of the first data frame is within a preset range, where the current clock is located within the preset range The frequency offset is used to indicate that the downstream station does not perform protection switching;
第十二确定模块13062,用于若确定所述第一数据帧的时钟频偏不位于所述预设范围内,则确定所述第一数据帧不满足所述预置条件;The twelfth determining module 13062 is configured to: if it is determined that the clock frequency offset of the first data frame is not located in the preset range, determine that the first data frame does not satisfy the preset condition;
第十三确定模块13063,用于修改所述第一数据帧的时钟频偏,以使得修改后的所述第一数据帧的时钟频偏位于所述预设范围内。The thirteenth determining module 13063 is configured to modify a clock frequency offset of the first data frame, so that the modified clock frequency offset of the first data frame is located within the preset range.
第一确定单元1307,用于若根据所述第一数据帧检测出所述站点的上游线路异常,则进行保护倒换;The first determining unit 1307 is configured to perform protection switching if the upstream line abnormality of the station is detected according to the first data frame;
所述站点还包括:The site also includes:
第一自振单元1308,用于自振生成时钟;a first self-oscillation unit 1308, configured to generate a clock by self-oscillation;
第四确定单元1309,用于确定所述站点自振生成的时钟为目标时钟,其中,所述目标时钟用于指示所述下游站点不进行保护倒换;a fourth determining unit 1309, configured to determine that the clock generated by the self-oscillation of the station is a target clock, where the target clock is used to indicate that the downstream station does not perform protection switching;
第二自振单元1310,用于自振生成周期性的帧头;a second self-oscillation unit 1310, configured to generate a periodic frame header by self-oscillation;
第五确定单元1311,用于确定所述站点自振生成周期性的帧头为目标帧头,其中,所述目标帧头用于指示所述下游站点不进行保护倒换;The fifth determining unit 1311 is configured to determine that the frame header of the station self-oscillation is a target frame header, where the target frame header is used to indicate that the downstream station does not perform protection switching.
第六确定单元1312,用于检测到所述第二数据帧的开销中设置有用于指示所述下游站点倒换的倒换指示信息,则对所述倒换指示信息进行修改,以使修 改后的所述倒换指示信息用于指示所述下游站点不进行保护倒换;The sixth determining unit 1312 is configured to detect that the switching instruction information for indicating the switching of the downstream station is set in the overhead of the second data frame, and then modify the switching indication information to modify The changed switching indication information is used to indicate that the downstream station does not perform protection switching;
第七确定单元1313,用于确定设置有修改后的所述倒换指示信息的开销为目标开销;The seventh determining unit 1313 is configured to determine that the overhead of the modified switching indication information is set as a target overhead;
第二修改单元1314,用于将所述第二数据帧的时钟替换为所述目标时钟、用于将所述第二数据帧的帧头替换为所述目标帧头以及用于将所述第二数据帧的开销替换为所述目标开销。a second modifying unit 1314, configured to replace a clock of the second data frame with the target clock, to replace a frame header of the second data frame with the target frame header, and to use the The overhead of the two data frames is replaced by the target overhead.
本实施例中,在异常检测期间,所述站点接收到的时钟频偏进行修改,使得修改后的位于所述预设范围内的所述时钟频偏在所述站点进行异常检测期间指示所述下游站点不进行保护倒换,从而保障站点在进行异常检测期间发送至下游站点的第一数据帧不会触发下游站点进行保护倒换,进一步避免了误倒换的可能,且所述站点对所述异常检测期间之后的第二数据帧进行修改,使得该修改后的所述第二数据帧不会触发所述下游站点进行保护倒换,以使得上游线路的异常不会扩散,进而使得站点在进行异常检测期间,下游站点不会发生误倒换,不会因下游站点的误倒换以使得业务信号恢复时间变长,且本实施例中,上游线路没有发生故障的站点不会发生保护倒换,使得维修人员能够迅速的确定发生保护倒换的站点即为上游线路发送异常的站点,实现了故障站点的迅速定位,使得网络维护简单。In this embodiment, during the abnormality detection, the clock frequency offset received by the station is modified, so that the modified clock frequency offset within the preset range indicates the downstream during the abnormality detection of the station. The site does not perform protection switching, so that the first data frame sent by the station to the downstream site during the abnormality detection does not trigger the protection switching of the downstream site, further avoiding the possibility of erroneous switching, and the site detects the abnormality during the abnormality detection period. The subsequent second data frame is modified such that the modified second data frame does not trigger the protection switching of the downstream station, so that the abnormality of the upstream line does not spread, thereby causing the station to perform abnormality detection during the abnormality detection. The downstream site does not undergo erroneous switching, and the service signal recovery time becomes longer due to the erroneous switching of the downstream site. In this embodiment, the site where the upstream line does not fail does not undergo protection switching, so that the maintenance personnel can quickly Determining the site where the protection switching occurs is the site that sends the abnormality to the upstream line. Quickly locate the site, making the network simple maintenance.
为更好的理解本发明实施例,以下举具体应用场景对本发明所提供的站点进行详细说明:For a better understanding of the embodiments of the present invention, the following provides a detailed description of the site provided by the present invention:
在本发明实施例中,上游线路出现异常的站点可为与客户业务发送端连接的站点或与上游站点连接的站点;In the embodiment of the present invention, the site where the upstream line is abnormal may be a site connected to the client service sender end or a site connected to the upstream site;
本应用场景以上游线路出现异常的站点为与客户业务发送端连接的站点为例进行说明;In this application scenario, a site where an abnormality occurs on the upstream line is a site connected to the sender of the client service is taken as an example for description;
该站点的T板的第一接收单元1001在接收到客户业务发送端所发送的业务信号时,站点的T板的第二确定单元1002将业务信号映射处理成低阶ODUi的业务数据流,该站点的线路板N将多个低阶ODUi的业务数据流封装成高阶的OTUk业务数据流;When the first receiving unit 1001 of the T-board of the station receives the service signal sent by the client service sending end, the second determining unit 1002 of the T-board of the station maps the service signal into the service data stream of the low-order ODUi, The circuit board N of the station encapsulates the service data streams of the plurality of low-order ODUi into a high-order OTUk service data stream;
具体的,所述业务数据流包括第一数据帧和第二数据帧,其中,所述第一数据帧为所述站点进行异常检测期间发送至下游站点的数据帧,所述第二数据 帧为所述异常检测期间之后发送至下游站点的数据帧。Specifically, the service data stream includes a first data frame and a second data frame, where the first data frame is a data frame that is sent to a downstream site during an abnormality detection of the station, where the second data is The frame is a data frame that is sent to the downstream site after the abnormality detection period.
所述站点的T板的检测单元1004对所述第一数据帧进行异常检测,以确定该站点的上游线路是否异常;The detecting unit 1004 of the T-board of the station performs an abnormality detection on the first data frame to determine whether an upstream line of the station is abnormal;
其具体的确定该站点的上游线路是否异常的方式为:The specific way to determine whether the upstream line of the station is abnormal is:
所述站点的支路板T的检测单元1004预先确定是通过预设编码方式对业务信号进行正确性检测,还是通过时钟频偏检测对业务信号进行正确性检测;The detecting unit 1004 of the tributary board T of the station determines whether the correctness of the service signal is detected by the preset coding mode or the correctness of the service signal is detected by the clock frequency offset detection;
其具体的确定方式为所述站点的支路板T的检测单元1004确定所述业务数据流中是否有预设编码方式,若有,则通过预设编码方式对业务信号进行正确性检测;确定所述业务数据流是否可确定时钟频偏,若可,则通过时钟频偏检测对业务信号进行正确性检测;The specific determining manner is that the detecting unit 1004 of the tributary board T of the station determines whether there is a preset encoding mode in the service data stream, and if yes, corrects the service signal by using a preset encoding manner; Whether the service data stream can determine a clock frequency offset, and if so, correcting the service signal by using a clock frequency offset detection;
以所述站点的支路板T的检测单元1004根据预设编码方式对业务信号进行正确性检测为例进行说明;The detection unit 1004 of the tributary board T of the site performs the correctness detection of the service signal according to the preset coding mode as an example;
所述站点的支路板T的检测单元1004预先确定是通过预设编码方式对业务信号进行正确性检测的具体方式为:The specific manner in which the detecting unit 1004 of the tributary board T of the site determines that the service signal is correctly detected by using a preset encoding manner is:
所述站点的T板的第一确定模块10041确定预设编码方式;The first determining module 10041 of the T board of the site determines a preset encoding mode;
本应用场景中,该预设编码方式为以太网业务检查66/64B失步检查为例,管理网元预先通知所述预设编码方式,若所述站点接收到的业务信号的编码方式与所述预设编码方式相符,则说明业务信号正确,若所述业务信号的编码方式与所述预设编码方式不相符,则说明业务信号不正确;In this application scenario, the preset coding mode is an Ethernet service check 66/64B out-of-synchronization check, and the management network element notifies the preset coding mode in advance, if the service signal received by the station is encoded and used. If the preset coding mode is consistent, the service signal is correct. If the coding mode of the service signal does not match the preset coding mode, the service signal is incorrect.
若所述站点的T板的第三确定模块10043检测所述业务信号不符合所述预设编码方式,则所述站点的第三确定模块10043确定所述上游线路异常;If the third determining module 10043 of the T-board of the site detects that the service signal does not meet the preset encoding mode, the third determining module 10043 of the site determines that the upstream line is abnormal;
若以所述站点的支路板T的检测单元1205通过时钟频偏检测对业务信号进行正确性检测,则所述站点的支路板T的第三确定单元1204首先确定所述时钟频偏;If the detection unit 1205 of the tributary T of the station detects the correctness of the service signal by the clock frequency offset detection, the third determining unit 1204 of the tributary T of the station first determines the clock frequency offset;
所述站点的支路板T的第八确定模块12051根据已确定的所述时钟频偏是否大于或等于门限值,若大于或等于,则第九确定模块12052确定上游线路异常,则具体的确定方式可为:The eighth determining module 12051 of the tributary T of the station determines whether the clock frequency offset is greater than or equal to the threshold according to the determined threshold. If the ninth determining module 12052 determines that the upstream line is abnormal, the specific determining unit 12052 determines that the upstream line is abnormal. The method of determination can be:
所述站点的支路板T的第八确定模块12051将业务信号时钟clk_serdes转为待检时钟clk_otu; The eighth determining module 12051 of the tributary T of the station converts the service signal clock clk_serdes into the to-be-checked clock clk_otu;
所述站点的支路板T的第八确定模块12051用快慢图案将待检时钟转到系统时钟域gap_otu;The eighth determining module 12051 of the tributary board T of the station uses the fast and slow pattern to transfer the clock to be detected to the system clock domain gap_otu;
所述站点的支路板T的第八确定模块12051在25/3us内对gap_otu计数以生成计数值gap_cnt;The eighth determining module 12051 of the tributary T of the station counts gap_otu within 25/3us to generate a count value gap_cnt;
所述站点的支路板T的第八确定模块12051对计数值gap_cnt进行最大最小值越界判断,输出越界指示ind;The eighth determining module 12051 of the tributary board T of the station performs a maximum and minimum out of bounds judgment on the count value gap_cnt, and outputs an outbound boundary indication ind;
所述站点的支路板T的第八确定模块12051对越界指示ind进行过滤,连续n次越界,则第九确定模块12052确定所述时钟频偏大于或等于门限值,则说明其上游线路异常;The eighth determining module 12051 of the tributary T of the station filters the outbound indication ind, and the nth determining module 12052 determines that the clock frequency offset is greater than or equal to the threshold, indicating the upstream line. abnormal;
在进行上述异常检测期间,为防止所述站点的下游站点进行误倒换,则所述站点的T板的第一修改单元1306的第十一确定模块13061进一步确定所述时钟频偏是否位于预设范围内;During the abnormality detection, the eleventh determining module 13061 of the first modifying unit 1306 of the T-board of the station further determines whether the clock frequency offset is at a preset. Within the scope;
本实施例以所述站点的T板的第一修改单元1306的第十二确定模块13062确定所述时钟频偏没有位于预设范围内为例进行说明:In this embodiment, the twelfth determining module 13062 of the first modifying unit 1306 of the T-board of the station determines that the clock frequency offset is not within the preset range as an example:
即若所述站点的T板的第十二确定模块13062确定所述时钟频偏没有位于预设范围内,则所述站点的T板的第十三确定模块13063修改所述时钟频偏,直至修改后的所述时钟频偏位于预设范围内;That is, if the twelfth determining module 13062 of the T-board of the station determines that the clock frequency offset is not within the preset range, the thirteenth determining module 13063 of the T-board of the station modifies the clock frequency offset until The modified clock frequency offset is within a preset range;
其中,修改后的位于所述预设范围内的所述时钟频偏用于指示下游站点不进行保护倒换;The modified clock frequency offset in the preset range is used to indicate that the downstream station does not perform protection switching;
经过上述异常检测期间,所述站点的T板的第一确定单元1307确定其上游线路异常,则在本站点进行保护倒换;During the abnormality detection period, the first determining unit 1307 of the T-board of the station determines that the upstream line is abnormal, and performs protection switching at the local station;
因上游线路异常,则所述站点的T板的第一自振单元1308自振生成目标时钟,该自振生成目标时钟不会触发下游站点进行误倒换;The first self-vibration unit 1308 of the T-board of the station generates a target clock by itself, and the self-oscillation generating target clock does not trigger the downstream station to perform erroneous switching;
经过所述异常检测期间,所述站点的线路板N的第二自振单元1310自振生成周期性的帧头;During the abnormality detection, the second self-vibration unit 1310 of the circuit board N of the station generates a periodic frame header by self-oscillation;
所述站点的线路板N的第五确定单元1311确定所述周期性的帧头为所述目标帧头;The fifth determining unit 1311 of the circuit board N of the station determines that the periodic frame header is the target frame header;
经过所述异常检测期间,所述站点的线路板N的第六确定单元1312检测到所述第一数据帧的开销中设置有倒换指示信息,则所述站点的线路板N的第六 确定单元1312对所述倒换指示信息进行修改,以使修改后的所述倒换指示信息指示所述下游站点不进行保护倒换;During the abnormality detection, the sixth determining unit 1312 of the circuit board N of the station detects that the overhead of the first data frame is set with the switching indication information, and the sixth of the circuit board N of the station The determining unit 1312 modifies the switching indication information, so that the modified switching indication information indicates that the downstream station does not perform protection switching;
且所述站点的线路板N的第七确定单元1313将设置有修改后的所述倒换指示信息的开销确定为所述目标开销;And the seventh determining unit 1313 of the circuit board N of the site determines the overhead of the modified switching indication information to be the target overhead;
所述站点的线路板N的第二修改单元1314根据所述目标时钟频偏、目标帧头以及目标开销对所述第二数据帧进行修改,以使所述站点的线路板N修改后的第二数据帧用于指示下游站点不进行保护倒换;The second modifying unit 1314 of the circuit board N of the station modifies the second data frame according to the target clock frequency offset, the target frame header, and the target overhead, so that the circuit board N of the station is modified. The second data frame is used to indicate that the downstream site does not perform protection switching;
下游站点的线路板N接收上游站点发送的修改后的第二数据帧,下游站点根据该修改后的第二数据帧不会进行保护倒换。The circuit board N of the downstream station receives the modified second data frame sent by the upstream station, and the downstream station does not perform protection switching according to the modified second data frame.
本发明还提供了一种系统,该系统包括用于发送业务信号的客户业务发送端以及用于接收所述业务信号的客户业务接收端,且所述客户业务发送端与所述客户业务接收端之间串联有多个如图9至图13所述的站点。The present invention also provides a system, the system includes a client service sender for transmitting a service signal, and a client service receiver for receiving the service signal, and the client service sender and the client service receiver There are a plurality of stations as shown in FIGS. 9 to 13 in series.
图9至图13所示的实施例从模块功能实体的角度对站点的结构进行了详细说明,以下结合图14从硬件角度对本发明实施例中的站点进行详细描述,请见图14,本发明实施例中的站点的另一实施例包括:The embodiment shown in FIG. 9 to FIG. 13 illustrates the structure of the site in detail from the perspective of the module function entity. The site in the embodiment of the present invention is described in detail below with reference to FIG. 14 , which is shown in FIG. 14 . Another embodiment of a site in an embodiment includes:
图14描述了本发明另一个实施例提供的站点的结构;Figure 14 depicts the structure of a station provided by another embodiment of the present invention;
该站点1400具体包括:The site 1400 specifically includes:
输入装置1401、输出装置1402、处理器1403和存储器1404(其中,图14所示的处理器1403可以有一个或多个,图14中以一个处理器1403为例进行说明);The input device 1401, the output device 1402, the processor 1403, and the memory 1404 (wherein the processor 1403 shown in FIG. 14 may have one or more, and one processor 1403 in FIG. 14 is taken as an example);
在本发明一些实施例中,输入装置1401、输出装置1402、处理器1403和存储器1404可通过总线或其它方式连接,其中,图14中以通过总线连接为例。In some embodiments of the present invention, the input device 1401, the output device 1402, the processor 1403, and the memory 1404 may be connected by a bus or other means, wherein the bus connection is taken as an example in FIG.
客户业务发送端和客户业务接收端之间串联有多个站点,所述处理器1403用于执行如下步骤:A plurality of sites are connected in series between the client service sender and the client service receiver. The processor 1403 is configured to perform the following steps:
检测的上游线路是否异常;Whether the detected upstream line is abnormal;
在所述异常检测期间,若确定第一数据帧不满足预置条件,则对所述第一数据帧进行修改,以使发送至的下游站点的修改后的所述第一数据帧用于指示所述下游站点不进行保护倒换,其中,所述第一数据帧为进行所述异常检测期间发送至所述下游站点的数据帧; During the abnormality detection, if it is determined that the first data frame does not satisfy the preset condition, modifying the first data frame, so that the modified first data frame sent to the downstream station is used for indication The downstream station does not perform protection switching, where the first data frame is a data frame that is sent to the downstream station during the abnormality detection;
若根据所述第一数据帧检测出的上游线路异常,则进行保护倒换;If the upstream line detected according to the first data frame is abnormal, performing protection switching;
对第二数据帧进行修改,以使发送至所述下游站点的修改后的所述第二数据帧用于指示所述下游站点不进行保护倒换,其中,所述第二数据帧为通过异常的所述上游线路接收到的且在所述异常检测期间之后发送至所述下游站点的数据帧。Modifying the second data frame, so that the modified second data frame sent to the downstream site is used to indicate that the downstream station does not perform protection switching, where the second data frame is abnormal A data frame received by the upstream line and transmitted to the downstream station after the abnormality detection period.
在本发明另一些实施例中,所述处理器1403还用于执行如下步骤:In other embodiments of the present invention, the processor 1403 is further configured to perform the following steps:
若的上游线路与所述客户业务发送端连接,则在确定的上游线路是否异常之前,所述方法还包括:If the upstream line is connected to the client service sending end, the method further includes: before determining whether the upstream line is abnormal, the method further includes:
接收所述客户业务发送端发送的业务信号;Receiving a service signal sent by the client service sending end;
将所述业务信号映射为业务数据流,其中,所述业务数据流包括所述第一数据帧和所述第二数据帧;Mapping the service signal to a service data stream, where the service data stream includes the first data frame and the second data frame;
若的上游线路与的上游站点连接,则在确定的上游线路是否异常之前,所述方法还包括:If the upstream line is connected to the upstream station, the method further includes: before determining whether the upstream line is abnormal, the method further includes:
接收所述上游站点发送的业务数据流,其中,所述业务数据流包括所述第一数据帧和所述第二数据帧。Receiving a service data flow sent by the upstream station, where the service data flow includes the first data frame and the second data frame.
在本发明另一些实施例中,所述处理器1403还用于执行如下步骤:In other embodiments of the present invention, the processor 1403 is further configured to perform the following steps:
确定所述第一数据帧的编码方式是否符合预设编码方式,所述预设编码方式为通过正常的所述上游线路接收到的所述业务信号或所述业务数据流的编码方式;Determining whether the coding mode of the first data frame is in accordance with a preset coding mode, where the preset coding mode is a coding mode of the service signal or the service data flow received by the normal uplink line;
若是,则确定所述上游线路正常;If yes, determining that the upstream line is normal;
若否,则确定所述上游线路异常。If not, it is determined that the upstream line is abnormal.
在本发明另一些实施例中,所述处理器1403还用于执行如下步骤:In other embodiments of the present invention, the processor 1403 is further configured to perform the following steps:
对所述第一数据帧进行帧头搜索;Performing a frame header search on the first data frame;
确定在预设时长内是否能连续搜索到帧头;Determine whether the frame header can be continuously searched for within the preset duration;
若是,则确定的上游线路正常;If yes, the determined upstream line is normal;
若否,则确定的上游线路异常。If not, the determined upstream line is abnormal.
在本发明另一些实施例中,所述处理器1403还用于执行如下步骤:In other embodiments of the present invention, the processor 1403 is further configured to perform the following steps:
确定所述第一数据帧的时钟频偏。Determining a clock frequency offset of the first data frame.
在本发明另一些实施例中,所述处理器1403还用于执行如下步骤: In other embodiments of the present invention, the processor 1403 is further configured to perform the following steps:
确定所述第一数据帧的时钟频偏是否大于或等于门限值;Determining whether a clock frequency offset of the first data frame is greater than or equal to a threshold;
若是,则确定的上游线路异常;If yes, the determined upstream line is abnormal;
若否,则确定的上游线路正常。If no, the determined upstream line is normal.
在本发明另一些实施例中,所述处理器1403还用于执行如下步骤:In other embodiments of the present invention, the processor 1403 is further configured to perform the following steps:
在进行异常检测期间,确定所述第一数据帧的时钟频偏是否位于预设范围内,其中,位于所述预设范围内的所述当前时钟频偏用于指示所述下游站点不进行保护倒换;During the abnormality detection, determining whether the clock frequency offset of the first data frame is within a preset range, wherein the current clock frequency offset located in the preset range is used to indicate that the downstream station is not protected. Switching
若确定所述第一数据帧的时钟频偏不位于所述预设范围内,则确定所述第一数据帧不满足所述预置条件;If it is determined that the clock frequency offset of the first data frame is not within the preset range, determining that the first data frame does not satisfy the preset condition;
修改所述第一数据帧的时钟频偏,以使得修改后的所述第一数据帧的时钟频偏位于所述预设范围内。And modifying a clock frequency offset of the first data frame, so that a clock offset of the modified first data frame is within the preset range.
在本发明另一些实施例中,所述处理器1403还用于执行如下步骤:In other embodiments of the present invention, the processor 1403 is further configured to perform the following steps:
自振生成时钟;Self-oscillation generates a clock;
确定自振生成的时钟为目标时钟,其中,所述目标时钟用于指示所述下游站点不进行保护倒换;Determining that the clock generated by the self-oscillation is a target clock, where the target clock is used to indicate that the downstream station does not perform protection switching;
对第二数据帧进行修改包括:Modifications to the second data frame include:
将所述第二数据帧的时钟替换为所述目标时钟。The clock of the second data frame is replaced with the target clock.
在本发明另一些实施例中,所述处理器1403还用于执行如下步骤:In other embodiments of the present invention, the processor 1403 is further configured to perform the following steps:
自振生成周期性的帧头;Self-oscillation generates a periodic frame header;
确定自振生成周期性的帧头为目标帧头,其中,所述目标帧头用于指示所述下游站点不进行保护倒换;Determining the frame header of the self-oscillation to generate a periodic frame header, where the target frame header is used to indicate that the downstream site does not perform protection switching;
对第二数据帧进行修改包括:Modifications to the second data frame include:
将所述第二数据帧的帧头替换为所述目标帧头。The frame header of the second data frame is replaced with the target frame header.
在本发明另一些实施例中,所述处理器1403还用于执行如下步骤:In other embodiments of the present invention, the processor 1403 is further configured to perform the following steps:
检测到所述第二数据帧的开销中设置有用于指示所述下游站点倒换的倒换指示信息,则对所述倒换指示信息进行修改,以使修改后的所述倒换指示信息用于指示所述下游站点不进行保护倒换;And detecting, in the overhead of the second data frame, the switching indication information used to indicate the switching of the downstream station, modifying the switching indication information, so that the modified switching indication information is used to indicate the The downstream site does not perform protection switching;
确定设置有修改后的所述倒换指示信息的开销为目标开销;Determining, that the cost of the modified switching indication information is set as a target overhead;
对第二数据帧进行修改包括: Modifications to the second data frame include:
将所述第二数据帧的开销替换为所述目标开销。The overhead of the second data frame is replaced by the target overhead.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽 管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 The above embodiments are only used to illustrate the technical solutions of the present invention, and are not limited thereto; The present invention has been described in detail with reference to the foregoing embodiments, and those skilled in the art will understand that the technical solutions described in the foregoing embodiments may be modified, or some of the technical features may be equivalently replaced. Modifications or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the invention.

Claims (21)

  1. 一种倒换实现方法,其特征在于,客户业务发送端和客户业务接收端之间串联有多个站点,所述方法包括:A switching implementation method is characterized in that a plurality of sites are connected in series between a client service sending end and a client service receiving end, and the method includes:
    所述站点检测所述站点的上游线路是否异常;The station detects whether the upstream line of the station is abnormal;
    在所述异常检测期间,若所述站点确定第一数据帧不满足预置条件,则所述站点对所述第一数据帧进行修改,以使发送至所述站点的下游站点的修改后的所述第一数据帧用于指示所述下游站点不进行保护倒换,其中,所述第一数据帧为所述站点进行所述异常检测期间发送至所述下游站点的数据帧;During the abnormality detection, if the station determines that the first data frame does not satisfy the preset condition, the station modifies the first data frame to enable the modified to be sent to the downstream site of the station. The first data frame is used to indicate that the downstream station does not perform protection switching, where the first data frame is a data frame sent by the station to the downstream station during the abnormality detection;
    若所述站点根据所述第一数据帧检测出所述站点的上游线路异常,则所述站点进行保护倒换;If the station detects that the upstream line of the station is abnormal according to the first data frame, the station performs protection switching;
    所述站点对第二数据帧进行修改,以使发送至所述下游站点的修改后的所述第二数据帧用于指示所述下游站点不进行保护倒换,其中,所述第二数据帧为所述站点通过异常的所述上游线路接收到的且在所述异常检测期间之后发送至所述下游站点的数据帧。Modifying, by the station, the second data frame, so that the modified second data frame sent to the downstream station is used to indicate that the downstream station does not perform protection switching, where the second data frame is A data frame received by the station through the abnormal upstream line and sent to the downstream station after the abnormality detection period.
  2. 根据权利要求1所述的倒换实现方法,其特征在于,The switching implementation method according to claim 1, wherein
    若所述站点的上游线路与所述客户业务发送端连接,则在所述站点确定所述站点的上游线路是否异常之前,所述方法还包括:If the upstream line of the site is connected to the client service sender, the method further includes: before the site determines whether the upstream line of the site is abnormal, the method further includes:
    所述站点接收所述客户业务发送端发送的业务信号;Receiving, by the station, a service signal sent by the sending end of the client service;
    所述站点将所述业务信号映射为业务数据流,其中,所述业务数据流包括所述第一数据帧和所述第二数据帧;The station maps the service signal to a service data stream, where the service data stream includes the first data frame and the second data frame;
    若所述站点的上游线路与所述站点的上游站点连接,则在所述站点确定所述站点的上游线路是否异常之前,所述方法还包括:If the upstream line of the station is connected to the upstream station of the station, the method further includes: before the station determines whether the upstream line of the station is abnormal, the method further includes:
    所述站点接收所述上游站点发送的业务数据流,其中,所述业务数据流包括所述第一数据帧和所述第二数据帧。The station receives a service data stream sent by the upstream station, where the service data stream includes the first data frame and the second data frame.
  3. 根据权利要求1或2所述的倒换实现方法,其特征在于,所述站点确定所述站点的上游线路是否异常包括:The switching implementation method according to claim 1 or 2, wherein the determining whether the upstream line of the station is abnormal includes:
    所述站点确定所述第一数据帧的编码方式是否符合预设编码方式,所述预设编码方式为所述站点通过正常的所述上游线路接收到的所述业务信号或所述业务数据流的编码方式; Determining, by the station, whether the coding mode of the first data frame is in a preset coding mode, where the preset coding mode is the service signal or the service data flow received by the station through the normal uplink line. Coding method
    若是,则所述站点确定所述上游线路正常;If yes, the station determines that the upstream line is normal;
    若否,则所述站点确定所述上游线路异常。If not, the station determines that the upstream line is abnormal.
  4. 根据权利要求1或2所述的倒换实现方法,其特征在于,所述站点确定所述站点的上游线路是否异常包括:The switching implementation method according to claim 1 or 2, wherein the determining whether the upstream line of the station is abnormal includes:
    所述站点对所述第一数据帧进行帧头搜索;Performing, by the station, a frame header search on the first data frame;
    所述站点确定在预设时长内是否能连续搜索到帧头;Determining, by the station, whether the frame header can be continuously searched within a preset time period;
    若是,则所述站点确定所述站点的上游线路正常;If yes, the station determines that the upstream line of the station is normal;
    若否,则所述站点确定所述站点的上游线路异常。If not, the station determines that the upstream line of the station is abnormal.
  5. 根据权利要求1或2所述的倒换实现方法,其特征在于,所述站点确定所述站点的上游线路是否异常之前,所述方法还包括:The method for implementing the switching according to claim 1 or 2, wherein before the determining whether the upstream line of the station is abnormal, the method further includes:
    所述站点确定所述第一数据帧的时钟频偏。The station determines a clock frequency offset of the first data frame.
  6. 根据权利要求5所述的倒换实现方法,其特征在于,所述站点确定所述站点的上游线路是否异常包括:The switching implementation method according to claim 5, wherein the determining whether the upstream line of the station is abnormal includes:
    所述站点确定所述第一数据帧的时钟频偏是否大于或等于门限值;Determining, by the station, whether a clock frequency offset of the first data frame is greater than or equal to a threshold;
    若是,则所述站点确定所述站点的上游线路异常;If yes, the station determines that the upstream line of the station is abnormal;
    若否,则所述站点确定所述站点的上游线路正常。If not, the station determines that the upstream line of the station is normal.
  7. 根据权利要求5所述的倒换实现方法,其特征在于,所述异常检测期间,若所述站点确定第一数据帧不满足预置条件,则所述站点对所述第一数据帧进行修改包括:The method for implementing the switching according to claim 5, wherein during the abnormality detection, if the station determines that the first data frame does not satisfy the preset condition, the station performs modification on the first data frame, including :
    在所述站点进行异常检测期间,所述站点确定所述第一数据帧的时钟频偏是否位于预设范围内,其中,位于所述预设范围内的所述当前时钟频偏用于指示所述下游站点不进行保护倒换;During the abnormality detection of the station, the station determines whether a clock frequency offset of the first data frame is within a preset range, wherein the current clock frequency offset located within the preset range is used to indicate The downstream site does not perform protection switching;
    若所述站点确定所述第一数据帧的时钟频偏不位于所述预设范围内,则所述站点确定所述第一数据帧不满足所述预置条件;If the station determines that the clock frequency offset of the first data frame is not within the preset range, the station determines that the first data frame does not satisfy the preset condition;
    所述站点修改所述第一数据帧的时钟频偏,以使得修改后的所述第一数据帧的时钟频偏位于所述预设范围内。The station modifies a clock frequency offset of the first data frame, so that a clock offset of the modified first data frame is within the preset range.
  8. 根据权利要求1或2所述的倒换实现方法,其特征在于,所述经过所述异常检测期间,若所述站点确定所述站点的上游线路异常之后,所述方法还包括: The method for implementing the switching according to claim 1 or 2, wherein, after the abnormality detection, if the station determines that the upstream line of the station is abnormal, the method further includes:
    所述站点自振生成时钟;The station generates a clock by self-oscillation;
    所述站点确定所述站点自振生成的时钟为目标时钟,其中,所述目标时钟用于指示所述下游站点不进行保护倒换;Determining, by the station, that the clock generated by the self-oscillation of the station is a target clock, where the target clock is used to indicate that the downstream station does not perform protection switching;
    所述站点对第二数据帧进行修改包括:Modifying the second data frame by the station includes:
    所述站点将所述第二数据帧的时钟替换为所述目标时钟。The station replaces the clock of the second data frame with the target clock.
  9. 根据权利要求1或2所述的倒换实现方法,其特征在于,所述经过所述异常检测期间,若所述站点确定所述站点的上游线路异常之后,所述方法还包括:The method for implementing the switching according to claim 1 or 2, wherein, after the abnormality detection, if the station determines that the upstream line of the station is abnormal, the method further includes:
    所述站点自振生成周期性的帧头;The station is self-oscillated to generate a periodic frame header;
    所述站点确定所述站点自振生成周期性的帧头为目标帧头,其中,所述目标帧头用于指示所述下游站点不进行保护倒换;Determining, by the station, the frame header of the static vibration of the station is a target frame header, where the target frame header is used to indicate that the downstream site does not perform protection switching;
    所述站点对第二数据帧进行修改包括:Modifying the second data frame by the station includes:
    所述站点将所述第二数据帧的帧头替换为所述目标帧头。The station replaces a frame header of the second data frame with the target frame header.
  10. 根据权利要求1或2所述的倒换实现方法,其特征在于,所述经过所述异常检测期间,若所述站点确定所述站点的上游线路异常之后,所述方法还包括:The method for implementing the switching according to claim 1 or 2, wherein, after the abnormality detection, if the station determines that the upstream line of the station is abnormal, the method further includes:
    所述站点检测到所述第二数据帧的开销中设置有用于指示所述下游站点倒换的倒换指示信息,则所述站点对所述倒换指示信息进行修改,以使修改后的所述倒换指示信息用于指示所述下游站点不进行保护倒换;If the site detects that the cost of the second data frame is set with the indication information for indicating the switching of the downstream station, the site modifies the switching indication information, so that the modified switching indication is modified. The information is used to indicate that the downstream site does not perform protection switching;
    所述站点确定设置有修改后的所述倒换指示信息的开销为目标开销;Determining, by the site, that the modified overhead of the switching indication information is a target overhead;
    所述站点对第二数据帧进行修改包括:Modifying the second data frame by the station includes:
    所述站点将所述第二数据帧的开销替换为所述目标开销。The station replaces the overhead of the second data frame with the target overhead.
  11. 一种站点,其特征在于,包括:A site characterized by comprising:
    检测单元,用于检测所述站点的上游线路是否异常;a detecting unit, configured to detect whether an upstream line of the station is abnormal;
    第一修改单元,用于在所述异常检测期间,若确定第一数据帧不满足预置条件,则对所述第一数据帧进行修改,以使发送至所述站点的下游站点的修改后的所述第一数据帧用于指示所述下游站点不进行保护倒换,其中,所述第一数据帧为所述站点进行所述异常检测期间发送至所述下游站点的数据帧;a first modifying unit, configured to modify the first data frame to ensure that the downlink data sent to the site is modified after determining that the first data frame does not satisfy the preset condition during the abnormality detection The first data frame is used to indicate that the downstream station does not perform protection switching, where the first data frame is a data frame sent by the station to the downstream station during the abnormality detection;
    第一确定单元,用于若根据所述第一数据帧检测出所述站点的上游线路异 常,则进行保护倒换;a first determining unit, configured to detect, when the uplink line of the station is different according to the first data frame Often, protection switching is performed;
    第二修改单元,用于对第二数据帧进行修改,以使发送至所述下游站点的修改后的所述第二数据帧用于指示所述下游站点不进行保护倒换,其中,所述第二数据帧为所述站点通过异常的所述上游线路接收到的且在所述异常检测期间之后发送至所述下游站点的数据帧。a second modifying unit, configured to modify the second data frame, so that the modified second data frame sent to the downstream site is used to indicate that the downstream site does not perform protection switching, where The two data frames are data frames received by the station through the abnormal upstream line and sent to the downstream station after the abnormality detection period.
  12. 根据权利要求11所述的站点,其特征在于,所述站点还包括:The site of claim 11 wherein said site further comprises:
    第一接收单元,用于若所述站点的上游线路与所述客户业务发送端连接,则接收所述客户业务发送端发送的业务信号;a first receiving unit, configured to receive a service signal sent by the client service sending end if the upstream line of the station is connected to the client service sending end;
    第二确定单元,用于将所述业务信号映射为业务数据流,其中,所述业务数据流包括所述第一数据帧和所述第二数据帧;a second determining unit, configured to map the service signal into a service data stream, where the service data stream includes the first data frame and the second data frame;
    第二接收单元,用于若所述站点的上游线路与所述站点的上游站点连接,则接收所述上游站点发送的业务数据流,其中,所述业务数据流包括所述第一数据帧和所述第二数据帧。a second receiving unit, configured to receive, when the upstream line of the station is connected to an upstream station of the station, a service data flow sent by the upstream station, where the service data flow includes the first data frame and The second data frame.
  13. 根据权利要求11或12所述的站点,其特征在于,所述检测单元包括:The station according to claim 11 or 12, wherein the detecting unit comprises:
    第一确定模块,用于确定所述第一数据帧的编码方式是否符合预设编码方式,所述预设编码方式为所述站点通过正常的所述上游线路接收到的所述业务信号或所述业务数据流的编码方式;a first determining module, configured to determine whether a coding mode of the first data frame is consistent with a preset coding mode, where the preset coding mode is the service signal or the received by the station by using the normal uplink line Describe the coding method of the service data stream;
    第二确定模块,用于若确定所述第一数据帧的编码方式符合预设编码方式,则确定所述上游线路正常;a second determining module, configured to determine that the upstream line is normal if it is determined that the encoding manner of the first data frame conforms to a preset encoding manner;
    第三确定模块,用于若确定所述第一数据帧的编码方式不符合预设编码方式,则确定所述上游线路异常。And a third determining module, configured to determine that the upstream line is abnormal if it is determined that the encoding manner of the first data frame does not conform to the preset encoding manner.
  14. 根据权利要求11或12所述的站点,其特征在于,所述检测单元包括:The station according to claim 11 or 12, wherein the detecting unit comprises:
    第四确定模块,用于对所述第一数据帧进行帧头搜索;a fourth determining module, configured to perform a frame header search on the first data frame;
    第五确定模块,用于确定在预设时长内是否能连续搜索到帧头;a fifth determining module, configured to determine whether the frame header can be continuously searched within a preset duration;
    第六确定模块,用于若在预设时长内能连续搜索到帧头,则确定所述站点的上游线路正常;a sixth determining module, configured to determine that the upstream line of the station is normal if the frame header can be continuously searched within a preset duration;
    第七确定模块,用于若在预设时长内不能连续搜索到帧头,则确定所述站点的上游线路异常。The seventh determining module is configured to determine that the upstream line of the station is abnormal if the frame header cannot be continuously searched for a preset duration.
  15. 根据权利要求11或12所述的站点,其特征在于,所述站点还包括: The site according to claim 11 or 12, wherein the site further comprises:
    第三确定单元,用于确定所述第一数据帧的时钟频偏。And a third determining unit, configured to determine a clock frequency offset of the first data frame.
  16. 根据权利要求15所述的站点,其特征在于,所述检测单元包括:The station according to claim 15, wherein the detecting unit comprises:
    第八确定模块,用于确定所述第一数据帧的时钟频偏是否大于或等于门限值;An eighth determining module, configured to determine whether a clock frequency offset of the first data frame is greater than or equal to a threshold value;
    第九确定模块,用于若所述第一数据帧的时钟频偏大于或等于门限值,则确定所述站点的上游线路异常;a ninth determining module, configured to determine that an upstream line of the station is abnormal if a clock frequency offset of the first data frame is greater than or equal to a threshold value;
    第十确定模块,用于若所述第一数据帧的时钟频偏小于门限值,则确定所述站点的上游线路正常。The tenth determining module is configured to determine that the upstream line of the station is normal if the clock frequency offset of the first data frame is less than a threshold.
  17. 根据权利要求15所述的站点,其特征在于,所述第一修改单元包括:The station according to claim 15, wherein the first modifying unit comprises:
    第十一确定模块,用于在所述站点进行异常检测期间,确定所述第一数据帧的时钟频偏是否位于预设范围内,其中,位于所述预设范围内的所述当前时钟频偏用于指示所述下游站点不进行保护倒换;An eleventh determining module, configured to determine, during an abnormality detection of the station, whether a clock frequency offset of the first data frame is within a preset range, where the current clock frequency is within the preset range Used to indicate that the downstream site does not perform protection switching;
    第十二确定模块,用于若确定所述第一数据帧的时钟频偏不位于所述预设范围内,则确定所述第一数据帧不满足所述预置条件;a twelfth determining module, configured to determine that the first data frame does not satisfy the preset condition if it is determined that a clock frequency offset of the first data frame is not within the preset range;
    第十三确定模块,用于修改所述第一数据帧的时钟频偏,以使得修改后的所述第一数据帧的时钟频偏位于所述预设范围内。And a thirteenth determining module, configured to modify a clock frequency offset of the first data frame, so that a clock offset of the modified first data frame is within the preset range.
  18. 根据权利要求11或12所述的站点,其特征在于,所述站点还包括:The site according to claim 11 or 12, wherein the site further comprises:
    第一自振单元,用于自振生成时钟;a first self-vibrating unit for generating a clock by self-oscillation;
    第四确定单元,用于确定所述站点自振生成的时钟为目标时钟,其中,所述目标时钟用于指示所述下游站点不进行保护倒换;a fourth determining unit, configured to determine that the clock generated by the self-oscillation of the station is a target clock, where the target clock is used to indicate that the downstream station does not perform protection switching;
    所述第二修改单元用于,将所述第二数据帧的时钟替换为所述目标时钟。The second modifying unit is configured to replace the clock of the second data frame with the target clock.
  19. 根据权利要求11或12所述的站点,其特征在于,所述站点还包括:The site according to claim 11 or 12, wherein the site further comprises:
    第二自振单元,用于自振生成周期性的帧头;a second self-vibrating unit, configured to generate a periodic frame header by self-oscillation;
    第五确定单元,用于确定所述站点自振生成周期性的帧头为目标帧头,其中,所述目标帧头用于指示所述下游站点不进行保护倒换;a fifth determining unit, configured to determine that the frame header of the static vibration of the station is a target frame header, where the target frame header is used to indicate that the downstream site does not perform protection switching;
    所述第二修改单元用于,将所述第二数据帧的帧头替换为所述目标帧头。The second modifying unit is configured to replace a frame header of the second data frame with the target frame header.
  20. 根据权利要求11或12所述的站点,其特征在于,所述站点还包括:The site according to claim 11 or 12, wherein the site further comprises:
    第六确定单元,用于检测到所述第二数据帧的开销中设置有用于指示所述下游站点倒换的倒换指示信息,则对所述倒换指示信息进行修改,以使修改后 的所述倒换指示信息用于指示所述下游站点不进行保护倒换;a sixth determining unit, configured to detect that the switching indication information used to indicate the switching of the downstream station is set in the overhead of the second data frame, and modify the switching indication information, so that the modified information is modified. The switching indication information is used to indicate that the downstream station does not perform protection switching;
    第七确定单元,用于确定设置有修改后的所述倒换指示信息的开销为目标开销;a seventh determining unit, configured to determine that the overhead of the modified switching indication information is set as a target overhead;
    所述第二修改单元用于,将所述第二数据帧的开销替换为所述目标开销。The second modifying unit is configured to replace the overhead of the second data frame with the target overhead.
  21. 一种系统,其特征在于,包括用于发送业务信号的客户业务发送端以及用于接收所述业务信号的客户业务接收端,且所述客户业务发送端与所述客户业务接收端之间串联有多个如权利要求11至20任一项所述的站点。 A system, comprising: a client service sender for transmitting a service signal; and a client service receiver for receiving the service signal, and the client service sender and the client service receiver are connected in series There are a plurality of stations as claimed in any one of claims 11 to 20.
PCT/CN2015/086034 2014-08-06 2015-08-04 Switchover implementation method, station and system WO2016019851A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410385026.2A CN104158586B (en) 2014-08-06 2014-08-06 Switching realization method, sites and system
CN201410385026.2 2014-08-06

Publications (1)

Publication Number Publication Date
WO2016019851A1 true WO2016019851A1 (en) 2016-02-11

Family

ID=51884006

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/086034 WO2016019851A1 (en) 2014-08-06 2015-08-04 Switchover implementation method, station and system

Country Status (2)

Country Link
CN (1) CN104158586B (en)
WO (1) WO2016019851A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113098592A (en) * 2021-03-31 2021-07-09 北京百度网讯科技有限公司 Signal processing method and signal processing system

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158586B (en) * 2014-08-06 2017-01-11 华为技术有限公司 Switching realization method, sites and system
CN106301857B (en) * 2015-06-08 2019-10-25 华为技术有限公司 A kind of method of network protection, network node and system
CN105306253B (en) * 2015-09-21 2019-01-18 烽火通信科技股份有限公司 The pretection switch system and method that branch in optical transfer network and route protection are combined
CN105721045B (en) 2016-01-19 2018-08-21 华为技术有限公司 A kind of method and node of pretection switch
CN106059658A (en) * 2016-08-15 2016-10-26 桂林创研科技有限公司 Optical line protection system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499820A (en) * 2008-02-01 2009-08-05 华为技术有限公司 Protection method for service transmission and network appliance
CN101883295A (en) * 2009-05-06 2010-11-10 华为技术有限公司 Service transmission processing methods, node equipment and network system
US20140169783A1 (en) * 2012-12-17 2014-06-19 Steven Arvo Surek Fault localization using tandem connection monitors in optical transport network
CN104158586A (en) * 2014-08-06 2014-11-19 华为技术有限公司 Switching realization method, sites and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005015834A1 (en) * 2003-08-06 2005-02-17 Zte Corporation A method of automatic protection switching
US20050180316A1 (en) * 2004-02-12 2005-08-18 Chan Frederick Y. Protection for bi-directional optical wavelength division multiplexed communications networks
CN1921326B (en) * 2006-08-29 2010-05-12 华为技术有限公司 Method, device and system for main-standby inverting control
CN101431371B (en) * 2007-11-09 2011-12-21 华为技术有限公司 Method and apparatus for signal channel protection switching of optical network equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499820A (en) * 2008-02-01 2009-08-05 华为技术有限公司 Protection method for service transmission and network appliance
CN101883295A (en) * 2009-05-06 2010-11-10 华为技术有限公司 Service transmission processing methods, node equipment and network system
US20140169783A1 (en) * 2012-12-17 2014-06-19 Steven Arvo Surek Fault localization using tandem connection monitors in optical transport network
CN104158586A (en) * 2014-08-06 2014-11-19 华为技术有限公司 Switching realization method, sites and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113098592A (en) * 2021-03-31 2021-07-09 北京百度网讯科技有限公司 Signal processing method and signal processing system
CN113098592B (en) * 2021-03-31 2022-11-18 北京百度网讯科技有限公司 Signal processing method and signal processing system

Also Published As

Publication number Publication date
CN104158586A (en) 2014-11-19
CN104158586B (en) 2017-01-11

Similar Documents

Publication Publication Date Title
WO2016019851A1 (en) Switchover implementation method, station and system
CN101904129B (en) Method for estimating and monitoring timing errors in packet data networks
US8675501B2 (en) Transmission apparatus and reporting method for reporting fault
US9419709B2 (en) Transmission device and method for measuring delay
US8873380B2 (en) System and method for setting redundant path segments in a multi-ring communication network
WO2015192518A1 (en) Error detection method, apparatus and system for potn
US10778570B2 (en) Network protection method, network node and system
US11411666B2 (en) Clock fault detection and correction between synchronized network devices
US10601537B2 (en) Fault propagation in segmented protection
KR20160126325A (en) Method and apparatus for minimizing data loss with protection switching in optical transport network system
EP2806582B1 (en) Alarm inhibition method and optical network device
JP2023504101A (en) Method and network device for identifying clock faults
JP5252361B2 (en) Transmission system
US20120151246A1 (en) Communication interface apparatus, transmission control method, and connection shutdown control method
US20130219252A1 (en) Method and system for preventing holding-off of a protection switching for a plurality of alarms
US9935820B2 (en) Transmitter and transmission system
WO2021135997A1 (en) Method for electric layer subnetwork connection protection, device, and system
EP3913823B1 (en) Clock fault detection and correction between synchronized network devices
WO2021244390A1 (en) Alarm processing method and apparatus
JP5369680B2 (en) Wireless relay device and communication method
US8543897B2 (en) Transmission apparatus and parity calculation method
JP2003348039A (en) Communication system and communication apparatus employing redundancy configuration
JP5672208B2 (en) Transfer device and network system
JP2015029162A (en) Transmission equipment
JP3916631B2 (en) Node equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15829009

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15829009

Country of ref document: EP

Kind code of ref document: A1