Service protection method and device for distributed switching system, equipment and medium

By searching the forwarding table and filtering available links in the distributed switching system, and controlling service traffic, the problem of irrelevant service interruptions caused by cross-connect chip congestion or service line card unplugging was solved, improving the stability and reliability of the system and reducing operation and maintenance costs.

CN121309518APending Publication Date: 2026-01-09WUHAN BINARY SEMICON CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511481544.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-16
Publication Date
2026-01-09

AI Technical Summary

Technical Problem

Intermittent interruptions of unrelated services caused by cross-connect chip congestion or service line card unplugging in distributed switching systems affect the stability and reliability of service transmission.

Method used

By searching the forwarding table of the service line card chip, available links are filtered, and the service line card chip is controlled to stop or continue sending service traffic based on the number of available links. A minimum available link threshold is set to achieve load balancing and avoid link congestion.

Benefits of technology

It enhances the stability and reliability of the distributed switching system, reduces operation and maintenance costs, improves system performance, and reduces data loss and economic losses caused by buffer overflow.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121309518A_ABST
    Figure CN121309518A_ABST
Patent Text Reader

Abstract

The invention discloses a service protection method and device for a distributed switching system, equipment and a medium, and the method comprises the steps: searching a forwarding table according to a destination node of service forwarding of a service line card chip, and obtaining a corresponding forwarding link; screening available links in the forwarding links according to the state of the forwarding links; and according to the number of the available links, controlling the service line card chip to stop sending the service flow or continuously sending the service flow, thereby effectively solving the technical problem that the cross board card chip is congested or unrelated service flashes in the system when the service line card is pulled out, enhancing the stability and reliability of the distributed switching system, reducing the operation and maintenance cost, and improving the efficiency of the distributed switching system. And the overall performance of the distributed system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, in particular to a service protection method, device and equipment of a distributed switching system and a medium. BACKGROUND

[0002] With the continuous development of communication networks, distributed switching systems play an increasingly important role in data transmission and processing. However, in practical applications, distributed switching systems face many challenges, especially in terms of service transmission stability and reliability.

[0003] Distributed switching systems need to meet the requirements of non-blocking, low latency and jitter. The connection between the service line cards and the cross board cards of the distributed switching system is usually designed symmetrically, that is, the same number of links are used for full connection between each service line card and each cross board card. Although this design can achieve load balancing of traffic to some extent, it will cause unrelated service interruption and other problems when the cross board card chip is congested or the service line card is operated, which seriously affects the normal transmission of services.

[0004] Therefore, how to effectively solve the problem of unrelated service interruption caused by cross board card chip congestion or service line card operation in distributed systems has become a technical problem to be solved. SUMMARY

[0005] The present application provides a service protection method, device, equipment and medium of a distributed switching system, which can solve the technical problem of unrelated service interruption caused by cross board card chip congestion or service line card operation in distributed systems in the prior art.

[0006] In a first aspect, the embodiments of the present application provide a service protection method of a distributed switching system, which comprises: According to the destination node of the service forwarding of the service line card chip, the forwarding table is searched to obtain the corresponding forwarding link; According to the state of the forwarding link, the available link is filtered out; According to the number of available links, the service line card chip is controlled to stop sending service traffic or continue sending service traffic.

[0007] In combination with the first aspect, in an implementation mode, according to the number of available links, the service line card chip is controlled to stop sending service traffic or continue sending service traffic, which comprises: If the number of available links is less than a preset minimum available link threshold, the service line card chip is controlled to stop sending service traffic; If the number of available links is greater than the minimum available link threshold, then controlling the service line card chip to continue sending service traffic.

[0008] In combination with the first aspect, in an implementation, before controlling the service line card chip to stop sending service traffic or continue sending service traffic according to the number of available links, further comprising: According to the traffic bandwidth borne by the service line card chip, the number of cross board card chips used for forwarding service of the service line card chip, and the carrying capacity of forwarding links, the minimum available link threshold is set so that the service traffic borne on the available links does not exceed the carrying capacity thereof.

[0009] In combination with the first aspect, in an implementation, if the number of available links is greater than the minimum available link threshold, then controlling the service line card chip to continue sending service traffic comprises: Controlling the service line card chip to evenly distribute service traffic to the available links in a load balancing manner.

[0010] In combination with the first aspect, in an implementation, the filtering of available links from the forwarding links according to the state of the forwarding links comprises: Filtering available links from the forwarding links according to the activation state and the load state of the forwarding links.

[0011] In combination with the first aspect, in an implementation, the filtering of available links from the forwarding links according to the activation state and the load state of the forwarding links comprises: Eliminating the forwarding links in a non-activation state, or in an activation state but with a load greater than or equal to the load threshold; Taking the forwarding links in an activation state and with a load less than a preset load threshold as the available links.

[0012] In combination with the first aspect, in an implementation, before the service line card chip looks up a forwarding table according to a destination node of service forwarding, further comprising: Generating the forwarding table according to the global link topology of a distributed system in which the service line card chip is located.

[0013] The second aspect provides a service protection device of a distributed switching system, which comprises: A lookup module configured to look up a forwarding table according to a destination node of service forwarding of a service line card chip, and obtain corresponding forwarding links; A filtering module configured to filter available links from the forwarding links according to the state of the forwarding links; a control module, configured to control the service line card chip to stop sending service traffic or continue sending service traffic according to the number of available links.

[0014] In a third aspect, an embodiment of the present application provides a service protection device of a distributed switching system, the service protection device of the distributed switching system comprising a processor, a memory, and a service protection program of the distributed switching system stored in the memory and executable by the processor, wherein the service protection program of the distributed switching system, when executed by the processor, implements the steps of the service protection method of the distributed switching system according to any one of the preceding aspects.

[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium storing a service protection program of a distributed switching system, wherein the service protection program of the distributed switching system, when executed by a processor, implements the steps of the service protection method of the distributed switching system according to any one of the preceding aspects.

[0016] The technical scheme provided by the embodiment of the present application has the following beneficial effects: By searching the forwarding table according to the destination node of service forwarding of the service line card chip, the corresponding forwarding link is obtained; according to the state of the forwarding link, the available link is screened; and according to the number of the available link, the service line card chip is controlled to stop sending service traffic or continue sending service traffic, thereby effectively solving the technical problem of irrelevant service flash-off in the system when the cross board card chip is congested or the service line card is pulled out, enhancing the stability and reliability of the distributed switching system, reducing the operation and maintenance cost, and improving the overall performance of the distributed system. BRIEF DESCRIPTION OF DRAWINGS

[0017] Figure 1 FIG. 1 is a structural schematic diagram of a distributed switching system; Figure 2 FIG. 2 is a traffic distribution state schematic diagram of the distributed switching system in normal operation; Figure 3 FIG. 3 is a scene schematic diagram of irrelevant service flash-off caused by cross chip congestion and packet loss; Figure 4 FIG. 4 is a traffic distribution state schematic diagram of the distributed switching system when the service line card is pulled out; Figure 5 FIG. 5 is a scene schematic diagram of irrelevant service flash-off caused by service packet loss when the service line card is pulled out; Figure 6 FIG. 6 is a flow schematic diagram of an embodiment of the service protection method of the distributed switching system of the present application; Figure 7 FIG. 7 is a functional module schematic diagram of the service protection device of the distributed switching system; Figure 8A specific flowchart of a service protection method for a distributed switching system; Figure 9 A hardware structure diagram of a service protection device for a distributed switching system involved in the embodiment of the present application. DETAILED DESCRIPTION

[0018] In order to enable persons skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by persons skilled in the art without creative labor fall within the scope of protection of the present application.

[0019] In order to make the purpose, technical solutions and advantages of the present application clearer, the embodiments of the present application will be described in further detail below with reference to the drawings.

[0020] First, the specific scene of the technical problem solved by the present application is introduced: For example, a distributed switching system in an OTN device. The ODU service carried by the OTN device is a TDM type service, and therefore is very sensitive to packet loss, delay and jitter of the service. In a distributed OTN device, the switching system of the backplane must meet the requirements of no blocking, low delay and jitter of the ODU service. The business line card and the cross board card of the backplane switching system usually adopt "symmetric design", that is, the same number of links are used for full connection between each business line card and each cross board card to achieve the effect of traffic load balancing. As shown in Figure 1 The distributed switching system is composed of three business line card chips LC-A, LC-B, LC-C and two cross board card chips SC-A, SC-B, and each business line card chip LC (Line Card) and cross board card chip SC (Switch Card) uses 4 data lines link1~link4 for interconnection.

[0021] The first scenario is that the cross chip congestion packet loss causes unrelated service blackout. As shown in Figure 2 LC-B and LC-C establish two 40G ODU3 services to LC-A, and then link1~link4 of LC-A carries 20G traffic respectively. As shown in Figure 3As shown, when the line card where LC-B is located is pulled out, the interconnections between LC-B and the cross board link1~link4 gradually decrease, and the 40G traffic of LC-B will be load shared in the remaining links. When link3 and link4 are interrupted, link1 and link2 will respectively carry 30G of instantaneous traffic, which exceeds the physical bandwidth of link1 and link2, causing link congestion and packet loss. This will cause the irrelevant traffic from LC-C to LC-A carried on link1 and link2 to be interrupted, and this impact will continue until the line card where LC-B is located is completely pulled out, the traffic of LC-B on link1 and link2 disappears, and the service is restored.

[0022] In the second scenario, the service line card is pulled out, and the burst of service packet loss causes the irrelevant service to be interrupted. Figure 2 As shown, two 40G ODU3 services from LC-B and LC-C to LC-A are established, and link1~link4 of LC-A carries 20G traffic. When the line card where LC-B is located is pulled out, the interconnections between LC-B and the cross board link1~link4 gradually decrease, and the 40G traffic of LC-B will be load shared in the remaining links. As shown, Figure 4 As shown, when the line card where LC-B is located is pulled out, the interconnections between LC-B and the cross board link1~link4 gradually decrease, and the 40G traffic of LC-B will be load shared in the remaining links. As shown, Figure 5 As shown, when the line card where LC-B is located is pulled out, the interconnections between LC-B and the cross board link1~link4 gradually decrease, and the 40G traffic of LC-B will be load shared in the remaining links. As shown,

[0023] As can be seen, the above two scenarios seriously affect the stability of the network and the continuity of the service. Frequent service interruption may also increase the complexity and cost of network maintenance, as additional resources and time are needed to diagnose and repair the problem.

[0024] Therefore, the application provides a service protection method, device, equipment and medium of a distributed switching system to solve the irrelevant service outage problem caused by cross-board card chip congestion or service line card pull-out operation as shown in the above scenario.

[0025] In a first aspect, the embodiments of the application provide a service protection method of a distributed switching system. The method can run on a service line card chip.

[0026] In an embodiment, referring to Figure 6 to Figure 8 , Figure 6 is a flowchart of a first embodiment of the service protection method of the distributed switching system of the application. As shown in Figure 6 , the service protection method of the distributed switching system comprises: Step S101, searching a forwarding table according to a destination node of service forwarding of a service line card chip to obtain a corresponding forwarding link.

[0027] In an embodiment, the forwarding link of each service line card chip can be configured according to the backplane hardware design, and the minimum available link threshold of the service line card chip is set according to the traffic bandwidth borne by the service line card chip, the number of cross-board card chips used for forwarding the service of the service line card chip, and the carrying capacity of the forwarding link, with the goal that the service traffic borne on the available link does not exceed its carrying capacity.

[0028] Before searching the forwarding table according to the destination node of service forwarding of the service line card chip, it further comprises generating the forwarding table according to the global link topology of the distributed system where the service line card chip is located.

[0029] Demonstratively, a topology automatic generation module in the distributed switching system receives link information linkMsg from each interface of the system, wherein the linkMsg includes the link identification link id and neighbor information of the link between each node (service line card chip and cross-board card chip) in the distributed switching system, and the linkMsg is used for link topology discovery. The topology automatic generation module analyzes the received linkMsg to generate the global link topology of the distributed switching system, and further generates the forwarding table of the distributed switching system.

[0030] When the service line card chip needs to perform service forwarding, the lookup in the service line card chip searches the forwarding table according to the destination node in the service forwarding request to obtain the corresponding forwarding link. For example, when LC-B needs to forward services to LC-A, 4 forwarding links of link1 and link2 through SC-A and link3 and link4 through SC-B can be obtained by searching the forwarding table.

[0031] Step S102, screening the available link in the forwarding link according to the state of the forwarding link.

[0032] In an embodiment, the available links are screened according to the activation state and load state of the forwarding links.

[0033] Specifically, since the forwarding links in the non-activation state cannot be used, and the links with a load greater than or equal to the load threshold are prone to congestion, the forwarding links in the non-activation state or in the activation state but with a load greater than or equal to the load threshold can be removed by the screening module of the service line card chip; and the forwarding links in the activation state and with a load less than the preset load threshold are taken as the available links.

[0034] In step S103, the service line card chip is controlled to stop or continue sending service traffic according to the number of the available links.

[0035] In an embodiment, if the number of the available links is less than a preset minimum available link threshold, the service line card chip is controlled to stop sending service traffic; and if the number of the available links is greater than the minimum available link threshold, the service line card chip is controlled to continue sending service traffic.

[0036] In an optional embodiment, if the number of the available links is greater than the minimum available link threshold, the service line card chip is controlled to continue sending service traffic, specifically including: the service line card chip is controlled by the load balancing module to evenly distribute service traffic to the available links for load balancing.

[0037] Explanatorily, the service line card chip further includes an interface module, which is used to complete physical implementation of MAC, PCS and SerDes components in the OTN device, receives link information LinkMsg, and feeds back the state of the link, such as whether the link is in the activation state LinkUp and the load state of the link, to the screening module, to help the screening module screen the available links from the forwarding links.

[0038] It is worth noting that in the embodiment, the service line card chip is controlled to stop sending service traffic when the number of the available links for service forwarding of the service line card chip is less than the minimum available link threshold, which avoids link congestion and packet loss caused by the available links of the service line card carrying traffic exceeding the physical bandwidth, thereby avoiding other irrelevant services on the link from being interrupted, and also avoiding burst traffic caused by "reordering" timeout of the export chip, and reducing the requirement for the cache depth of the sending queue of the chip export.

[0039] This optimization not only improves the efficiency of network resource utilization, but also reduces the potential data loss caused by buffer overflow, enhances the stability and reliability of the distributed switching system, reduces the operation and maintenance cost, and improves the overall performance of the distributed system. Through automatic link monitoring and control, the need for manual intervention is reduced, thereby reducing the cost of network operation and maintenance. The automatic fault detection and recovery mechanism reduces the economic loss caused by business interruption, and also reduces the workload of network administrators.

[0040] Moreover, the algorithm design of the minimum available link threshold has high scalability and can be widely applied in the design of various distributed switching systems. Whether implemented through software or chip circuit, this method can effectively enhance the running stability of the system. In addition, this flexibility enables the system to adapt to changing network demands and environments, providing convenience for future network upgrades and expansions.

[0041] In a specific embodiment, taking Figure 2 for example, the implementation of the service protection method of the distributed switching system is as follows: According to the hardware design of the backplane link of the distributed switching system of the device, the forwarding link of each service line card chip is configured as 4 Links, and the minimum available link threshold is set as 3 Links according to the traffic bandwidth carried by the line card and the number of cross-boards. The distributed switching system topology automatic generation module calculates the forwarding table between each service line card chip node.

[0042] For the first scenario, irrelevant service blackout caused by cross-chip congestion packet loss: LC-B and LC-C's lookup module gets the forwarding links of LC-A traffic as link1~link4. When LC-B's link3 and link4 are both interrupted, LC-B's interface module quickly senses the interruption of link3 and link4 due to the lack of linkMsg from the opposite end. The filtering module quickly senses the linkup interruption through the interface module, removes link3 and link4 from the forwarding links, and the available links are link1 and link2, and the number of available links is 2, which is less than the minimum available link threshold of 3. LC-B stops sending traffic, and LC-C's irrelevant service is not affected.

[0043] For the second scenario, irrelevant service blackout caused by sudden loss of disk business packets: when LC-B's link2 and link3 are both interrupted, although the system can still work normally at this time, LC-B judges that the available links are link1 and link4, the number is 2, which is less than the minimum available link threshold of 3. LC-B stops sending traffic, which avoids the "reordering" timeout burst problem caused by the subsequent link1 interruption, and LC-C's irrelevant service is not affected.

[0044] The method for protecting services of the distributed switching system provided by the embodiments of the present application collects link information between service line card chips and cross board card chips of a backplane switching system, generates a global link topology of the backplane after processing the link information, filters out available links according to link Up / Down and load states, and sprays traffic evenly on the available links according to a preconfigured minimum available link threshold if the number of available links is greater than or equal to the minimum available link threshold, or stops sending traffic if the number of available links is less than the minimum available link threshold. The method solves the serious problem of unrelated service flash-off caused by disk pulling of an OTN device, ensures the stability of system operation, avoids burst traffic caused by "reordering" timeout of an export chip, reduces and optimizes the cache depth of the export sending queue of the chip, and enhances the stability of the whole system operation.

[0045] In a second aspect, the embodiments of the present application further provide a device for protecting services of a distributed switching system.

[0046] In an embodiment, the device for protecting services of the distributed switching system comprises: Figure 7 , Figure 7 FIG. 1 is a schematic diagram of functional modules of an embodiment of the device for protecting services of the distributed switching system of the present application. As shown in FIG. 1, the device for protecting services of the distributed switching system comprises: Figure 7 a searching module configured to search a forwarding table according to a destination node of service forwarding of a service line card chip to obtain a corresponding forwarding link; a filtering module configured to filter out available links from the forwarding link according to a state of the forwarding link; a control module configured to control the service line card chip to stop sending service traffic or continue sending service traffic according to a number of the available links.

[0047] Further, in an embodiment, the control module is further configured to: control the service line card chip to stop sending service traffic if the number of the available links is less than a preconfigured minimum available link threshold; control the service line card chip to continue sending service traffic if the number of the available links is greater than the minimum available link threshold. Further, in an embodiment, the device further comprises a setting module configured to: set the minimum available link threshold according to a traffic bandwidth borne by the service line card chip, a number of cross board card chips used for forwarding services of the service line card chip, and a bearing capacity of the forwarding link, with the objective that service traffic borne on the available link does not exceed the bearing capacity thereof.

[0048] Further, in an embodiment, the control module is further configured to: ​controlling the service line card chip to load balance, evenly distributing service traffic to the available links.

[0049] Further, in an embodiment, the screening module is further configured to: screening the forwarding links according to their activation states and load states, and obtaining available links.

[0050] Further, in an embodiment, the screening module is further configured to: eliminating the forwarding links in non-activation state, or in activation state but with load greater than or equal to the load threshold; taking the forwarding links in activation state and with load less than the preset load threshold as the available links.

[0051] Further, in an embodiment, the apparatus further comprises a topology automatic generation module configured to: generating the forwarding table according to the global link topology of the distributed system where the service line card chip is located.

[0052] The functions of the modules in the service protection apparatus of the distributed switching system are corresponding to the steps in the method for protecting service of the distributed switching system, and the functions and implementation processes are not repeated here.

[0053] In a third aspect, the embodiments of the present application provide a service protection apparatus device of a distributed switching system. The service protection apparatus device of the distributed switching system can be an OTN device, a server, or other devices with data processing functions.

[0054] Reference Figure 9 , Figure 9 Fig. 1 is a schematic diagram of a hardware structure of a service protection apparatus device of a distributed switching system according to an embodiment of the present application. In the embodiments of the present application, the service protection apparatus device of the distributed switching system can include a processor, a memory, a communication interface, and a communication bus.

[0055] The communication bus can be of any type, and is used to interconnect the processor, the memory, and the communication interface.

[0056] The communication interface includes an input / output (I / O) interface, a physical interface, and a logical interface, and other interfaces for interconnecting devices inside the service protection apparatus device of the distributed switching system, and interfaces for interconnecting the service protection apparatus device of the distributed switching system with other devices (such as other computing devices or user devices). The physical interface can be an Ethernet interface, a fiber interface, an ATM interface, etc.; the user device can be a display (Display), a keyboard (Keyboard), etc.

[0057] The memory can be various types of storage media such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), and the like.

[0058] The processor can be a general-purpose processor, which can invoke the service protection device program of the distributed switching system stored in the memory and execute the method of the service protection device of the distributed switching system provided in the embodiments of the present application. For example, the general-purpose processor can be a central processing unit (CPU). The method executed when the service protection device program of the distributed switching system is invoked can refer to each embodiment of the method of the service protection device of the distributed switching system of the present application, which will not be described herein.

[0059] Those skilled in the art can understand that the hardware structure shown in the above-mentioned embodiments is not a limitation to the present application, and can include more or less components than the illustrated components, or combine certain components, or different component arrangements. Figure 9

[0060] In a fourth aspect, the embodiments of the present application further provide a computer readable storage medium.

[0061] The computer readable storage medium of the present application stores the service protection device program of the distributed switching system, wherein when the service protection device program of the distributed switching system is executed by the processor, the steps of the method of the service protection device of the distributed switching system as described above are implemented.

[0062] The method implemented when the service protection device program of the distributed switching system is executed can refer to each embodiment of the method of the service protection device of the distributed switching system of the present application, which will not be described herein.

[0063] It should be noted that the above-mentioned sequence numbers of the embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.

[0064] ​The terms “include,” “comprise,” “have,” and any variations thereof, in the Specification and in the Claims of the present application, and the above-mentioned drawings, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that includes a list of steps or units is not limited to the listed steps or units, but can optionally further include steps or units not listed, or can optionally further include other steps or units inherent to such processes, methods, products, or devices. The terms “first,” “second,” and “third” and the like descriptions are used to distinguish different objects, and do not represent a sequence or limit the types of “first,” “second,” and “third.”

[0065] In the description of the embodiments of the present application, “exemplary”, “for example”, or “for instance” is used to represent an example, an illustration, or a description. Any embodiment or design scheme described as “exemplary”, “for example”, or “for instance” in the embodiments of the present application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. Rather, the words “exemplary”, “for example”, or “for instance” are intended to present the relevant concept in a specific manner.

[0066] In the description of the embodiments of the present application, unless otherwise specified, “ / ” represents the meaning of or, for example, A / B can represent A or B; “and / or” in the text only represents a description of the relationship between the associated objects, which means that there can be three relationships, for example, A and / or B can represent the three cases of A alone, A and B together, and B alone. In addition, in the description of the embodiments of the present application, “multiple” means two or more than two.

[0067] In some of the processes described in the embodiments of the present application, a plurality of operations or steps are included in a specific order, but it should be understood that these operations or steps can be executed or performed in parallel or in an order different from that in which they appear in the embodiments of the present application. The serial number of the operation is only used to distinguish different operations, and the serial number itself does not represent any execution order. In addition, these processes can include more or fewer operations, and these operations or steps can be executed in sequence or in parallel, and these operations or steps can be combined.

[0068] From the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment method can be realized by means of software and a general hardware platform as required, of course, it can also be realized by hardware, but in many cases the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, an optical disk) as described above, and includes a plurality of instructions for causing a terminal device to execute the methods described in the embodiments of the present application.

[0069] The preferred embodiments of the present application have been described above with the illustrated embodiments, and are not intended to limit the scope of patent protection for the present application. Any equivalent structure or equivalent process variations, which directly or indirectly incorporate the contents of the specification and drawings of the present application, are also intended to be included within the scope of patent protection for the present application.

Claims

1. A service protection method for a distributed switching system, characterized by, The service protection method of the distributed switching system comprises: finding a forwarding table according to a destination node of service forwarding of a service line card chip to obtain corresponding forwarding links; screening available links from the forwarding links according to states of the forwarding links; controlling the service line card chip to stop sending service traffic or continue sending service traffic according to a number of the available links.

2. The service protection method of a distributed switching system as claimed in claim 1, wherein, The controlling the service line card chip to stop sending service traffic or continue sending service traffic according to the number of the available links comprises: if the number of the available links is less than a preset minimum available link threshold, controlling the service line card chip to stop sending service traffic; if the number of the available links is greater than the minimum available link threshold, controlling the service line card chip to continue sending service traffic.

3. The service protection method of a distributed switching system as claimed in claim 2, wherein, Before the controlling the service line card chip to stop sending service traffic or continue sending service traffic according to the number of the available links, the method further comprises: setting the minimum available link threshold according to a traffic bandwidth borne by the service line card chip, a number of cross board card chips used for forwarding service of the service line card chip and a bearing capacity of the forwarding links, and taking service traffic borne on the available links not exceeding the bearing capacity as a target.

4. The service protection method of a distributed switching system as claimed in claim 2, wherein, If the number of the available links is greater than the minimum available link threshold, the controlling the service line card chip to continue sending service traffic comprises: controlling the service line card chip to evenly distribute service traffic to the available links as a target.

5. The service protection method of a distributed switching system as claimed in claim 1, wherein, The screening the available links from the forwarding links according to the states of the forwarding links comprises: screening the available links from the forwarding links according to activation states and load states of the forwarding links.

6. The service protection method of a distributed switching system as claimed in claim 5, wherein, The screening the available links from the forwarding links according to the activation states and the load states of the forwarding links comprises: eliminating forwarding links in a non-activation state or in an activation state but with a load greater than or equal to the load threshold; taking forwarding links in an activation state and with a load less than a preset load threshold as the available links.

7. The service protection method of a distributed switching system as claimed in claim 1, wherein, Before the finding the forwarding table according to the destination node of service forwarding of the service line card chip, the method further comprises: generating the forwarding table according to a global link topology of a distributed system where the service line card chip is located.

8. A service protection apparatus of a distributed switching system, characterized by comprising: The service protection device of the distributed switching system comprises: a finding module configured to find a forwarding table according to a destination node of service forwarding of a service line card chip to obtain corresponding forwarding links; a screening module configured to screen available links from the forwarding links according to states of the forwarding links; a control module configured to control the service line card chip to stop sending service traffic or continue sending service traffic according to a number of the available links.

9. A service protection device for a distributed switching system, characterized by The service protection device of the distributed switching system comprises a processor, a memory and a service protection program of the distributed switching system stored on the memory and executable by the processor, wherein the service protection program of the distributed switching system is executed by the processor to implement steps of the service protection method of the distributed switching system according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a service protection program of a distributed switching system, and the service protection program of the distributed switching system, when executed by the processor, implements the steps of the service protection method of the distributed switching system according to any one of claims 1 to 7.