A method for generating matrix based on non-functional case analysis

Through the non-functional case analysis matrix generation method, the performance faults of remote sensing satellites are automatically identified, which solves the problem that existing technology cannot quickly locate system performance problems, and achieves the effect of rapid positioning and optimization suggestions.

CN118227481BActive Publication Date: 2024-09-24DUNSHAN TECH (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410309956.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-19
Publication Date
2024-09-24
Estimated Expiration
2044-03-19

AI Technical Summary

Technical Problem

Existing technology cannot automatically identify performance faults of remote sensing satellites, resulting in the inability to quickly locate system performance problems.

Method used

A test strategy based on non-functional case analysis matrix generation is adopted to form a test strategy for automatically identifying performance faults by obtaining non-functional test requirements, analyzing test objects and non-functional feature ranges, determining non-functional fault types, combing test points and writing test cases.

Benefits of technology

It realizes automatic identification of performance faults, helps non-functional testers quickly locate system performance problems, and provides reasonable optimization suggestions and methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118227481B
    Figure CN118227481B
Patent Text Reader

Abstract

The present invention relates to the field of remote sensing satellite performance fault testing, and specifically to a method for generating a matrix based on non-functional case analysis. The method comprises the following steps S1-S6: S1, obtaining non-functional test requirements; S2, analyzing test objects; S3, analyzing the range of non-functional characteristics; S4, clarifying the type of non-functional faults; S5, sorting out non-functional test points; S6, writing non-functional test cases. The present invention can automatically identify performance faults, so that non-functional testers can quickly locate system performance problems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of remote sensing satellite performance fault testing, and in particular to a method for generating a matrix based on non-functional case analysis. Background Art

[0002] With the development of remote sensing satellite technology, the number of remote sensing satellites has gradually increased, the resolution of remote sensing satellites and the performance of remote sensing satellites have been rapidly improved, and the number and accuracy of ground control points have been improved. The remote sensing satellites can be positioned by combining remote sensing image information with satellite standard star sensor information, which has the advantages of full autonomy, anti-interference and integration. However, for many remote sensing satellites, existing technologies cannot automatically identify performance failures. Summary of the invention

[0003] The purpose of the present invention is to address the problems existing in the background technology and to propose a method for generating a non-functional case analysis matrix that can automatically identify performance faults so that non-functional testers can quickly locate system performance problems.

[0004] The technical solution of the present invention is a method for generating a matrix based on a non-functional case analysis, comprising the following steps S1-S6:

[0005] S1. Obtain non-functional testing requirements;

[0006] S2. Analyze the test object;

[0007] S3. Analyze the scope of non-functional characteristics;

[0008] S4. Identify the types of non-functional failures;

[0009] S5, combing non-functional test points, including the following steps S51-S53:

[0010] S51. After determining the fault type, write a specific description of the non-functional test point in combination with the test object, non-functional characteristics, fault type, and technical implementation;

[0011] S52, determining the required initial state and initial data requirements of the system according to the test point target;

[0012] S53, comprehensively calculating the risk values ​​of the non-functional test points, and determining the execution priority of the non-functional test points according to the weight ranking;

[0013] S6. Write non-functional test cases, including the following steps S61-S62:

[0014] S61. Determine the test steps according to the non-functional test points, including 7 basic test steps. According to the technical implementation of the test points of the object under test, combine different basic test steps to form a case set;

[0015] S62. Write the expected results for the corresponding test steps, and include detailed judgment logic in the expected results.

[0016] Preferably, step S1 includes the following steps S11-S13:

[0017] S11. Obtain the task requirement sheet for non-functional testing;

[0018] S12, determine the task type and task cycle of the test task;

[0019] S13. Determine the object to be tested, test scope, test type and context.

[0020] Preferably, step S2 includes the following steps S21-S22:

[0021] S21. Determine the technical implementation of the test object based on the input information;

[0022] S22. Fill in the component name and service name into the template file according to the technical implementation of the test object.

[0023] Preferably, step S3 includes the following steps S31-S32:

[0024] S31, filter out the corresponding non-functional characteristics;

[0025] S32. Fill in the non-functional characteristics into the scope of the non-functional characteristics to be tested in the "Non-functional Test Plan".

[0026] Preferably, step S4 includes the following steps S41-S42:

[0027] S41, screening out corresponding fault types according to the non-functional characteristic range of the object under test;

[0028] S42: De-duplicate overlapping fault types.

[0029] Compared with the prior art, the present invention has the following beneficial technical effects:

[0030] The present invention can ensure that the case meets the coverage of non-functional characteristics and faults of the test object by describing the non-functional test case design process and design strategy, and can automatically identify performance faults. By analyzing and providing evidence using non-functional test cases, non-functional testers can quickly locate system performance problems and obtain reasonable optimization suggestions and methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 The system structure flow chart of the embodiment of the present invention. DETAILED DESCRIPTION

[0032] like Figure 1 As shown, a method for generating a non-functional case analysis matrix based on the present embodiment includes the following steps: obtaining non-functional test requirements, analyzing test objects, analyzing the scope of non-functional characteristics, determining non-functional failure types, sorting out non-functional test points, and writing non-functional test cases.

[0033] The first step is to obtain non-functional test requirements, which specifically includes the following steps S11-S13:

[0034] S11. Obtain the task requirement sheet for non-functional testing;

[0035] S12, determine the task type and task cycle of the test task;

[0036] S13, determine the object to be tested, test scope, test type and context;

[0037] The goal of the first step is to clarify the task requirements of non-functional testing, which can be executed by non-functional testing analysts, input the "Non-functional Testing Task Sheet", and output the requirements part and test scope part of the "Non-functional Testing Plan".

[0038] The second step is to analyze the test object, which specifically includes the following steps S21-S22:

[0039] S21. Determine the technical implementation of the test object based on the input information. The technical implementation is divided into 12 elements. See "Non-functional Technical Implementation Dictionary.xlsx";

[0040] S22. In combination with the Test Object Technology Implementation Identification Table - Template.xlsx, fill in the component name and service name into the template file according to the technical implementation of the test object;

[0041] The goal of the second step is to determine the specific technical implementation of the test object, which can be performed by non-functional test analysts, input "User Requirements Specification", "Capability Theme Requirements Definition", "Process Model Description Document", "Data Model Description Document", "Product Model Description Document", "Business Architecture Planning Description Document", "Bank of China XX Project Analysis Specification", "Bank of China XX Physical Application (Component) Application Integration Design Specification", "Bank of China XX Physical Application (Component) Data Integration Design Specification", "Bank of China XX Physical Application Design Specification", "Bank of China XX Physical Application Component Design Specification", "Bank of China XX Physical Application Component (Data Component) Design Specification" and "Bank of China XX Physical Technology Component Design Specification". The reference material is "Test Object Technology Implementation Identification Table - Template.xlsx", and output the test object of the "Non-Functional Test Plan", the technical implementation table part of the test object, and the "Test Object Technology Implementation Identification Table.xlsx".

[0042] The third step is to analyze the scope of non-functional characteristics, which specifically includes the following steps S31-S32:

[0043] S31. According to the Test Object Technology Implementation Identification Table.xlsx, corresponding to the Non-Functional Characteristics and Technology Implementation Mapping Model.xlsx, select the corresponding non-functional characteristics;

[0044] S32. Fill in the non-functional characteristics into the tested non-functional characteristics scope in the "Non-functional Test Plan";

[0045] The goal of the third step is to determine the scope of non-functional characteristics of the test task, which can be performed by non-functional test analysts. Input "Non-functional Characteristics and Technical Implementation Mapping Model.xlsx" and "Test Object Technical Implementation Identification Table.xlsx", and output the non-functional characteristics scope part of the "Non-functional Test Plan". The reference material is "Non-functional Test Fault Type Dictionary.xlsx".

[0046] Step 4: Identify the type of non-functional failure, including the following steps S41-S42:

[0047] S41. According to the non-functional characteristic range of the object under test, the corresponding fault type is selected from the "Non-functional characteristic and fault type mapping model.xlsx";

[0048] S42, performing deduplication processing on overlapping fault types;

[0049] The goal of the fourth step is to determine the fault type corresponding to the non-functional characteristics, which can be performed by non-functional test analysts. Input the "Non-functional Characteristics and Fault Type Mapping Model.xlsx", the non-functional characteristics scope part of the "Non-functional Test Plan", and output the test point part of the "Non-functional Test Case". The reference materials are "Non-functional Test Fault Type Dictionary.xlsx" and "Non-functional Test Case-Template".

[0050] Step 5: sort out non-functional test points, including the following steps S51-S53:

[0051] S51. After determining the fault type, write a specific description of the non-functional test point in combination with the test object, non-functional characteristics, fault type, and technical implementation; the corresponding description of the non-functional test point is such as: in order to verify the <non-functional characteristic>, use the <fault type> to test whether the service can be recovered when the <technical implementation> of the <test object> fails. For example: in order to verify the multi-node deployment (cluster) capability of the distributed architecture, use the restart process to simulate the partition active-active failure of the Rzone online service of the C-CIC component to see whether the service can be recovered;

[0052] S52. Determine the initial state and initial data requirements of the required system according to the test point objectives, including the following: software and hardware environment requirements, version requirements, test scenario requirements, monitoring requirements, authority requirements, etc., and list the prerequisites required for all test points;

[0053] S53, comprehensively calculating the risk value of the non-functional test point (i.e., the weight of the test point) according to the corresponding risk values ​​in the "Non-functional Characteristics Dictionary.xlsx", "Non-functional Test Failure Type Dictionary.xlsx", and "Non-functional Technology Implementation Dictionary.xlsx", and determining the execution priority of the non-functional test point according to the order of the weights;

[0054] The goal of the fifth step is to sort out the non-functional test points, which can be performed by non-functional test analysts, input the test point part of the "Non-functional Test Case", and output the initial state and initial data requirements and priority part of the "Non-functional Test Case" system. The reference material is "Non-functional Test Case-Template".

[0055] Step 6: Write non-functional test cases, including the following steps S61-S62:

[0056] S61. Determine the test steps according to the non-functional test points. The test step definition is in the "Non-functional Test Basic Class Dictionary.xlsx", which defines 7 basic test steps: initiating transactions, viewing monitoring, simulating failures, recovering from failures, modifying parameters, restarting applications, and viewing configurations. According to the technical implementation of the test points of the object under test, different basic test steps are combined to form a case set;

[0057] S62. Write the expected results for the corresponding test steps, and include detailed judgment logic in the expected results. For example, if the step description is "failure will cause TPS to decrease", the expected result should state "TPS should decrease by 10%". If the specific value cannot be given, the calculation logic should be given.

[0058] The goal of the sixth step is to write non-functional test cases that can be executed by non-functional test analysts, input non-functional test points of "Non-functional Test Cases", and output test steps and expected results of "Non-functional Test Cases". The reference material is "Non-functional Test Cases-Template".

[0059] The present invention can ensure that the case meets the coverage of non-functional characteristics and faults of the test object by describing the non-functional test case design process and design strategy, and can automatically identify performance faults. By analyzing and providing evidence using non-functional test cases, non-functional testers can quickly locate system performance problems and obtain reasonable optimization suggestions and methods.

[0060] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited thereto, and various changes can be made within the knowledge scope of technicians in the relevant technical field without departing from the purpose of the present invention.

Claims

1. A method for generating a matrix based on non-functional case analysis, characterized in that: The process comprises the following steps S1-S6: S1. Obtain non-functional test requirements; Step S1 includes the following steps S11-S13: S11. Obtain the task requirement sheet for non-functional testing; S12, determine the task type and task cycle of the test task; S13, determine the object to be tested, test scope, test type and context; S2, analyzing the test object; step S2 includes the following steps S21-S22: S21. Determine the technical implementation of the test object based on the input information; S22. Fill in the component name and service name into the template file according to the technical implementation of the test object; S3, analyzing the scope of non-functional characteristics; Step S3 includes the following steps S31-S32: S31, filter out the corresponding non-functional characteristics; S32, fill in the non-functional characteristics into the tested non-functional characteristics range part in the non-functional test plan; S4. Identify the type of non-functional failure; Step S4 includes the following steps S41-S42: S41, screening out corresponding fault types according to the non-functional characteristic range of the object under test; S42, performing deduplication processing on overlapping fault types; S5. Sort out non-functional test points. The process comprises the following steps S51-S53: S51. After determining the fault type, write a specific description of the non-functional test point in combination with the test object, non-functional characteristics, fault type, and technical implementation; S52, determining the required initial state and initial data requirements of the system according to the test point target; S53, comprehensively calculating the risk values ​​of the non-functional test points, and determining the execution priority of the non-functional test points according to the weight ranking; S6. Write non-functional test cases, including the following steps S61-S62: S61. Determine the test steps according to the non-functional test points, including 7 basic test steps. According to the technical implementation of the test points of the object under test, combine different basic test steps to form a case set; S62. Write the expected results for the corresponding test steps, and include detailed judgment logic in the expected results.