A test method and system based on electronic control module function

Through the application of electronic control module functional testing methods, the problems of inconsistent testing and low efficiency in traditional testing methods are solved, comprehensive coverage and efficient execution of functional testing are achieved, and the accuracy and stability of the electronic control module functions are ensured.

CN118502397BActive Publication Date: 2024-10-29SHENZHEN BTL TECH
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410963776.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-10-29
Estimated Expiration
2044-07-18

AI Technical Summary

Technical Problem

Traditional electronic control module functional testing methods have problems such as inconsistent functional test results, low testing efficiency and insufficient test coverage, and cannot fully cover all possible usage scenarios and functional modules.

Method used

Adopting a testing method based on the functions of electronic control modules, through functional testing requirements analysis, key function point mining, test case classification design, automated testing, fault analysis and repair strategy formulation, to ensure that testing covers all aspects and improves testing efficiency and accuracy .

Benefits of technology

It achieves the comprehensiveness, accuracy and efficiency of the electronic control module functional test, ensures the coverage and verification of key function points, reduces inconsistent test results and repeated work, and improves the accuracy and reliability of the test system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118502397B_ABST
    Figure CN118502397B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of module function testing, and in particular to a test method and system based on the function of an electronic control module. The method comprises the following steps: performing test requirements and target identification analysis on the function of the electronic control module to obtain the test requirements data of the electronic control module function and the test target data of the electronic control module function; performing function test point key mining analysis and test case classification design on the function of the electronic control module to obtain the classification set of electronic control module function test cases; performing automated test processing and test evaluation fault analysis on the classification set of electronic control module function test cases to obtain the fault problem points of the electronic control module function test; performing fault repair feedback analysis and test fault repair processing on the fault problem points of the electronic control module function test to generate a repair report of the electronic control module function test process. The present invention can improve the efficiency and reliability of module function testing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of module function testing, and in particular to a testing method and system based on electronic control module functions. Background Art

[0002] In recent years, with the development of hardware-software collaborative design and testing technology, some new test methods based on the functions of electronic control modules have begun to attract attention. These methods use simulation technology, model-driven testing and artificial intelligence algorithms to achieve comprehensive and accurate testing of the functions of electronic control modules. At present, electronic control modules play a key role in various industrial and consumer electronic devices, and are used to manage and control the various functions of the equipment. However, traditional electronic control module function testing methods often mainly include manual testing and automated testing. Among them, manual testing relies on the experience and skills of the operator, and often has problems such as inconsistent functional test results and low test efficiency; while automated testing improves test efficiency, it often cannot fully cover all possible usage scenarios and functional modules, resulting in insufficient test coverage and low test accuracy. Summary of the invention

[0003] Based on this, it is necessary for the present invention to provide a testing method and system based on the function of an electronic control module to solve at least one of the above technical problems.

[0004] To achieve the above object, a test method based on the function of an electronic control module comprises the following steps:

[0005] Step S1: performing test requirements and target identification analysis on the electronic control module function to obtain electronic control module function test requirement data and electronic control module function test target data; performing function test point key mining analysis on the electronic control module function based on the electronic control module function test requirement data and the electronic control module function test target data to obtain the key function points to be tested of the electronic control module;

[0006] Step S2: classifying and designing test cases for key function points to be tested in the electronic control module based on the electronic control module function test requirement data to obtain a classification set of electronic control module function test cases; constructing an electronic control module function test environment, and automatically testing and processing the classification set of electronic control module function test cases based on the electronic control module function test environment to obtain test output results of the electronic control module function under different working conditions;

[0007] Step S3: Based on the test output results of the electronic control module function under different working conditions, test evaluation fault analysis is performed on the key functional points of the electronic control module to be tested, so as to obtain the electronic control module function test fault problem points; fault repair feedback analysis is performed on the electronic control module function test fault problem points, so as to generate the electronic control module function test fault repair strategy plan;

[0008] Step S4: Performing a test fault repair process on the electronic control module function according to the electronic control module function test fault repair strategy and generating an electronic control module function test process repair report.

[0009] The present invention firstly analyzes the function test requirements of the electronic control module function, and can identify the specific test requirements of each function point, including necessary input conditions, expected output results, and various boundary conditions and special cases involved, which ensures that all aspects of the module function can be covered in the test phase, thereby improving the comprehensiveness and accuracy of the test. By performing functional test target identification analysis on the electronic control module function, the test target of each function point can be clarified, including determining the main purpose of the test, the expected test effect, and possible test methods and strategies. This analysis helps to ensure that the goals of the test activities are clear and efficient, and provides direction for the subsequent marking and key mining of functional test points. At the same time, by performing key mining analysis of the function test points of the electronic control module function based on the electronic control module function test requirement data and the electronic control module function test target data, the core of this step is to identify and determine the key function points of the module to be tested, that is, those test points that have the most significant impact on the module performance and functional characteristics. Through key mining analysis, these key function points can be given priority and focused on testing to ensure that the core part of the electronic control module function can be properly covered and verified in the test, thereby improving the coverage rate of the electronic control module function test process. Secondly, by classifying and designing the test cases for the key functional points to be tested of the electronic control module based on the functional test requirement data of the electronic control module, the test case classification is designed for the key functional points to be tested. The key to this step is to ensure the comprehensiveness and coverage of the test cases, so as to cover all important functional aspects and classify and design for different functions. Through classification design, the test cases can be effectively organized and managed to ensure that the correctness and performance of each functional point can be efficiently executed and verified in the subsequent test process. This detailed classification design not only helps to improve the accuracy and comprehensiveness of the test, but also provides a clear execution guide and basis for the subsequent test process, and eliminates the problem of inconsistent test results. By building a corresponding functional test environment according to the functional test equipment and test software of the electronic control module, the key to this step is to ensure that the test environment is fully prepared and perfect to support subsequent functional test activities. By obtaining appropriate test equipment and software, the real-time and accuracy of the test process can be ensured, and a stable and reliable test platform can be provided for the verification of module functions. Building a test environment not only helps to reduce environment-related problems in the test process, but also improves the consistency and repeatability of the test, thereby ensuring the validity and reliability of the test results.By using the built electronic control module functional test environment, the previously designed test case classification set is automatically tested. The key to this step is to use automated testing technology to achieve comprehensive coverage and efficient execution of functional test cases. Through automated processing, a large amount of test data and results can be quickly obtained, thereby achieving a comprehensive evaluation of the performance and stability of the electronic control module function under different working conditions. The output results of the automated test can not only provide timely feedback on the execution status and results of the test, but also provide data support and basis for subsequent problem analysis and improvement, thereby improving the test efficiency and test accuracy of the electronic control module function. Then, by testing and evaluating the key functional points of the electronic control module to be tested based on the test output results of the electronic control module function under different working conditions, the specific fault problem points can be quickly located and confirmed, laying the foundation for problem solving. By performing fault repair feedback analysis on the fault problem points of the electronic control module function test, this process is not just a simple repair problem, but more importantly, by analyzing the problem source data, the urgency and priority of fault repair can be understood. During the analysis process, factors such as time, resources and costs need to be considered in order to develop a reasonable and effective fault repair strategy. This analysis can ensure the effectiveness and long-term stability of the repair work, thereby minimizing the occurrence of similar problems in the future. Finally, the electronic control module function is systematically tested and repaired according to the electronic control module function test fault repair strategy. This process not only includes technical repairs to specific fault points, but also covers the generation and recording of test process repair reports. The key to this repair process stage is to ensure that the repair operation meets the design requirements and expected results, and to verify the repair effect and the stability of the system after the repair through strict test verification and feedback loops. The test process repair report finally generated is not only a document record of problem solving, but also a summary and evaluation of the entire repair process, thereby providing experience and reference for dealing with similar problems in the future.

[0010] Preferably, the present invention further provides a test system based on the function of an electronic control module, which is used to execute the test method based on the function of an electronic control module as described above, and the test system based on the function of an electronic control module comprises:

[0011] The electronic control module function point mining and analysis module is used to perform test requirements and target identification analysis on the electronic control module function, and obtain the electronic control module function test requirement data and the electronic control module function test target data; based on the electronic control module function test requirement data and the electronic control module function test target data, the electronic control module function is subjected to function test point key mining and analysis, so as to obtain the key function points to be tested of the electronic control module;

[0012] The electronic control module function automation test module is used to classify and design test cases for the key functional points to be tested of the electronic control module based on the electronic control module function test requirement data, so as to obtain a classification set of electronic control module function test cases; by building an electronic control module function test environment, and performing automated test processing on the classification set of electronic control module function test cases based on the electronic control module function test environment, the test output results of the electronic control module function under different working conditions are obtained;

[0013] The module function test evaluation fault analysis module is used to perform test evaluation fault analysis on the key function points of the electronic control module to be tested based on the test output results of the electronic control module function under different working conditions, so as to obtain the fault problem points of the electronic control module function test; perform fault repair feedback analysis on the fault problem points of the electronic control module function test, so as to generate a fault repair strategy plan for the electronic control module function test;

[0014] The module function test fault repair module is used to perform test fault repair processing on the electronic control module function according to the electronic control module function test fault repair strategy plan, thereby generating an electronic control module function test process repair report.

[0015] In summary, the present invention provides a test system based on the function of an electronic control module. The test system based on the function of an electronic control module consists of an electronic control module function point mining and analysis module, an electronic control module function automation test module, a module function test evaluation fault analysis module and a module function test fault repair module. It can implement any test method based on the function of the electronic control module described in the present invention, and is used to combine the operations between computer programs running on each module to implement the test method based on the function of the electronic control module. The internal structures of the system cooperate with each other, which can greatly reduce duplication of work and manpower investment, and can quickly and effectively provide a more accurate and efficient test process based on the function of the electronic control module, thereby simplifying the operation flow of the test system based on the function of the electronic control module. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments thereof made with reference to the following drawings:

[0017] Figure 1 A schematic diagram of the steps of the test method based on the function of the electronic control module of the present invention;

[0018] Figure 2 for Figure 1 Detailed step flow diagram of step S1;

[0019] Figure 3 for Figure 2Detailed step flow chart of step S13 in FIG. DETAILED DESCRIPTION

[0020] The technical method of the present invention is described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.

[0021] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.

[0022] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.

[0023] To achieve this, please refer to Figures 1 to 3 The present invention provides a test method based on the function of an electronic control module, the method comprising the following steps:

[0024] Step S1: performing test requirements and target identification analysis on the electronic control module function to obtain electronic control module function test requirement data and electronic control module function test target data; performing function test point key mining analysis on the electronic control module function based on the electronic control module function test requirement data and the electronic control module function test target data to obtain the key function points to be tested of the electronic control module;

[0025] Step S2: classifying and designing test cases for key function points to be tested in the electronic control module based on the electronic control module function test requirement data to obtain a classification set of electronic control module function test cases; constructing an electronic control module function test environment, and automatically testing and processing the classification set of electronic control module function test cases based on the electronic control module function test environment to obtain test output results of the electronic control module function under different working conditions;

[0026] Step S3: Based on the test output results of the electronic control module function under different working conditions, test evaluation fault analysis is performed on the key functional points of the electronic control module to be tested, so as to obtain the electronic control module function test fault problem points; fault repair feedback analysis is performed on the electronic control module function test fault problem points, so as to generate the electronic control module function test fault repair strategy plan;

[0027] Step S4: Performing a test fault repair process on the electronic control module function according to the electronic control module function test fault repair strategy and generating an electronic control module function test process repair report.

[0028] In the embodiment of the present invention, please refer to Figure 1 FIG. 1 is a schematic diagram of a step flow chart of a test method based on the function of an electronic control module according to the present invention. In this example, the test method based on the function of an electronic control module includes the following steps:

[0029] Step S1: performing test requirements and target identification analysis on the electronic control module function to obtain electronic control module function test requirement data and electronic control module function test target data; performing function test point key mining analysis on the electronic control module function based on the electronic control module function test requirement data and the electronic control module function test target data to obtain the key function points to be tested of the electronic control module;

[0030] The embodiment of the present invention collects and organizes various functional descriptions of the electronic control module, which are derived from system design documents, functional specifications or specific functional details provided by the development team, and extracts specific descriptors describing the functions of the electronic control module. At the same time, by using requirements analysis tools or technologies (such as requirements tracking matrix, use case analysis, scenario modeling and other methods), a detailed functional test requirements analysis is performed on the corresponding functional descriptors to understand the specific test requirements that each functional descriptor needs to meet, including verifying whether the function works as expected, whether the system response meets the specification, and the correctness of the functional operation, thereby obtaining the electronic control module functional test requirement data. Secondly, by combining the electronic control module functional test requirement data obtained by the analysis, the corresponding functional descriptors are planned and analyzed for test targets, so as to fully consider the importance of system functions, the dependencies between modules and the expected test coverage to determine the test targets of each electronic control module functional descriptor, including test targets in terms of correctness verification of functional operation, testing of boundary conditions, handling of abnormal situations, etc., thereby obtaining the electronic control module functional test target data. Then, by using a special functional test point marking tool or a test management system, the functional test points of the corresponding electronic control module functions are marked according to certain standards or guidelines to extract specific test points, and by combining the electronic control module functional test requirement data and the electronic control module functional test target data obtained by analysis, the previously marked functional test points are mined and analyzed using a key mining analysis method to comprehensively consider the feasibility and importance of the functional test points to identify and determine the key functional points to be tested in the electronic control module, and finally obtain the key functional points to be tested in the electronic control module.

[0031] Step S2: classifying and designing test cases for key function points to be tested in the electronic control module based on the electronic control module function test requirement data to obtain a classification set of electronic control module function test cases; constructing an electronic control module function test environment, and automatically testing and processing the classification set of electronic control module function test cases based on the electronic control module function test environment to obtain test output results of the electronic control module function under different working conditions;

[0032] The embodiment of the present invention describes in detail the functions and performance requirements that the electronic control module should have under different working conditions by carefully reviewing the electronic control module or product specifications and requirements documents in combination with the electronic control module functional test requirement data obtained through analysis, and designs corresponding test cases for the key functional points of the electronic control module to be tested according to its requirements under different operating conditions, including functional test cases under normal operating conditions, test cases under abnormal conditions, and test cases under boundary conditions, thereby obtaining a classification set of electronic control module functional test cases. At the same time, the functional test environment of the electronic control module is built by obtaining the required electronic control module functional test equipment and corresponding functional test software, which includes configuring the connection and interface of the hardware equipment, installing and setting the functional test software, and ensuring that the entire test environment can accurately simulate the working conditions and operating environment of the electronic control module in actual applications, thereby building an electronic control module functional test environment. The established electronic control module functional test environment is also used to write automated test scripts for the previously designed electronic control module functional test case classification set, so as to realize the automatic execution and automatic verification of various designed test cases, and use appropriate automated testing tools or scripting languages ​​to write specific test scripts according to the functional test requirements and the designed test cases, including simulation of input conditions, execution of operation steps, verification of output results and other logic, to realize the actual automated testing of different functional test cases in the electronic control module functional test case classification set, and combine the automated testing tool to automatically execute the test cases according to the pre-set test conditions and scripts, and collect the corresponding test output results, which include the execution status of each test case, the comparison results of the actual output and the expected output, the response time of the system, and the errors and abnormal conditions that occur during the test, and finally obtain the test output results of the electronic control module function under different working conditions.

[0033] Step S3: Based on the test output results of the electronic control module function under different working conditions, test evaluation fault analysis is performed on the key functional points of the electronic control module to be tested, so as to obtain the electronic control module function test fault problem points; fault repair feedback analysis is performed on the electronic control module function test fault problem points, so as to generate the electronic control module function test fault repair strategy plan;

[0034] The embodiment of the present invention collects and records the functional test results of the key functional points to be tested of the electronic control module under various predetermined working conditions by combining the test output results of the electronic control module function under different working conditions obtained by analysis, including sensor feedback, actuator response, internal processing data, etc., and analyzes the test output results at the key functional points to be tested by using an abnormality evaluation algorithm to check and analyze the abnormal conditions appearing in these test output results, and analyzes the monitored test abnormal conditions by using tools such as fault diagnosis software, logic analyzer, failure mode and effects analysis (FMEA), so as to identify and confirm specific fault problem points according to the test abnormal conditions recorded in the previous steps, and extract key clues and patterns from the existing test data to determine which abnormalities are systematic problem points and which are sporadic fault problem points, thereby obtaining the fault problem points of the electronic control module function test. Then, by reviewing relevant design documents, prototype test reports, hardware circuit diagrams, and software source codes, the specific causes and mechanisms leading to the identified electronic control module functional test fault problem points are deeply analyzed, and the origin of each fault point and the root cause of the fault are traced back. In addition, by combining the root cause of the fault problem obtained in the previous analysis, a strategic feedback analysis of the repair process is performed on the corresponding electronic control module functional test fault problem points, so as to formulate a detailed fault repair strategy plan by fully considering the balance between impact and cost-effectiveness, including determining the hardware components that need to be modified or replaced, optimizing the software algorithm or logic, and retesting and verifying the repaired module functions, etc., and ensuring that the repair measures will not introduce new problems or affect other functions of the module, and finally generate an electronic control module functional test fault repair strategy plan.

[0035] Step S4: Performing a test fault repair process on the electronic control module function according to the electronic control module function test fault repair strategy and generating an electronic control module function test process repair report.

[0036] The embodiment of the present invention formulates a detailed electronic control module function repair plan for the electronic control module function with corresponding fault problems by combining the electronic control module function test fault repair strategy scheme obtained by previous analysis, including determining the specific repair steps for each fault or defect, the required resources (such as developers, testers), the estimated time for repair, and the expected test verification method, and performing corresponding functional test fault repair on it according to the determined functional repair plan, which includes making specific code or configuration changes for each identified fault or defect, and ensuring that sufficient unit testing is performed in the development environment. Then, the repaired function is comprehensively tested and evaluated according to the previously defined test cases and verification methods to confirm whether the repair effectively solves the previous functional problems and that the repair process itself does not introduce new problems or side effects. At the same time, each repaired functional problem, the measures taken during the repair process, the verification test results after the repair, and the final repair effect evaluation are recorded according to the results of the verification test, and finally an electronic control module function test process repair report is generated.

[0037] The present invention firstly analyzes the function test requirements of the electronic control module function, and can identify the specific test requirements of each function point, including necessary input conditions, expected output results, and various boundary conditions and special cases involved, which ensures that all aspects of the module function can be covered in the test phase, thereby improving the comprehensiveness and accuracy of the test. By performing functional test target identification analysis on the electronic control module function, the test target of each function point can be clarified, including determining the main purpose of the test, the expected test effect, and possible test methods and strategies. This analysis helps to ensure that the goals of the test activities are clear and efficient, and provides direction for the subsequent marking and key mining of functional test points. At the same time, by performing key mining analysis of the function test points of the electronic control module function based on the electronic control module function test requirement data and the electronic control module function test target data, the core of this step is to identify and determine the key function points of the module to be tested, that is, those test points that have the most significant impact on the module performance and functional characteristics. Through key mining analysis, these key function points can be given priority and focused on testing to ensure that the core part of the electronic control module function can be properly covered and verified in the test, thereby improving the coverage rate of the electronic control module function test process. Secondly, by classifying and designing the test cases for the key functional points to be tested of the electronic control module based on the functional test requirement data of the electronic control module, the test case classification is designed for the key functional points to be tested. The key to this step is to ensure the comprehensiveness and coverage of the test cases, so as to cover all important functional aspects and classify and design for different functions. Through classification design, the test cases can be effectively organized and managed to ensure that the correctness and performance of each functional point can be efficiently executed and verified in the subsequent test process. This detailed classification design not only helps to improve the accuracy and comprehensiveness of the test, but also provides a clear execution guide and basis for the subsequent test process, and eliminates the problem of inconsistent test results. By building a corresponding functional test environment according to the functional test equipment and test software of the electronic control module, the key to this step is to ensure that the test environment is fully prepared and perfect to support subsequent functional test activities. By obtaining appropriate test equipment and software, the real-time and accuracy of the test process can be ensured, and a stable and reliable test platform can be provided for the verification of module functions. Building a test environment not only helps to reduce environment-related problems in the test process, but also improves the consistency and repeatability of the test, thereby ensuring the validity and reliability of the test results.By using the built electronic control module functional test environment, the previously designed test case classification set is automatically tested. The key to this step is to use automated testing technology to achieve comprehensive coverage and efficient execution of functional test cases. Through automated processing, a large amount of test data and results can be quickly obtained, thereby achieving a comprehensive evaluation of the performance and stability of the electronic control module function under different working conditions. The output results of the automated test can not only provide timely feedback on the execution status and results of the test, but also provide data support and basis for subsequent problem analysis and improvement, thereby improving the test efficiency and test accuracy of the electronic control module function. Then, by testing and evaluating the key functional points of the electronic control module to be tested based on the test output results of the electronic control module function under different working conditions, the specific fault problem points can be quickly located and confirmed, laying the foundation for problem solving. By performing fault repair feedback analysis on the fault problem points of the electronic control module function test, this process is not just a simple repair problem, but more importantly, by analyzing the problem source data, the urgency and priority of fault repair can be understood. During the analysis process, factors such as time, resources and costs need to be considered in order to develop a reasonable and effective fault repair strategy. This analysis can ensure the effectiveness and long-term stability of the repair work, thereby minimizing the occurrence of similar problems in the future. Finally, the electronic control module function is systematically tested and repaired according to the electronic control module function test fault repair strategy. This process not only includes technical repairs to specific fault points, but also covers the generation and recording of test process repair reports. The key to this repair process stage is to ensure that the repair operation meets the design requirements and expected results, and to verify the repair effect and the stability of the system after the repair through strict test verification and feedback loops. The test process repair report finally generated is not only a document record of problem solving, but also a summary and evaluation of the entire repair process, thereby providing experience and reference for dealing with similar problems in the future.

[0038] Preferably, step S1 comprises the following steps:

[0039] Step S11: performing function description processing on the electronic control module function to obtain an electronic control module function descriptor;

[0040] Step S12: performing function test requirement analysis on the electronic control module function descriptor to obtain the electronic control module function test requirement data;

[0041] Step S13: performing function test target identification analysis on the electronic control module function descriptor based on the electronic control module function test requirement data to obtain the electronic control module function test target data;

[0042] Step S14: marking the function test points of the electronic control module to obtain the function test points of the electronic control module;

[0043] Step S15: performing key mining analysis on the electronic control module function test points based on the electronic control module function test requirement data and the electronic control module function test target data to obtain the key function points of the electronic control module to be tested.

[0044] As an embodiment of the present invention, refer to Figure 2 As shown, Figure 1 Detailed step flow diagram of step S1 in FIG. 1 , in this embodiment, step S1 includes the following steps:

[0045] Step S11: performing function description processing on the electronic control module function to obtain an electronic control module function descriptor;

[0046] The embodiment of the present invention collects and organizes various functional descriptions of the electronic control module, which are derived from system design documents, functional specifications or specific functional details provided by the development team, so as to carefully read and understand these documents and extract specific descriptors describing the functions of the electronic control module, and finally obtain the electronic control module function descriptor.

[0047] Step S12: performing function test requirement analysis on the electronic control module function descriptor to obtain the electronic control module function test requirement data;

[0048] The embodiment of the present invention uses requirement analysis tools or techniques (such as requirement tracking matrix, use case analysis, scenario modeling and other methods) to perform detailed functional test requirement analysis on the corresponding electronic control module function descriptors to understand the specific test requirements that each function descriptor needs to meet, including verifying whether the function works as expected, whether the system response meets the specifications, and the correctness of the function operation, and finally obtains the electronic control module function test requirement data.

[0049] Step S13: performing function test target identification analysis on the electronic control module function descriptor based on the electronic control module function test requirement data to obtain the electronic control module function test target data;

[0050] The embodiment of the present invention plans and analyzes the test objectives of the corresponding electronic control module function descriptors by combining the electronic control module function test requirement data obtained through analysis, so as to prioritize the test requirement elements of each function descriptor, define specific test objectives and formulate test strategies, and fully consider the importance of system functions, the dependencies between modules and the expected test coverage to determine the test objectives of each electronic control module function descriptor, including test objectives in terms of correctness verification of functional operations, testing of boundary conditions, handling of abnormal situations, etc., and finally obtain the electronic control module function test target data.

[0051] Step S14: marking the function test points of the electronic control module to obtain the function test points of the electronic control module;

[0052] The embodiment of the present invention uses a special functional test point marking tool or a test management system to mark the functional test points of the corresponding electronic control module functions according to certain standards or guidelines to extract specific test points therefrom. These test points generally cover various aspects of the electronic control module functions, such as input conditions, expected outputs, boundary conditions, etc., and finally obtain the functional test points of the electronic control module.

[0053] Step S15: performing key mining analysis on the electronic control module function test points based on the electronic control module function test requirement data and the electronic control module function test target data to obtain the key function points of the electronic control module to be tested.

[0054] The embodiment of the present invention uses a key mining analysis method to mine and analyze previously marked functional test points by combining the electronic control module functional test requirement data and the electronic control module functional test target data obtained by analysis, so as to comprehensively consider the feasibility and importance of the functional test points to identify and determine the key functional points to be tested in the electronic control module, while ensuring that the core functions of the system are effectively verified and validated within limited resources and time, and finally obtain the key functional points to be tested of the electronic control module.

[0055] The present invention firstly performs functional description processing on the functions of the electronic control module to ensure a comprehensive understanding and accurate expression of the module functions. In this step, the engineering team can comb through the various functions of the electronic control module in detail and convert them into operable functional descriptors. This process not only helps to capture the details and characteristics of the module functions, but also provides a solid foundation for subsequent test requirements analysis and function point identification. Secondly, by performing functional test requirements analysis on the electronic control module functional descriptor, the specific test requirements of each function point can be identified, including necessary input conditions, expected output results, and various boundary conditions and special cases involved, which ensures that all aspects of the module function can be covered in the test phase, thereby improving the comprehensiveness and accuracy of the test. Then, by performing functional test target identification analysis on the electronic control module functional descriptor based on the electronic control module functional test requirement data, the test target of each function point can be clarified, including determining the main purpose of the test, the expected test effect, and possible test methods and strategies. This analysis helps to ensure that the goals of the test activities are clear and efficient, and provides direction for the subsequent annotation and key mining of functional test points. Next, by marking the function test points of the electronic control module functions, this step can clearly mark the applicable test points for each function point, which can be specific test conditions, input data or operation steps. Through precise marking, it can ensure that each function point has a corresponding test basis and test plan, thereby supporting the subsequent key mining and test execution stages of the function points. Finally, by performing key mining analysis on the electronic control module function test points based on the electronic control module function test requirement data and the electronic control module function test target data, the core of this step is to identify and determine the key function points of the module to be tested, that is, those test points that have the most significant impact on the module performance and functional characteristics. Through key mining analysis, it is possible to give priority to and focus on testing these key function points to ensure that the core part of the electronic control module function can be properly covered and verified in the test, thereby improving the coverage of the electronic control module function test process.

[0056] Preferably, step S13 comprises the following steps:

[0057] Step S131: performing semantic mining analysis on the electronic control module function descriptor to obtain the electronic control module function semantic information data;

[0058] Step S132: performing semantic association analysis on the electronic control module function descriptors based on the electronic control module function semantic information data to obtain semantic association dependency relationships between the function descriptors of each module;

[0059] Step S133: performing semantically related grouping processing on the electronic control module function descriptors according to the semantic association dependency relationship between the module function descriptors to obtain a group of electronic control module function semantically related descriptors;

[0060] Step S134: performing functional requirement element recognition and analysis on the electronic control module functional semantic related descriptor groups based on the electronic control module functional test requirement data, and obtaining functional test requirement elements between each module functional descriptor in the functional semantic related group;

[0061] Step S135: Perform test target planning analysis on each electronic control module function descriptor in the electronic control module function semantic related descriptor group according to the function test requirement elements between each module function descriptor in the function semantic related group to obtain electronic control module function test target data.

[0062] As an embodiment of the present invention, refer to Figure 3 As shown, Figure 2 FIG. 1 is a schematic diagram of a detailed step flow chart of step S13 in FIG. 1 . In this embodiment, step S13 includes the following steps:

[0063] Step S131: performing semantic mining analysis on the electronic control module function descriptor to obtain the electronic control module function semantic information data;

[0064] The embodiment of the present invention mines and analyzes the electronic control module function descriptor obtained by analysis by using corresponding text semantic mining tools to identify the keywords, phrases or sentences therein to extract the concepts and semantic information, and extracts the semantic information of the function descriptor and optimizes the text information by using text preprocessing techniques, such as stemming, stop word filtering or punctuation removal, so as to extract the key semantic concepts and information from the descriptor, and finally obtain the electronic control module function semantic information data.

[0065] Step S132: performing semantic association analysis on the electronic control module function descriptors based on the electronic control module function semantic information data to obtain semantic association dependency relationships between the function descriptors of each module;

[0066] The embodiment of the present invention uses text similarity calculation, semantic distance measurement or correlation analysis techniques to perform semantic association analysis on the corresponding electronic control module function descriptors by combining the electronic control module function semantic information data obtained by analysis, so as to explore and analyze the semantic association dependency relationships between the various function descriptors, and identify the potential connections and dependencies between the various descriptors, thereby deeply understanding the association dependencies between module functions, and finally obtaining the semantic association dependencies between the various module function descriptors.

[0067] Step S133: performing semantically related grouping processing on the electronic control module function descriptors according to the semantic association dependency relationship between the module function descriptors to obtain a group of electronic control module function semantically related descriptors;

[0068] The embodiment of the present invention uses corresponding clustering analysis, association rule mining or graph theory analysis methods to cluster and group the corresponding electronic control module function descriptors based on the semantic association dependency relationship between the module function descriptors obtained by combined analysis, so as to identify descriptor groups with similar functions or mutual dependencies. Each group contains a group of function descriptors with strong correlation, similar functions or close dependencies, and finally obtains a group of electronic control module function semantically related descriptors.

[0069] Step S134: performing functional requirement element recognition and analysis on the electronic control module functional semantic related descriptor groups based on the electronic control module functional test requirement data, and obtaining functional test requirement elements between each module functional descriptor in the functional semantic related group;

[0070] The embodiment of the present invention uses automated tool support or special requirement analysis technology (such as requirement modeling, use case analysis or logic analysis methods) to identify and analyze the functional requirement elements of the corresponding module function descriptors within the functional semantics-related descriptor group of the electronic control module by combining the electronic control module function test requirement data obtained by analysis, so as to analyze and identify the specific functional test requirement elements between the module function descriptors in the group, including specific operating actions, input conditions, expected output results or state changes and other requirement elements, and finally obtain the functional test requirement elements between the module function descriptors within the functional semantics-related group.

[0071] Step S135: Perform test target planning analysis on each electronic control module function descriptor in the electronic control module function semantic related descriptor group according to the function test requirement elements between each module function descriptor in the function semantic related group to obtain electronic control module function test target data.

[0072] The embodiment of the present invention plans and analyzes the test objectives between the various electronic control module function descriptors in the functional semantic related descriptor group of the electronic control module by combining the functional test requirement elements between the various module function descriptors in the functional semantic related group obtained by previous analysis, so as to prioritize the test requirement elements of each function descriptor, define specific test objectives and formulate test strategies, and fully consider the importance of system functions, the dependencies between modules and the expected test coverage to determine the test objectives of each electronic control module function descriptor, and finally obtain the electronic control module function test target data.

[0073] The present invention firstly performs semantic mining analysis on the electronic control module function descriptor. This step is not limited to simple text description, but is to deeply understand the semantic meaning of each function description, including its potential operation logic, function dependency and the association with other descriptors. Through this analysis, the connotation and possible extension points of the module function can be more comprehensively understood, providing a solid foundation for subsequent testing and optimization. Secondly, the electronic control module function descriptor is subjected to semantic association analysis based on the electronic control module function semantic information data. This step aims to reveal the semantic association dependency between each function descriptor, that is, how the module functions influence and depend on each other. By analyzing these relationships, the potential interaction mode and data flow logic between the function descriptors can be identified, which helps to ensure that all relevant function points are properly covered and verified in the test phase. Then, the electronic control module function descriptors are subjected to semantic correlation grouping processing according to the semantic correlation dependency between each module function descriptor. The key of this step is to classify the descriptors with similar semantics or related function dependencies into the same group. Through effective grouping, the complexity of the module function can be managed and understood more systematically, thereby ensuring that the test and evaluation of each function group can fully cover its internal function interaction and dependency. Next, the functional requirement elements of the electronic control module functional semantic related descriptor groups are identified and analyzed based on the electronic control module functional test requirement data. The goal of this step is to identify the specific functional test requirement elements between the functional descriptors of each module in each group, such as input conditions, expected outputs, and various boundary conditions. Through detailed requirements analysis, it can be ensured that the key test points of each functional group are covered in the test plan, thereby ensuring the comprehensiveness and quality of the electronic control module functions. Finally, the test target planning analysis is performed between the functional descriptors of each electronic control module in the functional semantic related descriptor groups of the electronic control module according to the functional test requirement elements between the functional descriptors of each module in the functional semantic related groups. The core of this step is to formulate specific test goals and strategies for the functional descriptors in each group to ensure that their functionality and performance can be effectively verified during the test process. Through planning analysis, key test points can be prioritized and processed to ensure the optimal allocation of test resources and the improvement of test efficiency, and provide direction for the subsequent annotation and key mining of functional test points.

[0074] Preferably, step S135 includes the following steps:

[0075] Perform test requirement action recognition analysis on the functional test requirement elements between the functional descriptors of each module in the functional semantic related group to obtain the functional test requirement action elements between the functional descriptors of each module;

[0076] The embodiment of the present invention uses a natural language processing tool or a special requirement analysis tool to identify and analyze the functional test requirement elements (including the functional operation behavior, input conditions, expected output or state changes, etc.) between the functional descriptors of each module in the functional semantic related group, so as to extract the corresponding key words, phrases or sentences therefrom, and identify and analyze the action elements in the functional test requirements, so as to deeply analyze the action logic and operation requirements behind each descriptor, such as specific actions such as starting, stopping, and adjusting, and finally obtain the functional test requirement action elements between the functional descriptors of each module.

[0077] Preferably, the function test requirement elements between the function descriptors of each module in the function semantic related group are subjected to test requirement object extraction processing to obtain the function test requirement objects between the function descriptors of each module;

[0078] The embodiment of the present invention uses a requirement object extraction method to extract functional test requirement elements between functional descriptors of various modules within a functional semantically related group, so as to fully consider the context of the test requirement action, the executor of the operation, possible input parameters, and the expected state or result after the operation, etc., to extract relevant test requirement objects from these functional test requirement elements, including those entities or objects of the test execution action, such as sensors, actuators, control algorithms, etc., and finally obtain the functional test requirement objects between the functional descriptors of various modules.

[0079] Preferably, based on the functional test requirement action elements and functional test requirement objects between the functional descriptors of the modules, test requirement conditions are designed between the functional descriptors of the electronic control modules in the functional semantically related descriptor group of the electronic control modules, so as to generate functional test requirement conditions between the functional descriptors of the electronic control modules;

[0080] The embodiment of the present invention uses test design techniques (such as equivalence class partitioning, boundary value analysis or scenario modeling) to design requirement conditions between each electronic control module function descriptor in the electronic control module functional semantic related descriptor group by combining the functional test requirement action elements and functional test requirement objects between each module function descriptor obtained by analysis, so as to combine the action elements and objects to design specific test requirement conditions, including specific steps for test execution, generation or acquisition methods of input data, expected output or system response, and environmental conditions for operation execution, etc., and ensure effective and comprehensive testing of the electronic control module function descriptors, and finally generate functional test requirement conditions between each electronic control module function descriptor.

[0081] Preferably, test target planning and analysis is performed between each electronic control module function descriptor in the electronic control module function semantically related descriptor group according to the function test requirement conditions between each electronic control module function descriptor to obtain electronic control module function test target data.

[0082] The embodiment of the present invention uses a planning and analysis method of a test target to analyze the functional test requirements between the electronic control module functional descriptors in the corresponding electronic control module functional semantic related descriptor group by combining the functional test requirements between the electronic control module functional descriptors obtained in the previous design, so as to further analyze and plan the designed test requirements, and clearly determine the specific test objectives and strategies for each electronic control module functional descriptor, and finally obtain the electronic control module functional test target data.

[0083] The present invention firstly performs test requirement action recognition analysis on the functional test requirement elements between the functional descriptors of each module in the functional semantics related group, and can systematically identify the specific functional test requirement action elements between the functional descriptors of each module in the functional semantics related group. This step is not limited to the surface functional description, but goes deep into the action logic and operation requirements behind each descriptor, such as specific actions such as start, stop, and adjust, so as to provide a detailed basis for subsequent test requirement object extraction and condition design. Secondly, by extracting and processing the functional test requirement elements between the functional descriptors of each module in the functional semantics related group, to obtain the exact functional test requirement object, this step focuses on extracting clear test objects from the descriptors, such as sensors, actuators, control algorithms, etc. These objects are the core parts that need to be accurately identified and verified during the test process. Through precise object extraction, the accuracy and completeness of the test plan can be ensured, and the key test points of each functional descriptor can be effectively covered. Then, the test requirement conditions are designed between each electronic control module function descriptor in the electronic control module function semantic related descriptor group based on the functional test requirement action elements and functional test requirement objects between each module function descriptor. The key to this step is to combine the action elements and objects to formulate specific test requirement conditions, such as input conditions, environmental conditions, expected outputs, etc., to ensure that all necessary test scenarios and cases are covered during the test process. Through detailed condition design, test activities can be effectively planned and executed to ensure that the functionality and performance characteristics of each function descriptor are fully verified. Finally, according to the functional test requirement conditions between each electronic control module function descriptor, the test target planning analysis is carried out between each electronic control module function descriptor in the electronic control module function semantic related descriptor group to obtain specific test target data between the electronic control module function descriptors. This step is not limited to simple target setting, but comprehensively considers the requirement conditions, test priority and overall system performance to determine the appropriate test goals and strategies for each descriptor. Through detailed planning and analysis, the efficiency and effectiveness of test activities can be ensured, thereby improving product quality, reducing testing costs and meeting user needs.

[0084] Preferably, step S15 comprises the following steps:

[0085] Step S151: performing a functional test feasibility assessment and analysis on the electronic control module functional test points based on the electronic control module functional test requirement data and the electronic control module functional test target data to obtain test feasibility data of each module functional test point;

[0086] The embodiment of the present invention uses a systematic method and tool to perform a feasibility assessment and analysis on the corresponding electronic control module function test points by combining the electronic control module function test requirement data obtained by analysis (including specific test requirements extracted from the requirement documents and specifications, such as the functional performance of the module, input and output conditions, etc.) and the electronic control module function test target data (including the expected results and goals of the test activities, such as the expected behavior or performance requirements of the function points, etc.), so as to assess and analyze the test feasibility of each function test point, that is, to determine whether there are sufficient test resources and test strategies to effectively execute and verify these function points, and finally obtain the test feasibility data of each module function test point.

[0087] Step S152: performing functional test impact range evaluation and analysis on the functional test points of the electronic control module to obtain the test impact range size of the functional test points of each module;

[0088] The embodiment of the present invention uses an impact range analysis tool to evaluate and analyze the corresponding electronic control module functional test points to simulate and evaluate the test impact range generated by each functional test point. This impact range can cover multiple aspects, including the importance of the functional point, its dependence on other parts of the system, and the range of existing error propagation paths, and finally obtains the test impact range of each module functional test point.

[0089] Step S153: Calculating the complexity of the function test points of the electronic control module to obtain the complexity of the function test points of each module;

[0090] The embodiment of the present invention uses a complexity analysis tool in combination with the detailed design documents of each electronic control module function test point and the system test plan to perform statistical calculations on the complexity of the corresponding electronic control module function test points, so as to fully consider the technical difficulty of the test object, the complexity of the algorithms involved, the diversity of inputs and outputs, and abnormal situations occurring during the test process to quantify the actual complexity of each function test point, and finally obtain the functional test complexity of each module function test point.

[0091] Step S154: performing a function test importance evaluation and analysis on the function test points of the electronic control module based on the test impact range and function test complexity of each module function test point, and obtaining test importance data of each module function test point;

[0092] The embodiment of the present invention uses an importance evaluation algorithm to evaluate and analyze the corresponding electronic control module function test points by combining the test impact range and function test complexity of each module function test point obtained by analysis, so as to determine the importance and priority of each test point in the overall test strategy by comprehensively considering the impact and complexity of the test point, and identify which test points are particularly critical to the verification of system functions and performance, and finally obtain the test importance data of each module function test point.

[0093] Step S155: performing key mining analysis on the electronic control module function test points according to the test feasibility data and test importance data of each module function test point to obtain the key function points to be tested of the electronic control module.

[0094] The embodiment of the present invention uses a key point mining algorithm to mine and analyze the corresponding electronic control module function test points by combining the test feasibility data and test importance data of each module function test point obtained by analysis, so as to comprehensively consider the feasibility and importance to identify and determine the key function points to be tested in the electronic control module, and give priority to those function points that can be effectively tested and are most critical to the system stability and performance, while ensuring that the core functions of the system are effectively verified and validated within limited resources and time, thereby minimizing the risks at the time of release, and finally obtaining the key function points to be tested of the electronic control module.

[0095] The present invention firstly conducts a functional test feasibility assessment analysis on the electronic control module functional test points based on the electronic control module functional test requirement data and the electronic control module functional test target data, and can systematically assess the feasibility of implementation of each functional test point in the current development stage. This step focuses on determining whether each test point can be effectively tested under the current environment and resource conditions, taking into account factors such as technical feasibility, the availability of equipment and human resources, and the applicability of the test method. Through detailed analysis, it is possible to identify which test points can be directly carried out and which require additional resources or technical support, thereby providing a basis and direction for the formulation of the test strategy. Secondly, by conducting a functional test impact range assessment analysis on the electronic control module functional test points, the key to this step is to assess the degree of influence of each test point in the system function and performance, including its dependence and influence on other modules or the overall system. By deeply analyzing the interrelationships and dependencies of the functional test points, it is possible to understand the position and role of each test point in the system, thereby effectively planning the test sequence, priority and resource allocation, and ensuring the effectiveness and system stability during the test process. Then, by calculating the functional test complexity of the functional test points of the electronic control module, this step is not just a simple evaluation of the complexity of the test points, but by comprehensively considering the technical difficulty of the test object, the complexity of the algorithm involved, the diversity of input and output, and the abnormal conditions that occur during the test process, the actual complexity of each test point is determined. Through detailed complexity calculation, the difficulty of the test task can be accurately evaluated, and corresponding strategies and methods can be adopted to cope with the challenges brought by complexity, ensuring the efficiency and accuracy of the test process. Next, by evaluating and analyzing the importance of functional test points based on the test impact range and functional test complexity, the key to this step is to comprehensively consider the impact and complexity of the test points to determine the importance and priority of each test point in the overall test strategy. Through detailed evaluation and analysis, it is possible to identify which test points are particularly critical to the verification of system functions and performance, thereby optimizing the allocation and management of test resources and ensuring the maximum test coverage and effect under limited resources. Finally, by performing key mining analysis of functional test points based on the feasibility data and importance data of functional test points, this step not only focuses on the nature of a single test point, but also identifies the key functional points in the system by combining the feasibility and importance of the test points. By exploring key functional points, we can concentrate resources and attention on key verification and testing to ensure that the core functions and critical paths of the electronic control module are fully covered and verified, thereby reducing the risk and probability of problem discovery in the later stages of development and improving product quality and reliability.

[0096] Preferably, step S151 includes the following steps:

[0097] Based on the electronic control module function test requirement data, the function test requirement compatibility interaction mining analysis is performed on the electronic control module function test points to obtain the function test requirement compatibility interaction relationship between the function test points of each module;

[0098] The embodiment of the present invention uses a data mining algorithm to perform compatible interaction mining analysis on the corresponding electronic control module functional test points by combining the electronic control module functional test requirement data obtained through analysis, so as to identify and mine the requirement compatibility interaction relationship between each functional test point, and determine the functional interaction mode of each test point, that is, how they depend on or complement each other, and finally obtain the functional test requirement compatible interaction relationship between each module functional test point.

[0099] Preferably, based on the electronic control module function test target data, function test target dependency mining and analysis is performed on the electronic control module function test points to obtain the function test target dependency association relationship between the function test points of each module;

[0100] The embodiment of the present invention uses a data analysis method and a data mining algorithm to mine and analyze the corresponding electronic control module function test points by combining the electronic control module function test target data obtained by analysis, so as to analyze the settings and relationships of the function test targets to mine and establish dependency association relationships between the various function test points. These relationships can be logical dependencies between function points, such as whether the correct execution of a certain function point depends on the prerequisites or outputs of other function points, thereby ensuring the effectiveness and efficiency of the testing activities, and finally obtaining the function test target dependency association relationship between the function test points of each module.

[0101] Preferably, the functional test compatibility statistics of the electronic control module functional test points are calculated according to the functional test requirement compatibility interaction relationship and the functional test target dependency association relationship between the functional test points of each module, so as to obtain the functional test compatibility degree between the functional test points of each module;

[0102] The embodiment of the present invention performs statistical calculations on the compatibility of the corresponding electronic control module function test points by combining the functional test requirement compatibility interaction relationship and the functional test target dependency association relationship obtained by analysis between the function test points of each module, so as to comprehensively consider the demand compatibility and target dependency data analyzed previously and use appropriate statistical methods and tools for calculation and quantification. The quantitative calculation aims to evaluate and quantify the degree of compatibility between the various function test points, that is, the interaction effects and dependency influences generated during the actual test execution process, and finally obtain the degree of functional test compatibility between the function test points of each module.

[0103] Preferably, a functional test coverage evaluation and analysis is performed on the functional test points of the electronic control module to obtain the functional test coverage between the functional test points of each module;

[0104] The embodiment of the present invention uses a data statistical analysis method to evaluate and analyze the coverage of each electronic control module function test point in the function test plan, so as to determine the number, type and quality of test cases for each electronic control module function test point to quantify and calculate the coverage of the expected behavior of each function point, that is, their comprehensive coverage of system functions and requirements, and ensure that the test plan can fully cover each function test point, thereby minimizing the risk of undiscovered functional defects, and finally obtaining the functional test coverage between the function test points of each module.

[0105] Preferably, a functional test feasibility assessment and analysis is performed on the electronic control module functional test points based on the functional test compatibility degree and functional test coverage between the functional test points of each module to obtain test feasibility data of the functional test points of each module.

[0106] The embodiment of the present invention uses a feasibility evaluation analysis method to evaluate and analyze the corresponding electronic control module function test points by combining the functional test compatibility degree and functional test coverage between the function test points of each module obtained by analysis, so as to evaluate and analyze the test feasibility of each function test point, that is, to determine whether there are sufficient test resources and test strategies to effectively execute and verify these function points, thereby determining the implementation feasibility of each test point under the current test environment and resource conditions, and finally obtaining the test feasibility data of each module function test point.

[0107] The present invention firstly performs functional test requirement compatibility interaction mining analysis on the functional test points of the electronic control module based on the functional test requirement data of the electronic control module to identify and mine the requirement compatibility interaction relationship between each functional test point. This step focuses on determining the functional interaction mode of each test point, that is, how they depend on each other or complement each other to meet the overall functional requirements of the system. By deeply mining the interaction relationship of functional requirements, it is possible to ensure that all necessary functional test points are covered during the test process, avoiding test omissions or misjudgments caused by functional missing or conflicts. This analysis not only helps to establish a comprehensive test coverage plan, but also can identify and solve possible functional integration problems in advance, thereby optimizing the formulation and execution efficiency of the test strategy. Secondly, by performing functional test target dependency mining analysis on the functional test points of the electronic control module based on the functional test target data of the electronic control module, the target dependency relationship between each functional test point is analyzed. The core of this step is to identify the functional target dependency between each test point, that is, the completion of one test point depends on the results or outputs of other test points. Through detailed dependency mining analysis, we can understand the task execution order and priority between test points, as well as their roles and contributions in system verification. This analysis helps to optimize test plans and resource allocation, ensure that functional test goals are maximized under limited test resources, and reduce test delays or sequence conflicts caused by dependencies. Then, by performing functional test compatibility statistical calculations on the functional test points of the electronic control module according to the functional test requirement compatibility interaction relationship between the functional test points of each module and the functional test target dependency association relationship, this step quantifies the degree of compatibility between each test point by comprehensively considering the requirement compatibility and target dependency. This statistical calculation not only helps to evaluate the interaction complexity and mutual influence between test points, but also provides a quantitative basis for optimizing test sequence, resource allocation and time planning. Through a detailed compatibility assessment, the risks in the test execution process can be more accurately controlled, and the integrity and consistency of the electronic control module in the overall functional verification can be ensured. Next, by performing functional test coverage evaluation analysis on the functional test points of the electronic control module, this step focuses on determining the degree of function and code coverage of each test point, that is, their comprehensive coverage of system functions and requirements. Through detailed coverage analysis, it is possible to identify which functional test points require more test cases or in-depth verification to ensure that the various functions of the electronic control module are fully verified and confirmed during the test. This evaluation not only helps to improve test efficiency and effectiveness, but also reduces potential risks and problems caused by insufficient functional coverage.Finally, by conducting a test feasibility assessment and analysis on each functional test point based on the functional test compatibility and functional test coverage, the key to this step is to comprehensively consider factors such as functional interaction, dependency and coverage to evaluate the actual test feasibility of each test point. Through detailed assessment and analysis, the feasibility of implementation of each test point under the current test environment and resource conditions can be determined, so as to formulate and adjust the test strategy to ensure the efficiency and effectiveness of the test activities. This assessment not only helps to optimize the allocation and management of test resources, but also can identify and resolve potential problems that may affect the progress and quality of the test in advance, ensuring the smooth achievement of test goals and improvement of system quality.

[0108] Preferably, step S2 comprises the following steps:

[0109] Step S21: classifying and designing test cases for key function points to be tested of the electronic control module based on the electronic control module function test requirement data to obtain a classification set of electronic control module function test cases;

[0110] The embodiment of the present invention describes in detail the functions and performance requirements that the electronic control module should have under different working conditions by carefully reviewing the electronic control module or product specifications and requirement documents in combination with the electronic control module functional test requirement data obtained by analysis, and designs corresponding test cases for the key functional points of the electronic control module to be tested according to its requirements under different operating conditions, including functional test cases under normal operating conditions, test cases under abnormal conditions, and test cases under boundary conditions, and ensures that the electronic control module can operate and respond correctly and efficiently under various working conditions, and finally obtains a classification set of electronic control module functional test cases.

[0111] Step S22: obtaining an electronic control module function test device and an electronic control module function test software, and building an electronic control module function test environment according to the electronic control module function test device and the electronic control module function test software;

[0112] The embodiment of the present invention obtains the required electronic control module functional testing equipment and corresponding functional testing software, which generally include tools for simulating input signals, monitoring output signals, recording system status and performing automated testing, and builds a functional testing environment for the electronic control module based on the acquired equipment and software, which includes configuring the connections and interfaces of hardware devices, installing and setting up functional testing software, and ensuring that the entire test environment can accurately simulate the working conditions and operating environment of the electronic control module in actual applications, and finally builds a functional testing environment for the electronic control module.

[0113] Step S23: performing automated test script writing processing on the electronic control module functional test case classification set through the electronic control module functional test environment to generate functional automated test scripts under different test case conditions;

[0114] The embodiment of the present invention uses the established electronic control module functional test environment to write automated test scripts for the previously designed electronic control module functional test case classification set, so as to realize the automatic execution and automatic verification of various designed test cases, and use appropriate automated testing tools or scripting languages ​​to write specific test scripts according to the functional test requirements and the designed test cases, including the logic of simulating input conditions, executing operation steps, verifying output results, etc., and ensure the comprehensive execution and accuracy of each test case, and finally generate functional automated test scripts under different test case conditions.

[0115] Step S24: performing automated testing on different functional test cases in the electronic control module functional test case classification set according to the functional automated testing scripts under different test case working conditions, and obtaining test output results of the electronic control module function under different working conditions.

[0116] The embodiment of the present invention performs actual automated testing on different functional test cases in a classification set of electronic control module functional test cases according to the prepared functional automated testing scripts under different test case conditions, and combines the automated testing tool to automatically execute the test cases according to pre-set test conditions and scripts, and collect corresponding test output results, which include the execution status of each test case, the comparison result between the actual output and the expected output, the response time of the system, and the errors and abnormal conditions that occur during the test, and finally obtains the test output results of the electronic control module function under different conditions.

[0117] The present invention firstly designs test cases for the key function points to be tested of the electronic control module based on the electronic control module function test requirement data, so as to design test case classification for the key function points to be tested. The key of this step is to ensure the comprehensiveness and coverage of the test cases, so as to cover all important functional aspects and design them for different functions. Through the classification design, the test cases can be effectively organized and managed, and the correctness and performance of each function point can be efficiently executed and verified in the subsequent test process. This detailed classification design not only helps to improve the accuracy and comprehensiveness of the test, but also can provide a clear execution guide and basis for the subsequent automated test and manual test. Secondly, by obtaining the electronic control module function test equipment and test software, and building the corresponding function test environment, the key of this step is to ensure that the test environment is fully prepared and perfect to support the subsequent function test activities. By obtaining appropriate test equipment and software, the real-time and accuracy in the test process can be ensured, and a stable and reliable test platform is provided for the verification of the module function. Building the test environment not only helps to reduce the environment-related problems that occur in the test process, but also can improve the consistency and repeatability of the test, thereby ensuring the validity and reliability of the test results. Then, by using the built electronic control module functional test environment, the previously designed test case classification set is processed by automated test script writing. The key to this step is to realize the functional automated testing of different test case conditions through the writing of automated scripts. Through the writing of automated test scripts, the execution efficiency and consistency of the test can be improved, and the influence of human factors on the test results can be reduced. The generation of automated test scripts can not only accelerate the test process, but also ensure the coverage and depth of the test, thereby improving the overall quality and efficiency of the test. Finally, according to the functional automated test scripts under different test case conditions, the different functional test cases in the electronic control module functional test case classification set are processed by automated testing. The key to this step is to use automated testing technology to achieve comprehensive coverage and efficient execution of functional test cases. Through automated processing, a large amount of test data and results can be quickly obtained, thereby realizing a comprehensive evaluation of the performance and stability of the electronic control module function under different working conditions. The output results of the automated test can not only timely feedback the execution and results of the test, but also provide data support and basis for subsequent problem analysis and improvement.

[0118] Preferably, step S21 includes the following steps:

[0119] Step S211: performing test requirement classification processing on the electronic control module function test requirement data based on the key function points to be tested of the electronic control module, so as to obtain the function test requirement data of the electronic control module under different functions to be tested, wherein the function test requirement data of the electronic control module under different functions to be tested includes the function test requirement data under normal function, the function test requirement data under abnormal processing and the function test requirement data under boundary conditions;

[0120] In the embodiment of the present invention, the functional requirements of the key functional points of the electronic control module to be tested under different working conditions are combined and analyzed to classify the test requirements of the corresponding electronic control module function test requirement data, so as to ensure that all test requirements encountered by the electronic control module function under various operating conditions are covered, including normal functional processes, abnormal processing processes and boundary condition processes. When dealing with normal functional conditions, the functional requirements of the module under standard operating conditions will be examined in detail to ensure that all major functional points and expected operating behaviors are considered and covered. When dealing with abnormal processing conditions, attention will be paid to the reaction and processing capabilities of the electronic control module function under abnormal conditions, which include simulating sensor failures, communication interruptions or other external interferences. When dealing with boundary conditions, the focus is on considering the performance of the electronic control module under extreme operating conditions, which involves the maximum or minimum value of the input signal, the module behavior under extreme temperature or pressure conditions, etc., and ensure that all extreme conditions are fully tested and verified, and finally obtain the functional test requirement data of the electronic control module under different functional conditions to be tested, including the functional test requirement data under normal functional conditions, the functional test requirement data under abnormal processing conditions and the functional test requirement data under boundary conditions.

[0121] Step S212: designing normal function test cases for the corresponding key function points of the electronic control module to be tested according to the function test requirement data of the electronic control module under normal function conditions, and generating normal function test cases for the electronic control module;

[0122] The embodiment of the present invention designs test cases for the corresponding key functional points of the electronic control module to be tested by combining the functional test requirement data of the electronic control module under normal functional conditions obtained by analysis, so as to cover all major functional points of the electronic control module under standard operating conditions, and ensure that each test case can accurately simulate the expected normal operating process, and at the same time verify whether each key functional point can operate and output according to the expected function of the design. Each test case also needs to clearly define the input conditions, expected outputs, operating steps and expected results, and finally generate a normal function test case for the electronic control module.

[0123] Step S213: designing an exception handling test case for the corresponding key function points of the electronic control module to be tested according to the function test requirement data of the electronic control module under the exception handling condition, and generating an exception handling test case for the electronic control module;

[0124] The embodiment of the present invention also designs test cases for the corresponding key functional points of the electronic control module to be tested by combining the functional test requirement data of the electronic control module under abnormal handling conditions obtained by analysis, so as to simulate and verify the response and processing capabilities of the electronic control module when facing various abnormal inputs or operations, and describe in detail the triggering method of the abnormal conditions, the expected system response and the countermeasures, to ensure that the module can correctly detect, process and recover errors under abnormal conditions, and finally generate an abnormal handling test case for the electronic control module.

[0125] Step S214: Design boundary condition test cases for the corresponding key function points of the electronic control module to be tested according to the functional test requirement data of the electronic control module under boundary conditions, and generate boundary condition test cases for the electronic control module;

[0126] The embodiment of the present invention also designs test cases for the corresponding key functional points of the electronic control module to be tested by combining the functional test requirement data of the electronic control module under boundary conditions obtained by analysis, so as to verify the behavioral performance and system response of the electronic control module under extreme conditions of input or operation. Each boundary condition test case also needs to define the boundary value of the input, the expected response and output of the system in detail, and ensure that the module can operate normally or fail reasonably under extreme conditions, and finally generate a boundary condition test case for the electronic control module.

[0127] Step S215: merging the electronic control module normal function test cases, the electronic control module abnormal handling test cases and the electronic control module boundary condition test cases to obtain an electronic control module function test case classification set.

[0128] The embodiment of the present invention forms a complete functional test case classification set by merging the previously designed normal function test cases of the electronic control module, the abnormal handling test cases of the electronic control module and the boundary condition test cases of the electronic control module, and ensures that all test requirements are fully covered and effectively managed during the entire functional testing process, and finally obtains the electronic control module functional test case classification set.

[0129] The present invention firstly classifies the test requirements of the electronic control module function test requirements data based on the key functional points to be tested of the electronic control module, ensuring that all key functional points under different test conditions are covered. First, for the requirements data under normal functional conditions, the functional performance requirements of the electronic control module under expected operation are listed in detail, including the expected behaviors of various inputs and outputs, and the various steps in the operation process. The requirements data under abnormal processing focuses on how the electronic control module should respond when facing abnormal inputs or operations, including error handling, recovery mechanisms, and system safety protection measures. As for the requirements data under boundary conditions, this part will focus on the behavior of the module under extreme or marginal conditions, such as the maximum or minimum value of the input, the processing requirements of specific situations such as system resource exhaustion. Through this classification process, it is ensured that the test cases can fully cover various functional scenarios, effectively capture potential problems and abnormal situations that may exist, thereby improving the comprehensiveness and effectiveness of the test. Secondly, by designing and generating corresponding normal functional test cases according to the requirements data of the electronic control module under normal functional conditions, in this step, the key is to ensure that each test case can accurately simulate the expected normal operation process and verify whether each key functional point can operate and output according to the expected function of the design. Each test case needs to clearly define the input conditions, expected outputs, operation steps and expected results for subsequent execution and verification. Through detailed design and generation, the integrity and effectiveness of the test cases are ensured, thus laying a solid foundation for subsequent testing activities. Then, by designing and generating corresponding exception handling test cases based on the demand data of the electronic control module under abnormal handling conditions, the key to this step is to simulate and verify the response and processing capabilities of the electronic control module when facing various abnormal inputs or operations. Each exception handling test case needs to describe in detail the triggering mode of the abnormal conditions, the expected system response and the countermeasures to ensure that the module can correctly detect, handle and recover errors under abnormal conditions. Through careful design and generation, the robustness and safety of the system can be effectively evaluated, potential errors and security vulnerabilities can be discovered, and the reliability and stability of the electronic control module function can be improved. Next, by designing and generating corresponding boundary condition test cases based on the demand data of the electronic control module under boundary conditions, the key to this step is to verify the behavior and system response of the electronic control module under the extreme conditions of input or operation. Each boundary condition test case needs to define the boundary value of the input, the expected response and output of the system in detail to ensure that the module can operate normally or fail reasonably under extreme conditions and will not cause system crash or damage. Through rigorous design and generation, the stability of the electronic control module and its robustness under extreme conditions can be effectively evaluated, providing important feedback and improvement suggestions for the design and implementation of the electronic control module.Finally, the normal function test cases, exception handling test cases, and boundary condition test cases of the electronic control module are merged to form a complete functional test case classification set. The key to this step is to integrate and manage all designed test cases to ensure that various functional scenarios and test requirements are covered. Through the merging of cases, the test case collection can be effectively organized and managed, providing clear guidance and operational basis for subsequent test execution and evaluation. The integrated functional test case classification set can not only ensure comprehensive coverage of various test situations, but also provide the test team with efficient execution paths and test strategies, ultimately ensuring the stability and functional integrity of the electronic control module under various circumstances.

[0130] Preferably, step S3 comprises the following steps:

[0131] Step S31: Based on the test output results of the electronic control module function under different working conditions, test abnormality evaluation and analysis are performed on the key function points to be tested of the electronic control module to obtain test abnormality data of the electronic control module function points;

[0132] The embodiment of the present invention collects and records the functional test results of the key functional points to be tested of the electronic control module under various predetermined working conditions by combining the test output results of the electronic control module function under different working conditions obtained by analysis, including sensor feedback, actuator response, internal processing data, etc., and analyzes the test output results at the key functional points to be tested by using an abnormal evaluation algorithm to check and analyze the abnormal conditions appearing in these test output results, which include abnormal sensor readings, unexpected behaviors of the actuator, or error reports of the module itself, and deeply understands the abnormal conditions appearing in the actual operation of each functional point, such as performance degradation, non-compliant output, and other abnormal conditions, and finally obtains the abnormal condition data of the electronic control module function point test.

[0133] Step S32: performing fault diagnosis and identification analysis on the abnormal condition data of the electronic control module function point test to obtain the fault problem point of the electronic control module function test;

[0134] The embodiment of the present invention analyzes the abnormal condition data of the electronic control module function point test by using tools such as fault diagnosis software, logic analyzer, failure mode and effects analysis (FMEA), etc., so as to identify and confirm specific fault problem points according to the abnormal condition data recorded in the previous steps, and extract key clues and patterns from the existing test data to determine which abnormalities are systematic problems and which are sporadic fault problems, and finally obtain the fault problem points of the electronic control module function test.

[0135] Step S33: tracing the problem point of the electronic control module function test fault to obtain the source data of the electronic control module function test fault problem;

[0136] The embodiment of the present invention deeply analyzes the specific causes and mechanisms leading to the fault problem points from the identified electronic control module functional test fault problem points by checking relevant design documents, prototype test reports, hardware circuit diagrams and software source codes, and traces the origin of each fault point and the root cause of the fault, and finally obtains the source data of the electronic control module functional test fault problem.

[0137] Step S34: performing a fault repair feedback analysis on the electronic control module function test fault problem point based on the electronic control module function test fault problem source data to generate an electronic control module function test fault repair strategy solution.

[0138] The embodiment of the present invention combines the electronic control module function test fault problem source data obtained by previous analysis to perform a strategy feedback analysis of the repair process of the corresponding electronic control module function test fault problem point, so as to fully consider the balance between impact and cost-effectiveness to formulate a detailed fault repair strategy plan, including determining the hardware components that need to be modified or replaced, optimizing the software algorithm or logic, and retesting and verifying the repaired module function, etc., and ensuring that the repair measures will not introduce new problems or affect other functions of the module, and finally generate an electronic control module function test fault repair strategy plan.

[0139] The present invention firstly performs test abnormality evaluation and analysis on the key function points to be tested of the electronic control module based on the test output results of the electronic control module function under different working conditions, and can systematically evaluate and analyze the abnormal conditions of the key function points to be tested. This process is not just a simple abnormality detection, but more importantly, it is to deeply understand the abnormal conditions that occur in each function point in actual operation, such as performance degradation, output that does not meet the specifications, etc. Through detailed evaluation and analysis, the abnormal condition data of each function point can be accurately identified and recorded, thereby providing solid data support for subsequent fault diagnosis and repair. Secondly, by performing in-depth fault diagnosis and identification analysis on the abnormal condition data of the electronic control module function point test, this process includes classifying, comparing and pattern recognition of the abnormal data, so as to determine which abnormalities are systematic problems and which are sporadic faults. Through accurate diagnostic analysis, specific fault problem points can be quickly located and confirmed, laying the foundation for problem solving. Then, by tracing the problem source of the electronic control module function test fault problem point, the key to this step is to trace the origin and possible root cause of each fault point through a systematic tracing process, which includes reviewing test data, system logs and related documents, so as to fully understand the background and environment of the fault. Through in-depth tracing, the source of the fault problem can be revealed more clearly, providing a strong basis and guidance for subsequent repair work. Finally, by conducting fault repair feedback analysis based on the source data of the electronic control module functional test fault problem, this process is not just a simple repair problem. More importantly, by analyzing the source data of the problem, the urgency and priority of the fault repair can be understood. During the analysis process, influencing factors such as time, resources and cost need to be considered to develop a reasonable and effective fault repair strategy. This analysis can ensure the effectiveness and long-term stability of the repair work, thereby minimizing the occurrence of similar problems in the future.

[0140] Preferably, the present invention further provides a test system based on the function of an electronic control module, which is used to execute the test method based on the function of an electronic control module as described above, and the test system based on the function of an electronic control module comprises:

[0141] The electronic control module function point mining and analysis module is used to perform test requirements and target identification analysis on the electronic control module function, and obtain the electronic control module function test requirement data and the electronic control module function test target data; based on the electronic control module function test requirement data and the electronic control module function test target data, the electronic control module function is subjected to function test point key mining and analysis, so as to obtain the key function points to be tested of the electronic control module;

[0142] The electronic control module function automation test module is used to classify and design test cases for the key functional points to be tested of the electronic control module based on the electronic control module function test requirement data, so as to obtain a classification set of electronic control module function test cases; by building an electronic control module function test environment, and performing automated test processing on the classification set of electronic control module function test cases based on the electronic control module function test environment, the test output results of the electronic control module function under different working conditions are obtained;

[0143] The module function test evaluation fault analysis module is used to perform test evaluation fault analysis on the key function points of the electronic control module to be tested based on the test output results of the electronic control module function under different working conditions, so as to obtain the fault problem points of the electronic control module function test; perform fault repair feedback analysis on the fault problem points of the electronic control module function test, so as to generate a fault repair strategy plan for the electronic control module function test;

[0144] The module function test fault repair module is used to perform test fault repair processing on the electronic control module function according to the electronic control module function test fault repair strategy plan, thereby generating an electronic control module function test process repair report.

[0145] In summary, the present invention provides a test system based on the function of an electronic control module. The test system based on the function of an electronic control module consists of an electronic control module function point mining and analysis module, an electronic control module function automation test module, a module function test evaluation fault analysis module and a module function test fault repair module. It can implement any test method based on the function of the electronic control module described in the present invention, and is used to combine the operations between computer programs running on each module to implement the test method based on the function of the electronic control module. The internal structures of the system cooperate with each other, which can greatly reduce duplication of work and manpower investment, and can quickly and effectively provide a more accurate and efficient test process based on the function of the electronic control module, thereby simplifying the operation flow of the test system based on the function of the electronic control module.

[0146] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.

[0147] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.

Claims

1. A test method based on the function of an electronic control module, characterized in that: The following steps are involved: Step S1: Perform test requirements and target identification analysis on the electronic control module function to obtain electronic control module function test requirement data and electronic control module function test target data; perform function test point key mining analysis on the electronic control module function based on the electronic control module function test requirement data and the electronic control module function test target data to obtain the key function points to be tested of the electronic control module; wherein step S1 includes the following steps: Step S11: performing function description processing on the electronic control module function to obtain an electronic control module function descriptor; Step S12: performing function test requirement analysis on the electronic control module function descriptor to obtain the electronic control module function test requirement data; Step S13: performing functional test target identification analysis on the electronic control module functional descriptor based on the electronic control module functional test requirement data to obtain the electronic control module functional test target data; wherein step S13 includes the following steps: Step S131: performing semantic mining analysis on the electronic control module function descriptor to obtain the electronic control module function semantic information data; Step S132: performing semantic association analysis on the electronic control module function descriptors based on the electronic control module function semantic information data to obtain semantic association dependency relationships between the function descriptors of each module; Step S133: performing semantically related grouping processing on the electronic control module function descriptors according to the semantic association dependency relationship between the module function descriptors to obtain a group of electronic control module function semantically related descriptors; Step S134: performing functional requirement element recognition and analysis on the electronic control module functional semantic related descriptor groups based on the electronic control module functional test requirement data, and obtaining functional test requirement elements between each module functional descriptor in the functional semantic related group; Step S135: Performing test target planning analysis between each electronic control module function descriptor in the electronic control module function semantic related descriptor group according to the function test requirement elements between each module function descriptor in the function semantic related group, and obtaining the electronic control module function test target data; wherein step S135 includes the following steps: Perform test requirement action recognition analysis on the functional test requirement elements between the functional descriptors of each module in the functional semantic related group to obtain the functional test requirement action elements between the functional descriptors of each module; Extracting the functional test requirement elements between the functional descriptors of each module in the functional semantic related group, and obtaining the functional test requirement objects between the functional descriptors of each module; Based on the functional test requirement action elements and functional test requirement objects between the functional descriptors of each module, test requirement conditions are designed between the functional descriptors of each electronic control module in the functional semantic related descriptor group of the electronic control module to generate the functional test requirement conditions between the functional descriptors of each electronic control module; According to the functional test requirements between the functional descriptors of the electronic control modules, test target planning and analysis are performed between the functional descriptors of the electronic control modules in the functional semantically related descriptor group of the electronic control modules to obtain the functional test target data of the electronic control modules; Step S14: marking the function test points of the electronic control module to obtain the function test points of the electronic control module; Step S15: performing key mining analysis on the electronic control module function test points based on the electronic control module function test requirement data and the electronic control module function test target data to obtain the key function points to be tested of the electronic control module; Step S2: classifying and designing test cases for key function points to be tested in the electronic control module based on the electronic control module function test requirement data to obtain a classification set of electronic control module function test cases; constructing an electronic control module function test environment, and automatically testing and processing the classification set of electronic control module function test cases based on the electronic control module function test environment to obtain test output results of the electronic control module function under different working conditions; Step S3: Based on the test output results of the electronic control module function under different working conditions, test evaluation fault analysis is performed on the key functional points of the electronic control module to be tested, so as to obtain the electronic control module function test fault problem points; fault repair feedback analysis is performed on the electronic control module function test fault problem points, so as to generate the electronic control module function test fault repair strategy plan; Step S4: Performing a test fault repair process on the electronic control module function according to the electronic control module function test fault repair strategy and generating an electronic control module function test process repair report.

2. The electronic control module function testing method according to claim 1, characterized in that: Step S15 includes the following steps: Step S151: performing a functional test feasibility assessment and analysis on the electronic control module functional test points based on the electronic control module functional test requirement data and the electronic control module functional test target data to obtain test feasibility data of each module functional test point; Step S152: performing functional test impact range evaluation and analysis on the functional test points of the electronic control module to obtain the test impact range size of the functional test points of each module; Step S153: Calculating the complexity of the function test points of the electronic control module to obtain the complexity of the function test points of each module; Step S154: performing a function test importance evaluation and analysis on the function test points of the electronic control module based on the test impact range and function test complexity of each module function test point, and obtaining test importance data of each module function test point; Step S155: performing key mining analysis on the electronic control module function test points according to the test feasibility data and test importance data of each module function test point to obtain the key function points to be tested of the electronic control module.

3. The test method based on the function of the electronic control module according to claim 2, characterized in that: Step S151 includes the following steps: Based on the electronic control module function test requirement data, the function test requirement compatibility interaction mining analysis is performed on the electronic control module function test points to obtain the function test requirement compatibility interaction relationship between the function test points of each module; Based on the electronic control module function test target data, the function test target dependency mining analysis is performed on the electronic control module function test points to obtain the function test target dependency association relationship between the function test points of each module; According to the functional test requirement compatibility interaction relationship and the functional test target dependency association relationship between the functional test points of each module, the functional test compatibility statistics of the electronic control module functional test points are calculated to obtain the functional test compatibility degree between the functional test points of each module; Conduct functional test coverage evaluation and analysis on the functional test points of the electronic control module to obtain the functional test coverage between the functional test points of each module; Based on the functional test compatibility and functional test coverage between the functional test points of each module, the functional test feasibility evaluation and analysis of the functional test points of the electronic control module is performed to obtain the test feasibility data of the functional test points of each module.

4. The electronic control module function testing method according to claim 1, characterized in that: Step S2 includes the following steps: Step S21: classifying and designing test cases for key functional points to be tested of the electronic control module based on the electronic control module functional test requirement data to obtain a classification set of electronic control module functional test cases; Step S22: obtaining an electronic control module function test device and an electronic control module function test software, and building an electronic control module function test environment according to the electronic control module function test device and the electronic control module function test software; Step S23: performing automated test script writing processing on the electronic control module functional test case classification set through the electronic control module functional test environment to generate functional automated test scripts under different test case conditions; Step S24: performing automated testing on different functional test cases in the electronic control module functional test case classification set according to the functional automated testing scripts under different test case working conditions, and obtaining test output results of the electronic control module function under different working conditions.

5. The test method based on the function of the electronic control module according to claim 4, characterized in that: Step S21 includes the following steps: Step S211: performing test requirement classification processing on the electronic control module function test requirement data based on the key function points to be tested of the electronic control module, so as to obtain the function test requirement data of the electronic control module under different functions to be tested, wherein the function test requirement data of the electronic control module under different functions to be tested includes the function test requirement data under normal function, the function test requirement data under abnormal processing and the function test requirement data under boundary conditions; Step S212: designing normal function test cases for the corresponding key function points of the electronic control module to be tested according to the function test requirement data of the electronic control module under normal function conditions, and generating normal function test cases for the electronic control module; Step S213: designing an exception handling test case for the corresponding key function points of the electronic control module to be tested according to the function test requirement data of the electronic control module under the exception handling condition, and generating an exception handling test case for the electronic control module; Step S214: Design boundary condition test cases for the corresponding key function points of the electronic control module to be tested according to the functional test requirement data of the electronic control module under boundary conditions, and generate boundary condition test cases for the electronic control module; Step S215: merging the electronic control module normal function test cases, the electronic control module abnormal handling test cases and the electronic control module boundary condition test cases to obtain an electronic control module function test case classification set.

6. The test method based on the function of the electronic control module according to claim 1, characterized in that: Step S3 includes the following steps: Step S31: Based on the test output results of the electronic control module function under different working conditions, test abnormality evaluation and analysis are performed on the key function points to be tested of the electronic control module to obtain test abnormality data of the electronic control module function points; Step S32: performing fault diagnosis and identification analysis on the abnormal condition data of the electronic control module function point test to obtain the fault problem point of the electronic control module function test; Step S33: tracing the problem point of the electronic control module function test fault to obtain the source data of the electronic control module function test fault problem; Step S34: performing a fault repair feedback analysis on the electronic control module function test fault problem point based on the electronic control module function test fault problem source data to generate an electronic control module function test fault repair strategy solution.

7. A test system based on the function of an electronic control module, characterized in that: For executing the test method based on the function of an electronic control module as claimed in claim 1, the test system based on the function of an electronic control module comprises: The electronic control module function point mining and analysis module is used to perform test requirements and target identification analysis on the electronic control module function, and obtain the electronic control module function test requirement data and the electronic control module function test target data; based on the electronic control module function test requirement data and the electronic control module function test target data, the electronic control module function is subjected to function test point key mining and analysis, so as to obtain the key function points to be tested of the electronic control module; The electronic control module function automation test module is used to classify and design test cases for the key functional points to be tested of the electronic control module based on the electronic control module function test requirement data, so as to obtain a classification set of electronic control module function test cases; by building an electronic control module function test environment, and performing automated test processing on the classification set of electronic control module function test cases based on the electronic control module function test environment, the test output results of the electronic control module function under different working conditions are obtained; The module function test evaluation fault analysis module is used to perform test evaluation fault analysis on the key function points of the electronic control module to be tested based on the test output results of the electronic control module function under different working conditions, so as to obtain the fault problem points of the electronic control module function test; perform fault repair feedback analysis on the fault problem points of the electronic control module function test, so as to generate a fault repair strategy plan for the electronic control module function test; The module function test fault repair module is used to perform test fault repair processing on the electronic control module function according to the electronic control module function test fault repair strategy plan, thereby generating an electronic control module function test process repair report.

Citation Information

Patent Citations

  • Automatic testing method and device based on BDD, computer equipment and storage medium

    CN109933521A

  • Automatic closed-loop test system and test method for embedded operating system

    CN111597115A

  • Method and system for supplementing case library based on software fault

    CN114253858A

  • Software-in-the-loop simulation test method and device of automatic driving system and storage medium

    CN115221063A

  • Correlation matrix test point optimization method considering test point reliability

    CN115659653A