Resilience determination method and apparatus and storage medium
By obtaining the interruption factor and the first ratio of the service flow and combining them with the on-off conditions, the network resilience value is determined, which solves the problem of insufficient evaluation accuracy in the existing technology and achieves a more accurate network resilience assessment.
Patent Information
- Application Number
- PCT/CN2025/086931
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-04-09
- Filing Date
- 2025-04-02
- Publication Date
- 2025-10-16
AI Technical Summary
When evaluating network resilience, existing technologies fail to effectively consider the impact of disturbances on each business flow and the connectivity of each business flow, resulting in low evaluation accuracy.
By obtaining the interruption factor and the first ratio of the service flow supported by the target object and combining the on-off status of the service flow, the resilience value of the target object is determined and the resilience value of the target object is output.
The accuracy of network resilience assessment is improved, which can more comprehensively reflect the impact of disturbances on business flows and enhance the reliability of the assessment.
Smart Images

Figure CN2025086931_16102025_PF_FP_ABST
Abstract
Description
Method, device and storage medium for determining resilience
[0001] The present application claims priority to the Chinese patent application No. 202410433367.6, filed on April 9, 2024, and entitled "Method, device and storage medium for determining resilience", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0002] The present application relates to the technical field of resilience evaluation, and in particular to a method, device and storage medium for determining resilience. BACKGROUND
[0003] Network resilience refers to the ability of a network to maintain its functionality, performance and quality of service when it suffers from faults, attacks or other types of network disturbances. A network with high resilience can quickly recover to normal operation when it suffers from network disturbances, without causing excessive damage to the services carried by the network.
[0004] Therefore, how to effectively improve the accuracy of evaluating network resilience is a problem to be solved. SUMMARY
[0005] The embodiments of the present application provide a method, device and storage medium for determining resilience, which can effectively improve the accuracy of evaluating network resilience.
[0006] To achieve the above object, the embodiments of the present application provide the following technical solutions.
[0007] In a first aspect, a method for determining resilience is provided, which includes: in response to a disturbance to a target object, obtaining an interruption factor of at least one service flow supported by the target object, determining a resilience value of the target object based on the interruption factor corresponding to each service flow and a first proportion, and outputting the resilience value of the target object.
[0008] The embodiments of the present application do not limit the target object, for example, the target object can be a network or a server.
[0009] The interruption factor of each service flow is used to represent the interruption of the service flow, for example: the interruption times of the service flow and the interruption duration of each interruption, etc. The resilience value is used to represent the ability of the target object to maintain the current service when it suffers from the disturbance. The current service can include the service data carried by the target object at the current time. The first proportion corresponding to each service flow is used to represent the influence degree of the disturbance on the service flow.
[0010] By the technical solution, when the resilience value of the target object is evaluated, not only the influence degree of the disturbance on each service flow is considered, but also the on-off state of each service flow is combined. In this way, the resilience value of the target object can be comprehensively evaluated by combining the information of the influence degree of the disturbance on the service flow and the on-off state of the service flow, thereby effectively improving the accuracy of evaluating the resilience value of the target object. Further, when the target object is a network, the accuracy of evaluating the resilience value (i.e., network resilience) of the network can be effectively improved.
[0011] In an optional implementation, determining the resilience value of the target object based on the interruption factor corresponding to each service flow and the first proportion can include: for each service flow, determining the resilience value of the service flow based on the interruption factor corresponding to the service flow and the first proportion, and determining the resilience value of the target object based on the resilience value of each service flow.
[0012] By the technical solution, an implementation of determining the resilience value of the target object is provided to improve the realizability of the present application.
[0013] In an optional implementation, each service flow corresponds to at least one index. The interruption factor of each service flow can include the interruption factor of the service flow at each index. The interruption factor of the service flow at each index can be determined based on a service level agreement (SLA) lower limit value of the index and an index value of the index at each time. The first proportion corresponding to each service flow can include a second proportion of the service flow at each index, and the second proportion of the service flow at each index is used to represent the influence degree of the disturbance on the service flow at the index.
[0014] On this basis, determining the resilience value of the service flow based on the interruption factor and the first proportion of the service flow can include: for each index, determining the second proportion of the service flow at the index based on the SLA lower limit value of the index, the index value of the index at each time, and the disturbance duration, determining the resilience value of the service flow at the index based on the interruption factor of the service flow at the index and the second proportion of the service flow at the index, and determining the resilience value of the service flow based on the resilience value of the service flow at each index.
[0015] The disturbance duration refers to the duration from when the target object suffers the disturbance to when the target object adapts to the disturbance. Specifically, based on the four high-level targets of resilience, the disturbance process of the target object can be divided into four stages: an expected target stage, a bearing target stage, a recovery target stage, and an adaptation target stage. The disturbance duration includes the duration of the remaining three stages except the expected target stage, i.e., the duration of the bearing target stage, the recovery target stage, and the adaptation target stage.
[0016] The present application does not limit the number and type of indicators corresponding to each service flow. For example, each service flow can correspond to two indicators, namely bandwidth and latency. For another example, each service flow can correspond to three indicators, namely bandwidth, latency and throughput.
[0017] Through the above technical solution, a specific implementation manner of determining the resilience value of the service flow based on the outage factor and the first proportion of the service flow is provided. In this process, not only the on-off condition of the service flow is combined to determine the resilience value of the service flow, but also the information of multiple dimensions such as the SLA lower limit value of the indicator, the indicator value of the indicator at each time and the disturbance duration is combined to determine the second proportion of the service flow under each indicator. In this way, the accuracy of determining the second proportion of the service flow under each indicator can be effectively improved, and the accuracy of evaluating the resilience value of the target object is further improved by using the second proportion of the service flow under each indicator subsequently.
[0018] In an optional implementation manner, determining the second proportion of the service flow under the indicator based on the SLA lower limit value of the indicator, the indicator value of the indicator at each time and the disturbance duration can include: determining the number of outages of the service flow under the indicator and the outage duration of each outage based on the SLA lower limit value of the indicator and the indicator value of the indicator at each time, and then determining the second proportion of the service flow under the indicator based on the number of outages of the service flow under the indicator, the outage duration of each outage, the disturbance duration and the SLA lower limit value of the indicator.
[0019] Or, determining the number of outages of the service flow under the indicator and the outage duration of each outage based on the SLA lower limit value of at least one indicator and the indicator value of at least one indicator at each time, and then determining the second proportion of the service flow under the indicator based on the number of outages of the service flow under the indicator, the outage duration of each outage, the disturbance duration and the SLA lower limit value of the indicator.
[0020] Through the above technical solution, two specific implementation manners of determining the second proportion of the service flow under the indicator are provided, so that multiple scenarios can be compatible to further improve the realizability of the present application.
[0021] In an optional implementation manner, determining the resilience value of the service flow based on the resilience value of the service flow under each indicator can include: determining the resilience value of the service flow based on the resilience value of the service flow under each indicator and the weight value corresponding to each indicator.
[0022] Through the above technical solution, a specific implementation manner of determining the resilience value of the service flow is provided, which can balance the proportion of the resilience value of each indicator in the resilience value of the service flow according to the weight value corresponding to each indicator, thereby further improving the accuracy of determining the resilience value of the service flow.
[0023] In an optional implementation, the acquiring the interruption factor of the at least one service flow supported by the target object can comprise: for each index corresponding to each service flow, determining the interruption factor of the service flow under the index based on the lower limit value of the SLA of the index and the index value of the index at each time point, or for each index corresponding to each service flow, determining the interruption factor of the service flow under the index based on the lower limit value of at least one index and the index value of at least one index at each time point.
[0024] Through the above technical solutions, two specific implementation manners of acquiring the interruption factor of the at least one service flow supported by the target object are provided. One is to calculate each index separately, that is, for any index, the interruption factor of the service flow under the index is determined according to the lower limit value of the SLA of the index and the index value of the index at each time point, so that the obtained interruption factor is more suitable for the change of the index. The other is that for each index, the interruption factor of the service flow under the index is determined based on the lower limit values of multiple indexes and the index values of multiple indexes at each time point, so that the obtained interruption factor can comprehensively reflect the on-off situation of multiple indexes, thereby being more accurate.
[0025] In an optional implementation, each service flow corresponds to at least one index, and the interruption factor of each service flow comprises an interruption factor of the service flow under a first index. The interruption factor of the service flow under the first index is determined based on a lower limit value of the first index and an index value of the first index at each time point. The lower limit value of the first index is determined based on the lower limit values of the indexes corresponding to the service flow. The index value of the first index at each time point is determined based on the index values of the indexes corresponding to the service flow at each time point. A first proportion corresponding to each service flow includes a third proportion, and the third proportion is used to represent the influence degree of the disturbance on the service flow under the first index.
[0026] On this basis, the determining the resilience value of the service flow based on the interruption factor of the service flow and the first proportion can comprise: determining the third proportion based on the lower limit value of the first index, the index value of the first index at each time point, and the disturbance duration. The resilience value of the service flow is determined based on the interruption factor of the service flow under the first index and the third proportion.
[0027] The disturbance duration refers to the duration from when the target object suffers from the disturbance to when the target object adapts to the disturbance.
[0028] By the technical solution, another specific implementation manner of determining the resilience value of the service flow is provided. In the implementation manner, the comprehensive index (i.e., the first index) can be determined based on the indexes corresponding to the service flow, and then the third ratio can be determined based on the comprehensive index. In this way, the calculation efficiency can be effectively improved without calculating the ratio for each index. In addition, the third ratio can be determined based on the information of the lower limit value of the comprehensive index, the index value of the comprehensive index at each time, and the disturbance duration, and thus the accuracy of determining the third ratio can be effectively improved, so that the accuracy of evaluating the resilience value of the target object is further improved by using the third ratio.
[0029] In an optional implementation manner, the disturbance to the target object can include at least one disturbance.
[0030] On this basis, determining the resilience value of the target object based on the resilience values of each service flow can include: determining the resilience value of the target object under each disturbance according to the resilience value of each service flow and the weight value corresponding to each service flow, and determining the resilience value of the target object based on the weight value of each disturbance and the resilience value of the target object under each disturbance.
[0031] By the technical solution, a specific implementation manner of determining the resilience value of the target object in a multi-disturbance scenario is provided. The proportion of the resilience value of the target object under each disturbance in the resilience value of the target object can be balanced according to the weight value corresponding to each disturbance. In this way, the accuracy of determining the resilience value of the service flow can be further improved, and multiple disturbance scenarios can be compatible.
[0032] In an optional implementation manner, the interruption factor can include at least a first factor and a second factor. The first factor of each service flow can be determined based on the interruption times of the service flow. The second factor of each service flow can be determined based on the interruption duration of the service flow.
[0033] By the technical solution, the interruption factor is further described and visualized, and the determination manners of the first factor and the second factor can further improve the realizability of the present application.
[0034] In an optional implementation manner, the method further includes: outputting at least one of the service flow identifier of each service flow supported by the target object, the interruption factor of each service flow, the type of each service flow, and the disturbance identifier of the disturbance to the target object.
[0035] According to the technical solution, after obtaining the resilience value of the target object, the service flow identifier of each service flow supported by the target object, the interruption factor of each service flow, the type of each service flow, and at least one of the disturbance identifier of the disturbance to the target object can be output based on the resilience value of the target object, so that the user can analyze the resilience value of the target object according to the output information.
[0036] In an optional implementation, the target object is a network or a server.
[0037] The server can be extended to a system providing services to the outside, such as a server, a service system (such as an intelligent algorithm service platform), and the like.
[0038] According to the technical solution, the target object is further described, and the target object can be a network, and accordingly, the determined resilience value of the target object is a resilience value of the network. The target object can also be a server, and accordingly, the determined resilience value of the target object is a resilience value of the server. In this way, multiple resilience determination scenarios can be compatible, and the practicability of the present application is enhanced.
[0039] In a second aspect, a resilience determination apparatus is provided for implementing the various methods described above. The resilience determination apparatus includes modules, units, or means corresponding to the modules, units, or means for implementing the methods described above, which can be implemented by hardware, software, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the functions described above.
[0040] In some possible designs, the resilience determination apparatus can include a processing module and a transceiver module. The transceiver module, which can also be referred to as a transceiver unit, is configured to implement the functions of sending and / or receiving in any of the aspects and any of the possible implementation manners described above. The transceiver module can be composed of a transceiver circuit, a transceiver, a transceiver, or a communication interface. The processing module can be configured to implement the processing functions in any of the aspects and any of the possible implementation manners described above.
[0041] In some possible designs, the transceiver module includes a sending module and a receiving module, which are configured to implement the functions of sending and receiving in any of the aspects and any of the possible implementation manners described above.
[0042] In a third aspect, a resilience determination apparatus is provided, which includes a processor and a memory. The memory is configured to store computer instructions, and when the processor executes the instructions, the resilience determination apparatus performs the resilience determination method provided in the first aspect or any of the optional implementation manners of the first aspect.
[0043] In a fourth aspect, a resiliency determination apparatus is provided, comprising: a processor and a communication interface; the communication interface is configured to communicate with modules outside the resiliency determination apparatus; the processor is configured to execute computer programs or instructions to cause the resiliency determination apparatus to perform the resiliency determination method provided in the first aspect or any of the optional implementation manners of the first aspect.
[0044] In a fifth aspect, a computer readable storage medium is provided, comprising computer executable instructions, which, when executed on a computer, cause the computer to perform the resiliency determination method provided in the first aspect or any of the optional implementation manners of the first aspect.
[0045] In a sixth aspect, a chip is provided, comprising: a processor and an interface circuit; the interface circuit is configured to receive code instructions and transmit the code instructions to the processor; the processor is configured to execute the code instructions to perform the resiliency determination method provided in the first aspect or any of the optional implementation manners of the first aspect.
[0046] In a seventh aspect, a computer program product comprising instructions is provided, which, when executed on a computer, cause the computer to perform the resiliency determination method provided in the first aspect or any of the optional implementation manners of the first aspect.
[0047] It should be noted that the technical effects brought by any of the implementation manners of the second aspect to the seventh aspect can be referred to the technical effects brought by the corresponding implementation manners of the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0048] FIG. 1 is a schematic diagram of network performance index variation provided in the related art;
[0049] FIG. 2 is another schematic diagram of network performance index variation provided in the related art;
[0050] FIG. 3 is another schematic diagram of network performance index variation provided in the related art;
[0051] FIG. 4 is a system architecture diagram of a resiliency determination system provided in an embodiment of the present application;
[0052] FIG. 5 is a structural schematic diagram of an apparatus provided in an embodiment of the present application;
[0053] FIG. 6 is a flow schematic diagram of a resiliency determination method provided in an embodiment of the present application;
[0054] FIG. 7 is a flow schematic diagram of determining a resiliency value of a service flow provided in an embodiment of the present application;
[0055] FIG. 8 is a flow diagram of another method for determining a resilience value of a service flow according to an embodiment of the present application;
[0056] FIG. 9 is a diagram of a network performance index variation according to an embodiment of the present application;
[0057] FIG. 10 is a diagram of another network performance index variation according to an embodiment of the present application;
[0058] FIG. 11 is a flow diagram of another method for determining a resilience according to an embodiment of the present application;
[0059] FIG. 12 is a flow diagram of another method for determining a resilience according to an embodiment of the present application;
[0060] FIG. 13 is a block diagram of a device for determining a resilience according to an embodiment of the present application. DETAILED DESCRIPTION
[0061] In order to facilitate understanding of the embodiments of the present application, the following points are explained before the embodiments of the present application are introduced.
[0062] 1. The "pre-stored" can be realized by pre-storing corresponding codes, tables or other means for indicating relevant information in a device, and the embodiments of the present application do not limit the specific implementation manner. The "storing" can mean storing in one or more memories. The one or more memories can be separately arranged or integrated in the encoder or decoder, processor or resilience determining device. The one or more memories can be partially separately arranged and partially integrated in the decoder, processor or resilience determining device. The type of the memory can be any form of storage medium, and the embodiments of the present application do not limit this.
[0063] 2. In the embodiments of the present application, "when", "in the case of", "if" and the like all mean that the device will make corresponding processing under certain objective conditions, and are not limited to time, and do not require the device to have a judgment action when implemented, and do not mean that there are other limitations.
[0064] In the description of the present application, unless otherwise specified, " / " means that the objects before and after the " / " are in an "or" relationship, for example, A / B can mean A or B; "and / or" in the present application is only a description of the relationship between the associated objects, which means that there can be three relationships, for example, A and / or B can mean that A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural.
[0065] In the description of the present application, "a plurality of" means two or more than two, unless otherwise specified. "At least one of the following (one) or similar expressions means any combination of the items, including any combination of single (one) or multiple items. For example, at least one of a, b and (or) c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c can be single or multiple.
[0066] In addition, in order to facilitate the clear description of the technical scheme of the embodiments of the present application, in the embodiments of the present application, "first", "second" and the like are used to distinguish the same items or similar items with basically the same function and role. The skilled in the art can understand that "first", "second" and the like do not limit the quantity and execution order, and "first", "second" and the like do not necessarily mean different.
[0067] In the embodiments of the present application, the words "exemplarily" or "for example" are used to represent as an example, illustration or explanation. Any embodiment or design scheme described as "exemplarily" or "for example" 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 "exemplarily" or "for example" are intended to present the relevant concept in a specific way for understanding.
[0068] It can be understood that the "embodiments" mentioned throughout the specification mean that the specific features, structures or characteristics related to the embodiments are included in at least one embodiment of the present application. Therefore, throughout the specification, various embodiments do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It can be understood that in various embodiments of the present application, the size of the sequence number of each process does not mean the execution order, and the execution order of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0069] It can be understood that some optional features in the embodiments of the present application can be implemented independently in some scenarios, without relying on other features, such as the scheme currently based on, to solve the corresponding technical problems and achieve the corresponding effects, or can be combined with other features according to the needs in some scenarios. Correspondingly, the devices given in the embodiments of the present application can also realize these features or functions, which will not be described here.
[0070] In the present application, the same or similar parts among various embodiments can be mutually referred to, unless otherwise specified. In various embodiments of the present application, the terms and / or descriptions of different embodiments are consistent, and can be mutually referred to, unless otherwise specified and logically conflicted. The following embodiments of the present application do not constitute a limitation on the protection scope of the present application.
[0071] Network resilience refers to the ability of a network to maintain its functions, performance and quality of service when it suffers from faults, attacks or other types of network disturbances (hereinafter referred to as disturbances). A network with high resilience can quickly recover to normal operation when it suffers from disturbances, without causing excessive damage to the services carried by the network.
[0072] The goal of network resilience is to improve the anti-attack ability and rapid recovery ability of the network. In order to more clearly describe the goal of network resilience, the goal of network resilience can be divided into four high-level goals, which are anticipation goal, withstand goal, recovery goal and adaptation goal.
[0073] Among them, the anticipation goal refers to the prevention ability of the network to disturbances. In the anticipation goal stage, the network stores countermeasures for potential disturbances, so that the network can adopt the pre-stored countermeasures to deal with the disturbances when the potential disturbances become real disturbances.
[0074] The withstand goal refers to the self-regulation and service level guarantee ability of the network after the network suffers from disturbances. In the withstand goal stage, the network can resist the disturbances suffered by the network to some extent to gain buffer time for the recovery and adaptation of the network.
[0075] The recovery goal refers to the effectiveness of the countermeasures taken by the network after the network suffers from disturbances, and the rapid recovery ability of the network service level. In the recovery goal stage, the network can take corresponding countermeasures to deal with the disturbances suffered by the network to improve the network performance index and reduce the impact of the disturbances on the services carried by the network.
[0076] The adaptation goal refers to the self-regulation ability of the network itself after taking countermeasures. In the adaptation goal stage, the network can optimize the stored countermeasures based on the identification of the disturbances suffered by the network and the recovery ability of the network service level in the recovery goal stage, so that the same disturbances can be quickly identified and corresponding countermeasures can be taken in the future.
[0077] The network performance index will change after the network suffers from the disturbance, and therefore the network resilience can be evaluated based on the change degree of the network performance index during the disturbance. In combination with the above four high-level targets, the change process of the network performance index during the network suffers from the disturbance can be divided into four stages as shown in FIG. 1. As shown in FIG. 1, it is assumed that the time when the network suffers from the disturbance is t1, the time when the corresponding measures are taken is t2, and the time when the network performance index recovers is t3. Then t0-t1 is the first stage, i.e., the expected target stage, t1-t2 is the second stage, i.e., the bearing target stage, t2-t3 is the third stage, i.e., the recovery target stage, and t3 is the fourth stage, i.e., the adaptation target stage.
[0078] Currently, the network resilience can be evaluated based on the following two ways.
[0079] The first way is to evaluate the network resilience based on the proportion of the area between the change curve of the network performance index in the recovery target stage and the straight line when the network performance index is the maximum value and the area between the change curve of the network performance index and the straight line when the network performance index is the minimum value.
[0080] Exemplarily, FIG. 2 is a network performance index change diagram, as shown in FIG. 2, the recovery target stage is t2-t3, the straight line when the network performance index is the maximum value in the recovery target stage is the straight line when the network performance index is P(t0), the straight line when the network performance index is the minimum value is the straight line when the network performance index is P(t2), the area between the change curve of the network performance index in the recovery target stage and the straight line when the network performance index is P(t0) is S1 (the area of the black shaded part in FIG. 2), the area between the change curve of the network performance index in the recovery target stage and the straight line when the network performance index is P(t2) is S2 (the area of the diagonal shaded part in FIG. 2), and in this way, the network resilience can be evaluated based on the proportion between S1 and S2, such as:
[0081] Wherein, Q is the resilience value of the network resilience.
[0082] The second way is to evaluate the network resilience based on the proportion of the area between the straight line when the time is the starting time of the disturbance, the straight line when the network performance index is the maximum value and the straight line when the time is the ending time and the area between the straight line when the time is the starting time of the disturbance, the change curve of the network performance index and the straight line when the time is the ending time.
[0083] Exemplarily, as shown in FIG. 3, the straight line at the time t=t1 is the straight line at the time when the disturbance starts, the straight line at the time when the network performance index is the maximum value is the straight line at the time when the network performance index P=P(t0), and the straight line at the time t=t1+T is the straight line at the time when the disturbance ends. The area between the straight line at the time when the disturbance starts, the straight line at the time when the network performance index is the maximum value, and the straight line at the time when the disturbance ends is the area S3+S4 between the straight line at the time t=t1, the straight line at the time when the network performance index P=P(t0), and the straight line at the time t=t1+T, where S3 is the area of the black shaded part in FIG. 3, and S4 is the area of the dotted filled part in FIG. 3. The area between the straight line at the time when the disturbance starts, the change curve of the network performance index, and the straight line at the time when the disturbance ends is the area S4 between the straight line at the time t=t1, the change curve of the network performance index, and the straight line at the time t=t1+T. In this way, the network resilience can be evaluated based on the proportion between S3+S4 and S4, such as:
[0084] Both of the above two manners ignore the influence degree of the network on the currently transmitted services in the network during the disturbance, resulting in low accuracy of the evaluated network resilience. Therefore, how to effectively improve the accuracy of evaluating the network resilience is a problem to be solved.
[0085] In view of this, the embodiment of the present application provides a resilience determination method, which can acquire an interruption factor of at least one service flow supported by a target object in response to a disturbance to the target object, determine a resilience value of the target object based on the interruption factor corresponding to each service flow and a first proportion, and output the resilience value of the target object. Through the above technical solution, when evaluating the resilience value of the target object, not only the influence degree of the disturbance on each service flow is considered, but also the on-off situation of each service flow is combined. In this way, the resilience value of the target object can be comprehensively evaluated by combining the influence degree of the disturbance on the service flow and the on-off situation of the service flow in two dimensions, thereby effectively improving the accuracy of evaluating the resilience value of the target object. Further, when the target object is a network, the accuracy of evaluating the resilience value of the network can be effectively improved.
[0086] The technical solution provided by the present application will be described below in conjunction with the drawings of the specification. FIG. 4 is a system architecture diagram of a resilience determination system provided by an embodiment of the present application. The system architecture diagram can include a disturbance injection device 401, an index collection device 402, and a resilience determination device 403.
[0087] The disturbance injection device 401 can inject a disturbance to a target object to cause an influence on the target object.
[0088] The target object is not limited in the embodiments of the present application. For example, the target object can be a network or a server.
[0089] The disturbance refers to an event that can affect the target object. For example, when the target object is a network, the event that can affect the target object (i.e., the disturbance) can be incorrect network configuration information or network failure.
[0090] Injecting the disturbance into the target object can be injecting an event that can affect the target object into the target object itself. For example, when the target object is a server, injecting the disturbance into the target object can be injecting an event that can affect the server into the server. Injecting the disturbance into the target object can also be injecting an event that can affect the target object into the environment in which the target object is located. For example, when the target object is a local area network, injecting the disturbance into the target object can be injecting an event that can affect the local area network into the network environment in which the local area network is located.
[0091] It should be noted that when the target object is a network, the network environment in which the network is located can be a real network environment or a simulated network environment, and the simulated network environment can be implemented through a simulation simulation platform.
[0092] In a specific implementation, taking a local area network as the target object and a network failure as the disturbance as an example, the disturbance injection device 401 can inject a network failure into the network environment in which the local area network is located in response to a user operation. Alternatively, the disturbance injection device 401 can inject a network failure into the network environment in which the local area network is located at a preset time.
[0093] The index collection device 402 can obtain the index value of each index corresponding to at least one service flow supported by the target object at each time point, and send the index value of each index to the resilience determination device 403.
[0094] The number and type of indexes corresponding to the service flow are not limited in the embodiments of the present application. For example, the indexes can include, but are not limited to, latency, bandwidth, throughput, packet loss rate, jitter rate, convergence time, hop count, number of affected devices, and number of affected users.
[0095] In a specific implementation, the target object is a local area network, the service flows supported by the target object include service flow A and service flow B, and the indexes corresponding to the service flow A and the service flow B include latency and bandwidth. The index collection device 402 can determine the index values of the bandwidth corresponding to the service flow A at each time and the index values of the latency corresponding to the service flow A at each time, and the index values of the bandwidth corresponding to the service flow B at each time and the index values of the latency corresponding to the service flow B at each time, and send the index values of the bandwidth corresponding to the service flow A at each time and the index values of the latency corresponding to the service flow A at each time, and the index values of the bandwidth corresponding to the service flow B at each time and the index values of the latency corresponding to the service flow B at each time to the resilience determination device 403.
[0096] The SLA lower limit values of the indexes can be pre-stored in the resilience determination device 403. After receiving the index values of the indexes, the resilience determination device 403 can determine the interruption factors of the service flows supported by the target object based on the index values of the indexes corresponding to the service flows supported by the target object, determine the resilience value of the target object based on the interruption factors corresponding to each service flow and the first proportion, and then output the resilience value of the target object.
[0097] In the embodiments of the present application, the flow ID, the flow type, and the SLA lower limit values of the indexes corresponding to each service flow are pre-stored in the resilience determination device 403. The SLA lower limit values of the indexes corresponding to the service flow can include, but are not limited to, the SLA lower limit value of latency (latency_lowband), the SLA lower limit value of packet loss (packloss_lowband), the SLA lower limit value of jitter (jitter_lowband), and the SLA lower limit value of throughput (throughtput_lowband), etc.
[0098] In addition, the resilience determination device 403 can also pre-store threshold values corresponding to at least two indexes corresponding to each service flow. The threshold values can be less than the SLA lower limit values of the corresponding indexes, and when the corresponding indexes are all less than the threshold values, it indicates that the corresponding service flow is in an interruption state. For example, it is assumed that the resilience determination device 403 stores the threshold values corresponding to the indexes of latency and bandwidth corresponding to the service flow A. When the latency and the bandwidth are both less than the threshold values, it indicates that the service flow A is in an interruption state.
[0099] In some embodiments, the perturbation injection device 401, the index collection device 402, and the resilience determination device 403 in the resilience determination system described above can be integrated in one device, so that the device can implement the resilience determination method provided in the embodiments of the present application. The device is not limited in the embodiments of the present application. For example, the device can be a terminal device or a server.
[0100] In practice, the above-mentioned devices can adopt the component structure shown in FIG. 5 or include the components shown in FIG. 5. FIG. 5 is a component diagram of a resiliency determination apparatus 500 provided by an embodiment of the present application. The resiliency determination apparatus 500 can be a terminal device or a chip or system on chip in the terminal device; or a server or a chip or system on chip in the server. As shown in FIG. 5, the resiliency determination apparatus 500 includes a processor 501, a communication interface 502, and a communication line 503.
[0101] Further, the resiliency determination apparatus 500 can further include a memory 504. The processor 501, the memory 504, and the communication interface 502 can be connected through the communication line 503.
[0102] The processor 501 can be a central processing unit (CPU), a general processor network processor (NP), a digital signal processing (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. The processor 501 can also be other devices with processing functions, such as a circuit, a device, or a software module, without limitation.
[0103] The communication interface 502 is configured to communicate with other devices or other communication networks. The other communication networks can be an Ethernet, a radio access network (RAN), a wireless local area network (WLAN), or the like. The communication interface 502 can be a module, a circuit, a transceiver, or any device capable of communication.
[0104] The communication line 503 is configured to transmit information between components included in the resiliency determination apparatus 500.
[0105] The memory 504 is configured to store instructions. The instructions can be a computer program.
[0106] The memory 504 can be a read-only memory (ROM) or other type of static storage device that can store static information and / or instructions, a random access memory (RAM), or other type of dynamic storage device that can store information and / or instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM), or other optical disk storage, a magnetic disk storage or other magnetic storage devices, and the like, without limitation.
[0107] It should be noted that the memory 504 can exist independently of the processor 501 or be integrated with the processor 501. The memory 504 can be used to store instructions or program codes or some data, and the like. The memory 504 can be located within the resiliency determination apparatus 500 or outside the resiliency determination apparatus 500, without limitation. The processor 501 is configured to execute the instructions stored in the memory 504 to implement the resiliency determination method provided by the embodiments described below.
[0108] In an example, the processor 501 can include one or more CPUs, such as the CPU0 and the CPU1 in FIG. 5.
[0109] As an optional implementation, the resiliency determination apparatus 500 includes multiple processors, for example, in addition to the processor 501 in FIG. 5, the resiliency determination apparatus 500 can further include a processor 507.
[0110] As an optional implementation, the resiliency determination apparatus 500 further includes an output device 505 and an input device 506. The input device 506 is, for example, a keyboard, a mouse, a microphone, a joystick, or the like, and the output device 505 is, for example, a display screen, a speaker, or the like.
[0111] It should be noted that the resiliency determination apparatus 500 can be a desktop computer, a laptop computer, a network server, a mobile phone, a tablet computer, a wireless terminal, an embedded device, a chip system, or a device having a similar structure as that in FIG. 5. In addition, the constituent structures shown in FIG. 5 do not constitute a limitation on the resiliency determination apparatus, and the resiliency determination apparatus can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0112] In the embodiments of the present application, the chip system can be composed of a chip, or can include a chip and other discrete devices.
[0113] In addition, the actions, terms, and the like involved between the embodiments of the present application can be mutually referenced and are not limited. The message name or parameter name in the message between the devices in the embodiments of the present application is only an example, and other names can also be used in the specific implementation, which is not limited.
[0114] The following will take the device as an example to describe the method for determining the resilience provided by the embodiments of the present application. FIG. 6 is a flowchart of a method for determining the resilience provided by the embodiments of the present application, as shown in FIG. 6, the method includes:
[0115] S601, in response to the disturbance to the target object, obtaining an interruption factor of at least one service flow supported by the target object.
[0116] In the embodiments of the present application, the target object can include but is not limited to a network, a server, and the like. The disturbance to the target object can refer to injecting a disturbance event that will affect the target object into the target object. In the present application, one or more disturbances can be performed on the target object, which is not limited.
[0117] The at least one service flow supported by the target object refers to at least one service flow used by the target object to carry service data. For example, taking the target object as a network as an example, when it is necessary to transmit the service data transmitted by the user intention, the service data can be transmitted on one flow supported by the network, or can be transmitted on multiple flows in the network. Wherein, the one or more flows used to carry the service data are the service flow described in the embodiments of the present application.
[0118] It can be understood that the at least one service flow supported by the target object can also be replaced by at least one service flow corresponding to the target object, or at least one service flow carried by the target object, which is not limited in the embodiments of the present application.
[0119] It can be understood that the network in the embodiments of the present application can include but is not limited to a cellular network, a long term evolution (LTE) network, an internet protocol (IP) network, an optical network, and the like, which is not limited in the embodiments of the present application.
[0120] The interruption factor of the service flow is used to represent the situation that the service flow is interrupted, and the service flow is interrupted refers to that the service flow cannot normally transmit the service data carried thereon. The situation that the service flow is interrupted can include the interruption times of the service flow being interrupted and the interruption duration of each interruption, etc. The interruption times refer to the times that the service flow is interrupted in the process of transmitting the service data, and the interruption duration refers to the duration that the service flow is interrupted in the process of transmitting the service data.
[0121] In an optional implementation, the interruption factor of the service flow can at least include a first factor of the service flow and a second factor of the service flow. The first factor of the service flow can be determined based on the interruption times of the service flow, and the second factor of the service flow can be determined based on the interruption duration of the service flow. In other words, for each service flow supported by the target object, the server can determine the interruption duration and the interruption times of the service flow, and then determine the first factor of the service flow based on the interruption times of the service flow and determine the second factor of the service flow based on the interruption duration of the service flow.
[0122] The specific manner of determining the first factor of the service flow based on the interruption times of the service flow and the specific manner of determining the second factor of the service flow based on the interruption duration of the service flow will be described in detail after S703, which will not be repeated here.
[0123] S602, determining the resilience value of the target object based on the interruption factor of each service flow and the first proportion of each service flow.
[0124] The resilience value of the target object is used to represent the ability of the target object to maintain the current service when the target object suffers from the disturbance. The current service can include the service data carried on at least one service flow supported by the target object at the current time.
[0125] The first proportion of the service flow is used to represent the influence degree of the disturbance on the service flow.
[0126] In an optional implementation, when S602 is performed, for each service flow, the server can determine the resilience value of the service flow based on the interruption factor and the first proportion corresponding to the service flow, and then determine the resilience value of the target object based on the resilience value of each service flow.
[0127] The specific manner of determining the resilience value of the service flow based on the interruption factor and the first proportion corresponding to the service flow can refer to two manners shown in FIG. 7 and FIG. 8, which will not be repeated here.
[0128] The embodiments of the present application do not limit the determination of the resilience value of the target object based on the resilience value of each service flow. For example, in the case that the disturbance to the target object includes one disturbance, the server can perform weighted summation on the resilience value of each service flow to obtain the resilience value of the target object, or can take the sum of the resilience value of each service flow as the resilience value of the target object. In the case that the disturbance to the target object includes multiple disturbances, the server can perform weighted summation on the resilience value of each service flow under each disturbance to obtain the resilience value of the target object under each disturbance, and then perform weighted summation on the resilience value of the target object under each disturbance to obtain the resilience value of the target object.
[0129] S603, output the resilience value of the target object.
[0130] After obtaining the resilience value of the target object through S602, the server can send the resilience value of the target object to the user terminal, and the user terminal can display the resilience value of the target object through the display after receiving the resilience value of the target object, so that the user can evaluate the resilience of the target object through the resilience value.
[0131] In an optional implementation, in addition to outputting the resilience value of the target object, the server can also output at least one of the service flow identifier of each service flow supported by the target object, the interruption factor of each service flow, the type of each service flow, and the disturbance identifier of the disturbance to the target object.
[0132] Specifically, taking the interruption factor as including the first factor and the second factor, and taking the information output by the server as including the resilience value of the target object, the service flow identifier of each service flow supported by the target object, the first factor and the second factor of each service flow, the type of each service flow, and the disturbance identifier of the disturbance to the target object as an example, the server can send the resilience value of the target object, the service flow identifier of each service flow supported by the target object, the first factor and the second factor of each service flow, the type of each service flow, and the disturbance identifier of the disturbance to the target object to the user terminal, and the user terminal can display these information through a preset display mode after receiving these information, so that the user can evaluate the resilience of the target object through the resilience value.
[0133] The embodiments of the present application do not limit the preset display mode. For example, the resilience value of the target object, the service flow identifier of each service flow supported by the target object, the first factor and the second factor of each service flow, the type of each service flow, and the disturbance identifier of the disturbance to the target object can be displayed in sequence through the text mode, or the resilience value of the target object, the service flow identifier of each service flow supported by the target object, the interruption factor of each service flow, the type of each service flow, and the disturbance identifier of the disturbance to the target object can be displayed in the form of a table. Table 1 shows an optional display mode.
[0134] Table 1
[0135] In the table, the service flow identifier can include the service flow identifier of each service flow, the type of service flow can include the type of each service flow, the disturbance identifier can include the disturbance identifier of each disturbance, the first factor can include the first factor of each service flow, the second factor can include the second factor of each service flow, the specific content refers to the specific value corresponding to each field, as shown in Table 1, the resilience value of the target object can be 50%, the service flow identifier can be flow 1, the type of service flow can be unicast type, the disturbance identifier can be disturb 1, the first factor can be 10%, and the second factor can be 15%.
[0136] Through the above technical solution, when evaluating the resilience value of the target object, not only the influence degree of the disturbance on each service flow is considered, but also the on-off state of each service flow is combined. In this way, the resilience value of the target object can be comprehensively evaluated by combining the influence degree of the disturbance on the service flow and the on-off state of the service flow in two dimensions, thereby effectively improving the accuracy of evaluating the resilience value of the target object. In addition, after obtaining the resilience value of the target object, at least one of the service flow identifier of each service flow supported by the target object, the interruption factor of each service flow, the type of each service flow, and the disturbance identifier of the disturbance to the target object can be output on the basis of outputting the resilience value of the target object, so that the user can analyze the resilience value of the target object according to the output information.
[0137] The content of S602 will be described in detail below with reference to FIGS. 7 and 8.
[0138] In an optional implementation, each service flow can correspond to at least one index, and the interruption factor of each service flow can include the interruption factor of the service flow at each index. For example, assuming that the index corresponding to the service flow A includes bandwidth and latency, the interruption factor of the service flow A can include the interruption factor of the service flow A at the bandwidth and the interruption factor of the service flow A at the latency.
[0139] The interruption factor of the service flow at each index can be determined based on the SLA lower limit value of the index and the index value of the index at each moment. For example, the interruption factor of the service flow A at the bandwidth can be determined based on the SLA lower limit value of the bandwidth and the index value of the bandwidth at each moment.
[0140] The first proportion corresponding to each service flow can include the second proportion of the service flow at each index, and the second proportion of the service flow at each index is used to represent the influence degree of the disturbance on the service flow at the index.
[0141] On this basis, the resilience value of the service flow can be determined based on the service flow interruption factor and the first proportion, and the method shown in FIG. 7 can be referred to, as shown in FIG. 7, the method includes the following steps.
[0142] In S701, for each index, a second proportion of the service flow under the index is determined based on the SLA lower limit value of the index, the index value of the index at each time, and the disturbance duration.
[0143] In the embodiments of the present application, the service flow under an index can be understood as: service transmission based on the index.
[0144] In an optional implementation, for each index, the server can determine the number of interruptions of the service flow under the index and the interruption duration of each interruption based on the SLA lower limit value of the index and the index value of the index at each time, and determine the second proportion of the service flow under the index based on the number of interruptions of the service flow under the index, the interruption duration of each interruption, the disturbance duration, and the SLA lower limit value of the index.
[0145] Specifically, for each index, after the server obtains the index value of the index at each time, the server can determine a plurality of times at which the index value is equal to the SLA lower limit value of the index based on the SLA lower limit value of the index and the index value of the index at each time. The server can sort the plurality of times in chronological order, and then determine the number of interruptions of the service flow under the index according to the number of the plurality of times, and determine the interruption duration of each interruption according to the plurality of times sorted in sequence. Then, the server can determine the second proportion of the service flow under the index based on the number of interruptions of the service flow under the index, the interruption duration of each interruption, the disturbance duration, and the SLA lower limit value of the index, using the following formulas one, two and three.
[0146] Wherein, P(t1) represents the index value of the index at time t1, t1 is the start time of the disturbance, i.e., the time when the target object is disturbed, P(t1+T) represents the index value of the index at time t1+T, T represents the disturbance duration, S0 is the difference between the index value of the index at time t1 and the SLA lower limit value of the index, and S0 multiplied by the disturbance duration, as shown in the sum of the shaded area and the grid area in (a) of FIG. 9 and (b) of FIG. 9. LB P(t1) represents the index value of the index at time t1, t1 is the start time of the disturbance, i.e., the time when the target object is disturbed, P(t1+T) represents the index value of the index at time t1+T, T represents the disturbance duration, S0 is the difference between the index value of the index at time t1 and the SLA lower limit value of the index, and S0 multiplied by the disturbance duration, as shown in the sum of the shaded area and the grid area in (a) of FIG. 9 and (b) of FIG. 9. P(t1) represents the index value of the index at time t1, t1 is the start time of the disturbance, i.e., the time when the target object is disturbed, P(t1+T) represents the index value of the index at time t1+T, T represents the disturbance duration, S0 is the difference between the index value of the index at time t1 and the SLA lower limit value of the index, and S0 multiplied by the disturbance duration, as shown in the sum of the shaded area and the grid area in (a) of FIG. 9 and (b) of FIG. 9. LBT is the product of the SLA lower limit value of the index and the disturbance duration, S1 is the result of integrating P(t) in the interval [t1, t1+T], and the difference between the product of the SLA lower limit value and the disturbance duration, and the sum of the grid area in (a) of FIG. 9 and (b) of FIG. 9 is S1. S is the second ratio, that is, the second ratio is the ratio of S1 and S0.
[0147] The embodiments of the present application do not limit the way of determining the number of interruptions of the service flow under the index according to the number of time points, and exemplarily, the number of time points can be divided by 2 to obtain the number of interruptions of the service flow under the index. For example, assuming that the number of time points is 2N, the number of interruptions of the service flow under the index is N.
[0148] The embodiments of the present application do not limit the way of determining the interruption duration of each interruption according to the plurality of time points arranged in sequence, and exemplarily, the duration between the 2N-1th time point and the 2Nth time point can be taken as the interruption duration of the Nth interruption. For example, assuming that the plurality of time points arranged in sequence are: t a , t b , t c , t d , the duration between t a and t b can be taken as the interruption duration of the first interruption, and the duration between t c and t d can be taken as the interruption duration of the second interruption.
[0149] Exemplarily, in one embodiment, assuming that the index corresponding to the service flow A is bandwidth, and in the disturbance process, the change curve of the bandwidth is shown in (a) of FIG. 9, the SLA lower limit value of the bandwidth is B LB , after the server obtains the index value of the bandwidth at each time point, it can determine that the number of time points at which the bandwidth is equal to B LB is 4, which are t2, t3, t4 and t5 respectively. The server can determine the number of interruptions of the service flow A under the index according to the number of time points at which the bandwidth is equal to B LB , which is 2, and determine the interruption duration of the first interruption and the interruption duration of the second interruption according to the t2, t3, t4 and t5 arranged in sequence. Then, the server can determine the second ratio of the service flow A under the bandwidth based on the number of interruptions of the service flow A under the bandwidth, the interruption duration of each interruption, the disturbance duration and the SLA lower limit value of the bandwidth, using the above formula one, formula two and formula three.
[0150] In another embodiment, assuming that the index corresponding to the service flow A is throughput, and in the disturbance process, the change curve of the throughput is shown in (b) of FIG. 9, the SLA lower limit value of the throughput is R LB, the server can determine the number of times that the throughput equals R LB at each time point is 2, which are t2 and t3 respectively. The server can determine the number of interruptions of the service flow A under the throughput is 1 according to the number of times that the throughput equals R LB , and determine the interruption duration of the first interruption according to t2 and t3 arranged in sequence. Then, the server can determine the second proportion of the service flow A under the throughput based on the number of interruptions of the service flow A under the throughput, the interruption duration of each interruption, the disturbance duration and the SLA lower limit value of the throughput, by using the above Formula One, Formula Two and Formula Three.
[0151] In another optional implementation, for each index, the server can determine the number of interruptions of the service flow under the index and the interruption duration of each interruption based on the SLA lower limit value of the at least one index and the index value of the at least one index at each time point, and determine the second proportion of the service flow under the index based on the number of interruptions of the service flow under the index, the interruption duration of each interruption, the disturbance duration and the SLA lower limit value of the index.
[0152] Specifically, for each index, after obtaining the index value of the index at each time point, the server can determine the number of time points at which the index value equals the SLA lower limit value of the index based on the SLA lower limit value of the index and the index value of the index at each time point. The server can arrange the time points in time sequence, and determine the interruption start time point and the interruption end time point corresponding to each interruption according to the arranged time points in sequence.
[0153] Then, the server can perform set union processing according to the interruption start time point and the interruption end time point corresponding to the interruptions of the service flow under each index with intersection, and determine the number of interruptions of the service flow and the interruption duration of each interruption according to the interruption start time point and the interruption end time point after the set union processing and the interruption start time point and the interruption end time point corresponding to the interruptions of the service flow under each index without intersection. The server can determine the second proportion of the service flow under each index by using the above Formula One, Formula Two and Formula Three based on the number of interruptions of the service flow, the interruption duration of each interruption, the disturbance duration and the SLA lower limit value of the index.
[0154] The embodiments of the present application do not limit the determination of the interruption start time point and the interruption end time point corresponding to each interruption according to the arranged time points in sequence. For example, the (2N-1)th time point can be taken as the interruption start time point of the Nth interruption, and the 2Nth time point can be taken as the interruption end time point of the Nth interruption. For example, assuming that the arranged time points in sequence are: t a , t b , t c , t d, t a , t b , t c , t d , t
[0155] For example, assume that the metrics corresponding to the service flow B include bandwidth and latency, and during the disturbance, the change curve of the bandwidth is shown in (a) of FIG. 10, and the change curve of the latency is shown in (b) of FIG. 10, the SLA lower limit value of the bandwidth is B LB , and the SLA lower limit value of the latency is D LB , after the server obtains the metric values of the bandwidth and the latency at each time, it can determine that the number of times when the bandwidth is equal to B LB is 4, which are t2, t3, t4 and t5 respectively, and the number of times when the latency is equal to T LB is 4, which are t 2a , t 3a , t6 and t7 respectively, wherein t 2a is greater than t2, t 3a is less than t3, t2 is the interruption start time of the first interruption of the service flow B in the bandwidth, t3 is the interruption end time of the first interruption of the service flow B in the bandwidth, t4 is the interruption start time of the second interruption of the service flow B in the bandwidth, t5 is the interruption end time of the second interruption of the service flow B in the bandwidth, t 2a is the interruption start time of the first interruption of the service flow B in the latency, t 3a is the interruption end time of the first interruption of the service flow B in the latency, t6 is the interruption start time of the second interruption of the service flow B in the latency, and t7 is the interruption end time of the second interruption of the service flow B in the latency.
[0156] The server can perform set processing according to the interruption start time and the interruption end time corresponding to the interruption of the service flow having intersection under each index. For example, the server can perform set processing according to the interruption start time and the interruption end time of the first interruption of the service flow B under the bandwidth, and the interruption start time and the interruption end time of the first interruption of the service flow B under the time delay, to obtain the set-processed interruption start time t2 and the set-processed interruption end time t3. The server can determine the interruption times of the service flow and the interruption duration of each interruption according to the set-processed interruption start time t2 and the set-processed interruption end time t3, and the interruption start time t4 and the interruption end time t5 of the second interruption of the service flow B under the bandwidth, and the interruption start time t6 and the interruption end time t7 of the second interruption of the service flow B under the time delay, which do not have intersection under each index. The server can determine the second proportion of the service flow under each index by using the above formula one, formula two and formula three based on the interruption times of the service flow, the interruption duration of each interruption, the disturbance duration and the SLA lower limit value of the index.
[0157] S702, determine the resilience value of the service flow under the index based on the interruption factor of the service flow under the index and the second proportion of the service flow under the index.
[0158] Specifically, after determining the second proportion of the service flow under the index by S701, the server can determine the resilience value of the service flow under the index by using the following formula four based on the interruption factor of the service flow under the index and the second proportion of the service flow under the index. W=S-F (Formula four)
[0159] Wherein, S represents the second proportion of the service flow under the corresponding index, F represents the interruption factor of the service flow under the corresponding index, and W represents the resilience value of the service flow under the index. That is, the resilience value of the service flow under the index is the difference between the second proportion of the service flow under the corresponding index and the interruption factor of the service flow under the corresponding index.
[0160] Optionally, in the case where the interruption factor includes the first factor and the second factor, the above formula four can be replaced by W=S-F t - N F t represents the first factor, and F N represents the second factor.
[0161] Optionally, in the case where the interruption factor includes the first factor and the second factor, the above formula four can also be replaced by W=SxF t x(1-F N ).
[0162] S703, determining the resilience value of the service flow based on the resilience value of the service flow under each index.
[0163] In an optional implementation, when performing S703, the server can determine the resilience value of the service flow based on the resilience value of the service flow under each index and the weight value corresponding to each index.
[0164] Specifically, after obtaining the resilience value of the service flow under each index through S702, the server can obtain the resilience value of the service flow based on the resilience value of the service flow under each index and the weight value corresponding to each index, using the following Formula Five. single = α1W1+ α2W2+ … + α n W n (Formula Five)
[0165] wherein, α n represents the weight value corresponding to the nth index, W n represents the nth index, α n W n represents the weight value corresponding to the nth index and the nth index, W single represents the resilience value of a certain service flow. That is, the resilience value of a certain service flow is the weighted sum of each index corresponding to the service flow and the weight value corresponding to each index.
[0166] In an optional implementation, before determining the resilience value of each service flow supported by the target object in the manner shown in FIG. 7, when obtaining the interruption factor of each service flow supported by the target object, because each service flow corresponds to at least one index, the interruption factor of each service flow can include the interruption factor of the service flow under each index. The server can obtain the interruption factor of each service flow under each index in the following two ways.
[0167] The first way: the server can determine the interruption factor of the service flow under the index based on the SLA lower limit value of the index and the index value of the index at each time.
[0168] Specifically, taking the interruption factor including the first factor and the second factor as an example, wherein the server can determine the interruption duration and the interruption times of the service flow under the index based on the SLA lower limit value of the index and the index value of the index at each time, and then determine the first factor according to the interruption times of the service flow under the index using the following Formula Six, and determine the second factor according to the interruption duration of the service flow under the index using the following Formula Seven or Formula Eight. t = ΔT / T (Formula Six) F N = βN (Formula Eight)
[0169] wherein, Ft denotes a first factor, F N denotes a second factor, ΔT denotes the interruption duration of the service flow under the index, T denotes the disturbance duration, N denotes the interruption times, and α is a preset curvature adjustment coefficient and β is a preset value.
[0170] In an optional implementation, when determining the interruption duration and the interruption times of the service flow under the index based on the SLA lower limit value of the index and the index value of the index at each time, the interruption times and the interruption duration of each interruption of the service flow under the index can be first determined based on the SLA lower limit value of the index and the index value of the index at each time, and then the interruption duration of the service flow under the index is determined according to the interruption duration of each interruption.
[0171] Specifically, the manner in which the server determines the interruption times and the interruption duration of each interruption of the service flow under the index based on the SLA lower limit value of the index and the index value of the index at each time can refer to the description in S701, which will not be described here.
[0172] The embodiments of the present application do not limit the manner in which the interruption duration of the service flow under the index is determined according to the interruption duration of each interruption. For example, the longest duration of each interruption can be taken as the interruption duration of the service flow under the index by using Formula Nine below, the sum of the interruption durations of each interruption can be taken as the interruption duration of the service flow under the index by using Formula Ten below, and the weighted sum of the interruption durations of each interruption can be taken as the interruption duration of the service flow under the index by using Formula Eleven below. ΔT = max(T1, T2, …, TN) n (Formula Nine) ΔT = T1 + T2 + … + TN n (Formula Ten) ΔT = δ1T1 + δ2T2 + … + δN n T n (Formula Eleven)
[0173] wherein T n denotes the interruption duration of the nth interruption, δ n denotes the weight value corresponding to the interruption duration of the nth interruption.
[0174] The second manner: the server can determine the interruption factor of the service flow under the index based on the SLA lower limit value of the at least one index and the index value of the at least one index at each time.
[0175] Specifically, taking the interruption factor including a first factor and a second factor as an example, the server can determine the number of interruptions of the service flow and the interruption duration of each interruption based on the SLA lower limit value of each indicator and the indicator value of each indicator at each time, then determine the first factor according to the number of interruptions of the service flow by using the above formula six, and determine the second factor according to the interruption duration of each interruption by using the above formula seven or formula eight.
[0176] Specifically, the manner of determining the number of interruptions of the service flow and the interruption duration of each interruption based on the SLA lower limit value of each indicator and the indicator value of each indicator at each time can refer to the description in S701 above, which will not be repeated here. The manner of determining the first factor according to the number of interruptions of the service flow by using the above formula six, and determining the second factor according to the interruption duration of each interruption by using the above formula seven or formula eight can refer to the description in the above first manner, which will not be repeated here.
[0177] Through the above technical solution, a specific implementation manner of determining the resilience value of the service flow based on the interruption factor of the service flow and the first proportion is provided. In this process, not only the on-off situation of the service flow is combined to determine the resilience value of the service flow, but also the SLA lower limit value of the indicator, the indicator value of each indicator at each time, and the disturbance duration and other multi-dimensional information are combined to determine the second proportion of the service flow under each indicator. In this way, the accuracy of determining the second proportion of the service flow under each indicator can be effectively improved, so that the second proportion of the service flow under each indicator is used subsequently to further improve the accuracy of evaluating the resilience value of the target object.
[0178] In an optional implementation, each service flow can correspond to at least one indicator, and the interruption factor of each service flow can include the interruption factor of the service flow under the first indicator. The interruption factor of the service flow under the first indicator can be determined based on the lower limit value of the first indicator and the indicator value of the first indicator at each time. The lower limit value of the first indicator can be determined based on the SLA lower limit value of each indicator corresponding to the service flow. The indicator value of the first indicator at each time can be determined based on the indicator value of each indicator corresponding to the service flow at each time.
[0179] The embodiments of the present application do not limit the manner of determining the lower limit value of the first indicator based on the SLA lower limit value of each indicator corresponding to the service flow. For example, the maximum value of the SLA lower limit value of each indicator can be taken as the lower limit value of the first indicator by using the following formula twelve. The weighted sum of the SLA lower limit value of each indicator can also be taken as the lower limit value of the first indicator by using the following formula thirteen.
[0180] wherein, denotes the SLA lower limit value of the nth index, P LB denotes the lower limit value of the first index, θ n denotes the weight corresponding to the SLA lower limit value of the nth index.
[0181] The embodiments of the present application do not limit the manner of determining the index value of the first index at each time based on the index values of each index corresponding to the service flow at each time. For example, taking the index value of the first index at t1 based on the index values of each index corresponding to the service flow at t1 as an example, (1) the sum of the index values of each index at t1 can be taken as the index value of the first index at t1; (2) the maximum value of the index values of each index at t1 can be taken as the index value of the first index at t1; (3) the weighted sum of the index values of each index at t1 can be taken as the index value of the first index at t1; (4) the normalized index values of each index at t1 can be taken, and then the sum of the normalized index values can be taken as the index value of the first index at t1.
[0182] The first proportion corresponding to each service flow includes a third proportion. The third proportion is used to represent the influence degree of the disturbance on the service flow under the first index.
[0183] On this basis, when determining the resilience value of the service flow based on the interruption factor of the service flow and the first proportion, the method shown in the following FIG. 8 can be referred to, as shown in FIG. 8, the method includes:
[0184] S801, determining the third proportion based on the lower limit value of the first index, the index value of the first index at each time, and the disturbance duration.
[0185] Specifically, after obtaining the index value of the first index at each time, the server can determine a plurality of time points at which the index value is equal to the lower limit value of the first index based on the lower limit value of the first index and the index value of the first index at each time. The server can sort the plurality of time points in chronological order, then determine the interruption times of the service flow under the first index according to the number of the plurality of time points, and determine the interruption duration of each interruption according to the plurality of time points sorted in sequence. Then, the server can determine the third proportion based on the interruption times of the service flow under the first index, the interruption duration of each interruption, the disturbance duration, and the SLA lower limit value of the first index.
[0186] The specific implementation can refer to the description of S701 above, which will not be repeated here.
[0187] S802, determining the resilience value of the service flow based on the interruption factor of the service flow under the first index and the third proportion.
[0188] Specifically, after determining the third proportion of the service flow under the first index through S801, the server can determine the resilience value of the service flow under the first index based on the interruption factor of the service flow under the first index and the third proportion of the service flow under the first index.
[0189] Specifically, the manner of determining the resilience value of the service flow under the first index can refer to the description of S702, which will not be described here.
[0190] In an optional implementation, before determining the resilience value of each service flow supported by the target object in the manner shown in FIG. 8, when obtaining the interruption factor of each service flow supported by the target object, the interruption factor of each service flow is the interruption factor of the service flow under the first index. The server can obtain the interruption factor of each service flow under the first index in the following manner.
[0191] The server can determine the interruption factor of the service flow under the first index based on the lower limit value of the first index and the index value of the first index at each time.
[0192] Specifically, taking the interruption factor including the first factor and the second factor as an example, the server can determine the interruption duration and the interruption times of the service flow under the first index based on the lower limit value of the first index and the index value of the first index at each time, and then determine the first factor according to the interruption times of the service flow under the first index by using the above formula six, and determine the second factor according to the interruption duration of the service flow under the first index by using the above formula seven or formula eight.
[0193] The specific implementation can refer to the description of the server determining the interruption factor of the service flow under any index based on the SLA lower limit value of the index and the index value of the index at each time in the first manner, which will not be described here.
[0194] Through the above technical solutions, another specific implementation of determining the resilience value of the service flow is provided. In this implementation, the comprehensive index (i.e., the first index) can be determined based on each index corresponding to the service flow, and then the third proportion can be determined based on the comprehensive index. In this way, the calculation efficiency can be effectively improved without calculating the proportion for each index. In addition, the third proportion can be determined based on multiple dimensions of information such as the lower limit value of the comprehensive index, the index value of the comprehensive index at each time, and the disturbance duration. In this way, the accuracy of determining the third proportion can be effectively improved, and the subsequent use of the third proportion can further improve the accuracy of evaluating the resilience value of the target object.
[0195] After the resilience values of the respective service flows are determined in the manner of Fig. 7 or Fig. 8, the server can determine the resilience value of the target object according to the resilience values of the respective service flows. The manner in which the server determines the resilience value of the target object according to the resilience values of the respective service flows will be described in detail below.
[0196] In an alternative embodiment, the perturbation of the target object can include at least one perturbation. On this basis, after the server obtains the resilience values of the respective service flows supported by the target object, for each perturbation, the server can determine the resilience value of the target object under the perturbation according to the resilience value of each service flow and the weight value corresponding to each service flow, and then determine the resilience value of the target object based on the weight value of each perturbation and the resilience value of the target object under each perturbation.
[0197] Specifically, after the server obtains the resilience values of the respective service flows supported by the target object, the server can determine the resilience value of the target object under each perturbation based on the resilience value of each service flow and the weight value of each service flow using Formula Fourteen below, and then determine the resilience value of the target object based on the weight value of each perturbation and the resilience value of the target object under each perturbation using Formula Fifteen below.
[0198] wherein, represents the resilience value of the nth service flow, W multiflow represents the resilience value of the target object under a certain perturbation, represents the resilience value of the target object under the nth perturbation, W multifault represents the resilience value of the target object, β n represents the weight value of the nth service flow, γ n represents the weight value of the nth perturbation.
[0199] Through the above technical solution, a specific implementation manner of determining the resilience value of the target object in a multi-perturbation scenario is provided, which can balance the proportion of the resilience value of the target object under each perturbation in the resilience value of the target object according to the weight value corresponding to each perturbation. In this way, not only the accuracy of determining the resilience value of the service flow can be further improved, but also multiple perturbation scenarios can be compatible.
[0200] In order to make the relevance between the steps in Fig. 7 more clear, the resilience determination method provided by the embodiments of the present application will be described below through a specific flowchart. Fig. 11 is a flowchart of another resilience determination method provided by the embodiments of the present application, as shown in Fig. 11, the method includes:
[0201] S1101, injecting a perturbation into the target object.
[0202] S1102, in response to the disturbance to the target object, acquiring, for each service flow supported by the target object, an index value of each index corresponding to the service flow at each time, and an SLA lower limit value of each index.
[0203] S1103, for each index of each service flow, determining an interruption duration and an interruption times of the corresponding service flow under the index based on the index value of the index at each time and the SLA lower limit value of the index.
[0204] S1104, determining a second proportion of the service flow under the index based on the SLA lower limit value of the index, the index value of the index at each time, and the disturbance duration.
[0205] S1105, determining a first factor of the service flow under the index based on the interruption times of the service flow under the index.
[0206] S1106, determining a second factor of the service flow under the index based on the interruption duration of the service flow under the index.
[0207] S1107, determining a resilience value of the service flow under the index based on the first factor and the second factor of the service flow under the index, and the second proportion of the service flow under the index.
[0208] S1108, determining a resilience value of the service flow based on the resilience value of the service flow under each index and a weight value corresponding to each index.
[0209] S1109, determining a resilience value of the target object under each disturbance based on the resilience value of each service flow and a weight value corresponding to each service flow.
[0210] S1110, determining a resilience value of the target object based on the weight value of each disturbance and the resilience value of the target object under each disturbance.
[0211] S1111, outputting the resilience value of the target object, a service flow identifier of each service flow supported by the target object, an interruption factor of each service flow, a type of each service flow, and a disturbance identifier of the disturbance to the target object.
[0212] In order to make the association between the steps in the above Fig. 8 more clear, the resilience determination method provided by the embodiment of the present application will be described below through a specific flowchart. Fig. 12 is a flowchart of another resilience determination method provided by the embodiment of the present application, as shown in Fig. 12, the method comprises:
[0213] S1201, injecting a disturbance to the target object.
[0214] S1202, in response to the disturbance to the target object, obtaining, for each service flow supported by the target object, an index value of each index corresponding to the service flow at each time, and an SLA lower limit value of each index.
[0215] S1203, determining a lower limit value of the first index based on the SLA lower limit value of each index corresponding to the service flow.
[0216] S1204, determining the index value of the first index at each time based on the index value of each index corresponding to the service flow at each time.
[0217] S1205, determining a third ratio based on the lower limit value of the first index, the index value of the first index at each time, and the disturbance duration.
[0218] S1206, determining a first factor of the service flow under the first index based on the number of interruptions of the service flow under the first index.
[0219] S1207, determining a second factor of the service flow under the first index based on the interruption duration of the service flow under the first index.
[0220] S1208, determining a resilience value of the service flow based on the first factor and the second factor of the service flow under the first index, and the third ratio of the service flow under the first index.
[0221] S1209, determining a resilience value of the target object under each disturbance based on the resilience value of each service flow and the weight value corresponding to each service flow.
[0222] S1210, determining a resilience value of the target object based on the weight value of each disturbance and the resilience value of the target object under each disturbance.
[0223] S1211, outputting the resilience value of the target object, the service flow identifier of each service flow supported by the target object, the interruption factor of each service flow, the type of each service flow, and the disturbance identifier of the disturbance to the target object.
[0224] The embodiments of the present application also provide a resilience determination apparatus for implementing the various methods described above. It can be understood that the resilience determination apparatus comprises the corresponding hardware structure and / or software module for implementing each function. Those skilled in the art should easily realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in hardware or a combination of hardware and computer software. Whether a certain function is implemented in hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0225] The embodiment of the present application can divide the function modules of the resiliency determination apparatus according to the method embodiments described above. For example, each function module can be divided according to each function, or two or more functions can be integrated in one processing module. The integrated module can be realized in the form of hardware or in the form of a software function module. It should be understood that the division of the modules in the embodiment of the present application is illustrative, and is only a logical function division. When actually implemented, another division mode can be used.
[0226] For example, in one example, the resiliency determination apparatus at least includes a processing module 1301 and a transceiver module 1302 shown in FIG. 13.
[0227] The processing module 1301 is configured to obtain an interruption factor of at least one service flow supported by the target object in response to a disturbance to the target object, and determine a resiliency value of the target object based on the interruption factor corresponding to each service flow and the first proportion.
[0228] The transceiver module 1302 is configured to output the resiliency value of the target object.
[0229] In the embodiment of the present application, the resiliency determination apparatus is presented in the form of dividing each function module in an integrated manner. The "module" here can refer to a specific application specific integrated circuit (ASIC), a processor and a memory executing one or more software or firmware programs, an integrated logic circuit, and / or other devices that can provide the above functions.
[0230] Since the resiliency determination apparatus provided by the embodiment of the present application can execute the resiliency determination method described above, the technical effects that can be obtained thereby can refer to the method embodiments described above, which will not be described herein again.
[0231] It should be understood that one or more of the above modules or units can be realized in software, hardware, or a combination of both. When any of the above modules or units is realized in software, the software exists in the form of computer program instructions and is stored in a memory. A processor can be used to execute the program instructions and realize the above method flow. The processor can be built in a system on chip (SoC) or an ASIC, or be a separate semiconductor chip. The processor further includes a core for executing software instructions to perform operations or processing, and can further include necessary hardware accelerators, such as a field programmable gate array (FPGA), a PLD (programmable logic device), or a logic circuit for implementing special logic operations.
[0232] When the above modules or units are implemented in hardware, the hardware can be any one or any combination of a CPU, a microprocessor, a digital signal processor (DSP) chip, a micro controller unit (MCU), an artificial intelligence processor, an ASIC, a SoC, a FPGA, a PLD, a dedicated digital circuit, a hardware accelerator, or a non-integrated discrete device, which can run necessary software or not to perform the above method flows.
[0233] In a possible implementation, the embodiment of the present application further provides a computer readable storage medium, which stores a computer program or instructions, and when the computer program or instructions are run on the toughness determination device, the toughness determination device can execute the method according to any one of the method embodiments or any implementation of the method.
[0234] In the above embodiments, the method can be implemented by software, hardware, firmware or any combination thereof, entirely or partially. When implemented by software, the method can be implemented in the form of a computer program product, entirely or partially. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the computer program instructions entirely or partially generate the processes or functions according to the embodiments of the present application. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable devices.
[0235] The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer readable storage medium can be any available medium that can be accessed by a computer or data storage device including one or more servers, data centers, etc. integrated with the medium. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state drive (SSD)), etc.
[0236] Although the application has been described in connection with the embodiments thereof with reference to the various drawings, it will be understood that other variations and modifications of the details, and specific examples can be resorted to by those skilled in the art without departing from the spirit and scope of the application. In its broadest form, the application is directed to all new and useful processes, machines, articles of manufacture, compositions of matter, and methods that fall within the scope of the claims. The specification and drawings are, accordingly, to be regarded as illustrative rather than restrictive. It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application cover the modifications and variations of this application provided they come within the scope of the appended claims and their equivalents.
[0237] Although the application has been described in connection with the embodiments thereof with reference to the various drawings, it will be understood that other variations and modifications of the details, and specific examples can be resorted to by those skilled in the art without departing from the spirit and scope of the application. In its broadest form, the application is directed to all new and useful processes, machines, articles of manufacture, compositions of matter, and methods that fall within the scope of the claims. The specification and drawings are, accordingly, to be regarded as illustrative rather than restrictive. It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application cover the modifications and variations of this application provided they come within the scope of the appended claims and their equivalents.
Claims
1. A method for determining toughness, characterized in that: The method comprises: In response to a disturbance to a target object, obtaining an interruption factor of at least one service flow supported by the target object; the interruption factor of each service flow is used to characterize a situation in which the service flow is interrupted; Determining a resilience value of the target object based on the interruption factor and the first ratio corresponding to each service flow; the resilience value is used to characterize the ability of the target object to maintain the current service when subjected to the disturbance; the first ratio corresponding to each service flow is used to characterize the degree of impact of the disturbance on the service flow; Output the toughness value of the target object.
2. The method according to claim 1, characterized in that The determining the resilience value of the target object based on the interruption factor corresponding to each service flow and the first ratio includes: For each service flow, determining a resilience value of the service flow based on an interruption factor corresponding to the service flow and a first ratio; Based on the resilience value of each business flow, the resilience value of the target object is determined.
3. The method according to claim 2, characterized in that Each business flow corresponds to at least one indicator; the interruption factor of each business flow includes the interruption factor of the business flow under each indicator; the interruption factor of the business flow under each indicator is determined based on the service level agreement (SLA) lower limit value of the indicator and the indicator value of the indicator at each moment; the first ratio corresponding to each business flow includes the second ratio of the business flow under each indicator; the second ratio of the business flow under each indicator is used to represent the degree of impact of the disturbance on the business flow under the indicator; The determining, based on the interruption factor of the service flow and the first ratio, a resilience value of the service flow includes: For each indicator, determining a second proportion of the service flow under the indicator based on the SLA lower limit of the indicator, the indicator value of the indicator at each moment, and the disturbance duration; the disturbance duration refers to the time between the target object being subjected to the disturbance and adapting to the disturbance; Determining a resilience value of the service flow under the indicator based on an interruption factor of the service flow under the indicator and a second ratio of the service flow under the indicator; Based on the resilience value of the business flow under each indicator, the resilience value of the business flow is determined.
4. The method according to claim 3, characterized in that The determining, based on the SLA lower limit of the indicator, the indicator value of the indicator at each moment, and the disturbance duration, a second proportion of the service flow under the indicator includes: Determining the number of interruptions of the service flow under the indicator and the interruption duration of each interruption based on the SLA lower limit value of the indicator and the indicator value of the indicator at each moment; or determining the number of interruptions of the service flow under the indicator and the interruption duration of each interruption based on the SLA lower limit value of at least one indicator and the indicator value of at least one indicator at each moment; Based on the number of interruptions of the business flow under the indicator, the interruption duration of each interruption, the disturbance duration and the SLA lower limit of the indicator, a second proportion of the business flow under the indicator is determined.
5. The method according to claim 3, characterized in that Determining the resilience value of the service flow based on the resilience value of the service flow under each indicator includes: The resilience value of the business flow is determined based on the resilience value of the business flow under each indicator and the weight corresponding to each indicator.
6. The method according to any one of claims 3 to 5, characterized in that The obtaining of the interruption factor of at least one service flow supported by the target object includes: For each indicator corresponding to each service flow, determine the interruption factor of the service flow under the indicator based on the SLA lower limit value of the indicator and the indicator value of the indicator at each moment, or, For each indicator corresponding to each service flow, based on the SLA lower limit value of at least one indicator and the indicator value of at least one indicator at each moment, the interruption factor of the service flow under the indicator is determined.
7. The method according to claim 2, characterized in that Each business flow corresponds to at least one indicator; the interruption factor of each business flow includes the interruption factor of the business flow under the first indicator; the interruption factor of the business flow under the first indicator is determined based on the lower limit value of the first indicator and the indicator value of the first indicator at each moment; the lower limit value of the first indicator is determined based on the SLA lower limit value of each indicator corresponding to the business flow; the indicator value of the first indicator at each moment is determined based on the indicator value of each indicator corresponding to the business flow at each moment; the first ratio corresponding to each business flow includes a third ratio; the third ratio is used to characterize the degree of impact of the disturbance on the business flow under the first indicator; The determining, based on the interruption factor of the service flow and the first ratio, a resilience value of the service flow includes: determining the third ratio based on a lower limit value of the first indicator, an indicator value of the first indicator at each moment, and a disturbance duration; the disturbance duration refers to a time period from when the target object is subjected to the disturbance to when it adapts to the disturbance; Based on the interruption factor of the business flow under the first indicator and the third ratio, the resilience value of the business flow is determined.
8. The method according to claim 2, characterized in that The disturbance to the target object includes at least one disturbance; The determining the resilience value of the target object based on the resilience value of each service flow includes: For each disturbance, determine the resilience value of the target object under the disturbance according to the resilience value of each service flow and the weight corresponding to each service flow; The toughness value of the target object is determined based on the weight of each disturbance and the toughness value of the target object under each disturbance.
9. The method according to any one of claims 1 to 8, characterized in that The interruption factor includes at least a first factor and a second factor; the first factor of each service flow is determined based on the number of interruptions of the service flow; the second factor of each service flow is determined based on the interruption duration of the service flow.
10. The method according to any one of claims 1 to 9, characterized in that The method further comprises: Output at least one of a service flow identifier of each service flow supported by the target object, an interruption factor of each service flow, a type of each service flow, and a disturbance identifier of a disturbance to the target object.
11. The method according to any one of claims 1 to 10, characterized in that The target object is a network or a server.
12. A toughness determination device, characterized in that: include: A functional unit for executing the method according to any one of claims 1 to 11; wherein the actions executed by the functional unit are implemented by hardware or the corresponding software is implemented by hardware.
13. A toughness determination device, characterized in that: The toughness determination device includes a processor; the processor is used to run a computer program or instruction, or to use a logic circuit to enable the toughness determination device to implement the method according to any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions or programs, which, when executed on a computer, enable the toughness determination device to implement the method according to any one of claims 1 to 11.
15. A computer program product, characterized in that The computer program product comprises instructions, and when the instructions are executed on a computer, the computer performs the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Toughness information service cloud environment test evaluation system and use method thereof
CN110233832A
Energy Internet CPS flexible scheduling method and system and storage medium thereof
CN114221901A
Method and device for determining toughness of power distribution network
CN116388161A
Mooring system toughness evaluation method and system and medium
CN117332570A
System and method to estimate network disruption index
US20200099702A1