WO2017118425A1 - Service processing method and device - Google Patents

Service processing method and device Download PDF

Info

Publication number
WO2017118425A1
WO2017118425A1 PCT/CN2017/070502 CN2017070502W WO2017118425A1 WO 2017118425 A1 WO2017118425 A1 WO 2017118425A1 CN 2017070502 W CN2017070502 W CN 2017070502W WO 2017118425 A1 WO2017118425 A1 WO 2017118425A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
path
protection
recovery
attribute
Prior art date
Application number
PCT/CN2017/070502
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 WO2017118425A1 publication Critical patent/WO2017118425A1/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/03Arrangements for fault recovery
    • H04B10/032Arrangements for fault recovery using working and protection systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure

Definitions

  • the present disclosure relates to the field of communications, for example, to a service processing method and apparatus.
  • Network survivability refers to the ability to maintain an acceptable level of service quality when a network device fails. At this stage, the optical network has higher and higher requirements for survivability.
  • Recovery of Automatic Protection Switching (APS) and Automatically Switched Optical Network (ASON) is the main method to improve network survivability.
  • the ASON recovery operation does not pre-allocate the working channel or the protection channel for the service.
  • the recovery control unit calculates a new channel in real time from the idle available resources of the current network, and in the path.
  • the other recovery control units perform the signaling interaction.
  • all the recovery control units in the new channel deliver the handover command to the device that actually carries the service, and switch to the new channel.
  • the advantage of recovery is that the bandwidth utilization is high, and the disadvantage is the interruption time. A little longer.
  • the APS automatic protection switching operation pre-allocates the working channel and the protection channel.
  • the protection control unit executes the protocol algorithm in the standard, and the protection control unit of the first and last nodes also performs signaling interaction.
  • the first and last nodes finally send a switching command to the device that actually carries the service, and switch to the working channel or the protection channel.
  • the advantage of protection is high stability, short interruption time, and the disadvantage is low bandwidth utilization.
  • the service is often configured with protection and recovery functions.
  • the working or protection channel fails, the automatic protection switching is performed first, and the service traffic is switched to the protection or working channel. If a new work or protection channel is restored, if the automatic protection switch fails, the recovery operation will be performed first, and the service traffic will be switched to the new channel. Therefore, protection and recovery need to work together.
  • the recovery control unit will start a timer. After the timer expires, check whether the channel has an alarm. If there is an alarm, the recovery operation will be started. Switching traffic, so that the recovery operation is not timely, let the protection control unit notify the recovery control unit to immediately start the recovery operation switching traffic within the timer range of the timer, On how it will increase the business interruption time. If the recovery is very timely, the recovery control unit does not start the timer and ignores the result of the protection switching, but the recovery control unit cannot work well with the protection control unit. For example, the protection switching may succeed or fail. Successfully, the recovery control unit only needs to restore the new channel path without switching the traffic.
  • the recovery control unit needs to restore the new channel path and switch the traffic at the same time.
  • the protection protocol has its own set of algorithms. Traffic switching does not take into account the requirements of ASON. In some special scenarios, ASON prefers that APS does not switch traffic, but initiates ASON recovery operations.
  • the present disclosure provides a service processing method and apparatus.
  • a service processing method which is applied to an automatic switched optical network system, and includes: when an alarm occurs on a working path, switching traffic of the service path to a protection corresponding to the working path a path; deleting the protection attribute corresponding to the service, and retaining the recovery attribute corresponding to the service, where the service prohibits the switching of the traffic from the working path to the protection path after deleting the protection attribute, and prohibiting The flow is switched from the protection path to the working path.
  • the method may further include:
  • the method may further include:
  • the method may further include:
  • the available path is saved when the recovery attribute of the working path is queried to an available path.
  • the method may further include:
  • the service traffic of the working path is switched to the available path determined by the recovery attribute process.
  • a service processing apparatus is further provided, which is applied to an automatic switching optical network system, including: a first switching module configured to: when the working path is alerted, the service of the working path is The traffic is switched to the protection path corresponding to the working path; the deleting module is connected to the first switching module, and is configured to delete the protection attribute corresponding to the service, where the service prohibits the traffic after deleting the protection attribute Switching from the working path to the protection path, and prohibiting the switching of the traffic from the protection path to the working path;
  • a reservation module connected to the first switching module, configured to retain a recovery attribute corresponding to the service.
  • the device may further include: a recovery module, connected to the reservation module, configured to restore the deleted protection attribute after the alarm information of the working path disappears.
  • the device may further include: a determining module, connected to the deleting module, configured to determine whether a recovery attribute of the working path is queried to an available path, where the protection corresponding to the service is deleted when the available path is not queried Attributes and retain the recovery attributes corresponding to the business.
  • a determining module connected to the deleting module, configured to determine whether a recovery attribute of the working path is queried to an available path, where the protection corresponding to the service is deleted when the available path is not queried Attributes and retain the recovery attributes corresponding to the business.
  • the apparatus may further include: a second switching module configured to switch the service traffic from the protection path to the available path when a recovery attribute of the working path is queried to an available path;
  • a saving module configured to save the available path when the recovery attribute of the working path is queried to an available path.
  • the device may further include: a determining module, connected to the first switching module, configured to determine whether the switching is successful; and a startup module connected to the determining module, used to initiate recovery of the working path when the switching fails And a third switching module, connected to the startup module, configured to switch the service traffic of the working path to the available path determined by the recovery attribute process after the recovery attribute process is successfully executed.
  • Embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing a computer Execution of instructions, the computer executable instructions being arranged to perform the above method.
  • An embodiment of the present disclosure further provides an electronic device, including:
  • At least one processor At least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method described above.
  • the protection attribute is deleted in time, and the recovery attribute and the protection attribute caused by the protection channel startup recovery attribute are avoided, and the related technology is solved.
  • the problem of long service interruption caused by the coordination scheme of APS protection and ASON recovery greatly reduces the terminal time of the service, and even realizes the uninterrupted service, and avoids unnecessary economic loss.
  • FIG. 1 is a flowchart of a service processing method according to an embodiment of the present disclosure
  • FIG. 2 is a structural block diagram of a service processing apparatus according to an embodiment of the present disclosure
  • FIG. 3 is a block diagram showing another structure of a service processing apparatus according to an embodiment of the present disclosure.
  • FIG. 4 is a flowchart of a service processing method according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of a service device according to an embodiment of the present disclosure.
  • FIG. 6 is a network topology diagram in accordance with an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • FIG. 1 is a flowchart of a service processing method according to an embodiment of the present disclosure. As shown in FIG. 1, the following steps are included. :
  • Step S102 When an alarm occurs on the working path, the traffic of the service of the working path is switched to the protection path corresponding to the working path;
  • step S104 the protection attribute corresponding to the service is deleted, and the recovery attribute corresponding to the service is retained. After the service is deleted, the service is prohibited from switching from the working path to the protection path, and the traffic is prohibited from being switched from the protection path to the working path.
  • the method before deleting the protection attribute corresponding to the foregoing service, the method further includes: determining whether the recovery attribute of the working path queries the available path, and deleting the protection corresponding to the service when the available path is not queried Attribute, and retain the recovery attribute corresponding to the above service; when the recovery attribute of the working path is queried to the available path, save the queried available path for the next handover, and if necessary, switch the service traffic from the protection path to Available on the path.
  • the method further includes: determining whether the handover is successful; if the handover fails, starting the recovery attribute process of the working path; After the execution is successful, the service traffic of the working path is switched to the available path determined by the recovery attribute process.
  • a service processing apparatus is also provided, which is applied to the automatic switching optical network system, and is configured to implement the foregoing embodiments and implementation manners.
  • the module is explained.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • 2 is a structural block diagram of a service processing apparatus according to an embodiment of the present disclosure. As shown in Figure 2, the device comprises:
  • the first switching module 20 is configured to switch the traffic of the service of the working path to the protection path corresponding to the working path when the working path generates an alarm;
  • the deleting module 22 is connected to the first switching module 20 and configured to delete the protection attribute corresponding to the service. After deleting the protection attribute, the service prohibits the traffic from switching from the working path to the protection path, and prohibits the traffic from being switched from the protection path to the protection path.
  • the reservation module 24 is connected to the first switching module 20 and configured to retain the recovery attribute corresponding to the service.
  • the protection attribute is deleted in time, and the recovery attribute and the protection attribute caused by the protection channel startup recovery attribute are avoided, and the related technology is solved.
  • the service interruption time is long, and the terminal time of the service is greatly reduced, and even the business is not interrupted, and unnecessary economic loss is avoided.
  • FIG. 3 is another structural block diagram of a service processing apparatus according to an embodiment of the present disclosure. As shown in FIG. 3, the apparatus further includes:
  • the recovery module 26 is connected to the reservation module 24 and configured to restore the deleted protection attribute after the alarm information of the working path disappears.
  • the determining module 28 is connected to the deletion module 22 and configured to determine the recovery attribute of the working path. If the available path is queried, the protection attribute corresponding to the service is deleted, and the recovery attribute corresponding to the service is deleted, and the saving module 30 is connected to the deleting module 22 and configured to be in the working path.
  • the recovery attribute is queried to the available path, the available path is saved;
  • the determining module 32 is connected to the first switching module 20, configured to determine whether the switching is successful;
  • the startup module 34 is connected to the determining module 32, and is used when the switching fails.
  • the recovery attribute process of the working path is started;
  • the third switching module 36 is connected to the startup module 34, and configured to switch the service traffic of the working path to the available information determined by the recovery attribute process after the recovery attribute process is successfully executed. path.
  • FIG. 4 is a schematic structural diagram of a service processing apparatus according to an embodiment of the present disclosure
  • FIG. 5 is a flowchart of a service processing method according to an embodiment of the present disclosure.
  • the first embodiment provides a service processing device. As shown in FIG. 5, the device includes a service lifting and lowering control unit 50, a channel alarm detecting unit 52, a protection control unit 54, and a recovery control unit 56.
  • FIG. 4 is a flowchart of a service processing method according to an embodiment of the present disclosure. As shown in FIG. 4, the steps of the method include:
  • Step S202 When an alarm is generated, check the alarm type.
  • Step S204 is performed, when the alarm type is a working channel alarm, step S206 is performed;
  • Step S204 Keep the service level unchanged
  • Step S206 determining whether the channel recovery is successful; when the determination result is yes, step S208 is performed, and if the determination result is no, step S210 is performed;
  • Step S208 the service level is unchanged
  • Step S210 Degrading the service, removing the protection attribute, and retaining only the recovery attribute
  • Step S212 When the working channel alarm disappears and the recovery is successful, the service is upgraded, and the protection attribute is added.
  • the channel alarm detecting unit detects the fault of the service and the protection channel, reports the alarm message to the lifting level control unit when the working channel fails, and simultaneously restores the control unit to report the recovery failure message to
  • the lifting level control unit performs the degradation of the service, removes the protection attribute, and only retains the recovery attribute.
  • the recovery control unit reports the recovery success message to the lifting level control unit to perform the service. Upgrade to increase protection attributes.
  • Step S302 When the channel alarm detecting unit of the device detects the working fault, it reports to the lifting level control unit and at the same time restores the control unit to report the recovery failure message to the lifting stage control unit, and the lifting stage control unit performs the derating operation.
  • the step S302 includes:
  • Step S302-1 After receiving the work fault alarm reported by the channel alarm detecting unit, the lifting level control unit waits for the recovery control unit to report the success or failure of the recovery. At this time, when the recovery control unit starts the recovery operation, if the current calculation is performed, If no idle path is available, the failure will be restored, and the recovery failure message will be reported to the lifting and lowering control unit. If the available idle path can be calculated, the recovery will be successful, and the recovery success message will be reported to the lifting and lowering control unit, so that the degraded operation will not be performed. .
  • Step S302-2 If the degrading operation is performed, the elevating stage control unit notifies the recovery control unit and the protection control unit to degrade the message, and temporarily removes the protection attribute of the service. After receiving the degraded message, the protection control unit temporarily does not process the alarm or the protection channel alarm of the service reported by the channel alarm detection unit, and the channel alarm of the service reported by the channel alarm detection unit after the recovery control unit receives the degraded message. Perform recovery directly.
  • Step S304 The channel alarm detecting unit of the device detects that the working fault has disappeared and reports it to the lifting level control unit and the recovery control unit reports the recovery success message to the lifting level control unit, and the lifting level control unit performs an upgrading operation.
  • step S304 includes:
  • Step S304-1 After receiving the work failure alarm reported by the channel alarm detection unit, the lifting level control unit waits for the recovery control unit to report the success or failure of the recovery. At this time, when the recovery control unit starts the recovery operation, the calculation is available. The idle path will be successfully restored, and the recovery success message will be reported to the elevator control unit.
  • Step S304-2 If the upgrade operation is performed, the elevation level control unit notifies the restoration control unit and the protection control unit to upgrade the message, and increases the protection attribute of the service. After receiving the upgrade message, the protection control unit and the recovery control unit process the alarm or the protection channel alarm reported by the channel alarm detection unit according to step 6.
  • Step S306 The channel alarm detecting unit, the lifting level control unit, the protection control unit, and the recovery control unit have the following message interactions, which are described in conjunction with FIG. 5.
  • FIG. 5 is a schematic structural diagram of a service processing apparatus according to an embodiment of the present disclosure.
  • Step S306-1 After detecting the working or protection channel alarm, the channel alarm detecting unit sends an alarm detection message 401 to the lifting and lowering control unit, the protection control unit, and the recovery control unit, wherein the alarm detection message includes the alarm board address and port. Whether the alarm is generated or disappeared.
  • Step S306-2 The recovery control unit notifies the resume level control unit of the recovery success or failure message 402.
  • Step S306-3 The elevation level control unit notifies the protection control unit and the restoration control unit to the downgrade or upgrade message 403 at the same time.
  • Step S306-4 The protection control unit notifies the recovery control unit of the switching success or failure message 404.
  • Step S308 when the channel alarm detecting unit of the above device detects the protection fault, it is also reported to the lifting level control unit, and the lifting level control unit does not perform the lifting level processing.
  • Step S310 The above-mentioned channel alarm detecting unit, the lifting level control unit, the protection control unit, and the recovery control unit have a reliable communication mechanism, which can be implemented by process or inter-thread communication, and advanced data links such as TCP/IP.
  • Step S312 The channel alarm detecting unit of the above device simultaneously transmits the working or protection channel alarm to the protection control unit and the recovery control unit.
  • step S312 includes:
  • Step S312-1 After receiving the alarm, the protection control unit triggers the protection protocol calculation, performs automatic protection switching, and switches the traffic to the new channel path.
  • Step S312-2 After the recovery control unit receives the alarm, a timer is started.
  • Step S312-3 In the range of the timer timing, the switching success message sent by the protection control unit is received, and the timer is cleared, and the new working or protection channel path is immediately restored.
  • Step S312-4 Within the range of the timer timing, the switching failure message sent by the protection control unit is received, and the recovery operation is immediately started. If the recovery is successful, the traffic is switched to the new channel path.
  • Step S312-5 After the timer expires, the recovery control unit checks whether there is an alarm in the working or protection channel. If there is an alarm, the recovery operation is immediately started. If the recovery is successful, the traffic is switched to the new channel path.
  • a service with a high priority (for example, may be a diamond-level service) is downgraded and then upgraded:
  • FIG. 6 is a network topology diagram according to an embodiment of the present disclosure.
  • ASON establishes a diamond level 1+1 service AE, and three available paths are ABE, ACE, ADE, and the initial working path selects ABE.
  • the initial protection path selects the ACE, and the working and protection paths respectively have recovery attributes, and an alarm exists on the path ADE.
  • An alarm is detected on the initial working path ABE at a certain moment.
  • the alarm is detected by the channel alarm detecting unit and reported to the lifting level control unit, the protection control unit, and the recovery control unit.
  • the lifting level control unit waits for the recovery control unit after receiving the working alarm. If the reported recovery is successful, the recovery control unit starts the timer to wait for the protection control unit to report the success of the switching, and the protection control unit executes the APS protocol algorithm after receiving the working alarm to obtain the current protection group status as the SF channel failure, the request signal. If the bridge signal is 1, the traffic is switched to the protection channel ACE, and the recovery control unit reports the success message to the recovery control unit.
  • the recovery control unit calculates other currently available paths. Since there are alarms on the path ADE, there are currently no idle resources. If the recovery fails, the recovery failure message is reported to the elevator control unit. At this time, the service is degraded, and the protection attribute is temporarily removed, leaving only the recovery attribute of the path ACE.
  • the channel alarm detection unit reports to the lifting level control unit, the protection control unit, and the recovery control unit, wherein the recovery control unit attempts to restore the new working path ADE, after the recovery is successful.
  • the lifting level control unit perform the upgrade operation, increase the protection attribute of the service, update the new working path ADE, and the original protection path is still ACE.
  • the traffic is still protecting the path through the ACE, and the service is downgraded to the upgrade process. carry out.
  • the upgrade process of the entire diamond level 1+1 service includes:
  • Step S702 The service traffic is in the working channel
  • Step S704 Check the alarm type, wherein, when the alarm type is the working channel alarm, step S706 is performed, and when the alarm type is the protection channel alarm, step S716 is performed;
  • Step S706 automatic protection switching, and the traffic is switched to the protection channel
  • Step S708 determining whether the working channel is successfully restored, when the determination result is yes, step S710 is performed, and if the determination result is no, step S712 is performed;
  • Step S710 The service updates the working channel path, and the level is unchanged
  • Step S712 The service is demoted to only the recovery attribute
  • Step S714 The service updates the working channel path and upgrades to the diamond-level service.
  • Step S716 determining whether the protection channel recovery is successful, when the determination result is yes, step S718 is performed, and if the determination result is no, step S720 is performed;
  • Step S718 The service update protects the path of the channel, and the level is unchanged
  • Step S720 The service level is unchanged.
  • the higher-level business (for example, the gold-level business) is upgraded after downgrading:
  • ASON establishes a gold-level 1+1 service A-E.
  • the initial working path is A-B-E
  • the initial protection path is A-C-E
  • the protection path has recovery attributes.
  • An alarm is detected on the initial working path ABE at a certain moment.
  • the alarm is detected by the channel alarm detection unit and reported to the lifting level control unit, the protection control unit, and the recovery control unit.
  • the protection control unit executes the APS protocol algorithm after receiving the working alarm.
  • the current protection group status is SF channel failure
  • the request signal is 1
  • the bridge signal is 1
  • the traffic is switched to the protection channel ACE
  • the lifting level control unit directly performs the degrading operation after receiving the work alarm, which is different from the diamond level service.
  • the job of the level service is that there is no recovery attribute, and the protection attribute is temporarily removed, leaving only the recovery attribute of the path ACE.
  • the alarm of the original working path through the ABE disappears, and the channel alarm detecting unit reports to the lifting level control unit, the protection control unit, and the recovery control unit, wherein the lifting level control unit directly performs the upgrading operation to increase the service.
  • the protection attribute is still the original working path ABE.
  • the original protection path is still ACE. At this time, the traffic is still protecting the path through the ACE, and the process from the downgrade to the upgrade is completed.
  • FIG. 8 is a flowchart of an upgrade according to Embodiment 3 of the present disclosure, and the process of upgrading the entire gold-level service shown in FIG. 8 includes:
  • Step S802 The service traffic is in the working channel
  • Step S804 Check the alarm type, when the alarm type is the working channel alarm, step S806 is performed, and when the alarm type is the protection channel alarm, step S812 is performed;
  • Step S806 automatic protection switching, and the traffic is switched to the protection channel
  • Step S808 The service is demoted to only the recovery attribute
  • Step S810 When the working channel is successfully restored, the gold return service is upgraded
  • Step S812 determining whether the protection channel recovery is successful, when the determination result is yes, step S814 is performed, and if the determination result is no, step S816 is performed;
  • Step S814 The service update protects the path of the channel, and the level is unchanged
  • Step S816 The service level is unchanged.
  • ASON establishes a gold-level 1+1 service A-E.
  • the initial working path is A-B-E
  • the initial protection path is A-C-E
  • the protection path has recovery attributes.
  • An alarm is detected on the initial working path A-B-E at a certain moment, or is degraded according to Embodiment 3.
  • the recovery control unit directly restores the protection path according to the method of the present disclosure, calculates the current available path A-D-E of the network, and directly switches the service traffic to the A-D-E.
  • the priority of the protection channel failure is higher than the priority of the work channel failure, and the protection control unit switches the traffic to the original working path ABE.
  • the ABE alarm still exists, so that the recovery operation cannot be performed, and the service is always interrupted, causing considerable loss.
  • Embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing computer executable instructions arranged to perform the method of any of the above embodiments.
  • the embodiment of the present disclosure further provides a schematic structural diagram of an electronic device.
  • the electronic device includes:
  • At least one processor 90 which is exemplified by a processor 90 in FIG. 9; and a memory 91, may further include a communication interface 92 and a bus 93.
  • the processor 90, the communication interface 92, and the memory 91 can complete communication with each other through the bus 93.
  • Communication interface 92 can be used for information transfer.
  • Processor 90 can invoke logic instructions in memory 91 to perform the methods of the above-described embodiments.
  • logic instructions in the memory 91 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
  • the memory 91 is a computer readable storage medium and can be used to store a software program, a computer executable program, a program instruction/module corresponding to the method in the embodiment of the present disclosure.
  • the processor 90 executes the function application and the data processing by executing the software programs, the instructions, and the modules stored in the memory 91, that is, the service processing method in the above method embodiments.
  • the memory 91 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the terminal device, and the like.
  • the memory 91 may include a high speed random access memory, and may also Includes non-volatile memory.
  • the technical solution of the embodiments of the present disclosure may be embodied in the form of a software product stored in a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in the embodiments of the present disclosure.
  • the foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, 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 embodiments of the present disclosure achieve the following technical effects: solving the problem of long service interruption caused by the existing APS protection and ASON recovery coordination scheme in the related art, greatly reducing the terminal time of the service, and even The service can be uninterrupted, and unnecessary economic losses are avoided, thereby reducing the service interruption time in the case of APS failure, and enabling the ASON recovery function and the APS protection function to work together better.
  • a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
  • modules or steps of the present disclosure described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices.
  • they may be implemented by program code executable by a computing device such that they may be stored in a storage device for execution by the computing device, and in some
  • the steps shown or described may be performed in an order different from that herein, or they may be separately fabricated into individual integrated circuit modules, or a plurality of the modules or steps may be implemented as a single integrated circuit module.
  • the disclosure is not limited to any specific combination of hardware and software.
  • the service processing method and device provided by the present disclosure solve the problems of long service interruption caused by the existing APS protection and ASON recovery coordination scheme in the related art, greatly reducing the terminal time of the service, and even realizing the uninterrupted service. The situation also avoids unnecessary economic losses.

Abstract

The disclosure of the present invention provides a service processing method and device. The method comprises: if an alarm occurs in a working path, switching the service traffic of the working path to a protection path corresponding to the working path; deleting a corresponding protection attribute of the service, and reserving a corresponding recovery attribute of the service, wherein, after the protection attribute is deleted, traffic is forbidden by the service from being switched from the working path to the protection path, and from being switched from the protection path to the working path. The technical solution provided in the present invention addresses the problem in the prior art in which long service interruptions are caused by existing APS protection and ASON restoration coordination solutions. The present invention greatly reduces or even eliminates service interruptions, and avoids unnecessary economic losses.

Description

业务处理方法及装置Business processing method and device 技术领域Technical field
本公开涉及通信领域,例如涉及一种业务处理方法及装置。The present disclosure relates to the field of communications, for example, to a service processing method and apparatus.
背景技术Background technique
网络生存性是指当网络设备发生故障时,仍能维持可接受的业务质量等级的能力,现阶段光网络对生存性的要求越来越高。自动保护倒换(Automatic Protection Switching,简称为APS)和自动交换光网络(Automatically Switched Optical Network,简称为ASON)的恢复操作是提高网络生存性的主要方法。Network survivability refers to the ability to maintain an acceptable level of service quality when a network device fails. At this stage, the optical network has higher and higher requirements for survivability. Recovery of Automatic Protection Switching (APS) and Automatically Switched Optical Network (ASON) is the main method to improve network survivability.
ASON的恢复操作并不为业务预先分配好工作通道或保护通道,当工作通道或保护通道出现故障后,恢复控制单元会从当前网络的空闲可用资源中实时计算一条新的通道,并且和路径中的其他恢复控制单元进行信令的交互,最后新通道中所有的恢复控制单元下发切换指令给实际承载业务的设备,切换到新的通道,恢复的优点就是带宽利用率高,缺点是中断时间稍长。The ASON recovery operation does not pre-allocate the working channel or the protection channel for the service. When the working channel or the protection channel fails, the recovery control unit calculates a new channel in real time from the idle available resources of the current network, and in the path. The other recovery control units perform the signaling interaction. Finally, all the recovery control units in the new channel deliver the handover command to the device that actually carries the service, and switch to the new channel. The advantage of recovery is that the bandwidth utilization is high, and the disadvantage is the interruption time. A little longer.
APS的自动保护倒换操作会预先分配好工作通道和保护通道,当工作通道或保护通道出现故障后,保护控制单元会执行标准中的协议算法,首尾节点的保护控制单元也会进行信令交互,首尾节点最后下发倒换指令给实际承载业务的设备,切换到工作通道或保护通道,保护的优点就是稳定性高,中断时间短,缺点是带宽利用率低。The APS automatic protection switching operation pre-allocates the working channel and the protection channel. When the working channel or the protection channel fails, the protection control unit executes the protocol algorithm in the standard, and the protection control unit of the first and last nodes also performs signaling interaction. The first and last nodes finally send a switching command to the device that actually carries the service, and switch to the working channel or the protection channel. The advantage of protection is high stability, short interruption time, and the disadvantage is low bandwidth utilization.
对于有自动交换光网络ASON部署的网络,对业务经常会同时配置保护和恢复功能,当工作或保护通道失效时,一般会先进行自动保护倒换,将业务流量切换到保护或工作通道上,然后恢复出新的工作或保护通道路径,如果自动保护倒换失败,会首先进行恢复操作,将业务流量切换到新的通道上,所以保护和恢复需要协同工作。For a network with automatic switched optical network ASON deployment, the service is often configured with protection and recovery functions. When the working or protection channel fails, the automatic protection switching is performed first, and the service traffic is switched to the protection or working channel. If a new work or protection channel is restored, if the automatic protection switch fails, the recovery operation will be performed first, and the service traffic will be switched to the new channel. Therefore, protection and recovery need to work together.
通常情况下,恢复会在保护之后执行,工作或保护通道有告警后,恢复控制单元会启动一个定时器,定时器到了后去检查通道是否还有告警,如果还有告警则会启动恢复操作并切换流量,这样恢复操作不是及时的,在定时器的计时范围内让保护控制单元去通知恢复控制单元立即启动恢复操作切换流量,无 论怎样也会增加了业务中断时间。如果想要恢复非常及时,需要恢复控制单元不启动定时器并且不理会保护倒换的结果,但这样恢复控制单元不能和保护控制单元很好的协同工作,比如保护倒换有可能成功也有可能失败,如果成功了恢复控制单元只需要恢复新的通道路径而不需要切换流量,失败了则需要恢复控制单元恢复新的通道路径并且同时切换流量。另外保护协议有自己的一套算法,流量切换完全不会顾及ASON的需求,有些特殊场景下,ASON更希望APS不切换流量,而是来启动ASON的恢复操作。Normally, the recovery will be performed after the protection. After the work or protection channel has an alarm, the recovery control unit will start a timer. After the timer expires, check whether the channel has an alarm. If there is an alarm, the recovery operation will be started. Switching traffic, so that the recovery operation is not timely, let the protection control unit notify the recovery control unit to immediately start the recovery operation switching traffic within the timer range of the timer, On how it will increase the business interruption time. If the recovery is very timely, the recovery control unit does not start the timer and ignores the result of the protection switching, but the recovery control unit cannot work well with the protection control unit. For example, the protection switching may succeed or fail. Successfully, the recovery control unit only needs to restore the new channel path without switching the traffic. If it fails, the recovery control unit needs to restore the new channel path and switch the traffic at the same time. In addition, the protection protocol has its own set of algorithms. Traffic switching does not take into account the requirements of ASON. In some special scenarios, ASON prefers that APS does not switch traffic, but initiates ASON recovery operations.
相关技术中有一些如何协调保护和恢复的方法,比如在保护控制单元和恢复控制单元中增加消息的交互来协调,这样还是会增加业务的中断时间,而且某些特殊场景下,为了满足ASON的恢复需求需要APS特殊处理而破坏了本身APS的标准协议。Related technologies include how to coordinate protection and recovery methods, such as adding message interactions in the protection control unit and the recovery control unit to coordinate, which will increase the interruption time of the service, and in some special scenarios, in order to satisfy the ASON Restoring demand requires APS special handling and destroys the standard protocol of its own APS.
针对相关技术中,现有的APS保护和ASON恢复的协调方案导致的业务中断时间长等问题,尚未提出有效的解决方案。In view of the related art, the existing service interruption time caused by the coordination scheme of the APS protection and the ASON recovery has not been put forward, and an effective solution has not been proposed.
发明内容Summary of the invention
为了解决上述技术问题,本公开提供了一种业务处理方法及装置。In order to solve the above technical problem, the present disclosure provides a service processing method and apparatus.
根据本公开的一个方面,提供了一种业务处理方法,应用于自动交换光网络系统中,包括:在工作路径发生告警时,将所述工作路径的业务的流量切换到该工作路径对应的保护路径;删除所述业务对应的保护属性,并保留所述业务对应的恢复属性,其中,业务在删除所述保护属性后,禁止所述流量从所述工作路径切换到所述保护路径,以及禁止所述流量从所述保护路径切换到所述工作路径。According to an aspect of the present disclosure, a service processing method is provided, which is applied to an automatic switched optical network system, and includes: when an alarm occurs on a working path, switching traffic of the service path to a protection corresponding to the working path a path; deleting the protection attribute corresponding to the service, and retaining the recovery attribute corresponding to the service, where the service prohibits the switching of the traffic from the working path to the protection path after deleting the protection attribute, and prohibiting The flow is switched from the protection path to the working path.
在保留所述业务对应的恢复属性之后,所述方法还可以包括:After the recovery attribute corresponding to the service is retained, the method may further include:
在所述工作路径的告警信息消失后,恢复所述删除的保护属性。After the alarm information of the working path disappears, the deleted protection attribute is restored.
在删除所述业务对应的保护属性之前,所述方法还可以包括:Before deleting the protection attribute corresponding to the service, the method may further include:
确定所述工作路径的恢复属性是否查询到可用路径,其中在未查询到可用路径时,删除所述业务对应的保护属性,并保留所述业务对应的恢复属性。And determining, by the recovery attribute of the working path, whether the available attribute is queried, wherein when the available path is not queried, the protection attribute corresponding to the service is deleted, and the recovery attribute corresponding to the service is retained.
所述方法还可以包括:The method may further include:
在所述工作路径的恢复属性查询到可用路径时,保存所述可用路径。 The available path is saved when the recovery attribute of the working path is queried to an available path.
将所述工作路径的业务流量切换到该工作路径对应的保护路径之后,所述方法还可以包括:After the service traffic of the working path is switched to the protection path corresponding to the working path, the method may further include:
判断是否切换成功;Determine whether the switch is successful;
如果切换失败,启动所述工作路径的恢复属性流程;If the handover fails, the recovery attribute process of the working path is started;
在所述恢复属性流程执行成功后,将所述工作路径的业务流量切换到所述恢复属性流程确定的可用路径。After the recovery attribute process is successfully executed, the service traffic of the working path is switched to the available path determined by the recovery attribute process.
根据本公开的另一个方面,还提供了一种业务处理装置,应用于自动交换光网络系统,包括:第一切换模块,被配置为在工作路径发生告警时,将所述工作路径的业务的流量切换到该工作路径对应的保护路径;删除模块,与所述第一切换模块连接,被配置为删除所述业务对应的保护属性,其中,业务在删除所述保护属性后,禁止所述流量从所述工作路径切换到所述保护路径,以及禁止所述流量从所述保护路径切换到所述工作路径;According to another aspect of the present disclosure, a service processing apparatus is further provided, which is applied to an automatic switching optical network system, including: a first switching module configured to: when the working path is alerted, the service of the working path is The traffic is switched to the protection path corresponding to the working path; the deleting module is connected to the first switching module, and is configured to delete the protection attribute corresponding to the service, where the service prohibits the traffic after deleting the protection attribute Switching from the working path to the protection path, and prohibiting the switching of the traffic from the protection path to the working path;
保留模块,与所述第一切换模块连接,被配置为保留所述业务对应的恢复属性。And a reservation module, connected to the first switching module, configured to retain a recovery attribute corresponding to the service.
所述装置还可以包括:恢复模块,与所述保留模块连接,被配置为在所述工作路径的告警信息消失后,恢复所述删除的保护属性。The device may further include: a recovery module, connected to the reservation module, configured to restore the deleted protection attribute after the alarm information of the working path disappears.
所述装置还可以包括:确定模块,与所述删除模块连接,被配置为确定所述工作路径的恢复属性是否查询到可用路径,其中在未查询到可用路径时,删除所述业务对应的保护属性,并保留所述业务对应的恢复属性。The device may further include: a determining module, connected to the deleting module, configured to determine whether a recovery attribute of the working path is queried to an available path, where the protection corresponding to the service is deleted when the available path is not queried Attributes and retain the recovery attributes corresponding to the business.
所述装置还可以包括:第二切换模块,被配置为在所述工作路径的恢复属性查询到可用路径时,将所述业务流量从所述保护路径切换到所述可用路径上;The apparatus may further include: a second switching module configured to switch the service traffic from the protection path to the available path when a recovery attribute of the working path is queried to an available path;
保存模块,被配置为在所述工作路径的恢复属性查询到可用路径时,保存所述可用路径。And a saving module configured to save the available path when the recovery attribute of the working path is queried to an available path.
所述装置还可以包括:判断模块,与所述第一切换模块连接,被配置为判断是否切换成功;启动模块,与所述判断模块连接,用在切换失败时,启动所述工作路径的恢复属性流程;第三切换模块,与所述启动模块连接,被配置为在所述恢复属性流程执行成功后,将所述工作路径的业务流量切换到所述恢复属性流程确定的可用路径。The device may further include: a determining module, connected to the first switching module, configured to determine whether the switching is successful; and a startup module connected to the determining module, used to initiate recovery of the working path when the switching fails And a third switching module, connected to the startup module, configured to switch the service traffic of the working path to the available path determined by the recovery attribute process after the recovery attribute process is successfully executed.
本公开实施例还提供了一种非暂态计算机可读存储介质,存储有计算机可 执行指令,所述计算机可执行指令设置为执行上述方法。Embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing a computer Execution of instructions, the computer executable instructions being arranged to perform the above method.
本公开实施例还提供了一种电子设备,包括:An embodiment of the present disclosure further provides an electronic device, including:
至少一个处理器;以及At least one processor;
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行上述的方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method described above.
通过本公开,将工作路径的业务流量切换到保护路径以后,及时的删除保护属性,避免了保护通道启动恢复属性而导致的恢复属性和保护属性相互矛盾的情况,解决了相关技术中,现有的APS保护和ASON恢复的协调方案导致的业务中断时间长等问题,大大减少了业务的终端时间,甚至可以实现业务不中断的情况,同时也避免了不必要的经济损失。Through the disclosure, after the service traffic of the working path is switched to the protection path, the protection attribute is deleted in time, and the recovery attribute and the protection attribute caused by the protection channel startup recovery attribute are avoided, and the related technology is solved. The problem of long service interruption caused by the coordination scheme of APS protection and ASON recovery greatly reduces the terminal time of the service, and even realizes the uninterrupted service, and avoids unnecessary economic loss.
附图概述BRIEF abstract
此处所说明的附图用来提供对本公开的理解,构成本公开的一部分,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:The drawings described herein are intended to provide an understanding of the present disclosure, and are intended to be a part of this disclosure. In the drawing:
图1为根据本公开实施例的业务处理方法的流程图;FIG. 1 is a flowchart of a service processing method according to an embodiment of the present disclosure;
图2为根据本公开实施例的业务处理装置的结构框图;2 is a structural block diagram of a service processing apparatus according to an embodiment of the present disclosure;
图3为根据本公开实施例的业务处理装置的另一结构框图;3 is a block diagram showing another structure of a service processing apparatus according to an embodiment of the present disclosure;
图4为根据本公开实施例的业务处理方法的流程图;4 is a flowchart of a service processing method according to an embodiment of the present disclosure;
图5为根据本公开实施例的业务装置的结构示意图;FIG. 5 is a schematic structural diagram of a service device according to an embodiment of the present disclosure; FIG.
图6为根据本公开实施例的网络拓扑图;6 is a network topology diagram in accordance with an embodiment of the present disclosure;
图7为根据本公开实施例2的升级流程图;7 is a flowchart of an upgrade according to Embodiment 2 of the present disclosure;
图8为根据本公开实施例3的升级流程图;以及8 is a flowchart of an upgrade according to Embodiment 3 of the present disclosure;
图9为本公开实施例提供的电子设备的结构示意图。 FIG. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本公开。需要说明的是,在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互组合。The present disclosure will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present disclosure and the features in the embodiments may be combined with each other without conflict.
本公开的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本公开而了解。本公开的特征和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present disclosure will be set forth in the description which follows. The features and other advantages of the present disclosure can be realized and obtained by the structure of the invention.
为了使本技术领域的人员更好地理解本公开方案,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分的实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be clearly and completely described in the following with reference to the drawings in the embodiments of the present disclosure. It is an embodiment of the present disclosure, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without departing from the inventive scope should fall within the scope of the disclosure.
在本公开实施例中,还提供了一种业务处理方法,应用于自动交换光网络系统中,图1为根据本公开实施例的业务处理方法的流程图,如图1所示,包括以下步骤:In the embodiment of the present disclosure, a service processing method is also provided, which is applied to an automatic switching optical network system. FIG. 1 is a flowchart of a service processing method according to an embodiment of the present disclosure. As shown in FIG. 1, the following steps are included. :
步骤S102,在工作路径发生告警时,将上述工作路径的业务的流量切换到该工作路径对应的保护路径;Step S102: When an alarm occurs on the working path, the traffic of the service of the working path is switched to the protection path corresponding to the working path;
步骤S104,删除上述业务对应的保护属性,并保留业务对应的恢复属性,其中,业务在删除保护属性后,禁止流量从工作路径切换到保护路径,以及禁止流量从保护路径切换到工作路径。In step S104, the protection attribute corresponding to the service is deleted, and the recovery attribute corresponding to the service is retained. After the service is deleted, the service is prohibited from switching from the working path to the protection path, and the traffic is prohibited from being switched from the protection path to the working path.
通过上述各个步骤,将工作路径的业务流量切换到保护路径以后,及时的删除保护属性,避免了保护通道启动恢复属性而导致的恢复属性和保护属性相互矛盾的情况,解决了相关技术中,现有的APS保护和ASON恢复的协调方案导致的业务中断时间长等问题,大大减少了业务的终端时间,甚至可以实现业务不中断的情况,同时也避免了不必要的经济损失,进而减小了在APS失效情况下的业务中断时间,并且使ASON的恢复功能,APS的保护功能更好的协同工作。Through the above steps, after the service traffic of the working path is switched to the protection path, the protection attribute is deleted in time, and the recovery attribute and the protection attribute caused by the protection channel startup recovery attribute are avoided, and the related technology is solved. Some problems such as long service interruption caused by the coordination scheme of APS protection and ASON recovery greatly reduce the terminal time of the service, and even realize the uninterrupted service, and avoid unnecessary economic losses, thereby reducing the In the case of APS failure, the service interruption time, and the ASON recovery function, APS protection function work better together.
在实际应用中,在保留上述业务对应的恢复属性之后,如果检测到在上述 工作路径的告警信息消失,恢复上述删除的保护属性,由于工作路径的告警消失,恢复业务的保护属性也不会造成业务中断的情况发生。In an actual application, after the recovery attribute corresponding to the foregoing service is retained, if the above is detected The alarm information of the working path disappears, and the deleted protection attribute is restored. Because the alarm of the working path disappears, the protection attribute of the restored service does not cause the service interruption.
在一个可选示例中,在删除上述业务对应的保护属性之前,上述方法还包括:确定上述工作路径的恢复属性是否查询到可用路径,其中在未查询到可用路径时,删除上述业务对应的保护属性,并保留上述业务对应的恢复属性;在工作路径的恢复属性查询到可用路径时,保存查询到的可用路径供下次切换时备选,在需要时,将上述业务流量从保护路径切换到可用路径上。In an optional example, before deleting the protection attribute corresponding to the foregoing service, the method further includes: determining whether the recovery attribute of the working path queries the available path, and deleting the protection corresponding to the service when the available path is not queried Attribute, and retain the recovery attribute corresponding to the above service; when the recovery attribute of the working path is queried to the available path, save the queried available path for the next handover, and if necessary, switch the service traffic from the protection path to Available on the path.
为了完善上述技术方案,将工作路径的业务流量切换到该工作路径对应的保护路径之后,上述方法还包括:判断是否切换成功;如果切换失败,启动工作路径的恢复属性流程;在上述恢复属性流程执行成功后,将工作路径的业务流量切换到恢复属性流程确定的可用路径。In order to improve the foregoing technical solution, after the service traffic of the working path is switched to the protection path corresponding to the working path, the method further includes: determining whether the handover is successful; if the handover fails, starting the recovery attribute process of the working path; After the execution is successful, the service traffic of the working path is switched to the available path determined by the recovery attribute process.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本公开并不受所描述的动作顺序的限制,因为依据本公开,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于实施例,所涉及的动作和模块并不一定是本公开所必需的。It should be noted that, for the foregoing method embodiments, for the sake of brevity, they are all described as a series of action combinations, but those skilled in the art should understand that the present disclosure is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present disclosure. In the following, those skilled in the art should also understand that the embodiments described in the specification belong to the embodiments, and the actions and modules involved are not necessarily required by the disclosure.
在本实施例中还提供了一种业务处理装置,应用于自动交换光网络系统,被配置为实现上述实施例及实施方式,已经进行过说明的不再赘述,下面对该装置中涉及到的模块进行说明。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置可以以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。图2为根据本公开实施例的业务处理装置的结构框图。如图2所示,该装置包括:In this embodiment, a service processing apparatus is also provided, which is applied to the automatic switching optical network system, and is configured to implement the foregoing embodiments and implementation manners. The module is explained. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated. 2 is a structural block diagram of a service processing apparatus according to an embodiment of the present disclosure. As shown in Figure 2, the device comprises:
第一切换模块20,被配置为在工作路径发生告警时,将工作路径的业务的流量切换到该工作路径对应的保护路径;The first switching module 20 is configured to switch the traffic of the service of the working path to the protection path corresponding to the working path when the working path generates an alarm;
删除模块22,与第一切换模块20连接,被配置为删除业务对应的保护属性,其中,业务在删除上述保护属性后,禁止流量从工作路径切换到保护路径,以及禁止流量从保护路径切换到工作路径;The deleting module 22 is connected to the first switching module 20 and configured to delete the protection attribute corresponding to the service. After deleting the protection attribute, the service prohibits the traffic from switching from the working path to the protection path, and prohibits the traffic from being switched from the protection path to the protection path. Working path
保留模块24,与第一切换模块20连接,被配置为保留上述业务对应的恢复属性。 The reservation module 24 is connected to the first switching module 20 and configured to retain the recovery attribute corresponding to the service.
通过上述各个模块的综合作用,将工作路径的业务流量切换到保护路径以后,及时的删除保护属性,避免了保护通道启动恢复属性而导致的恢复属性和保护属性相互矛盾的情况,解决了相关技术中,现有的APS保护和ASON恢复的协调方案导致的业务中断时间长等问题,大大减少了业务的终端时间,甚至可以实现业务不中断的情况,同时也避免了不必要的经济损失。Through the comprehensive action of the above modules, after the service traffic of the working path is switched to the protection path, the protection attribute is deleted in time, and the recovery attribute and the protection attribute caused by the protection channel startup recovery attribute are avoided, and the related technology is solved. In the existing APS protection and ASON recovery coordination scheme, the service interruption time is long, and the terminal time of the service is greatly reduced, and even the business is not interrupted, and unnecessary economic loss is avoided.
图3为根据本公开实施例的业务处理装置的另一结构框图,如图3所示,上述装置还包括:FIG. 3 is another structural block diagram of a service processing apparatus according to an embodiment of the present disclosure. As shown in FIG. 3, the apparatus further includes:
恢复模块26,与保留模块24连接,被配置为在上述工作路径的告警信息消失后,恢复上述删除的保护属性;确定模块28,与删除模块22连接,被配置为确定上述工作路径的恢复属性是否查询到可用路径,其中在未查询到可用路径时,删除上述业务对应的保护属性,并保留上述业务对应的恢复属性;保存模块30,与删除模块22连接,被配置为在所述工作路径的恢复属性查询到可用路径时,保存所述可用路径;判断模块32,与第一切换模块20连接,被配置为判断是否切换成功;启动模块34,与判断模块32连接,用在切换失败时,启动上述工作路径的恢复属性流程;第三切换模块36,与启动模块34连接,被配置为在上述恢复属性流程执行成功后,将上述工作路径的业务流量切换到上述恢复属性流程确定的可用路径。The recovery module 26 is connected to the reservation module 24 and configured to restore the deleted protection attribute after the alarm information of the working path disappears. The determining module 28 is connected to the deletion module 22 and configured to determine the recovery attribute of the working path. If the available path is queried, the protection attribute corresponding to the service is deleted, and the recovery attribute corresponding to the service is deleted, and the saving module 30 is connected to the deleting module 22 and configured to be in the working path. When the recovery attribute is queried to the available path, the available path is saved; the determining module 32 is connected to the first switching module 20, configured to determine whether the switching is successful; the startup module 34 is connected to the determining module 32, and is used when the switching fails. And the recovery attribute process of the working path is started; the third switching module 36 is connected to the startup module 34, and configured to switch the service traffic of the working path to the available information determined by the recovery attribute process after the recovery attribute process is successfully executed. path.
为了更好的理解上述业务处理过程,以下结合实施例进行说明,但不用于限定本公开实施例的保护范围。In order to better understand the above-mentioned service processing, the following description is made in conjunction with the embodiments, but is not intended to limit the scope of protection of the embodiments of the present disclosure.
下面结合附图和实施例对本公开进行说明:The present disclosure will be described below with reference to the accompanying drawings and embodiments:
本公开实施例的技术方案可以如图4和图5所示,图4为根据本公开实施例的业务处理装置的结构示意图,图5为根据本公开实施例的业务处理方法的流程图。The technical solutions of the embodiments of the present disclosure may be as shown in FIG. 4 and FIG. 5 . FIG. 4 is a schematic structural diagram of a service processing apparatus according to an embodiment of the present disclosure, and FIG. 5 is a flowchart of a service processing method according to an embodiment of the present disclosure.
实施例1Example 1
本实施例1提供了一种业务处理装置,如图5所示,该装置包括业务升降级控制单元50、通道告警检测单元52、保护控制单元54、恢复控制单元56。The first embodiment provides a service processing device. As shown in FIG. 5, the device includes a service lifting and lowering control unit 50, a channel alarm detecting unit 52, a protection control unit 54, and a recovery control unit 56.
基于上述本实施例的单元,本实施例还提供了一种业务处理方法,图4为根据本公开实施例的业务处理方法的流程图,如图4所示,该方法的步骤包括:The present embodiment further provides a service processing method, and FIG. 4 is a flowchart of a service processing method according to an embodiment of the present disclosure. As shown in FIG. 4, the steps of the method include:
步骤S202:在产生告警时,检查告警类型,在告警类型为保护通道告警时, 执行步骤S204,在告警类型为工作通道告警时,执行步骤S206;Step S202: When an alarm is generated, check the alarm type. When the alarm type is a protection channel alarm, Step S204 is performed, when the alarm type is a working channel alarm, step S206 is performed;
步骤S204:保持业务级别不变;Step S204: Keep the service level unchanged;
步骤S206:判断通道恢复是否成功;在判断结果为是时,执行步骤S208,在判断结果为否时,执行步骤S210;Step S206: determining whether the channel recovery is successful; when the determination result is yes, step S208 is performed, and if the determination result is no, step S210 is performed;
步骤S208:业务级别不变;Step S208: the service level is unchanged;
步骤S210:业务降级,去掉保护属性,只保留恢复属性;Step S210: Degrading the service, removing the protection attribute, and retaining only the recovery attribute;
步骤S212:工作通道告警消失且恢复成功时,业务升级,增加保护属性。Step S212: When the working channel alarm disappears and the recovery is successful, the service is upgraded, and the protection attribute is added.
由上述步骤S202至步骤S212可知,通道告警检测单元对业务的工作和保护通道进行故障检测,在工作通道出现故障时上报告警消息给升降级控制单元,并且同时恢复控制单元上报恢复失败消息给升降级控制单元,进行业务的降级,去掉保护属性,只保留恢复属性,在通道告警检测单元检测到工作通道告警消失后,并且同时恢复控制单元上报恢复成功消息给升降级控制单元,对业务进行升级,增加保护属性。It can be seen from the above steps S202 to S212 that the channel alarm detecting unit detects the fault of the service and the protection channel, reports the alarm message to the lifting level control unit when the working channel fails, and simultaneously restores the control unit to report the recovery failure message to The lifting level control unit performs the degradation of the service, removes the protection attribute, and only retains the recovery attribute. After the channel alarm detecting unit detects that the working channel alarm disappears, and at the same time, the recovery control unit reports the recovery success message to the lifting level control unit to perform the service. Upgrade to increase protection attributes.
为了说明本实施例,下面对本实施例的方法进行详细的说明,该方法的步骤如下:To explain the present embodiment, the method of this embodiment will be described in detail below. The steps of the method are as follows:
步骤S302:上述装置的通道告警检测单元检测工作故障时上报给升降级控制单元并且同时恢复控制单元上报恢复失败消息给升降级控制单元,升降级控制单元进行降级操作。Step S302: When the channel alarm detecting unit of the device detects the working fault, it reports to the lifting level control unit and at the same time restores the control unit to report the recovery failure message to the lifting stage control unit, and the lifting stage control unit performs the derating operation.
其中,该步骤S302包括:The step S302 includes:
步骤S302-1:升降级控制单元收到通道告警检测单元上报的工作故障告警产生后,等待恢复控制单元上报恢复成功或失败的消息,此时恢复控制单元启动恢复操作的时候,如果计算出当前没有空闲路径可用,会恢复失败,并上报恢复失败消息给升降级控制单元,如果能计算出可用的空闲路径,会恢复成功,并上报恢复成功消息给升降级控制单元,这样不会进行降级操作。Step S302-1: After receiving the work fault alarm reported by the channel alarm detecting unit, the lifting level control unit waits for the recovery control unit to report the success or failure of the recovery. At this time, when the recovery control unit starts the recovery operation, if the current calculation is performed, If no idle path is available, the failure will be restored, and the recovery failure message will be reported to the lifting and lowering control unit. If the available idle path can be calculated, the recovery will be successful, and the recovery success message will be reported to the lifting and lowering control unit, so that the degraded operation will not be performed. .
步骤S302-2:如果进行降级操作,升降级控制单元通知恢复控制单元和保护控制单元降级消息,将此业务的保护属性暂时去掉。保护控制单元收到降级消息后,暂时对通道告警检测单元上报的此业务的工作或保护通道告警不处理,而恢复控制单元收到降级消息后,对通道告警检测单元上报的此业务的通道告警直接进行恢复操作。 Step S302-2: If the degrading operation is performed, the elevating stage control unit notifies the recovery control unit and the protection control unit to degrade the message, and temporarily removes the protection attribute of the service. After receiving the degraded message, the protection control unit temporarily does not process the alarm or the protection channel alarm of the service reported by the channel alarm detection unit, and the channel alarm of the service reported by the channel alarm detection unit after the recovery control unit receives the degraded message. Perform recovery directly.
步骤S304:上述装置的通道告警检测单元检测工作故障消失后上报给升降级控制单元并且恢复控制单元上报恢复成功消息给升降级控制单元,升降级控制单元进行升级操作。Step S304: The channel alarm detecting unit of the device detects that the working fault has disappeared and reports it to the lifting level control unit and the recovery control unit reports the recovery success message to the lifting level control unit, and the lifting level control unit performs an upgrading operation.
其中,步骤S304包括:Wherein, step S304 includes:
步骤S304-1:升降级控制单元收到通道告警检测单元上报的工作故障告警消失后,等待恢复控制单元上报恢复成功或失败的消息,此时恢复控制单元启动恢复操作的时候,计算出了可用的空闲路径,会恢复成功,并上报恢复成功消息给升降级控制单元。Step S304-1: After receiving the work failure alarm reported by the channel alarm detection unit, the lifting level control unit waits for the recovery control unit to report the success or failure of the recovery. At this time, when the recovery control unit starts the recovery operation, the calculation is available. The idle path will be successfully restored, and the recovery success message will be reported to the elevator control unit.
步骤S304-2:如果进行升级操作,升降级控制单元通知恢复控制单元和保护控制单元升级消息,增加此业务的保护属性。保护控制单元和恢复控制单元收到升级消息后,对通道告警检测单元上报的工作或保护通道告警按照步骤6来处理。Step S304-2: If the upgrade operation is performed, the elevation level control unit notifies the restoration control unit and the protection control unit to upgrade the message, and increases the protection attribute of the service. After receiving the upgrade message, the protection control unit and the recovery control unit process the alarm or the protection channel alarm reported by the channel alarm detection unit according to step 6.
步骤S306:通道告警检测单元,升降级控制单元,保护控制单元,恢复控制单元之间存在如下消息交互,并结合图5进行说明,图5为根据本公开实施例的业务处理装置的结构示意图。Step S306: The channel alarm detecting unit, the lifting level control unit, the protection control unit, and the recovery control unit have the following message interactions, which are described in conjunction with FIG. 5. FIG. 5 is a schematic structural diagram of a service processing apparatus according to an embodiment of the present disclosure.
步骤S306-1:通道告警检测单元检测到工作或保护通道告警后会同时向升降级控制单元,保护控制单元,恢复控制单元发送告警检测消息401,其中告警检测消息包括告警单板地址,端口,告警产生还是消失等信息。Step S306-1: After detecting the working or protection channel alarm, the channel alarm detecting unit sends an alarm detection message 401 to the lifting and lowering control unit, the protection control unit, and the recovery control unit, wherein the alarm detection message includes the alarm board address and port. Whether the alarm is generated or disappeared.
步骤S306-2:恢复控制单元会将恢复成功或失败消息402通知给升降级控制单元。Step S306-2: The recovery control unit notifies the resume level control unit of the recovery success or failure message 402.
步骤S306-3:升降级控制单元会将降级或升级消息403同时通知给保护控制单元和恢复控制单元。Step S306-3: The elevation level control unit notifies the protection control unit and the restoration control unit to the downgrade or upgrade message 403 at the same time.
步骤S306-4:保护控制单元会将倒换成功或失败消息404通知给恢复控制单元。Step S306-4: The protection control unit notifies the recovery control unit of the switching success or failure message 404.
步骤S308:上述装置的通道告警检测单元检测保护故障时也上报给升降级控制单元,升降级控制单元不进行升降级处理。Step S308: when the channel alarm detecting unit of the above device detects the protection fault, it is also reported to the lifting level control unit, and the lifting level control unit does not perform the lifting level processing.
步骤S310:上述通道告警检测单元,升降级控制单元,保护控制单元,恢复控制单元之间存在可靠的通信机制,可以通过进程或线程间通讯,高级数据链路如TCP/IP等方式来实现。 Step S310: The above-mentioned channel alarm detecting unit, the lifting level control unit, the protection control unit, and the recovery control unit have a reliable communication mechanism, which can be implemented by process or inter-thread communication, and advanced data links such as TCP/IP.
步骤S312:上述装置的通道告警检测单元会将工作或保护通道告警同时传递给保护控制单元和恢复控制单元。Step S312: The channel alarm detecting unit of the above device simultaneously transmits the working or protection channel alarm to the protection control unit and the recovery control unit.
其中,步骤S312包括:Wherein, step S312 includes:
步骤S312-1:保护控制单元收到告警后触发保护协议计算,执行自动保护倒换,切换流量到新的通道路径中。Step S312-1: After receiving the alarm, the protection control unit triggers the protection protocol calculation, performs automatic protection switching, and switches the traffic to the new channel path.
步骤S312-2:恢复控制单元收到告警后,会启动一个定时器。Step S312-2: After the recovery control unit receives the alarm, a timer is started.
步骤S312-3:在定时器计时的范围内,收到保护控制单元发过来的倒换成功消息,这时清掉定时器,立即恢复新的工作或保护通道路径。Step S312-3: In the range of the timer timing, the switching success message sent by the protection control unit is received, and the timer is cleared, and the new working or protection channel path is immediately restored.
步骤S312-4:在定时器计时的范围内,收到保护控制单元发过来的倒换失败消息,立即启动恢复操作,如果恢复成功,切换流量到新的通道路径中。Step S312-4: Within the range of the timer timing, the switching failure message sent by the protection control unit is received, and the recovery operation is immediately started. If the recovery is successful, the traffic is switched to the new channel path.
步骤S312-5:定时器超时后,恢复控制单元检查工作或保护通道是否还有告警,如果还有告警,立即启动恢复操作,如果恢复成功,切换流量到新的通道路径中。Step S312-5: After the timer expires, the recovery control unit checks whether there is an alarm in the working or protection channel. If there is an alarm, the recovery operation is immediately started. If the recovery is successful, the traffic is switched to the new channel path.
实施例2,优先级高的业务(例如,可以是钻石级业务)降级后再升级:In Embodiment 2, a service with a high priority (for example, may be a diamond-level service) is downgraded and then upgraded:
图6为根据本公开实施例的网络拓扑图,如图6所示,ASON建立钻石级1+1业务A-E,可用路径有3条,分别为A-B-E,A-C-E,A-D-E,初始工作路径选定A-B-E,初始保护路径选定A-C-E,工作和保护路径分别有恢复属性,路径A-D-E上有告警存在。FIG. 6 is a network topology diagram according to an embodiment of the present disclosure. As shown in FIG. 6 , ASON establishes a diamond level 1+1 service AE, and three available paths are ABE, ACE, ADE, and the initial working path selects ABE. The initial protection path selects the ACE, and the working and protection paths respectively have recovery attributes, and an alarm exists on the path ADE.
某一时刻初始工作路径A-B-E上检测到告警,由通道告警检测单元检测到后同时上报给升降级控制单元,保护控制单元,恢复控制单元,其中升降级控制单元收到工作告警后等待恢复控制单元上报的恢复是否成功的消息,恢复控制单元启动定时器等待保护控制单元上报的倒换是否成功消息,而保护控制单元收到工作告警后执行APS协议算法得到当前保护组状态为SF通道失效,请求信号为1,桥接信号为1,将流量倒换到保护通道A-C-E上,并给恢复控制单元上报倒换成功消息,恢复控制单元计算当前可用的其他路径,由于路径A-D-E上有告警存在,当前没有空闲的资源可用,恢复失败,上报恢复失败消息给升降级控制单元,此时进行业务的降级操作,暂时去掉保护属性,只剩路径A-C-E的恢复属性。 An alarm is detected on the initial working path ABE at a certain moment. The alarm is detected by the channel alarm detecting unit and reported to the lifting level control unit, the protection control unit, and the recovery control unit. The lifting level control unit waits for the recovery control unit after receiving the working alarm. If the reported recovery is successful, the recovery control unit starts the timer to wait for the protection control unit to report the success of the switching, and the protection control unit executes the APS protocol algorithm after receiving the working alarm to obtain the current protection group status as the SF channel failure, the request signal. If the bridge signal is 1, the traffic is switched to the protection channel ACE, and the recovery control unit reports the success message to the recovery control unit. The recovery control unit calculates other currently available paths. Since there are alarms on the path ADE, there are currently no idle resources. If the recovery fails, the recovery failure message is reported to the elevator control unit. At this time, the service is degraded, and the protection attribute is temporarily removed, leaving only the recovery attribute of the path ACE.
过一段时间的某一个时刻,路经A-D-E的告警消失了,通道告警检测单元上报给升降级控制单元,保护控制单元,恢复控制单元,其中恢复控制单元尝试恢复新的工作路径A-D-E,恢复成功后通知升降级控制单元,进行升级操作,增加业务的保护属性,更新新的工作路径A-D-E,原保护路经还是A-C-E,此时流量还在保护路经A-C-E上,此时业务从降级到升级的过程完成。At some time after a period of time, the alarm passing through the ADE disappears, the channel alarm detection unit reports to the lifting level control unit, the protection control unit, and the recovery control unit, wherein the recovery control unit attempts to restore the new working path ADE, after the recovery is successful. Notify the lifting level control unit, perform the upgrade operation, increase the protection attribute of the service, update the new working path ADE, and the original protection path is still ACE. At this time, the traffic is still protecting the path through the ACE, and the service is downgraded to the upgrade process. carry out.
如果刚开始的时刻先检测到的是保护路径的告警,业务不会降级,流量保持在A-B-E上。If the alarm of the protection path is detected first at the beginning, the service will not be degraded and the traffic will remain on the A-B-E.
如果初始检测到工作路径告警后,工作恢复成功了,也不会进行降级,只是业务的保护组更新的工作路径A-D-E。If the work path is successfully detected after the initial detection of the work path alarm, the downgrade will not be performed, but the working path of the service protection group is updated by A-D-E.
图7为根据本公开实施例2的升级流程图,如图7所示,整个钻石级1+1业务的升降级流程包括:7 is a flowchart of an upgrade according to Embodiment 2 of the present disclosure. As shown in FIG. 7, the upgrade process of the entire diamond level 1+1 service includes:
步骤S702:业务流量在工作通道;Step S702: The service traffic is in the working channel;
步骤S704:检查告警类型,其中,在告警类型为工作通道告警时,执行步骤S706,在告警类型为保护通道告警时,执行步骤S716;Step S704: Check the alarm type, wherein, when the alarm type is the working channel alarm, step S706 is performed, and when the alarm type is the protection channel alarm, step S716 is performed;
步骤S706:自动保护倒换,流量切换到保护通道;Step S706: automatic protection switching, and the traffic is switched to the protection channel;
步骤S708:判断工作通道是否恢复成功,在判断结果为是时,执行步骤S710,在判断结果为否时,执行步骤S712;Step S708: determining whether the working channel is successfully restored, when the determination result is yes, step S710 is performed, and if the determination result is no, step S712 is performed;
步骤S710:业务更新工作通道路径,级别不变;Step S710: The service updates the working channel path, and the level is unchanged;
步骤S712:业务降级为只有恢复属性;Step S712: The service is demoted to only the recovery attribute;
步骤S714:业务更新工作通道路径,升级回钻石级业务;Step S714: The service updates the working channel path and upgrades to the diamond-level service.
步骤S716:判断保护通道恢复是否成功,在判断结果为是时,执行步骤S718,在判断结果为否时,执行步骤S720;Step S716: determining whether the protection channel recovery is successful, when the determination result is yes, step S718 is performed, and if the determination result is no, step S720 is performed;
步骤S718:业务更新保护通道路径,级别不变;Step S718: The service update protects the path of the channel, and the level is unchanged;
步骤S720:业务级别不变。Step S720: The service level is unchanged.
实施案例3,较高级别的业务(例如是金级业务)降级后在升级:In case 3, the higher-level business (for example, the gold-level business) is upgraded after downgrading:
如图6所示,ASON建立金级1+1业务A-E,可用路径有3条,分别为A-B-E,A-C-E,A-D-E,初始工作路径选定A-B-E,初始保护路径选定A-C-E,保护路径有恢复属性。 As shown in Figure 6, ASON establishes a gold-level 1+1 service A-E. There are three available paths, namely A-B-E, A-C-E, and A-D-E. The initial working path is A-B-E, the initial protection path is A-C-E, and the protection path has recovery attributes.
某一时刻初始工作路径A-B-E上检测到告警,由通道告警检测单元检测到后同时上报给升降级控制单元,保护控制单元,恢复控制单元,其中保护控制单元收到工作告警后执行APS协议算法得到当前保护组状态为SF通道失效,请求信号为1,桥接信号为1,将流量倒换到保护通道A-C-E上,升降级控制单元收到工作告警后直接进行降级操作,这和钻石级业务不同因为金级业务的工作是没有恢复属性的,暂时去掉保护属性,只剩路径A-C-E的恢复属性。An alarm is detected on the initial working path ABE at a certain moment. The alarm is detected by the channel alarm detection unit and reported to the lifting level control unit, the protection control unit, and the recovery control unit. The protection control unit executes the APS protocol algorithm after receiving the working alarm. The current protection group status is SF channel failure, the request signal is 1, the bridge signal is 1, the traffic is switched to the protection channel ACE, and the lifting level control unit directly performs the degrading operation after receiving the work alarm, which is different from the diamond level service. The job of the level service is that there is no recovery attribute, and the protection attribute is temporarily removed, leaving only the recovery attribute of the path ACE.
过一段时间的某一个时刻,原工作路经A-B-E的告警消失了,通道告警检测单元上报给升降级控制单元,保护控制单元,恢复控制单元,其中升降级控制单元直接进行升级操作,增加业务的保护属性,还是原有的工作路径A-B-E,原保护路经还是A-C-E,此时流量还在保护路经A-C-E上,此时业务从降级到升级的过程完成。At some time after a certain period of time, the alarm of the original working path through the ABE disappears, and the channel alarm detecting unit reports to the lifting level control unit, the protection control unit, and the recovery control unit, wherein the lifting level control unit directly performs the upgrading operation to increase the service. The protection attribute is still the original working path ABE. The original protection path is still ACE. At this time, the traffic is still protecting the path through the ACE, and the process from the downgrade to the upgrade is completed.
图8为根据本公开实施例3的升级流程图,如图8所示整个金级业务的升降级流程包括:FIG. 8 is a flowchart of an upgrade according to Embodiment 3 of the present disclosure, and the process of upgrading the entire gold-level service shown in FIG. 8 includes:
步骤S802:业务流量在工作通道;Step S802: The service traffic is in the working channel;
步骤S804:检查告警类型,在告警类型为工作通道告警时,执行步骤S806,在告警类型为保护通道告警时,执行步骤S812;Step S804: Check the alarm type, when the alarm type is the working channel alarm, step S806 is performed, and when the alarm type is the protection channel alarm, step S812 is performed;
步骤S806:自动保护倒换,流量切换到保护通道;Step S806: automatic protection switching, and the traffic is switched to the protection channel;
步骤S808:业务降级为只有恢复属性;Step S808: The service is demoted to only the recovery attribute;
步骤S810:在工作通道恢复成功时,升级回金业务;Step S810: When the working channel is successfully restored, the gold return service is upgraded;
步骤S812:判断保护通道恢复是否成功,在判断结果为是时,执行步骤S814,在判断结果为否时,执行步骤S816;Step S812: determining whether the protection channel recovery is successful, when the determination result is yes, step S814 is performed, and if the determination result is no, step S816 is performed;
步骤S814:业务更新保护通道路径,级别不变;Step S814: The service update protects the path of the channel, and the level is unchanged;
步骤S816:业务级别不变。Step S816: The service level is unchanged.
实施案例4,ASON的恢复操作替代APS的流量倒换:In case 4, the recovery operation of ASON replaces the traffic switching of APS:
如图6所示,ASON建立金级1+1业务A-E,可用路径有3条,分别为A-B-E,A-C-E,A-D-E,初始工作路径选定A-B-E,初始保护路径选定A-C-E,保护路径有恢复属性。As shown in Figure 6, ASON establishes a gold-level 1+1 service A-E. There are three available paths, namely A-B-E, A-C-E, and A-D-E. The initial working path is A-B-E, the initial protection path is A-C-E, and the protection path has recovery attributes.
某一时刻初始工作路径A-B-E上检测到告警,还是按照实施例3中降级的 流程,如果此时保护路经A-C-E又检测到告警,按照本公开的方法,恢复控制单元直接进行保护路经的恢复,计算出网络当前可用路径A-D-E,将业务流量直接切换到A-D-E上。An alarm is detected on the initial working path A-B-E at a certain moment, or is degraded according to Embodiment 3. In the process, if the protection path detects the alarm again through the A-C-E, the recovery control unit directly restores the protection path according to the method of the present disclosure, calculates the current available path A-D-E of the network, and directly switches the service traffic to the A-D-E.
如果不按照本公开方法中的降级方案,保护属性还存在,根据APS协议算法,保护通道失效的优先级比工作通道失效的优先级高,保护控制单元又会将流量切换到原先的工作路径A-B-E上,而此时A-B-E告警还存在,这样又无法做恢复操作了,业务一直是中断的,带来相当大的损失。If the protection attribute does not exist according to the degradation scheme in the method of the present disclosure, according to the APS protocol algorithm, the priority of the protection channel failure is higher than the priority of the work channel failure, and the protection control unit switches the traffic to the original working path ABE. On the other hand, the ABE alarm still exists, so that the recovery operation cannot be performed, and the service is always interrupted, causing considerable loss.
本公开实施例还提供了一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述任一实施例中的方法。Embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing computer executable instructions arranged to perform the method of any of the above embodiments.
本公开实施例还提供了一种电子设备的结构示意图。参见图9,该电子设备包括:The embodiment of the present disclosure further provides a schematic structural diagram of an electronic device. Referring to FIG. 9, the electronic device includes:
至少一个处理器(processor)90,图9中以一个处理器90为例;和存储器(memory)91,还可以包括通信接口(Communications Interface)92和总线93。其中,处理器90、通信接口92、存储器91可以通过总线93完成相互间的通信。通信接口92可以用于信息传输。处理器90可以调用存储器91中的逻辑指令,以执行上述实施例的方法。At least one processor 90, which is exemplified by a processor 90 in FIG. 9; and a memory 91, may further include a communication interface 92 and a bus 93. The processor 90, the communication interface 92, and the memory 91 can complete communication with each other through the bus 93. Communication interface 92 can be used for information transfer. Processor 90 can invoke logic instructions in memory 91 to perform the methods of the above-described embodiments.
此外,上述的存储器91中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the logic instructions in the memory 91 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
存储器91作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令/模块。处理器90通过运行存储在存储器91中的软件程序、指令以及模块,从而执行功能应用以及数据处理,即实现上述方法实施例中的业务处理方法。The memory 91 is a computer readable storage medium and can be used to store a software program, a computer executable program, a program instruction/module corresponding to the method in the embodiment of the present disclosure. The processor 90 executes the function application and the data processing by executing the software programs, the instructions, and the modules stored in the memory 91, that is, the service processing method in the above method embodiments.
存储器91可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器91可以包括高速随机存取存储器,还可以 包括非易失性存储器。The memory 91 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the terminal device, and the like. In addition, the memory 91 may include a high speed random access memory, and may also Includes non-volatile memory.
本公开实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product stored in a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in the embodiments of the present disclosure. The foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like. A medium that can store program code, or a transitory storage medium.
综上所述,本公开实施例达到了以下技术效果:解决了相关技术中,现有的APS保护和ASON恢复的协调方案导致的业务中断时间长等问题,大大减少了业务的终端时间,甚至可以实现业务不中断的情况,同时也避免了不必要的经济损失,进而减小了在APS失效情况下的业务中断时间,并且使ASON的恢复功能,APS的保护功能更好的协同工作。In summary, the embodiments of the present disclosure achieve the following technical effects: solving the problem of long service interruption caused by the existing APS protection and ASON recovery coordination scheme in the related art, greatly reducing the terminal time of the service, and even The service can be uninterrupted, and unnecessary economic losses are avoided, thereby reducing the service interruption time in the case of APS failure, and enabling the ASON recovery function and the APS protection function to work together better.
在另外一个实施例中,还提供了一种软件,该软件用于执行上述实施例及实施方式中描述的技术方案。In another embodiment, software is also provided for performing the technical solutions described in the above embodiments and implementations.
在另外一个实施例中,还提供了一种存储介质,该存储介质中存储有上述软件,该存储介质包括但不限于:光盘、软盘、硬盘、可擦写存储器等。In another embodiment, a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的对象在适当情况下可以互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It is to be understood that the terms "first", "second", and the like in the specification and claims of the present disclosure are used to distinguish similar objects, and are not necessarily used to describe a particular order or order. It is to be understood that the objects so used are interchangeable, as appropriate, so that the embodiments of the present disclosure described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
显然,本领域的技术人员应该明白,上述的本公开的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些 情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本公开不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present disclosure described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by a computing device such that they may be stored in a storage device for execution by the computing device, and in some In this case, the steps shown or described may be performed in an order different from that herein, or they may be separately fabricated into individual integrated circuit modules, or a plurality of the modules or steps may be implemented as a single integrated circuit module. As such, the disclosure is not limited to any specific combination of hardware and software.
以上所述仅为本公开的实施例而已,并不用于限制本公开,对于本领域的技术人员来说,本公开可以有各种更改和变化。凡在本公开的实施例范围之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。The above description is only for the embodiments of the present disclosure, and is not intended to limit the disclosure, and various changes and modifications may be made to the present disclosure. Any modifications, equivalent substitutions, improvements, etc., made within the scope of the present disclosure are intended to be included within the scope of the present disclosure.
工业实用性Industrial applicability
本公开提供的业务处理方法及装置解决了相关技术中,现有的APS保护和ASON恢复的协调方案导致的业务中断时间长等问题,大大减少了业务的终端时间,甚至可以实现业务不中断的情况,同时也避免了不必要的经济损失。 The service processing method and device provided by the present disclosure solve the problems of long service interruption caused by the existing APS protection and ASON recovery coordination scheme in the related art, greatly reducing the terminal time of the service, and even realizing the uninterrupted service. The situation also avoids unnecessary economic losses.

Claims (11)

  1. 一种业务处理方法,应用于自动交换光网络系统中,包括:A service processing method is applied to an automatic switched optical network system, including:
    在工作路径发生告警时,将所述工作路径的业务的流量切换到该工作路径对应的保护路径;When an alarm occurs on the working path, the traffic of the service of the working path is switched to the protection path corresponding to the working path;
    删除所述业务对应的保护属性,并保留所述业务对应的恢复属性,其中,业务在删除所述保护属性后,禁止所述流量从所述工作路径切换到所述保护路径,以及禁止所述流量从所述保护路径切换到所述工作路径。Deleting the protection attribute corresponding to the service, and retaining the recovery attribute corresponding to the service, where the service, after deleting the protection attribute, prohibits the traffic from being switched from the working path to the protection path, and prohibiting the Traffic is switched from the protection path to the working path.
  2. 根据权利要求1所述的方法,其中,在保留所述业务对应的恢复属性之后,所述方法还包括:The method of claim 1, wherein after the recovery attribute corresponding to the service is retained, the method further comprises:
    在所述工作路径的告警信息消失后,恢复所述删除的保护属性。After the alarm information of the working path disappears, the deleted protection attribute is restored.
  3. 根据权利要求1所述的方法,其中,在删除所述业务对应的保护属性之前,所述方法还包括:The method of claim 1, wherein before deleting the protection attribute corresponding to the service, the method further comprises:
    确定所述工作路径的恢复属性是否查询到可用路径,其中,在未查询到可用路径时,删除所述业务对应的保护属性,并保留所述业务对应的恢复属性。And determining, by the recovery attribute of the working path, whether the available attribute is queried, wherein, when the available path is not queried, the protection attribute corresponding to the service is deleted, and the recovery attribute corresponding to the service is retained.
  4. 根据权利要求3所述的方法,还包括:The method of claim 3 further comprising:
    在所述工作路径的恢复属性查询到可用路径时,保存所述可用路径。The available path is saved when the recovery attribute of the working path is queried to an available path.
  5. 根据权利要求3所述的方法,其中,将所述工作路径的业务流量切换到该工作路径对应的保护路径之后,所述方法还包括:The method according to claim 3, wherein after the service traffic of the working path is switched to the protection path corresponding to the working path, the method further includes:
    判断是否切换成功;Determine whether the switch is successful;
    如果切换失败,启动所述工作路径的恢复属性流程;If the handover fails, the recovery attribute process of the working path is started;
    在所述恢复属性流程执行成功后,将所述工作路径的业务流量切换到所述恢复属性流程确定的可用路径。After the recovery attribute process is successfully executed, the service traffic of the working path is switched to the available path determined by the recovery attribute process.
  6. 一种业务处理装置,应用于自动交换光网络系统,包括: A service processing device is applied to an automatic switched optical network system, including:
    第一切换模块,被配置为在工作路径发生告警时,将所述工作路径的业务的流量切换到该工作路径对应的保护路径;The first switching module is configured to switch the traffic of the service of the working path to the protection path corresponding to the working path when an alarm occurs on the working path;
    删除模块,与所述第一切换模块连接,被配置为删除所述业务对应的保护属性,其中,业务在删除所述保护属性后,禁止所述流量从所述工作路径切换到所述保护路径,以及禁止所述流量从所述保护路径切换到所述工作路径;The deleting module is connected to the first switching module, and is configured to delete the protection attribute corresponding to the service, where the service prohibits the switching of the traffic from the working path to the protection path after deleting the protection attribute And prohibiting the switching of the traffic from the protection path to the working path;
    保留模块,与所述第一切换模块连接,被配置为保留所述业务对应的恢复属性。And a reservation module, connected to the first switching module, configured to retain a recovery attribute corresponding to the service.
  7. 根据权利要求6所述的装置,还包括:The apparatus of claim 6 further comprising:
    恢复模块,与所述保留模块连接,被配置为在所述工作路径的告警信息消失后,恢复所述删除的保护属性。The recovery module is connected to the reservation module and configured to restore the deleted protection attribute after the alarm information of the working path disappears.
  8. 根据权利要求6所述的装置,还包括:The apparatus of claim 6 further comprising:
    确定模块,与所述删除模块连接,被配置为确定所述工作路径的恢复属性是否查询到可用路径,其中在未查询到可用路径时,删除所述业务对应的保护属性,并保留所述业务对应的恢复属性。a determining module, connected to the deleting module, configured to determine whether a recovery attribute of the working path queries an available path, wherein when the available path is not queried, the protection attribute corresponding to the service is deleted, and the service is retained Corresponding recovery properties.
  9. 根据权利要求8所述的装置,还包括:The apparatus of claim 8 further comprising:
    保存模块,被配置为在所述工作路径的恢复属性查询到可用路径时,保存所述可用路径。And a saving module configured to save the available path when the recovery attribute of the working path is queried to an available path.
  10. 根据权利要求8所述的装置,还包括:The apparatus of claim 8 further comprising:
    判断模块,与所述第一切换模块连接,被配置为判断是否切换成功;a determining module, connected to the first switching module, configured to determine whether the switching is successful;
    启动模块,与所述判断模块连接,用在切换失败时,启动所述工作路径的恢复属性流程;The startup module is connected to the determination module, and is used to start a recovery attribute process of the working path when the handover fails;
    第三切换模块,与所述启动模块连接,被配置为在所述恢复属性流程执行成功后,将所述工作路径的业务流量切换到所述恢复属性流程确定的可用路径。 The third switching module is connected to the startup module, and is configured to switch the service traffic of the working path to the available path determined by the recovery attribute process after the recovery attribute process is successfully executed.
  11. 一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1-5中任一项的方法。 A non-transitory computer readable storage medium storing computer executable instructions arranged to perform the method of any of claims 1-5.
PCT/CN2017/070502 2016-01-06 2017-01-06 Service processing method and device WO2017118425A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610006243.5A CN106953685A (en) 2016-01-06 2016-01-06 Method for processing business and device
CN201610006243.5 2016-01-06

Publications (1)

Publication Number Publication Date
WO2017118425A1 true WO2017118425A1 (en) 2017-07-13

Family

ID=59274041

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/070502 WO2017118425A1 (en) 2016-01-06 2017-01-06 Service processing method and device

Country Status (2)

Country Link
CN (1) CN106953685A (en)
WO (1) WO2017118425A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113840183A (en) * 2020-06-08 2021-12-24 烽火通信科技股份有限公司 Photoelectric multilayer rerouting protection cooperation method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1694418A (en) * 2005-05-16 2005-11-09 烽火通信科技股份有限公司 Method for combining multi-section protection and mesh network recovery
CN101174899A (en) * 2007-11-26 2008-05-07 中兴通讯股份有限公司 Automatic testing method for service protection and recovery in ASON network
CN101197591A (en) * 2008-01-02 2008-06-11 中兴通讯股份有限公司 Protection recovery method and apparatus for ASON
CN101534459A (en) * 2009-04-22 2009-09-16 中兴通讯股份有限公司 Method and system for realizing protection and recovery in automatic switched optical network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1694418A (en) * 2005-05-16 2005-11-09 烽火通信科技股份有限公司 Method for combining multi-section protection and mesh network recovery
CN101174899A (en) * 2007-11-26 2008-05-07 中兴通讯股份有限公司 Automatic testing method for service protection and recovery in ASON network
CN101197591A (en) * 2008-01-02 2008-06-11 中兴通讯股份有限公司 Protection recovery method and apparatus for ASON
CN101534459A (en) * 2009-04-22 2009-09-16 中兴通讯股份有限公司 Method and system for realizing protection and recovery in automatic switched optical network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113840183A (en) * 2020-06-08 2021-12-24 烽火通信科技股份有限公司 Photoelectric multilayer rerouting protection cooperation method and device
CN113840183B (en) * 2020-06-08 2023-05-12 烽火通信科技股份有限公司 Photoelectric multilayer rerouting protection cooperative method and device

Also Published As

Publication number Publication date
CN106953685A (en) 2017-07-14

Similar Documents

Publication Publication Date Title
US7616581B2 (en) Path setup unit, path setup system and path setup method therefor
CN106789638B (en) Method for processing route and network equipment
US10911295B2 (en) Server apparatus, cluster system, cluster control method and program
CN104869057A (en) OpeFlow switch graceful restart processing method, device and OpeFlow controller
WO2016095344A1 (en) Link switching method and device, and line card
CN110958176B (en) System and method for controlling uninterrupted routing during switching of main and standby control planes
CN111988162B (en) Method and device for managing port configuration mode
EP1921797A1 (en) Recovery method and apparatus for optical network lsp occuring abnormal delete
CN109450707B (en) Data transmission method and device, gateway equipment and readable storage medium
CN111130979B (en) Method and equipment for connecting branch node with central node in SDWAN (software development wide area network) scene
WO2017118425A1 (en) Service processing method and device
US11159608B2 (en) Method and control node for managing cloud resources in a communications network
CN115378815A (en) Data recovery method, device, network equipment and storage medium
WO2017146718A1 (en) Ring protection network division
CN113709068B (en) Switch system and execution processing method of switch
CN113098709B (en) Network recovery method and device based on distributed networking system and computer equipment
US11095514B2 (en) System and method for propagating anima network objective changes
CN104579736A (en) Loop circuit data transmission method and node equipment
CN114244769A (en) Method, equipment and storage medium for sending keep-alive message
CN108174417B (en) Main/standby switching method and device, related electronic equipment and readable storage medium
CN103780489A (en) Method and device for route adjustment
JP5913146B2 (en) Active router device, communication system, route control method, and program
CN102790814B (en) A kind of Media Access Control Address defining method, relevant apparatus and system
CN101964925B (en) Method and system for controlling recovery of planar node after restarting in automatic switched optical network
CN112448929A (en) Dynamic side protection method and platform for communication network

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: 17735863

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: 17735863

Country of ref document: EP

Kind code of ref document: A1