Complex system capability detection method and device

By comparing the preset parameter values ​​of complex systems in the target behavior sequence and the disturbed sequence, and detecting their adaptability, the problem of complex systems' response performance deviations when behavior sequence perturbation is solved, and timely adjustment and performance optimization are achieved.

CN119166475APending Publication Date: 2024-12-20NETSUNION CLEARING CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310729301.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-19
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

Complex systems find it difficult to accurately detect their adaptive capabilities when behavioral sequence perturbations, resulting in a deviation in response performance and cannot be adjusted in time.

Method used

By obtaining the preset parameter values ​​of the target behavior sequence and the scrambled sequence and comparing the differences between the two, we can detect the adaptive ability of complex systems to perturb the behavior sequence.

Benefits of technology

Accurate detection of the adaptive ability of behavior sequence perturbation of complex systems is realized, and shortcomings are discovered in a timely manner and adjustments are made to avoid response performance deviations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119166475A_ABST
    Figure CN119166475A_ABST
Patent Text Reader

Abstract

The invention discloses a complex system capability detection method and device, and the method comprises the steps: obtaining a target behavior sequence used for detecting the preset capability of a target complex system, and the preset capability is the capability related to the adaptive capability of the target complex system to behavior sequence disturbance; executing behaviors in the target behavior sequence in sequence through at least one subsystem in the target complex system, and recording a value of at least one preset parameter of the at least one subsystem during execution to obtain a first value set; executing behaviors in the disturbance sequence in sequence through the at least one subsystem, and recording the value of the at least one preset parameter of the at least one subsystem during execution to obtain a second value set; and respectively comparing the values of the same preset parameter in the first value set and the second value set to determine a detection result of the preset capability of the target complex system. The method and the device can accurately detect the adaptive capability of the target complex system to the sequence disturbance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a complex system capability detection method and device. Background Art

[0002] The nonlinear and complex system is referred to as a complex system. A complex system is a system with high order, multiple loops and nonlinear information feedback structure. Whether in nature or in the social and economic fields, complex systems are everywhere, especially in the computer field, such as the non-bank payment institution network payment clearing platform (referred to as the Nets Union clearing platform), non-bank payment platforms, online shopping platforms, etc.

[0003] In the computer field, a complex system often includes multiple subsystems working together. A business implemented by a complex system often includes a series of business behaviors, and this series of business behaviors are executed in a certain order by one or more subsystems in the complex system. The series of business behaviors with an execution order corresponding to a business can be called the behavior sequence of the business.

[0004] In actual business scenarios, for some businesses, the behavior sequence is not static, but changes with the actual needs of users, which will cause disturbances in the behavior sequence. Complex systems should have good self-adaptation, self-regulation or recovery capabilities for such disturbances in the behavior sequence, and should not have large deviations in response performance due to changes in the behavior sequence. Therefore, before or after a complex system goes online, it is necessary to accurately detect the capabilities of the complex system in this regard, so as to make timely adjustments to the deficiencies of the complex system. Summary of the invention

[0005] The embodiments of the present application provide a complex system capability detection method and device to accurately detect the adaptive capability of a complex system to behavior sequence disturbances.

[0006] In a first aspect, an embodiment of the present application further provides a complex system capability detection method, comprising:

[0007] Acquire a target behavior sequence for detecting a preset capability of a target complex system, wherein the preset capability is a capability related to an adaptive capability of the target complex system to a disturbance of the behavior sequence;

[0008] At least one subsystem in the target complex system sequentially executes behaviors in the target behavior sequence, and records the value of at least one preset parameter of the at least one subsystem during the execution, to obtain a first value set, wherein one subsystem corresponds to executing one behavior, and the preset parameter can reflect the preset capability of the target complex system;

[0009] disrupting the order of behaviors in the target behavior sequence to obtain a disrupted sequence;

[0010] The at least one subsystem sequentially executes the behaviors in the disturbance sequence, and records the value of the at least one preset parameter of the at least one subsystem during the execution to obtain a second value set;

[0011] The values ​​of the same preset parameter in the first value set and the second value set are compared respectively to determine the detection result of the preset capability of the target complex system.

[0012] In a second aspect, the embodiment of the present application further provides a complex system capability detection device, including:

[0013] A sequence acquisition module, used to acquire a target behavior sequence for detecting a preset capability of a target complex system, wherein the preset capability is a capability related to an adaptive capability of the target complex system to a disturbance of the behavior sequence;

[0014] A first execution module is used to sequentially execute the behaviors in the target behavior sequence through at least one subsystem in the target complex system, and record the value of at least one preset parameter of the at least one subsystem during the execution to obtain a first value set, wherein one subsystem corresponds to executing one behavior, and the preset parameter can reflect the preset capability of the target complex system;

[0015] A sequence disruption module, used for disrupting the order of behaviors in the target behavior sequence to obtain a disrupted sequence;

[0016] A second execution module, configured to execute the behaviors in the perturbation sequence in sequence through the at least one subsystem, and record the value of the at least one preset parameter of the at least one subsystem during the execution to obtain a second value set;

[0017] A result determination module is used to compare the values ​​of the same preset parameter in the first value set and the second value set respectively to determine the detection result of the preset capability of the target complex system.

[0018] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the method described in the first aspect are implemented.

[0019] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.

[0020] At least one of the above technical solutions adopted in the embodiment of the present application first uses at least one subsystem in the target complex system to execute the behaviors in the target behavior sequence in sequence, and records the value of at least one preset parameter of the at least one subsystem during the execution of the target behavior sequence to obtain a first value set; then, the inherent order of the target behavior sequence is disrupted to obtain a disturbed sequence, and the at least one subsystem is used to execute the behaviors in the disturbed sequence in sequence, and the value of at least one preset parameter of the at least one subsystem during the execution of the disturbed sequence is recorded to obtain a second value set; then, by comparing the values ​​of the same preset parameters in the first value set and the second value set, the detection result of the adaptive ability of the target complex system to the sequence disturbance is determined. Since the preset parameter can reflect the ability related to the adaptive ability of the target complex system to the behavior sequence disturbance, the ability of the target complex system in this regard can be accurately detected by comparing the value of at least one preset parameter during the execution of the disturbed sequence and the normal sequence (target behavior sequence). BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0022] Figure 1 It is a schematic diagram of the architecture of a complex system provided by an embodiment of the present application.

[0023] Figure 2 It is a flowchart of a complex system capability detection method provided in one embodiment of the present application.

[0024] Figure 3 It is a detailed flowchart of a complex system capability detection method provided by another embodiment of the present application.

[0025] Figure 4 It is a flowchart of a complex system capability detection method provided by another embodiment of the present application.

[0026] Figure 5 It is a structural diagram of a complex system capability detection device provided in one embodiment of the present application.

[0027] Figure 6 It is a structural diagram of a complex system capability detection device provided in another embodiment of the present application.

[0028] Figure 7 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0030] In order to accurately detect the adaptive ability of a complex system to behavioral sequence disturbances, the embodiment of the present application provides a complex system ability detection method and device, which can be executed by an electronic device, which can be a terminal device or a server, or the method and device can be executed by software installed in the electronic device. The terminal device includes but is not limited to any of the following intelligent terminal devices: a smart phone, a personal computer (PC), a laptop, a tablet computer, an e-reader, an Internet TV, a wearable device, etc.; the server includes but is not limited to a single server, a server cluster, a cloud server, or a cloud server cluster.

[0031] In the embodiments of the present application, a complex system refers to a business implementation system that includes multiple subsystems, and the business implementation through the complex system is generally completed through the collaboration of one or more subsystems in the complex system, and the complex system has the characteristics of a commonly known complex system, such as high order, multiple loops, and nonlinear information feedback structure. For example, the complex system in the embodiments of the present application can be a NetsUnion clearing platform, a non-bank payment platform, an online shopping platform, and so on.

[0032] Figure 1 FIG. 1 shows a schematic diagram of the architecture of a complex system provided by an embodiment of the present application, wherein the complex system is a China UnionPay clearing platform. Figure 1As shown, the complex system 11 includes two subsystems: a clearing business system 111 and a clearing instruction system 112. The clearing business system 111 and the clearing instruction system 112 in the complex system 11 will work together to complete the funds clearing business. The process of the funds clearing business generally includes: ① The clearing business system 111 initiates a business clearing request to the clearing instruction processing system 112; ② After receiving the business clearing request from the clearing business system 111, the clearing instruction processing system 112 sends a funds clearing message to the People's Bank system 12; ③ After receiving the funds clearing message, the People's Bank system 12 performs clearing, and after the clearing is completed, asynchronously notifies the clearing instruction processing system 112 of the clearing result; ④ After receiving the asynchronous notification from the People's Bank system 12, the clearing instruction processing system 112 notifies the clearing business system 111 of the clearing result. It can be seen that in this fund clearing business process, the clearing business system 111 is required to execute the behavior of initiating a business clearing request to the clearing instruction processing system 112, the clearing instruction processing system 112 is required to execute the behavior of sending a fund clearing message to the People's Bank of China system 12, the clearing instruction processing system 112 is required to execute the behavior of receiving the clearing result from the People's Bank of China system 12, and the clearing instruction processing system 112 is required to execute the behavior of notifying the clearing business system 111 of the clearing result. These behaviors can be arranged in the order of execution to form a behavior sequence.

[0033] It is not difficult to understand that the "behavior" mentioned in the embodiments of the present application refers to business behavior or business operation, such as receiving requests, making payments, collecting payments, inquiring, and so on.

[0034] A complex system capability detection method proposed in an embodiment of the present application can be used to detect the preset capabilities of any complex system such as the China UnionPay clearing platform, non-bank payment platform, online shopping platform, etc. The preset capabilities are capabilities related to the adaptive capabilities of the complex system to behavioral sequence disturbances, such as the self-regulation and recovery capabilities to behavioral sequence disturbances.

[0035] A complex business system energy detection method provided in an embodiment of the present application is described below.

[0036] like Figure 2 As shown, a complex system capability detection method provided by an embodiment of the present application may include:

[0037] Step 201: Acquire a target behavior sequence for detecting a preset capability of a target complex system, where the preset capability is a capability related to the adaptive capability of the target complex system to a disturbance of the behavior sequence.

[0038] The target complex system refers to a complex system with preset capabilities to be detected. The target behavior sequence used to detect the preset capabilities of the target complex system refers to the sequence formed by the execution order of the behaviors in the regular processing flow of the specified type of business implemented by the target complex system. For example, taking the fund settlement business process described above as an example, steps ①, ②, ③ to ④ are its regular business processes. If the behaviors executed by steps ①, ②, ③ to ④ are represented by A, B, C and D respectively, the sequence formed by the execution order of the behaviors executed in the fund settlement business process can be expressed as: {A, B, C, D}. Among them, the specified type of business can be a typical business that can be realized by the target complex system, or a business in the target complex system that is sensitive to the disturbance of the behavior sequence. It can be understood that the use of the behavior sequence corresponding to this type of business can more accurately detect the adaptive ability of the target complex system to the disturbance of the behavior sequence. In addition, the number of target behavior sequences used to detect the preset capabilities of the target complex system can be one or more. If it is more than one, it can be determined whether the preset capabilities of the target complex system meet the requirements by comprehensively considering the detection results corresponding to these multiple target behavior sequences.

[0039] Among them, the capabilities related to the adaptive capability of the target complex system to the disturbance of the behavior sequence may also include but are not limited to one of the self-regulation capability and the recovery capability of the target complex system to the disturbance of the behavior sequence.

[0040] Step 202: Execute the behaviors in the target behavior sequence in sequence through at least one subsystem in the target complex system, and record the value of at least one preset parameter of the at least one subsystem during the execution to obtain a first value set, wherein one subsystem corresponds to executing one behavior, and the preset parameter can reflect the preset capability of the target complex system.

[0041] The preset parameters may include but are not limited to at least one of the preset performance parameters and the behavior execution result characterization parameters. Among them, the preset performance parameters may be at least one of the behavior execution capability characterization parameters and the resource consumption characterization parameters. The behavior execution capability characterization parameters here may be the number of behaviors successfully executed per unit time, such as the number of successful transactions per unit time. The resources here may be at least one of the time resources (such as system time consumption) and the subsystem's CPU, memory, network resources and other resources; the behavior execution result characterization parameters may be represented by one of the values ​​of success, failure, unknown, etc.

[0042] For example, assuming that the target complex system includes: subsystem 1, subsystem 2 and subsystem 3, assuming that the target behavior sequence is: {A, B, C}, where subsystem 1 is used to execute behavior A, subsystem 2 is used to execute behavior B, and subsystem 3 is used to execute behavior C. Assuming that at least one preset parameter that needs to be recorded includes: the number of behaviors successfully executed by the subsystem that executes the corresponding behavior per unit time (represented by n), system time consumption (represented by t) and memory usage (represented by p), then when executing step 202, subsystem 1 executes behavior A, subsystem 2 executes behavior B, and subsystem 3 executes behavior C in turn. Behavior C, and record n, t and p of subsystem 1 during the execution of behavior A in turn, and obtain n11, t11 and p11; record n, t and p of subsystem 2 during the execution of behavior B, and obtain n12, t12 and p12; record n, t and p of subsystem 3 during the execution of behavior C, and obtain n13, t13 and p13; summarize n11, t11, p11, n12, t12, p12, n13, t13 and p13 to obtain the first value set, which can be specifically expressed as: {n11, t11, p11; n12, t12, p12; n13, t13, p13}.

[0043] Step 203: disrupt the order of the behaviors in the target behavior sequence to obtain a disrupted sequence.

[0044] There are many ways to disrupt the order of behaviors in the target behavior sequence. For example, the order of behaviors in the target behavior sequence can be randomly disrupted, or the order of behaviors in the target behavior sequence can be disrupted according to a preset rule, such as adjusting the behaviors arranged in sequence in the target behavior sequence to reverse order, or swapping the positions of behaviors in symmetrical positions in the target behavior sequence, etc. Generally speaking, in a behavior sequence, the first behavior is symmetrical to the last behavior, the second behavior is symmetrical to the second to last behavior, and so on.

[0045] The arrangement order of a behavior sequence is generally reflected in two aspects: the order of execution and the number of executions. When scrambling, only one of them can be adjusted, or both can be adjusted. In this way, the length of the scrambled sequence obtained by scrambling can be equal to or different from the length of the target behavior sequence. For example, when scrambling, if only the execution order of the behaviors in the target behavior sequence is adjusted while the number of executions of the behaviors remains unchanged, the length of the scrambled sequence obtained by scrambling is equal to the length of the target behavior sequence; if both the execution order and the number of executions of the behaviors in the target behavior sequence are adjusted, the length of the scrambled sequence obtained by scrambling is not equal to the length of the target behavior sequence; if only the number of executions of the behaviors in the target behavior sequence is adjusted, the length of the scrambled sequence obtained by scrambling is also not equal to the length of the target behavior sequence. The following takes random scrambling as an example to introduce these three exemplary scrambling methods in detail.

[0046] The first method is to randomly adjust the execution order of the behaviors in the target behavior sequence to obtain a disrupted sequence. The disrupted sequence has the same number of executions of the same behavior as in the target behavior sequence, that is, only the execution order of the behaviors is adjusted, and the number of executions of the behaviors is not adjusted. For example, assuming that the target behavior sequence is: {A, B, C}, then only the order of the behaviors in the sequence is adjusted, and the resulting disrupted sequence may be: {B, A, C}.

[0047] The second method is to randomly adjust the number of executions of the behaviors in the target behavior sequence to obtain a disrupted sequence, where the number of executions of at least one identical behavior in the target behavior sequence is different, that is, only the number of executions of the behaviors is adjusted, and the order of execution of the behaviors is not adjusted. For example, assuming that the target behavior sequence is {A, B, C}, then only the number of executions of the behaviors in the sequence is adjusted, and the resulting disrupted sequence can be {A, B, B, C}. It can be seen that after the disruption, the execution order of behavior B is still between behavior A and behavior C, but the number of executions of behavior B has changed from once to twice.

[0048] The second method is to randomly adjust the execution order and execution times of the behaviors in the target behavior sequence to obtain a disrupted sequence. The execution times of at least one identical behavior in the target behavior sequence are different from those in the disrupted sequence, that is, the execution order and execution times of the behaviors are adjusted at the same time. For example, assuming that the target behavior sequence is: {A, B, C}, then the execution order and execution times of the behaviors in the sequence are adjusted at the same time, and the resulting disrupted sequence can be: {B, B, A, C}. It can be seen that after the disruption, not only the execution times of behavior B have changed, but also its execution order has changed - the original execution order was between behavior A and behavior C, but now the execution order is ranked before behavior A.

[0049] Step 204: Execute the behaviors in the disturbance sequence in sequence by the at least one subsystem, and record the value of the at least one preset parameter of the at least one subsystem during the execution to obtain a second value set.

[0050] Similar to step 202, a subsystem also corresponds to executing a behavior. Following the example given in step 202, it is assumed that the target complex system includes: subsystem 1, subsystem 2 and subsystem 3, and the target behavior sequence is: {A, B, C}, and the disrupted sequence after scrambling is: {A, B, B, C}, wherein subsystem 1 is used to execute behavior A, subsystem 2 is used to execute behavior B, and subsystem 3 is used to execute behavior C. The at least one preset parameter that needs to be recorded includes: the number of behaviors successfully executed by the subsystem that executes the corresponding behavior in a unit time (represented by n), system time consumption (represented by t) and memory occupancy (represented by p), and the first value set recorded in step 202 is shown as: {n11, t11, p11; n12, t12, p12; n13, t13, p13}. Then, when executing step 204, behavior A is executed once by subsystem 1, behavior B is executed twice by subsystem 2, and behavior C is executed once by subsystem 3, and n, t and p of subsystem 1 during the execution of behavior A are recorded in sequence to obtain n21, t21 and p21, n, t and p of subsystem 2 during the execution of behavior B twice are recorded to obtain n22, t22 and p22, and n, t and p of subsystem 3 during the execution of behavior C are recorded to obtain n23, t23 and p23. n21, t21, p21, n22, t22, p22, n23, t23 and p23 are summarized to obtain the second value set, which can be specifically expressed as: {n21, t21, p21; n22, t22, p22; n23, t23, p23}.

[0051] Step 205: Compare the values ​​of the same preset parameter in the first value set and the second value set respectively to determine the detection result of the preset capability of the target complex system.

[0052] In this step, the values ​​of the same preset parameter in the first value set and the second value set can be compared (one by one) to determine the degree of deviation between the value of each preset parameter in the second value set relative to the value of the corresponding preset parameter in the first value set, thereby obtaining a deviation degree set; then, based on the deviation degree set, it is determined whether the preset capability of the target complex system meets the requirements; for example, if at least one deviation degree in the deviation degree set does not meet the preset requirements, it is determined that the preset capability of the target complex system does not meet the requirements; if all deviation degrees in the deviation degree set meet the preset requirements, it is determined that the preset capability of the target complex system meets the requirements.

[0053] Continuing with the previous example, assuming that the first value set is: {n11, t11, p11; n12, t12, p12; n13, t13, p13}, and the second value set is: {n21, t21, p21; n22, t22, p22; n23, t23, p23}, then in step 205, the values ​​of the same preset parameter in the two value sets are compared one by one, such as performing the following comparisons in sequence: comparing n11 and n21 to obtain the deviation degree Δn1 of n21 relative to n11; comparing t11 and t21 to obtain the deviation degree Δt1 of t21 relative to t11; comparing p11 and p21 to obtain To the deviation degree Δp1 of p21 relative to p11..., and so on, we finally get the deviation degree set: {Δn1, Δt1, Δp1; Δn2, Δt2, Δp2; Δn3, Δt3, Δp3}. It is not difficult to see from the above assumptions that "Δn1, Δt1, Δp1" can reflect the preset capability of subsystem 1 in the target complex system, "Δn2, Δt2, Δp2" can reflect the preset capability of subsystem 2 in the target complex system, and "Δn3, Δt3, Δp3" can reflect the preset capability of subsystem 3 in the target complex system. Combining the three sets of deviation degrees together can reflect the preset capability of the target complex system.

[0054] It can be understood that for different preset parameters, the corresponding deviation degree and preset requirements are expressed in different ways. For example, for preset parameters with numerical values ​​(such as the behavior execution success rate per unit time, memory usage, system time consumption, etc.), the deviation degree can also be expressed by a numerical value (such as a percentage), and the preset requirement can be expressed by a numerical value or a numerical range (such as above a certain value, or below a certain value, or within a certain numerical range); and for string-type preset parameters (such as execution result representation parameters), the deviation degree and preset requirements can be expressed by "whether they are the same". For example, if the value of the execution result representation parameter in the first value set is "success" and the value of the execution result representation parameter in the second value set is "failure", then the deviation degree between the two can be expressed as "different", and the preset requirement can be expressed as "same". It can be seen that the deviation degree does not meet the preset requirements, so it can be considered that the preset capability of the target complex system does not meet the requirements.

[0055] Of course, when determining whether the preset capacity of the target complex system meets the requirements, it can be less strict, that is, it is not required that all deviation degrees in the deviation degree concentration meet the preset requirements. When most of the deviation degrees in the deviation degree concentration (such as deviation degrees above a preset percentage, specifically, deviation degrees above 80%) meet the preset requirements respectively, it can be determined that the preset capacity of the target complex system meets the requirements; otherwise, it is determined that the preset capacity of the target complex system does not meet the requirements.

[0056] It should be noted that in the embodiments of the present application, the first value set, the second value set and the deviation degree set are descriptions of a data set containing multiple values ​​proposed for the convenience of description. In practical applications, other corresponding names can also be used for description, such as the first list, the second list and the deviation degree list, or the first set, the second set and the deviation degree set, etc. The embodiments of the present application do not limit this description.

[0057] It should also be noted that although the embodiment of the present application has numbered the above steps and introduced step 201, step 202, step 203, step 204 and step 205 in sequence, this does not mean that the complex system capability detection method provided in the embodiment of the present application can only be executed in this order. In fact, the execution order of the above step 203 is not limited by step 202.

[0058] The embodiment of the present application provides a complex system capability detection method, which first uses at least one subsystem in the target complex system to execute the behavior in the target behavior sequence, and records the value of at least one preset parameter of the at least one subsystem during the execution of the target behavior sequence to obtain a first value set; then, the inherent order of the target behavior sequence is disrupted to obtain a disturbance sequence, and the at least one subsystem is used to execute the behavior in the disturbance sequence, and the value of at least one preset parameter of the at least one subsystem during the execution of the disturbance sequence is recorded to obtain a second value set; then, by comparing the values ​​of the same preset parameters in the first value set and the second value set, the detection result of the adaptive capability of the target complex system to the sequence disturbance is determined. Since the preset parameter can reflect the capability related to the adaptive capability of the target complex system to the behavior sequence disturbance, the capability of the target complex system in this regard can be accurately detected by comparing the value of at least one preset parameter during the execution of the disturbance sequence and the normal sequence (target behavior sequence).

[0059] Below through Figure 3 The more detailed flowchart shown illustrates a complex system capability detection method provided in an embodiment of the present application, and the flowchart reflects the process of the method in practical application.

[0060] like Figure 3 As shown, a complex system capability detection method provided by an embodiment of the present application may include:

[0061] Step 300: Start.

[0062] Step 301: Obtain target behavior sequence.

[0063] The target behavior sequence is a behavior sequence used to detect the preset capabilities of the target complex system.

[0064] After executing step 301, the process may proceed to step 302 and step 303 simultaneously.

[0065] Step 302: disrupt the order of the behaviors in the target behavior sequence to obtain a disrupted sequence, and then proceed to step 303.

[0066] Then, through step 303 to step 307, the behaviors in the target behavior sequence and the disturbance sequence are respectively executed in parallel through at least one subsystem in the target complex system to obtain the first value set and the second value set mentioned above.

[0067] Step 303 , traverse the next behavior in the sequence (target behavior sequence or disturbance sequence) in order, and then proceed to step 304 .

[0068] It can be understood that in step 303, if it is the first time to traverse the sequence, the current behavior being traversed is the first behavior in the sequence, and thereafter, the next behavior is traversed each time.

[0069] Step 304 , determine whether the execution condition of the current behavior is ready; if so, execute step 305 ; otherwise, return to execute step 303 .

[0070] Determining whether the execution conditions of the current behavior are ready may include but is not limited to: determining whether the input parameters for executing the current behavior are available, and whether the target subsystem can execute the current behavior, etc., among which the target subsystem and the subsystem in the target complex system used to execute the current behavior.

[0071] Step 305: Use the target subsystem to execute the current behavior.

[0072] Step 306: Record the value of at least one preset parameter of the target subsystem.

[0073] Step 307 , determine whether the traversal is completed, if so, execute step 308 , otherwise return to execute step 304 .

[0074] It can be understood that after executing step 303, step 304, step 305, step 306 and step 307 for the target behavior sequence and the disturbance sequence respectively, the first value set and the second value set mentioned above can be obtained.

[0075] Step 308: Compare the values ​​of preset parameters to determine the detection result.

[0076] In step 308, specifically as in step 205 above, the values ​​of the same preset parameter in the first value set and the second value set are compared respectively, and the degree of deviation between the values ​​of each preset parameter in the second value set relative to the values ​​of the corresponding preset parameters in the first value set is determined to obtain a deviation degree set; then, based on the deviation degree set, it is determined whether the preset capability of the target complex system meets the requirements.

[0077] The embodiment of the present application provides a complex system capability detection method, which first uses at least one subsystem in the target complex system to execute the behavior in the target behavior sequence, and records the value of at least one preset parameter of the at least one subsystem during the execution of the target behavior sequence to obtain a first value set; then, the inherent order of the target behavior sequence is disrupted to obtain a disturbance sequence, and the at least one subsystem is used to execute the behavior in the disturbance sequence, and the value of at least one preset parameter of the at least one subsystem during the execution of the disturbance sequence is recorded to obtain a second value set; then, by comparing the values ​​of the same preset parameters in the first value set and the second value set, the detection result of the adaptive capability of the target complex system to the sequence disturbance is determined. Since the preset parameter can reflect the capability related to the adaptive capability of the target complex system to the behavior sequence disturbance, the capability of the target complex system in this regard can be accurately detected by comparing the value of at least one preset parameter during the execution of the disturbance sequence and the normal sequence (target behavior sequence).

[0078] Alternatively, if Figure 4 As shown, a complex system capability detection method provided by an embodiment of the present application may further include, after the above step 205:

[0079] Step 206: When the preset capability of the target complex system does not meet the requirement, an alarm is issued.

[0080] For example, when the preset capabilities of the target complex system do not meet the requirements, a reminder message (such as an email or text message) is sent to the designated maintenance personnel, or a voice prompt is given.

[0081] It can be understood that by issuing an alarm when the preset capabilities of the target complex system do not meet the requirements, the operation and maintenance personnel of the target complex system can promptly discover the insufficient adaptive capabilities of the target complex system to sequence disturbances, and make timely repairs and adjustments to avoid affecting users of the target complex system. This is because when the target complex system provides services to the outside world, users do not always use the complex system according to a fixed behavior sequence, but arbitrarily change the behavior sequence due to various needs.

[0082] A complex system capability detection method provided in an embodiment of the present application is described above. Corresponding to the above method embodiment, an embodiment of the present application also provides a complex system capability detection device, which is introduced below.

[0083] like Figure 5 As shown, a complex system capability detection device 500 provided in an embodiment of the present application may include: a sequence acquisition module 501, a first execution module 502, a sequence disruption module 503, a second execution module 504 and a result determination module 505.

[0084] The sequence acquisition module 501 is used to acquire a target behavior sequence for detecting a preset capability of a target complex system, wherein the preset capability is a capability related to the adaptive capability of the target complex system to a disturbance of the behavior sequence.

[0085] The first execution module 502 is used to sequentially execute the behaviors in the target behavior sequence through at least one subsystem in the target complex system, and record the value of at least one preset parameter of the at least one subsystem during the execution to obtain a first value set, wherein one subsystem corresponds to the execution of one behavior, and the preset parameter can reflect the preset capability of the target complex system.

[0086] The sequence scrambling module 503 is used to scramble the order of behaviors in the target behavior sequence to obtain a scrambled sequence.

[0087] There are many ways to disrupt the order of behaviors in the target behavior sequence. For example, the order of behaviors in the target behavior sequence may be randomly disrupted, or the order of behaviors in the target behavior sequence may be disrupted according to a preset rule.

[0088] The arrangement order of the behavior sequence is generally reflected in two aspects: the execution order and the number of executions. When scrambling, you can adjust only one of them or both. In this way, the length of the scrambled sequence can be equal to or different from the length of the target behavior sequence.

[0089] The following describes these three exemplary scrambling methods in detail using random scrambling as an example.

[0090] The first method is to randomly adjust the execution order of the behaviors in the target behavior sequence to obtain a disrupted sequence. The disrupted sequence has the same number of executions of the same behavior as in the target behavior sequence, that is, only the execution order of the behaviors is adjusted, and the number of executions of the behaviors is not adjusted. For example, assuming that the target behavior sequence is: {A, B, C}, then only the order of the behaviors in the sequence is adjusted, and the resulting disrupted sequence may be: {B, A, C}.

[0091] The second method is to randomly adjust the number of executions of the behaviors in the target behavior sequence to obtain a disrupted sequence, where the number of executions of at least one identical behavior in the target behavior sequence is different, that is, only the number of executions of the behaviors is adjusted, and the order of execution of the behaviors is not adjusted. For example, assuming that the target behavior sequence is {A, B, C}, then only the number of executions of the behaviors in the sequence is adjusted, and the resulting disrupted sequence can be {A, B, B, C}. It can be seen that after the disruption, the execution order of behavior B is still between behavior A and behavior C, but the number of executions of behavior B has changed from once to twice.

[0092] The second method is to randomly adjust the execution order and execution times of the behaviors in the target behavior sequence to obtain a disrupted sequence. The execution times of at least one identical behavior in the target behavior sequence are different from those in the disrupted sequence, that is, the execution order and execution times of the behaviors are adjusted at the same time. For example, assuming that the target behavior sequence is: {A, B, C}, then the execution order and execution times of the behaviors in the sequence are adjusted at the same time, and the resulting disrupted sequence can be: {B, B, A, C}. It can be seen that after the disruption, not only the execution times of behavior B have changed, but also its execution order has changed - the original execution order was between behavior A and behavior C, but now the execution order is ranked before behavior A.

[0093] The second execution module 504 is used to execute the behaviors in the disruption sequence in sequence through the at least one subsystem, and record the value of the at least one preset parameter of the at least one subsystem during the execution to obtain a second value set.

[0094] The result determination module 505 is used to compare the values ​​of the same preset parameter in the first value set and the second value set respectively to determine the detection result of the preset capability of the target complex system.

[0095] Specifically, the result determination module 505 can be used to: compare the values ​​of the same preset parameter in the first value set and the second value set respectively (one by one), determine the degree of deviation between the value of each preset parameter in the second value set and the value of the corresponding preset parameter in the first value set, and obtain a deviation degree set; then determine whether the preset capability of the target complex system meets the requirements based on the deviation degree set, for example, if at least one deviation degree in the deviation degree set does not meet the preset requirements, then determine that the preset capability of the target complex system does not meet the requirements; if all deviation degrees in the deviation degree set meet the preset requirements, then determine that the preset capability of the target complex system meets the requirements.

[0096] Of course, when determining whether the preset capacity of the target complex system meets the requirements, it can be less strict, that is, it is not required that all deviation degrees in the deviation degree concentration meet the preset requirements. When most of the deviation degrees in the deviation degree concentration (such as deviation degrees above a preset percentage, specifically, deviation degrees above 80%) meet the preset requirements respectively, it can be determined that the preset capacity of the target complex system meets the requirements; otherwise, it is determined that the preset capacity of the target complex system does not meet the requirements.

[0097] The embodiment of the present application provides a complex system capability detection device, which first uses at least one subsystem in the target complex system to execute the behavior in the target behavior sequence, and records the value of at least one preset parameter of the at least one subsystem during the execution of the target behavior sequence to obtain a first value set; then, the inherent order of the target behavior sequence is disrupted to obtain a disturbed sequence, and the at least one subsystem is used to execute the behavior in the disturbed sequence, and the value of at least one preset parameter of the at least one subsystem during the execution of the disturbed sequence is recorded to obtain a second value set; then, by comparing the values ​​of the same preset parameters in the first value set and the second value set, the detection result of the adaptive capability of the target complex system to the sequence disturbance is determined. Since the preset parameter can reflect the capability related to the adaptive capability of the target complex system to the behavior sequence disturbance, the capability of the target complex system in this regard can be accurately detected by comparing the value of at least one preset parameter during the execution of the disturbed sequence and the normal sequence (target behavior sequence).

[0098] It should be noted that Figure 5 The embodiment shown provides a complex system capability detection device, which can realize Figure 2 A complex system capability detection method is shown, and can achieve the same technical effect, which will not be repeated here.

[0099] Alternatively, if Figure 6 As shown, a complex system capability detection device 500 provided in an embodiment of the present application may include, in addition to a sequence acquisition module 501, a first execution module 502, a sequence disruption module 503, a second execution module 504 and a result determination module 505, an alarm module 506.

[0100] The alarm module 506 is used to generate an alarm when the preset capability of the target complex system does not meet the requirement.

[0101] For example, when the preset capabilities of the target complex system do not meet the requirements, a reminder message (such as an email or text message) is sent to the designated maintenance personnel, or a voice prompt is given.

[0102] It can be understood that by issuing an alarm when the preset capabilities of the target complex system do not meet the requirements, the operation and maintenance personnel of the target complex system can promptly discover the insufficient adaptive capabilities of the target complex system to sequence disturbances, and make timely repairs and adjustments to avoid affecting users of the target complex system. This is because when the target complex system provides services to the outside world, users do not always use the complex system according to a fixed behavior sequence, but arbitrarily change the behavior sequence due to various needs.

[0103] It should be noted that, since the content executed by the device embodiment corresponds to the method embodiment, the description of the device embodiment part in this document is relatively brief, and please refer to the method embodiment part for relevant details.

[0104] Figure 7 FIG. 1 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 7 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.

[0105] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0106] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.

[0107] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a complex system capability detection device at the logical level. The processor executes the program stored in the memory and is specifically used to execute the complex system capability detection method provided in the embodiment of the present application.

[0108] The above application Figure 5 or Figure 6The method performed by the complex system capability detection device disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0109] The present application also provides a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by an electronic device including multiple application programs, enable the electronic device to execute Figure 5 or Figure 6 The method executed by the complex system capability detection device in any of the embodiments shown is specifically used to execute the complex system capability detection method provided in the embodiments of the present application.

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

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

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

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

[0114] It should be noted that the various embodiments in this application are described in a related manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0115] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0116] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A complex system capability detection method, characterized in that: The method comprises: Acquire a target behavior sequence for detecting a preset capability of a target complex system, wherein the preset capability is a capability related to an adaptive capability of the target complex system to a disturbance of the behavior sequence; At least one subsystem in the target complex system sequentially executes behaviors in the target behavior sequence, and records the value of at least one preset parameter of the at least one subsystem during the execution, to obtain a first value set, wherein one subsystem corresponds to executing one behavior, and the preset parameter can reflect the preset capability of the target complex system; disrupting the order of behaviors in the target behavior sequence to obtain a disrupted sequence; The at least one subsystem sequentially executes the behaviors in the disturbance sequence, and records the value of the at least one preset parameter of the at least one subsystem during the execution to obtain a second value set; The values ​​of the same preset parameter in the first value set and the second value set are compared respectively to determine the detection result of the preset capability of the target complex system.

2. The method according to claim 1, characterized in that The step of disrupting the order of behaviors in the target behavior sequence to obtain a disrupted sequence includes: The order of behaviors in the target behavior sequence is randomly disrupted to obtain a disrupted sequence.

3. The method according to claim 2, characterized in that The randomly disrupting the execution order of the behaviors in the target behavior sequence to obtain a disrupted sequence includes: Randomly adjusting the execution order of behaviors in the target behavior sequence to obtain a disrupted sequence, wherein the number of executions of the same behavior in the disrupted sequence is the same as that in the target behavior sequence; or, Randomly adjusting the number of executions of behaviors in the target behavior sequence to obtain a disrupted sequence, wherein the number of executions of at least one identical behavior in the disrupted sequence is different from that in the target behavior sequence; or, The execution order and execution times of the behaviors in the target behavior sequence are randomly adjusted to obtain a disturbed sequence, wherein the execution times of at least one identical behavior in the disturbed sequence and the target behavior sequence are different.

4. The method according to claim 1, characterized in that: The preset parameters include at least one of preset performance parameters and behavior execution result representation parameters.

5. The method according to claim 4, characterized in that The preset performance parameters include at least one of a behavior execution capability characterization parameter and a resource consumption condition characterization parameter.

6. The method according to any one of claims 1 to 5, characterized in that: Comparing the values ​​of the same preset parameter in the first value set and the second value set respectively to determine the detection result of the preset capability of the target complex system, including: Compare the values ​​of the same preset parameter in the first value set and the second value set respectively, determine the degree of deviation between the values ​​of each preset parameter in the second value set and the value of the corresponding preset parameter in the first value set, and obtain a deviation degree set; If at least one deviation degree in the deviation degree set does not meet the preset requirement, it is determined that the preset capability of the target complex system does not meet the requirement; If all the deviation degrees in the deviation degree set meet the preset requirements, it is determined that the preset capacity of the target complex system meets the requirements.

7. The method according to claim 6, characterized in that The method further comprises: When the preset capability of the target complex system does not meet the requirement, an alarm is issued.

8. A complex system capability detection device, characterized in that: The device comprises: A sequence acquisition module, used to acquire a target behavior sequence for detecting a preset capability of a target complex system, wherein the preset capability is a capability related to an adaptive capability of the target complex system to a disturbance of the behavior sequence; A first execution module is used to sequentially execute the behaviors in the target behavior sequence through at least one subsystem in the target complex system, and record the value of at least one preset parameter of the at least one subsystem during the execution to obtain a first value set, wherein one subsystem corresponds to executing one behavior, and the preset parameter can reflect the preset capability of the target complex system; A sequence disruption module, used for disrupting the order of behaviors in the target behavior sequence to obtain a disrupted sequence; A second execution module, configured to execute the behaviors in the perturbation sequence in sequence through the at least one subsystem, and record the value of the at least one preset parameter of the at least one subsystem during the execution to obtain a second value set; A result determination module is used to compare the values ​​of the same preset parameter in the first value set and the second value set respectively to determine the detection result of the preset capability of the target complex system.

9. An electronic device, comprising: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: Acquire a target behavior sequence for detecting a preset capability of a target complex system, wherein the preset capability is a capability related to an adaptive capability of the target complex system to a disturbance of the behavior sequence; At least one subsystem in the target complex system sequentially executes behaviors in the target behavior sequence, and records the value of at least one preset parameter of the at least one subsystem during the execution, to obtain a first value set, wherein one subsystem corresponds to executing one behavior, and the preset parameter can reflect the preset capability of the target complex system; disrupting the order of behaviors in the target behavior sequence to obtain a disrupted sequence; The at least one subsystem sequentially executes the behaviors in the disturbance sequence, and records the value of the at least one preset parameter of the at least one subsystem during the execution to obtain a second value set; The values ​​of the same preset parameter in the first value set and the second value set are compared respectively to determine the detection result of the preset capability of the target complex system.

10. A computer-readable storage medium storing one or more programs, which, when executed by an electronic device including a plurality of application programs, causes the electronic device to perform the following operations: Acquire a target behavior sequence for detecting a preset capability of a target complex system, wherein the preset capability is a capability related to an adaptive capability of the target complex system to a disturbance of the behavior sequence; At least one subsystem in the target complex system sequentially executes behaviors in the target behavior sequence, and records the value of at least one preset parameter of the at least one subsystem during the execution, to obtain a first value set, wherein one subsystem corresponds to executing one behavior, and the preset parameter can reflect the preset capability of the target complex system; disrupting the order of behaviors in the target behavior sequence to obtain a disrupted sequence; The at least one subsystem sequentially executes the behaviors in the disturbance sequence, and records the value of the at least one preset parameter of the at least one subsystem during the execution to obtain a second value set; The values ​​of the same preset parameter in the first value set and the second value set are compared respectively to determine the detection result of the preset capability of the target complex system.