State detection method and device, equipment and storage medium

By monitoring the extreme difference of link traffic within the link group and setting thresholds in the DDC system, the working and health status of the link group is determined, and the problem of inaccurate detection of backplane link load balancing status is solved, achieving higher detection accuracy and system stability.

CN119728482APending Publication Date: 2025-03-28RUIJIE NETWORKS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311277712.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-28
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

In existing DDC systems, the load balancing state detection of the backplane link is not accurate enough, which causes the link to fail to achieve the expected load balancing state, resulting in the problem of packet loss and forwarding performance degradation.

Method used

By monitoring the traffic of each link in the first link group within one cycle, calculating the traffic extremes, and comparing it with the set threshold, the working status and health status of the link group are determined, thereby improving the accuracy of link state detection.

Benefits of technology

This method can accurately evaluate the health status of the link group, promptly identify traffic abnormalities, reduce the time for manual positioning and troubleshooting, improve the accuracy of detecting link status, and maintain the normal operation of the backplane.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119728482A_ABST
    Figure CN119728482A_ABST
Patent Text Reader

Abstract

The invention discloses a state detection method and device, equipment and a storage medium, is suitable for the technical field of communication, and is used for improving the accuracy of link detection. The method comprises the following steps: determining the traffic range of a first link group in a period according to the traffic of each link in the first link group in the period; determining the working state of the first link group in any period by comparing the flow range of the first link group in any period with a first threshold value; and determining the health state of the first link group according to the working states of the first link group in the plurality of periods. According to the method, the health state of the link group is determined by detecting the flow flowing through the link group, so that the detection process can cover various flow abnormality conditions, such as message flow abnormality, occurring on the link group, the detection mode is more comprehensive, and the accuracy of link detection is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a state detection method, device, equipment and storage medium. Background Art

[0002] A distributed disaggregated chassis (DDC) system has a backplane, which achieves traffic balancing through the cell RR (Round Robin) scheduling mode. In theory, this mode can achieve complete balance of message traffic.

[0003] However, affected by potential problems such as scalable serdes framer interface (SFI, hereinafter referred to as interface) anomalies, channel congestion, forwarding table errors, etc., the link on the backplane may not be able to achieve the expected load balancing state, which may cause backplane packet loss and forwarding performance degradation. Once such problems occur, in addition to the positioning means provided by the manufacturer, the customer operation and maintenance is also required to perform manual positioning and check the devices one by one, which not only wastes time, but may also cause positioning errors due to the lack of experience of the troubleshooter, which is not conducive to improving the accuracy of detecting link status.

[0004] In summary, a state detection method is currently needed to improve the accuracy of detecting link states. Summary of the invention

[0005] The present application provides a status detection method to improve the accuracy of detecting link status.

[0006] In a first aspect, the present application provides a state detection solution, including:

[0007] First, based on the traffic of each link in the first link group in a cycle, the traffic extreme value of the first link group in the cycle is determined; then, by comparing the traffic extreme value of the first link group in any cycle with the first threshold, the working status of the first link group in the cycle is determined; finally, based on the working status of the first link group in multiple cycles, the health status of the first link group is determined.

[0008] In the above design, the traffic extreme value of the first link group is obtained according to the traffic of each link in a cycle, so as to evaluate the discreteness of the first link group and then determine the health status of the first link group, so as to improve the accuracy of detecting the link status and maintain the normal operation of the backplane.

[0009] In one possible design, the first link group includes N links, where the link is a traffic channel between a network cloud switching board and a network cloud message forwarder, and N is a positive integer greater than or equal to two.

[0010] In the above design, multiple links are designed between the network cloud switching board and the network cloud message forwarder, which can be used to evaluate the health status of the first link group.

[0011] In one possible design, the traffic of any link within a cycle is the difference between the second traffic and the first traffic, where the first traffic is the traffic obtained by reading the link at the beginning of the cycle; the second traffic is the traffic obtained by reading the link at the end of the cycle.

[0012] In the above design, because the traffic of the link is cumulative, the traffic value of each link in the first link group is read twice, so that the traffic of each link in the period can be accurately obtained.

[0013] In one possible design, the traffic extreme difference of the first link group within the cycle is the difference between the traffic of the first link within the cycle and the traffic of the second link within the cycle. The first link is the link with the largest traffic in the first link group within the cycle, and the second link is the link with the smallest traffic in the first link group within the cycle.

[0014] In the above design, the range can reflect the discrete degree of the traffic of the first link group, thereby reflecting the equilibrium state of each link of the first link group, and further reflecting the health state of the first link group. Therefore, this application selects the range as an evaluation indicator of the health state of the backplane within a cycle.

[0015] In one possible design, the first threshold is a maximum difference in traffic allowed to flow between any two links in the first link group.

[0016] In the above design, the user can independently set the first threshold value to meet different needs and occasions.

[0017] In one possible design, the working status of the first link group within the cycle is determined by comparing the traffic extreme difference of the first link group within any cycle with the first threshold, including: if the traffic extreme difference of the first link group does not exceed the first threshold, the working status of the first link group is determined to be normal, and this cycle is marked as the first cycle; if the traffic extreme difference of the first link group exceeds the first threshold, the working status of the first link group is determined to be abnormal, and this cycle is marked as the second cycle.

[0018] In the above design, the working status can reflect the health status of the first link group within a cycle, and a period of time can be divided into multiple continuous cycles. Therefore, this application selects the working status as an evaluation indicator of the health status of the backplane within a period of time.

[0019] In one possible design, the working status of the first link group includes normal and abnormal. The health status of the first link group is determined according to the working status of the first link group in multiple cycles, including: if the cumulative value of the second cycle of the first link group in multiple cycles exceeds the second threshold, it is determined that the first link group is in a fault state.

[0020] In the above design, the user can independently set the second threshold value to determine the health status of the first link group, accurately determine the abnormal traffic forwarding of the first link group, prevent misjudgment, and improve the accuracy of detection.

[0021] In one possible design, the first link group is included in a backplane, and the backplane includes multiple link groups; the method also includes: if at least one link group in the backplane is in a faulty state, a traffic balancing abnormality alarm is triggered.

[0022] In the above design, there are multiple link groups on the backplane. As long as one link group fails, the user is notified to repair the corresponding equipment in the DDC system, thereby maintaining the normal operation of the DDC system.

[0023] In a second aspect, the present application provides a device for state detection, the device comprising:

[0024] An acquisition module, used to determine the flow extreme difference of the first link group within a period according to the flow of each link in the first link group within a period;

[0025] A judgment module, used to determine the working state of the first link group in a period by comparing the flow extreme difference of the first link group in any period with a first threshold;

[0026] The processing module is used to determine the health status of the first link group according to the working status of the first link group in multiple cycles.

[0027] In one possible design, the acquisition module is specifically used for: the first link group includes N links, the link is a traffic channel between the network cloud switching board and the network cloud message forwarder, and N is a positive integer greater than or equal to two.

[0028] In a further possible design, the acquisition module is also used for: the flow of any link within a cycle is the difference between the second flow and the first flow, the first flow is the flow obtained by reading the link at the beginning of the cycle; the second flow is the flow obtained by reading the link at the end of the cycle.

[0029] In a further possible design, the acquisition module is also used for: the traffic extreme difference of the first link group within the cycle is the difference between the traffic of the first link within the cycle and the traffic of the second link within the cycle, the first link is the link with the largest traffic in the first link group within the cycle, and the second link is the link with the smallest traffic in the first link group within the cycle.

[0030] In one possible design, the first threshold is a maximum difference in traffic allowed to flow between any two links in the first link group.

[0031] In one possible design, the judgment module is specifically used to: determine the working status of the first link group within the cycle by comparing the traffic extreme difference of the first link group within any cycle and the first threshold, including: if the traffic extreme difference of the first link group does not exceed the first threshold, then the working status of the first link group is determined to be normal, and this cycle is marked as the first cycle; if the traffic extreme difference of the first link group exceeds the first threshold, then the working status of the first link group is determined to be abnormal, and this cycle is marked as the second cycle.

[0032] In one possible design, the processing module is specifically used to: determine the health status of the first link group based on the working status of the first link group in multiple cycles, including: if the cumulative value of the second cycle of the first link group in multiple cycles exceeds a second threshold, then determine that the first link group is in a fault state.

[0033] In a further possible design, the processing module is also used to: trigger a traffic balancing abnormality alarm if at least one link group in the backplane is in a faulty state.

[0034] In a third aspect, the present application also provides a computer device comprising at least one processor and at least one memory, wherein the memory stores a computer program, and when the program is executed by the processor, the processor executes the state detection method as in the first aspect or any one of the designs of the first aspect.

[0035] In a fourth aspect, the present application also provides a computer-readable storage medium, which stores a computer program executable by a computing device. When the program runs on the computing device, the computing device executes the state detection method in the above-mentioned first aspect or any one of the designs of the first aspect.

[0036] These aspects (ie, the first to fourth aspects) or other aspects of the present application will be more concise and understandable in the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0038] Figure 1 A schematic diagram of the structure of a backplane provided in an embodiment of the present application;

[0039] Figure 2 A schematic diagram of the connection of network devices in a DDC system provided in an embodiment of the present application;

[0040] Figure 3 A topological diagram of a large-scale system provided in an embodiment of the present application;

[0041] Figure 4 A flow chart of a state detection method provided in an embodiment of the present application;

[0042] Figure 5 A schematic diagram of a flow chart of a single link group detection algorithm provided in an embodiment of the present application;

[0043] Figure 6 A schematic diagram of a flow chart of a multiple link group detection algorithm provided in an embodiment of the present application;

[0044] Figure 7 A schematic diagram of the structure of a state detection device provided in an embodiment of the present application;

[0045] Figure 8 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the present application more clear, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments.

[0047] Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making any creative work also fall within the scope of protection of this application.

[0048] As described in the background technology, the backplane link detection in the current DDC system cannot cover the link abnormality situation. Therefore, people began to look for a working method that can actively detect traffic abnormalities, which can not only find the backplane link abnormality problem in time, but also save the cost of manual detection.

[0049] The embodiment of the present application provides a status detection method, which uses the backplane link balance as a monitoring indicator and cooperates with the detection algorithm to cover most of the backplane link abnormal situations and improve the accuracy of detecting the link status.

[0050] Figure 1 The schematic diagram of the structure of a backplane provided in an embodiment of the present application is shown as an example. Figure 1 As shown, the backplane 110 includes a circuit board 111, a first interface group 112, a first link group 113 and a second interface group 114. The first interface group 112 is disposed on the circuit board 111, the first link group 113 and the second interface group 114 are disposed outside the circuit board 111, and one end of the first link group 113 is connected to the first interface group 112, and the other end is connected to the second interface group 114.

[0051] It can be understood that each interface group in the first interface group 112 and the second interface group 114 includes at least two interfaces, and the number of interfaces included is related to the number of links included in the first link group 113. Figure 1 As shown, the first link group 113 includes three links, so the first interface group 112 and the second interface group 114 each include three interfaces, and the three interfaces in the first interface group 112 and the three interfaces in the second interface group 114 are connected in a one-to-one correspondence.

[0052] For further illustration, please refer to Figure 1 The circuit board 111 and the first interface group 112 may be installed in the first network cloud switching board 11. The first network cloud switching board 11 is used to exchange data between network cloud message forwarders.

[0053] Optionally, the first link group 113 may be understood as a physical line between the first interface group 112 and the second interface group 114 . For example, the first link group 113 may be a cable or an optical fiber.

[0054] Optionally, the circuit board 111 is fixed to the first interface group 112. There are many ways to achieve the fixation, such as welding, threaded connection, etc.

[0055] based on Figure 1 The back panel shown, Figure 2 A schematic diagram of network device connection in a DDC system provided in an embodiment of the present application is shown, and the DDC system includes a network cloud switching board group 10 and a network cloud message forwarder group 20. The network cloud switching board group 10 includes at least one network cloud switching board, such as the first network cloud switching board 11 shown in the figure. The network cloud message forwarder group 20 includes at least a first network cloud message forwarder 21 and a second network cloud message forwarder 22. Figure 2For example, the network cloud switching board group 10 includes a first network cloud switching board 11. The network cloud message forwarder group 20 includes a first network cloud message forwarder 21, a second network cloud message forwarder 22, and a third network cloud message forwarder 23.

[0056] Please join together Figure 1 and Figure 2 In one scenario, the first interface group 112 can be installed in the first network cloud switching board 11, and the second interface group 114 can be installed in the first network cloud message forwarder 21, and the message traffic is sent from the first network cloud message forwarder 21 to the first network cloud switching board 11 through the first link group 113.

[0057] Understandably, Figure 2 The example above only shows that the DDC system has one network cloud switching board and three network cloud message forwarders. However, in actual operation, there may be multiple network cloud switching boards and network cloud message forwarders in the DDC system. Figure 3 A large-scale system topology diagram provided by an embodiment of the present application is shown. The DDC system has a network cloud switching board and b network cloud message forwarders, where a is a positive integer greater than or equal to 1, and b is a positive integer greater than or equal to 2. When a link has a traffic anomaly, the traffic extreme difference of the link group to which it belongs exceeds the threshold, which may cause problems such as backplane data packet loss and forwarding performance degradation. After a period of time, after causing traffic anomalies between multiple links, it may cause problems such as data packet loss and forwarding performance degradation of the entire DDC system.

[0058] based on Figure 2 In the application scenario shown, the embodiment of the present application provides a state detection method, which can be used to detect the health state of the link group, and then determine the health state of the backplane. The specific method flow is introduced below.

[0059] Figure 4 A flow chart of a state detection method provided in an embodiment of the present application includes the following steps:

[0060] Step 401, determining the flow extreme difference of the first link group in a period according to the flow of each link in the first link group in the period;

[0061] For example, see above Figure 1 There is at least one first link group on the backplane, and the first link group includes N links, where the link is a traffic channel between the network cloud switching board and the network cloud message forwarder, and N is a positive integer greater than or equal to 2.

[0062] In the above design, by designing multiple links between the network cloud switching board and the network cloud message forwarder, and detecting any link in the backplane according to this solution, the health status of the first link group can be evaluated.

[0063] Further illustratively, the flow of any link in a cycle is the difference between the second flow and the first flow, the first flow is the flow obtained by reading the link at the beginning of the cycle; the second flow is the flow obtained by reading the link at the end of the cycle.

[0064] In the above design, because the traffic of the link is cumulative, the traffic value of each link in the first link group is read twice, so that the traffic of each link in a cycle can be accurately obtained.

[0065] As a further example, the traffic flowing through each link in the first link group within a cycle can be obtained, and then the traffic flowing through each link within the cycle can be compared to determine the link with the largest traffic (i.e., the first link) and the link with the smallest traffic (i.e., the second link). Then, the traffic of the first link is subtracted from the traffic of the second link, and the calculated difference traffic is used as the traffic extreme value of the first link group within the cycle.

[0066] In the above design, the range can reflect the discrete degree of the traffic of the first link group, thereby reflecting the equilibrium state of each link of the first link group, and further reflecting the health state of the first link group. Therefore, this application selects the range as an evaluation indicator of the health state of the backplane within a cycle.

[0067] For ease of understanding, a specific example is given below to illustrate. Figure 1 and Figure 2 , assuming that there is a first link group 113 on the backplane 110 in this example, the first link group 113 includes three links, namely link 1131, link 1132 and link 1133, each link is a traffic channel between the first network cloud switching board 11 and the first network cloud message forwarder 21.

[0068] Exemplarily, the first network cloud message forwarder 21 is installed with traffic detection software for detecting the traffic sent by each interface in the second interface group 114 , thereby obtaining the traffic flowing through each link in the first link group 113 .

[0069] First, a period of time is set as a cycle. At the beginning of each cycle, the traffic sent by link 1131 is detected and recorded as the first traffic. At the end of each cycle, the traffic sent by link 1131 is detected and recorded as the second traffic. The difference between the second traffic and the first traffic is the traffic of link 1131 in each cycle. Similarly, the traffic of link 1132 and link 1133 in each cycle is obtained respectively.

[0070] Secondly, the range of the traffic in the first link group 113 is determined based on the traffic of the link 1131, the link 1132, and the link 1133. For example, the traffic of the link 1131 is the maximum value of the three links in the first link group 113, and the traffic of the link 1133 is the minimum value of the three links in the first link group 113, then the traffic difference between the link 1131 and the link 1133 is the traffic range of the first link group 113.

[0071] Thus, according to the above method, the traffic range difference on the first link group can be obtained, and the traffic range difference is related to the traffic flowing on each link included in the first link group, and can reflect the traffic state of the message flowing on each link.

[0072] Step 402, determining the working state of the first link group in any period by comparing the flow extreme difference of the first link group in any period with a first threshold;

[0073] Exemplarily, the first threshold is the maximum difference in traffic allowed to flow between any two links of the first link group, which can be understood as the maximum traffic difference that the first link group can withstand under its hardware capabilities. The first threshold can be obtained based on experimental verification, and can also support user self-setting to suit different demand occasions.

[0074] Exemplarily, the working status of the first link group within the period can be determined in the following manner: if the traffic extreme difference of the first link group does not exceed the first threshold, the working status of the first link group is determined to be normal, and this period is marked as the first period; if the traffic extreme difference of the first link group exceeds the first threshold, the working status of the first link group is determined to be abnormal, and this period is marked as the second period.

[0075] For example, please combine Figure 1 and Figure 2 In the actual working process, the user can set a first threshold to judge the working state of the first link group 113. If the extreme difference of the first link group 113 does not exceed the first threshold, the working state of the first link group 113 is judged to be normal, and this period is marked as the first period; if the extreme difference of the first link group 113 exceeds the first threshold, the working state of the first link group 113 is judged to be abnormal, and this period is marked as the second period. Similarly, for other link groups of the backplane 110, thresholds can also be set to measure the working state of the link group.

[0076] In the above design, the working status can reflect the health status of the first link group within a cycle, and a period of time can be divided into multiple continuous cycles. Therefore, this application selects the working status as an evaluation indicator of the health status of the backplane within a period of time.

[0077] Step 403: Determine the health status of the first link group according to the working status of the first link group in multiple cycles.

[0078] Exemplarily, the working state of the first link group includes normal and abnormal. In this case, the health state of the first link group is determined according to the working state of the first link group in multiple cycles, including: if the cumulative value of the second cycle of the first link group in multiple cycles does not exceed the second threshold, then the first link group is determined to be in a normal state; if the cumulative value of the second cycle of the first link group in multiple cycles exceeds the second threshold, then the first link group is determined to be in a fault state. Optionally, when the first link group is faulty, a traffic balancing abnormality alarm can also be triggered.

[0079] Further illustratively, the second threshold may be a value set by the user during actual working process, representing the maximum number of cycles that can be allowed to occur continuously, and is used to determine the health status of the first link group.

[0080] In the above design, the abnormal traffic forwarding situation of the first link group can be accurately judged through the working status of the first link group in multiple cycles, thereby preventing misjudgment and saving labor costs.

[0081] For further examples, please combine Figure 1 and Figure 2 , assuming that the second threshold is 3, if the first link group 113 is in an abnormal state for 4 consecutive cycles, then the first link group 113 is in a faulty state. Similarly, for other link groups of the backplane 110, a second threshold can also be set to measure the health status of the link group. Furthermore, when at least one link group in the backplane is faulty, it is determined that the link group cannot achieve the expected load balancing state, which may cause problems such as data packet loss and forwarding anomalies. In this case, a traffic balancing anomaly alarm can be triggered.

[0082] In the above design, there are multiple link groups on the backplane. As long as one link group fails, the user is notified to repair the corresponding equipment in the DDC system, thereby maintaining the normal operation of the DDC system.

[0083] To further illustrate the implementation process of the above method, please refer to Figure 5 , exemplarily shows a flow chart of a single link group detection algorithm provided by the present application, the algorithm comprising:

[0084] Step 1: read the traffic of each link in the first link group at the start time of the cycle and save it as the first traffic;

[0085] Step 2, reading the traffic of each link in the first link group at the end of the cycle and saving it as the second traffic;

[0086] Step 3, calculating the difference between the first flow and the second flow to obtain the flow of each link in the first link group;

[0087] Step 4: compare the traffic of each link to obtain the traffic extreme value of the first link group;

[0088] Step 5: If the flow range does not exceed the first threshold, clear the accumulated value of the second cycle of the first link group, re-detect, and go to step 1;

[0089] Step 6: If the traffic range exceeds the first threshold, the cumulative value of the second period of the first link group is counted;

[0090] Step 7: If the accumulated value of the second cycle does not exceed the second threshold, continue to the next cycle and go to step 1;

[0091] Step eight: if the accumulated value of the second cycle exceeds the second threshold, a traffic balance abnormality alarm is triggered.

[0092] use Figure 5 The algorithm shown can determine the health status of a single link group in a backplane.

[0093] The above content introduces how to determine the health status of a link on the backplane. It is understandable that in actual situations, multiple links on the backplane usually work together. Therefore, the embodiment of the present application also provides a detection method for multiple links, such as Figure 6 As shown, a schematic diagram of a multiple link group detection algorithm provided by the present application is shown, and the method includes:

[0094] Step 1: read the traffic of each link in each link group at the start of the cycle and save it as the first traffic;

[0095] Step 2, reading the flow of each link in each link group at the end of the cycle and saving it as the second flow;

[0096] Step 3, calculating the difference between the first flow and the second flow to obtain the flow of each link in each link group;

[0097] Step 4: compare the traffic of each link to obtain the traffic extreme of each link group;

[0098] Step 5: If the flow range does not exceed the first threshold, clear the accumulated value of the second cycle of this link group, re-test, and go to step 1;

[0099] Step 6: If the traffic range exceeds the first threshold, the cumulative value of the second cycle of each link group is counted;

[0100] Step 7: If the accumulated value of the second cycle does not exceed the second threshold, continue to the next cycle and go to step 1;

[0101] Step eight: if the accumulated value of the second cycle exceeds the second threshold, a traffic balance abnormality alarm is triggered.

[0102] use Figure 6 The method shown can determine the health status of multiple link groups in a backplane.

[0103] In the above design, the embodiment of the present application provides a DDC system status detection method, which covers the problem of abnormal message forwarding, identifies the problem in advance, issues an early warning, and saves labor costs.

[0104] In view of the above method flow, the embodiment of the present application also provides a state detection device, and the specific content of the device can be implemented with reference to the above method.

[0105] Based on the above embodiments, see Figure 7 , exemplarily showing a structural diagram of a state detection device provided by the present application, such as Figure 7 As shown, the device comprises:

[0106] The acquisition module 701 is used to determine the flow range of the first link group in a period according to the flow of each link in the first link group in a period;

[0107] A judgment module 702, configured to determine a working state of the first link group within a period by comparing a flow extreme difference of the first link group within any period with a first threshold;

[0108] The processing module 703 is used to determine the health status of the first link group according to the working status of the first link group in multiple cycles.

[0109] In one possible design, the acquisition module 701 is specifically used for: the first link group includes N links, the link is a traffic channel between the network cloud switching board and the network cloud message forwarder, and N is a positive integer greater than or equal to two.

[0110] In a further possible design, the acquisition module 701 is also used for: the flow of any link within a cycle is the difference between the second flow and the first flow, the first flow is the flow obtained by reading the link at the beginning of the cycle; the second flow is the flow obtained by reading the link at the end of the cycle.

[0111] Further illustratively, the acquisition module 701 is installed in the first network cloud message forwarder, and is used to detect the traffic sent by each interface in the second interface group, and thus obtain the traffic flowing through each link in the first link group.

[0112] In a further possible design, the acquisition module 701 is also used for: the traffic extreme difference of the first link group within the period is the difference between the traffic of the first link within the period and the traffic of the second link within the period, the first link is the link with the maximum traffic in the first link group within the period, and the second link is the link with the minimum traffic in the first link group within the period.

[0113] In a possible design, the acquisition module 701 periodically sends data on extremely poor traffic of the first link group to the judgment module 702.

[0114] In one possible design, the first threshold is a maximum difference in traffic allowed to flow between any two links in the first link group.

[0115] In one possible design, the judgment module 702 is specifically used to: determine the working status of the first link group within the cycle by comparing the traffic extreme difference of the first link group within any cycle and the first threshold, including: if the traffic extreme difference of the first link group does not exceed the first threshold, then the working status of the first link group is determined to be normal, and this cycle is marked as the first cycle; if the traffic extreme difference of the first link group exceeds the first threshold, then the working status of the first link group is determined to be abnormal, and this cycle is marked as the second cycle.

[0116] In a possible design, the determination module 702 periodically sends data on the working status of the first link group to the processing module 703, where the working status includes the first cycle and the second cycle number.

[0117] Further exemplarily, if the working status of the first link group in a certain cycle is normal, the data sent to the processing module 703 is: the number of the first cycle is 1, and the number of the second cycle is 0; if the working status of the first link group in a certain cycle is abnormal, the data sent to the processing module 703 is: the number of the first cycle is 0, and the number of the second cycle is 1.

[0118] In one possible design, the processing module 703 is specifically used to: determine the health status of the first link group based on the working status of the first link group in multiple cycles, including: if the cumulative value of the second cycle of the first link group in multiple cycles exceeds the second threshold, then determine that the first link group is in a fault state.

[0119] In a further possible design, the processing module 703 is also used to trigger a traffic balancing abnormality alarm if at least one link group in the backplane is in a faulty state.

[0120] In a possible design, a state detection device can also be applied to a large-scale DDC system.

[0121] Further illustratively, the acquisition module 701 is installed in each network cloud message forwarder, calculates the traffic extremes of each link group in each cycle, and then obtains the working status of each link group corresponding to each cycle through the judgment module 702, and finally obtains the health status of each link group in multiple cycles through the processing module 703. If at least one link group is in a faulty state, a traffic balancing abnormality alarm is triggered.

[0122] In summary, the working status of the link group is determined by detecting the traffic flowing through each link on the link group, and then the health status of the link group is determined. The detection process can cover various traffic anomalies on the link group, such as abnormal message traffic. This detection method is more comprehensive, which helps to improve the accuracy of link detection and maintain the normal operation of the backplane.

[0123] Based on the same technical concept, the embodiment of the present application provides a computer device, such as Figure 8 As shown, it includes at least one processor 801 and a memory 802 connected to the at least one processor. The specific connection medium between the processor 801 and the memory 802 is not limited in the embodiment of the present application. Figure 8 For example, the processor 801 and the memory 802 are connected via a bus. The bus can be divided into an address bus, a data bus, a control bus, etc.

[0124] In the embodiment of the present application, the memory 802 stores instructions that can be executed by at least one processor 801, and the at least one processor 801 can execute the steps included in the aforementioned state detection method by executing the instructions stored in the memory 802.

[0125] Among them, the processor 801 is the control center of the computer device, which can use various interfaces and lines to connect various parts of the terminal device, and obtain the client address by running or executing instructions stored in the memory 802 and calling data stored in the memory 802. Optionally, the processor 801 may include one or more processing units, and the processor 801 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 801. In some embodiments, the processor 801 and the memory 802 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on independent chips.

[0126] Processor 801 can be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware processor for execution, or can be executed by a combination of hardware and software modules in the processor.

[0127] The memory 802 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 802 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 802 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 802 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.

[0128] Based on the same technical concept, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program executable by a computer device. When the program runs on the computer device, the computer device executes the steps of the state detection method.

[0129] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0130] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0131] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0132] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0133] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0134] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A state detection method, characterized in that: The method comprises: Determine, according to the traffic of each link in the first link group in a period, a traffic extreme difference of the first link group in the period; Determine the working state of the first link group in any period by comparing the flow extreme difference of the first link group in any period with a first threshold; The health status of the first link group is determined according to the working status of the first link group in multiple cycles.

2. The method according to claim 1, characterized in that The first link group includes N links, where the links are traffic channels between the network cloud switching board and the network cloud message forwarder, and N is a positive integer greater than or equal to two.

3. The method according to claim 1, characterized in that The flow of any link in a cycle is the difference between the second flow and the first flow, the first flow is the flow obtained by reading the link at the beginning of the cycle, and the second flow is the flow obtained by reading the link at the end of the cycle.

4. The method according to claim 1, characterized in that The traffic extreme difference of the first link group during the period is the difference between the traffic of the first link during the period and the traffic of the second link during the period, the first link is the link with the maximum traffic in the first link group during the period, and the second link is the link with the minimum traffic in the first link group during the period.

5. The method according to claim 1, characterized in that The first threshold is a maximum difference in traffic volume allowed to flow between any two links in the first link group.

6. The method according to claim 1, characterized in that Determining the working state of the first link group in any period by comparing the flow extreme difference of the first link group in any period with a first threshold value includes: If the traffic range difference of the first link group does not exceed the first threshold, it is determined that the working state of the first link group is normal, and this period is marked as the first period; If the traffic range difference of the first link group exceeds the first threshold, it is determined that the working state of the first link group is abnormal, and this period is marked as the second period.

7. The method according to any one of claims 1 to 6, characterized in that The working status of the first link group includes normal and abnormal; Determining a health state of the first link group according to the working state of the first link group in a plurality of cycles includes: If the accumulated value of the second cycle of the first link group within the plurality of cycles exceeds a second threshold, it is determined that the first link group is in a fault state.

8. A state detection method as claimed in claim 7, characterized in that: The first link group is included in a backplane, and the backplane includes a plurality of link groups; The method further comprises: If at least one of the link groups in the backplane is in a faulty state, a traffic balancing abnormality alarm is triggered.

9. A state detection device, characterized in that: The device comprises: An acquisition module, configured to determine a flow range of the first link group in a period according to the flow of each link in the first link group in the period; A judgment module, configured to determine a working state of the first link group in any period by comparing a flow extreme difference of the first link group in any period with a first threshold; The processing module is used to determine the health status of the first link group according to the working status of the first link group in multiple cycles.

10. A computing device, characterized in that: The method comprises at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the program is executed by the processing unit, the processing unit executes the method according to any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: It stores a computer program executable by a computing device, and when the program is run on the computing device, the computing device executes the method of any one of claims 1 to 8.