Method, device, storage medium and electronic device for testing solution system
By performing plan conflict tests and task connection tests in the digital solution system, the problem of insufficient connection assessment between solutions in the existing technology is solved, the solution implementation effect is improved, and the correct connection between tasks and scenarios is ensured.
Patent Information
- Application Number
- CN202210056542.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-18
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2042-01-18
AI Technical Summary
The existing digital solution system has insufficient evaluation of the connection between solutions, resulting in poor implementation of the solution.
By determining multiple organizations with collaborative relationships in the program system to be tested, and the plan conflict test and task connection test are performed in turn based on the preset hierarchy relationship, ensuring that each organization performs task connection for the preset plan scenario after passing the conflict test. Test and judge the rationality and implementation effect of the plan system.
The implementation effect of the plan system on the plan is improved, the correct connection between tasks and scenarios is ensured, and the rationality and executability of the plan system are enhanced.
Smart Images

Figure CN114546829B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of emergency management technology, and in particular to a method, device, storage medium and electronic device for testing a solution system. Background Art
[0002] A digital plan is a plan form that is based on the plan text and supported by digital technology. It digitally describes the event scenarios, response actions, organizational structures and their responsibilities, resources and other elements involved in the plan.
[0003] However, the existing digital solution system only structures the scenarios, tasks, organizations, responsibilities, resources and other elements involved in the solution, and forms a management model for the solution with standardized process operations and quantifiable results based on the results of event development trends. It does not evaluate the connectivity between solutions, resulting in relatively poor execution of the solution system. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides a method, device, storage medium and electronic device for a test solution system.
[0005] In a first aspect, the present disclosure provides a method for testing a solution system, the method comprising:
[0006] Identify multiple organizations that have collaborative relationships within the solution system to be tested;
[0007] Based on the preset hierarchical relationship, in descending order of hierarchy, the scheme conflict testing step is performed on the plurality of organizations in sequence;
[0008] When each of the organizations passes the test of the solution conflict test step, a task connectivity test is performed on multiple preset solution scenarios in the solution system, wherein the task connectivity test is used to test whether the connectivity relationship between the scenario tasks corresponding to each preset solution scenario is correct;
[0009] When each of the preset solution scenarios passes the task connectivity test, determining that the solution system passes the system test;
[0010] The scheme conflict testing step includes:
[0011] Obtain one or more target plans corresponding to the current organization, obtain one or more target plan scenarios corresponding to each target plan, and perform a plan conflict test according to the target plan scenario for each target plan scenario; the plan conflict test is used to test whether the task organization corresponding to each scenario task in the target plan scenario conflicts with the current organization.
[0012] Optionally, before performing a solution conflict test according to the target solution scenario, the method further includes:
[0013] Determining whether the target solution scenario is included in the plurality of preset solution scenarios in the solution system;
[0014] The scheme conflict test according to the target scheme scenario includes:
[0015] When it is determined that the target solution scenario is included in the plurality of preset solution scenarios in the solution system, the solution conflict test is performed according to the target solution scenario.
[0016] Optionally, before performing the solution conflict test according to the target solution scenario, the method includes:
[0017] Determine whether the target solution scenario is processed by a target solution other than a current target solution among one or more target solutions corresponding to the current organization, the current target solution being the target solution currently undergoing the solution conflict test;
[0018] The scheme conflict test according to the target scheme scenario comprises:
[0019] When it is determined that the target solution scenario is not processed by a target solution other than the current target solution among the one or more target solutions corresponding to the current organization, the solution conflict test is performed according to the target solution scenario.
[0020] Optionally, performing the solution conflict test according to the target solution scenario includes:
[0021] Determine at least one target scenario task corresponding to the target scenario, wherein the target scenario task includes a target task responsibility and a target task organization;
[0022] For each of the target scenario tasks, determine whether the preset responsibilities corresponding to the solution system include the target task responsibilities, and determine whether the preset organizations corresponding to the solution system include the target task organizations;
[0023] In the case where it is determined that the preset responsibilities include the target task responsibilities, and the preset organizations include the target task organization, determining whether the target task organization is a superior organization of the current organization;
[0024] In the case where it is determined that the target task organization is not a superior organization of the current organization, determining whether the solution system responds to each requirement of the current organization in the target solution scenario;
[0025] When it is determined that the solution system responds to each requirement of the current organization in the target solution scenario, it is determined that the target solution scenario passes the solution conflict test.
[0026] Optionally, before performing task connectivity testing on a plurality of preset solution scenarios in the solution system, the method further comprises:
[0027] For each of the preset solution scenarios, determining whether the preset solution scenario is processed by any solution in the solution system;
[0028] The task connectivity test of the plurality of preset scenario scenarios in the solution system includes:
[0029] When it is determined that each of the preset solution scenarios is processed by any solution in the solution system, the task connectivity test is performed on each of the preset solution scenarios in the solution system.
[0030] Optionally, the performing the task connectivity test on the preset scenario includes:
[0031] Determine a plurality of preset scenario tasks corresponding to the preset scenario;
[0032] For each of the preset scenario tasks, determining a target organization among the multiple organizations that includes the preset scenario task, and determining whether each task responsibility corresponding to the target organization covers the preset scenario task;
[0033] When it is determined that each task responsibility corresponding to the target organization covers the preset scenario tasks, it is determined that the preset scenario passes the task connectivity test.
[0034] In a second aspect, the present disclosure provides a device for a test solution system, the device comprising:
[0035] An organization determination module is used to determine multiple organizations that have collaborative relationships in the solution system to be tested;
[0036] A conflict testing module, used to perform scheme conflict testing steps on the plurality of organizations in descending order of hierarchy based on a preset hierarchy relationship;
[0037] A connectivity test module, used for performing task connectivity test on multiple preset scenario scenarios in the solution system when each of the organizations passes the test of the solution conflict test step, wherein the task connectivity test is used for testing whether the connectivity relationship between the scenario tasks corresponding to each preset scenario is correct;
[0038] A test result determination module, used to determine that the solution system passes the system test when each of the preset solution scenarios passes the task connectivity test;
[0039] The scheme conflict testing step includes:
[0040] Obtain one or more target plans corresponding to the current organization, obtain one or more target plan scenarios corresponding to each target plan, and perform a plan conflict test according to the target plan scenario for each target plan scenario; the plan conflict test is used to test whether the task organization corresponding to each scenario task in the target plan scenario conflicts with the current organization.
[0041] Optionally, the device further comprises:
[0042] A scenario determination module, used to determine whether the target scenario is included in the plurality of preset scenario scenarios in the scenario system;
[0043] The conflict testing module is further used for:
[0044] When it is determined that the target solution scenario is included in the plurality of preset solution scenarios in the solution system, the solution conflict test is performed according to the target solution scenario.
[0045] Optionally, the device further comprises:
[0046] A first scenario processing determination module is used to determine whether the target solution scenario is processed by a target solution other than the current target solution among one or more target solutions corresponding to the current organization, wherein the current target solution is the target solution currently undergoing the solution conflict test;
[0047] The conflict testing module is further used for:
[0048] When it is determined that the target solution scenario is not processed by a target solution other than the current target solution among the one or more target solutions corresponding to the current organization, the solution conflict test is performed according to the target solution scenario.
[0049] Optionally, the conflict testing module is further used to:
[0050] Determine at least one target scenario task corresponding to the target scenario, wherein the target scenario task includes a target task responsibility and a target task organization;
[0051] For each of the target scenario tasks, determine whether the preset responsibilities corresponding to the solution system include the target task responsibilities, and determine whether the preset organizations corresponding to the solution system include the target task organizations;
[0052] In the case where it is determined that the preset responsibilities include the target task responsibilities, and the preset organizations include the target task organization, determining whether the target task organization is a superior organization of the current organization;
[0053] In the case where it is determined that the target task organization is not a superior organization of the current organization, determining whether the solution system responds to each requirement of the current organization in the target solution scenario;
[0054] When it is determined that the solution system responds to each requirement of the current organization in the target solution scenario, it is determined that the target solution scenario passes the solution conflict test.
[0055] Optionally, the device further comprises:
[0056] A second scenario processing determination module, used for determining, for each of the preset scenario scenarios, whether the preset scenario is processed by any of the solutions in the solution system;
[0057] The connectivity test module is further used for:
[0058] When it is determined that each of the preset solution scenarios is processed by any solution in the solution system, the task connectivity test is performed on each of the preset solution scenarios in the solution system.
[0059] Optionally, the connectivity test module is further used to:
[0060] Determine a plurality of preset scenario tasks corresponding to the preset scenario;
[0061] For each of the preset scenario tasks, determining a target organization among the multiple organizations that includes the preset scenario task, and determining whether each task responsibility corresponding to the target organization covers the preset scenario task;
[0062] When it is determined that each task responsibility corresponding to the target organization covers the preset scenario tasks, it is determined that the preset scenario passes the task connectivity test.
[0063] In a third aspect, the present disclosure provides a non-temporary computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in the first aspect of the present disclosure.
[0064] In a fourth aspect, the present disclosure provides an electronic device, comprising: a memory on which a computer program is stored; and a processor for executing the computer program in the memory to implement the steps of the method described in the first aspect of the present disclosure.
[0065] Through the above technical scheme, by determining multiple organizations with collaborative relationships in the scheme system to be tested; based on the preset hierarchical relationship, in order from high to low levels, the scheme conflict test step is performed on multiple organizations in turn; when each organization passes the test of the scheme conflict test step, a task connectivity test is performed on multiple preset scheme scenarios in the scheme system, and the task connectivity test is used to test whether the connectivity relationship between the scenario tasks corresponding to each preset scheme scenario is correct; when each preset scheme scenario passes the task connectivity test, it is determined that the scheme system passes the system test; the scheme conflict test step includes: obtaining one or more target schemes corresponding to the current organization, for each target scheme, obtaining one or more target scheme scenarios corresponding to the target scheme, and for each target scheme scenario, performing a scheme conflict test according to the target scheme scenario; the scheme conflict test is used to test whether the task organization corresponding to each scenario task in the target scheme scenario conflicts with the current organization. That is to say, the present disclosure can test the rationality of the scheme system through scheme conflict test and task connectivity test, and obtain a scheme system that can accurately execute the scheme, so that the execution effect of the scheme system on the scheme can be improved.
[0066] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:
[0068] Figure 1 is a flow chart of a method for testing a solution system according to an exemplary embodiment of the present disclosure;
[0069] Figure 2 is a flow chart showing a conflict testing method according to an exemplary embodiment of the present disclosure;
[0070] Figure 3 is a flow chart of another method for testing a solution system according to an exemplary embodiment of the present disclosure;
[0071] Figure 4is a schematic diagram of a scheme connection according to an exemplary embodiment of the present disclosure;
[0072] Figure 5 is a block diagram of a device for a test solution system according to an exemplary embodiment of the present disclosure;
[0073] Figure 6 is a block diagram of a device of a second test solution system according to an exemplary embodiment of the present disclosure;
[0074] Figure 7 is a block diagram of a device of a third test solution system according to an exemplary embodiment of the present disclosure;
[0075] Figure 8 is a block diagram of a device of a fourth test solution system according to an exemplary embodiment of the present disclosure;
[0076] Fig. 9 It is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0077] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.
[0078] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0079] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0080] First, the application scenario of the present disclosure is explained. The present disclosure can formally represent the solution through the minimalist model TinyDERP (Tiny Digital Emergency Response Plan) of the solution system, simplifying the solution into four core concepts: operating mechanism, scenario, organization, and task / responsibility. Among them, the operating mechanism is the main body of the solution, which includes a series of emergency scenarios that need to be handled, each scenario includes a series of tasks that need to be performed, and each task corresponds to an organization. In addition, there is a command relationship between organizations, and there is an inclusion relationship between tasks. In actual business, since there are multiple commands in the organization, the command relationship constitutes a directed acyclic graph, and the inclusion relationship between responsibilities also constitutes a directed acyclic graph. Therefore, for the solution system represented by the above-mentioned minimalist model, since the relationship between multiple core concepts is relatively complex, the possibility of problems such as abnormal connectivity is relatively large, resulting in a relatively poor execution effect of the solution system on the solution.
[0081] In order to solve the above-mentioned problems, the present invention provides a method, device, storage medium and electronic device for testing a solution system, which tests the rationality of the solution system through solution conflict testing and task connectivity testing, and obtains a solution system that can accurately execute the solution. In this way, the execution effect of the solution system on the solution can be improved.
[0082] The present disclosure is described below in conjunction with specific embodiments.
[0083] Figure 1 is a flowchart of a method for testing a solution system according to an exemplary embodiment of the present disclosure. Figure 1 As shown, the method may include:
[0084] S101. Determine multiple organizations that have a collaborative relationship in the solution system to be tested.
[0085] Among them, multiple organizations can correspond to multiple levels. For example, the solution system can include organization A, organization B, organization C, organization D and organization E. Organization A corresponds to the highest level, and organizations B and C correspond to the same level, both of which are subordinate organizations of organization A. Organization D can be a subordinate organization of organization B, and organization E can be a subordinate organization of organization C.
[0086] S102: Based on the preset hierarchical relationship, the scheme conflict testing steps are performed on multiple organizations in descending order of hierarchy.
[0087] In this step, after determining multiple organizations with a collaborative relationship in the solution system, the multiple organizations can be topologically sorted according to the preset hierarchical relationship. Thereafter, for the sorted multiple organizations, the conflict testing step can be performed on each organization in sequence.
[0088] The scheme conflict testing step may include:
[0089] Obtain one or more target plans corresponding to the current organization, obtain one or more target plan scenarios corresponding to each target plan, and perform a plan conflict test for each target plan scenario according to the target plan scenario; the plan conflict test is used to test whether the task organization corresponding to each scenario task in the target plan scenario conflicts with the current organization.
[0090] Before performing a solution conflict test according to the target solution scenario, it can be determined whether the target solution scenario is included in the multiple preset solution scenarios in the solution system. If it is determined that the target solution scenario is included in the multiple preset solution scenarios in the solution system, the solution conflict test is performed according to the target solution scenario. If the target solution scenario is included in the multiple preset solution scenarios in the solution system, it means that the target solution scenario is defined; if the target solution scenario is not included in the multiple preset solution scenarios in the solution system, it means that the target solution scenario is poorly defined.
[0091] In the case where it is determined that the target solution scenario is included in the multiple preset solution scenarios in the solution system, before performing a solution conflict test according to the target solution scenario, it can be determined whether the target solution scenario is processed by a target solution other than the current target solution in one or more target solutions corresponding to the current organization, and the current target solution is the target solution currently undergoing the solution conflict test; in the case where it is determined that the target solution scenario is not processed by a target solution other than the current target solution in one or more target solutions corresponding to the current organization, the solution conflict test is performed according to the target solution scenario. If the target solution scenario is not processed by a target solution other than the current target solution in one or more target solutions corresponding to the current organization, it means that the target solution scenario is not processed by two target solutions in the current organization, and the solution system is compatible; if the target solution scenario is processed by a target solution other than the current target solution in one or more target solutions corresponding to the current organization, it means that the solution system is incompatible.
[0092] Figure 2 is a flow chart of a conflict testing method according to an exemplary embodiment of the present disclosure. Figure 2 As shown, the method may include:
[0093] S1. Determine at least one target scenario task corresponding to the target solution scenario.
[0094] Among them, the target scenario task may include target task responsibilities and target task organizations.
[0095] S2. For each target scenario task, determine whether the preset responsibilities corresponding to the solution system include the target task responsibilities, and determine whether the preset organizations corresponding to the solution system include the target task organization.
[0096] If the preset responsibilities corresponding to the scheme system include the target task responsibility, it means that the target task responsibility is defined; if the preset responsibilities corresponding to the scheme system do not include the target task responsibility, it means that the target task responsibility is poorly defined. If the preset organization corresponding to the scheme system includes the target task organization, it means that the target task organization is defined; if the preset organization corresponding to the scheme system does not include the target task organization, it means that the target task organization is poorly defined.
[0097] S3. When it is determined that the preset responsibilities include the target task responsibilities and the preset organization includes the target task organization, determine whether the target task organization is the superior organization of the current organization.
[0098] When it is determined that the preset responsibilities include the target task responsibilities, and the preset organization includes the target task organization, that is, when both the target task responsibilities and the target task organization are defined, it is determined whether the target task organization is the superior organization of the current organization. For example, it can be determined whether the target task organization is the superior organization of the current organization based on the preset hierarchical relationship. If the target task organization is the superior organization of the current organization, the task assignment is unreasonable.
[0099] S4. When it is determined that the target task agency is not the superior agency of the current organization, determine whether the solution system responds to each demand of the current organization in the target solution scenario.
[0100] When it is determined that the target task agency is not the superior agency of the current organization, that is, the task assignment is reasonable, determine whether the solution system responds to each demand of the current organization in the target solution scenario. For example, the tasks related to the current organization and the target solution scenario in the solution system can be traversed to determine whether each task is covered, that is, whether each task is assigned to any task agency for processing. If each demand of the current organization in the target solution scenario is responded to, it means that the solution system is connected; if any demand of the current organization in the target solution scenario is not responded to, it means that the solution system is not connected.
[0101] S5. When it is determined that the solution system responds to each demand of the current organization in the target solution scenario, it is determined that the target solution scenario passes the solution conflict test.
[0102] S103: When each organization passes the test of the solution conflict test step, a task connectivity test is performed on multiple preset solution scenarios in the solution system.
[0103] Among them, the task connectivity test is used to test whether the connectivity relationship between the scenario tasks corresponding to each preset scenario is correct.
[0104] In this step, if each organization passes the test of the solution conflict test step, it can be determined whether each preset solution scenario has a corresponding solution treatment. If each preset solution scenario has a corresponding solution treatment, it is determined whether each combination of "scenario-task-organization" in each preset solution scenario satisfies the connectivity. For example, "scenario-task-organization" can be expressed as [s, d, o]. There are two situations in which "scenario-task-organization" satisfies the connectivity. One is that the task cannot be divided, or the current organization has no subordinate units, so there is no need for connectivity; the other is that there is a solution corresponding to the current organization in the solution system, which contains the preset solution scenario s, and all sub-responsibilities of task d are assigned.
[0105] S104: When each preset solution scenario passes the task connectivity test, it is determined that the solution system passes the system test.
[0106] By adopting the above method, the rationality of the solution system is tested through solution conflict test and task connectivity test, and a solution system that can accurately execute the solution is obtained, so that the execution effect of the solution system on the solution can be improved.
[0107] Figure 3 is a flowchart of another method for testing a solution system according to an exemplary embodiment of the present disclosure, such as Figure 3 As shown, the method may include:
[0108] S301. Determine multiple organizations that have a collaborative relationship in the solution system to be tested.
[0109] S302: Based on the preset hierarchical relationship, the scheme conflict testing steps are performed on multiple organizations in descending order of hierarchy.
[0110] Among them, the solution conflict test step may include: obtaining one or more target solutions corresponding to the current organization, for each target solution, obtaining one or more target solution scenarios corresponding to the target solution, and for each target solution scenario, performing a solution conflict test according to the target solution scenario; the solution conflict test is used to test whether the task organization corresponding to each scenario task in the target solution scenario conflicts with the current organization.
[0111] S303: When each organization passes the test of the solution conflict test step, for each preset solution scenario, determine whether the preset solution scenario is processed by any solution in the solution system.
[0112] In this step, for each preset solution scenario, if it is determined that the preset solution scenario is processed by any solution in the solution system, it means that each preset solution scenario in the solution system has a corresponding solution processing, that is, the solution system is complete; if it is determined that any preset solution scenario is not processed by any solution in the solution system, it means that the solution system is incomplete.
[0113] S304: When it is determined that each preset solution scenario is processed by any solution in the solution system, for each preset solution scenario in the solution system, the task connectivity test is performed on the preset solution scenario.
[0114] Among them, the task connectivity test can be used to test whether the connectivity relationship between the scenario tasks corresponding to each preset scenario is correct.
[0115] In this step, when it is determined that each preset solution scenario is processed by any solution in the solution system, that is, when the solution system is complete, the task connectivity test is performed on each preset solution scenario in the solution system. In a possible implementation, for each preset solution scenario, multiple preset scenario tasks corresponding to the preset solution scenario can be determined, and for each preset scenario task, a target organization in multiple organizations that contains the preset scenario task is determined, and it is determined whether each task responsibility corresponding to the target organization covers the preset scenario task, and when it is determined that each task responsibility corresponding to the target organization covers the preset scenario task, it is determined that the preset solution scenario passes the task connectivity test.
[0116] Figure 4 is a schematic diagram of a scheme connection according to an exemplary embodiment of the present disclosure, such as Figure 4As shown, plan m1 assigns the task responsibility (responsibility d1) to organization o in the preset scenario task (scenario s), plan m2 assigns the task responsibility (responsibility d2) to organization o in scenario s, and plan m3 designated by organization o connects plan m1 and plan m2, that is, plan m3 refines responsibility d1 and responsibility d2, d11, d12, ..., d1m are all sub-responsibilities of d1, and d21, d22, ..., d2n are all sub-responsibilities of d2. Figure 4 It can be seen from the logical relationship shown that all sub-responsibilities cover the preset scenario tasks.
[0117] S305: When each preset solution scenario passes the task connectivity test, it is determined that the solution system passes the system test.
[0118] By adopting the above method, the rationality of the solution system is tested through solution conflict test and task connectivity test. When there is no conflict in the solution system and the connectivity relationship between the scenario tasks corresponding to each preset solution scenario is correct, it means that the solution system has passed the system test. In this way, a solution system that can accurately execute the solution is obtained, which can improve the execution effect of the solution system on the solution.
[0119] Figure 5 is a block diagram of a device of a test solution system according to an exemplary embodiment of the present disclosure, such as Figure 5 As shown, the device may include:
[0120] An organization determination module 501 is used to determine multiple organizations that have a collaborative relationship in the solution system to be tested;
[0121] The conflict testing module 502 is used to perform the scheme conflict testing steps on the multiple organizations in descending order of hierarchy based on the preset hierarchy relationship;
[0122] A connectivity test module 503 is used to perform task connectivity tests on multiple preset scenario scenarios in the solution system when each organization passes the test of the solution conflict test step. The task connectivity test is used to test whether the connectivity relationship between the scenario tasks corresponding to each preset scenario is correct;
[0123] A test result determination module 504 is used to determine that the solution system passes the system test when each of the preset solution scenarios passes the task connectivity test;
[0124] The conflict testing steps of this solution include:
[0125] Obtain one or more target plans corresponding to the current organization, obtain one or more target plan scenarios corresponding to each target plan, and perform a plan conflict test according to the target plan scenario for each target plan scenario; the plan conflict test is used to test whether the task organization corresponding to each scenario task in the target plan scenario conflicts with the current organization.
[0126] Optionally, Figure 6 is a block diagram of a device of a second test solution system according to an exemplary embodiment of the present disclosure, such as Figure 6 As shown, the device also includes:
[0127] A scenario determination module 505 is used to determine whether the target scenario is included in the plurality of preset scenario in the solution system;
[0128] The conflict testing module 502 is further used for:
[0129] When it is determined that the target solution scenario is included in the plurality of preset solution scenarios in the solution system, the solution conflict test is performed according to the target solution scenario.
[0130] Optionally, Figure 7 is a block diagram of a device of a third test solution system according to an exemplary embodiment of the present disclosure, such as Figure 7 As shown, the device also includes:
[0131] A first scenario processing determination module 506 is used to determine whether the target solution scenario is processed by one or more target solutions corresponding to the current organization except the current target solution, where the current target solution is the target solution currently undergoing the solution conflict test;
[0132] The conflict testing module 502 is further used for:
[0133] When it is determined that the target solution scenario is not processed by one or more target solutions corresponding to the current organization except the current target solution, the solution conflict test is performed according to the target solution scenario.
[0134] Optionally, the conflict testing module 502 is further configured to:
[0135] Determine at least one target scenario task corresponding to the target scenario, the target scenario task including target task responsibilities and target task organizations;
[0136] For each target scenario task, determine whether the preset responsibilities corresponding to the solution system include the target task responsibilities, and determine whether the preset organizations corresponding to the solution system include the target task organization;
[0137] When it is determined that the preset responsibilities include the target task responsibilities, and the preset organization includes the target task organization, determining whether the target task organization is a superior organization of the current organization;
[0138] In the case where it is determined that the target task agency is not the superior agency of the current organization, determining whether the program system responds to each demand of the current organization in the target program scenario;
[0139] When it is determined that the solution system responds to each demand of the current organization in the target solution scenario, it is determined that the target solution scenario passes the solution conflict test.
[0140] Optionally, Figure 8 is a block diagram of a device of a fourth test solution system according to an exemplary embodiment of the present disclosure, such as Figure 8 As shown, the device also includes:
[0141] A second scenario processing determination module 507 is used to determine, for each of the preset scenario, whether the preset scenario is processed by any of the solutions in the solution system;
[0142] The connectivity test module 503 is also used for:
[0143] When it is determined that each of the preset solution scenarios is processed by any solution in the solution system, the task connectivity test is performed on each of the preset solution scenarios in the solution system.
[0144] Optionally, the connectivity testing module 503 is further configured to:
[0145] Determine a plurality of preset scenario tasks corresponding to the preset solution scenario;
[0146] For each of the preset scenario tasks, determine a target organization among the multiple organizations that includes the preset scenario task, and determine whether each task responsibility corresponding to the target organization covers the preset scenario task;
[0147] When it is determined that each task responsibility corresponding to the target organization covers the preset scenario tasks, it is determined that the preset scenario passes the task connectivity test.
[0148] Through the above device, the rationality of the solution system is tested through solution conflict test and task connectivity test, and a solution system that can accurately execute the solution is obtained, so that the execution effect of the solution system on the solution can be improved.
[0149] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0150] Fig. 9 is a block diagram of an electronic device 900 according to an exemplary embodiment of the present disclosure. For example, the electronic device 900 may be provided as a server. Fig. 9 The electronic device 900 includes a processor 922, which may be one or more, and a memory 932 for storing a computer program executable by the processor 922. The computer program stored in the memory 932 may include one or more modules, each corresponding to a set of instructions. In addition, the processor 922 may be configured to execute the computer program to perform the above-mentioned test solution system method.
[0151] In addition, the electronic device 900 may further include a power supply component 926 and a communication component 950. The power supply component 926 may be configured to perform power management of the electronic device 900, and the communication component 950 may be configured to implement communication of the electronic device 900, for example, wired or wireless communication. In addition, the electronic device 900 may further include an input / output (I / O) interface 958. The electronic device 900 may operate based on an operating system stored in the memory 932, such as Windows Server 2008. TM , Mac OSX TM , Unix TM , Linux TM etc.
[0152] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned test solution system method are implemented. For example, the non-transitory computer-readable storage medium can be the above-mentioned memory 932 including program instructions, and the above-mentioned program instructions can be executed by the processor 922 of the electronic device 900 to complete the above-mentioned test solution system method.
[0153] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program executable by a programmable device, and the computer program has a code portion for executing the method of the above-mentioned test solution system when executed by the programmable device.
[0154] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings. However, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, the technical solution of the present disclosure can be subjected to a variety of simple modifications, and these simple modifications all belong to the protection scope of the present disclosure. It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.
[0155] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.
Claims
1. A method for testing a solution system, It is characterized in that The method comprises: Identify multiple organizations that have collaborative relationships within the solution system to be tested; Based on the preset hierarchical relationship, in descending order of hierarchy, the scheme conflict testing step is performed on the plurality of organizations in sequence; When each of the organizations passes the test of the solution conflict test step, a task connectivity test is performed on multiple preset solution scenarios in the solution system, wherein the task connectivity test is used to test whether the connectivity relationship between the scenario tasks corresponding to each preset solution scenario is correct; When each of the preset solution scenarios passes the task connectivity test, determining that the solution system passes the system test; The scheme conflict testing step includes: Obtain one or more target plans corresponding to the current organization, obtain one or more target plan scenarios corresponding to each target plan, and perform a plan conflict test according to the target plan scenario for each target plan scenario; the plan conflict test is used to test whether the task organization corresponding to each scenario task in the target plan scenario conflicts with the current organization.
2. The method according to claim 1, It is characterized in that Before performing the solution conflict test according to the target solution scenario, the method further includes: Determining whether the target solution scenario is included in the plurality of preset solution scenarios in the solution system; The scheme conflict test according to the target scheme scenario includes: When it is determined that the target solution scenario is included in the plurality of preset solution scenarios in the solution system, the solution conflict test is performed according to the target solution scenario.
3. The method according to claim 2, It is characterized in that Before performing the solution conflict test according to the target solution scenario, the method includes: Determine whether the target solution scenario is processed by a target solution other than a current target solution among one or more target solutions corresponding to the current organization, the current target solution being the target solution currently undergoing the solution conflict test; The scheme conflict test according to the target scheme scenario comprises: When it is determined that the target solution scenario is not processed by a target solution other than the current target solution among the one or more target solutions corresponding to the current organization, the solution conflict test is performed according to the target solution scenario.
4. The method according to claim 3, It is characterized in that The scheme conflict test according to the target scheme scenario includes: Determine at least one target scenario task corresponding to the target scenario, wherein the target scenario task includes a target task responsibility and a target task organization; For each of the target scenario tasks, determine whether the preset responsibilities corresponding to the solution system include the target task responsibilities, and determine whether the preset organizations corresponding to the solution system include the target task organizations; In the case where it is determined that the preset responsibilities include the target task responsibilities, and the preset organizations include the target task organization, determining whether the target task organization is a superior organization of the current organization; In the case where it is determined that the target task organization is not a superior organization of the current organization, determining whether the solution system responds to each requirement of the current organization in the target solution scenario; When it is determined that the solution system responds to each requirement of the current organization in the target solution scenario, it is determined that the target solution scenario passes the solution conflict test.
5. The method according to claim 1, It is characterized in that Before performing task connectivity testing on a plurality of preset solution scenarios in the solution system, the method further includes: For each of the preset solution scenarios, determining whether the preset solution scenario is processed by any solution in the solution system; The task connectivity test of the plurality of preset scenario scenarios in the solution system includes: When it is determined that each of the preset solution scenarios is processed by any solution in the solution system, the task connectivity test is performed on each of the preset solution scenarios in the solution system.
6. The method according to claim 5, It is characterized in that The task connectivity test for the preset scenario includes: Determine a plurality of preset scenario tasks corresponding to the preset scenario; For each of the preset scenario tasks, determining a target organization among the multiple organizations that includes the preset scenario task, and determining whether each task responsibility corresponding to the target organization covers the preset scenario task; When it is determined that each task responsibility corresponding to the target organization covers the preset scenario tasks, it is determined that the preset scenario passes the task connectivity test.
7. A device for testing a solution system, It is characterized in that The device comprises: An organization determination module is used to determine multiple organizations that have collaborative relationships in the solution system to be tested; A conflict testing module, used to perform scheme conflict testing steps on the plurality of organizations in descending order of hierarchy based on a preset hierarchy relationship; A connectivity test module, used for performing task connectivity test on multiple preset scenario scenarios in the solution system when each of the organizations passes the test of the solution conflict test step, wherein the task connectivity test is used for testing whether the connectivity relationship between the scenario tasks corresponding to each preset scenario is correct; A test result determination module, used to determine that the solution system passes the system test when each of the preset solution scenarios passes the task connectivity test; The scheme conflict testing step includes: Obtain one or more target plans corresponding to the current organization, obtain one or more target plan scenarios corresponding to each target plan, and perform a plan conflict test according to the target plan scenario for each target plan scenario; the plan conflict test is used to test whether the task organization corresponding to each scenario task in the target plan scenario conflicts with the current organization.
8. The device according to claim 7, It is characterized in that The device also includes: A scenario determination module, used to determine whether the target scenario is included in the plurality of preset scenario scenarios in the scenario system; The conflict testing module is further used for: When it is determined that the target solution scenario is included in the plurality of preset solution scenarios in the solution system, the solution conflict test is performed according to the target solution scenario.
9. A non-transitory computer-readable storage medium having stored thereon a computer program, It is characterized in that When the program is executed by a processor, the steps of the method described in any one of claims 1 to 6 are implemented.
10. An electronic device, It is characterized in that include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 6.
