Left test method and device for V-shaped development process of automobile electronic control software

By moving test activities left to all stages of development in the V-shaped development process, ensuring that tests in the requirements, systems, architecture and module design stages are carried out simultaneously, solving the problems of test delays and lack of continuous integration in traditional development, realizing early problems 发现和修复,提高了软件质量和开发效率。

CN119025086AInactive Publication Date: 2024-11-26BEIJING NEW ENERGY VEHICLE TECH INNOVATION CENT CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411085634.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-11-26
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Testing activities in traditional development processes are arranged later in the development cycle, resulting in delayed information transfer, poor communication, lack of continuous integration and continuous testing, increasing repair costs and time.

Method used

In the V-shaped development process, move the test activity left to all stages of the development process, and conduct continuous integration and continuous testing through system personnel and testers participating in demand analysis, system design, architecture design and module design to ensure each change Timely verification and testing.

Benefits of technology

Discover and fix problems early, reduce the cost of post-modification and retesting, improve software quality, shorten development cycles, reduce integration risks and repair workload.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119025086A_ABST
    Figure CN119025086A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of automobile electric control, and particularly discloses a test left-shift method and device for a V-shaped development process of automobile electric control software, and the method comprises the steps: enabling a test activity to shift to each stage of the development process in the V-shaped development process; the test activity is moved leftwards to each stage of the development process, namely system personnel or developers participate in each stage of demand analysis, system design, architecture design and module design together with testers, each stage forms a respective V-shaped flow, and continuous integration and continuous testing of software are carried out. According to the method, testing is carried out at the early stage of development, potential problems can be found and repaired earlier, and the cost of later modification and retesting is reduced; through continuous testing, each part of the software can be ensured to meet the design requirements, so that the quality of the whole software is improved; through early discovery and repair of problems, delay caused by later modification can be reduced, so that the development period is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automobile electronic control technology, and in particular to a test left-shift method and device for a V-shaped development process of automobile electronic control software. Background Art

[0002] With the continuous advancement of automobile technology, automotive electronic control units have become the core components of modern automobiles, responsible for controlling and managing various functions of the vehicle. In order to ensure the performance, quality and safety of automotive products, the development process of ECU must undergo rigorous verification and testing. Traditional development processes often adopt a waterfall model, in which testing activities are arranged in the late stage of the development cycle, which leads to many problems being discovered in the late stage of development or even after the product is released, increasing the cost and time of repair. The disadvantages of existing technologies are:

[0003] (1) Separation of testing and development: In the traditional development model, the testing team and the development team often work independently and lack close collaboration. This separation leads to delayed information transmission and poor communication, making it difficult for the testing team to discover and feedback development problems in a timely manner.

[0004] (2) Lack of continuous integration and continuous testing: Without the adoption of continuous integration and continuous testing strategies, changes and updates in the software development process are often not verified in a timely manner. This increases the risk in the software integration process, which may lead to integration failure or the discovery of a large number of integration problems, increasing the workload of repair and debugging.

[0005] In order to overcome these problems, the V-shaped development process came into being. The V-shaped development process closely combines the software development process with the testing process, forming a development model that cross-validates from requirements analysis to system testing. This development model not only helps to discover problems early, but also ensures that the product is rigorously verified and tested throughout the development cycle. Each stage of the V-shaped development process corresponds to corresponding testing activities, such as requirements verification in the requirements analysis phase, system verification in the system design phase, unit testing in the software development phase, module integration verification in the integration testing phase, and comprehensive verification in the system testing phase.

[0006] Based on this technical background, the present invention proposes a test left-shift method and device for a V-shaped development process of automotive electronic control software. Summary of the invention

[0007] In view of the deficiencies in the prior art, the present invention provides a test-left-shift method and device for a V-shaped development process of automotive electronic control software. By testing in the early stages of development, the method can discover and fix potential problems earlier, thereby reducing the cost of later modifications and retesting; by continuously testing, it can ensure that each part of the software meets the design requirements, thereby improving the quality of the overall software; by discovering and fixing problems early, it can reduce delays caused by later modifications, thereby shortening the development cycle.

[0008] In order to achieve the above-mentioned object, a first aspect of the present invention provides a test left-shift method for a V-shaped development process of automotive electronic control software, comprising:

[0009] In the V-shaped development process, testing activities are moved left to each stage of the development process to ensure that problems at each stage are discovered and solved in a timely manner, thereby reducing the cost of later software repairs;

[0010] Shifting testing activities left to various stages of the development process include:

[0011] Through system personnel or developers, testers jointly participate in each stage of requirement analysis, system design, architecture design and module design. Each stage forms its own V-shaped process to carry out continuous integration and continuous testing of the software to ensure that each change in the software development process can be verified and tested in a timely manner.

[0012] A second aspect of the present invention provides a test left-shift device for a V-shaped development process of automotive electronic control software, comprising a V-shaped requirement analysis module, a V-shaped system design module, a V-shaped architecture design module and a V-shaped module design module which are sequentially associated;

[0013] Each module undergoes continuous integration and continuous testing of the software with the participation of system personnel or developers and testers.

[0014] The beneficial effects of the present invention include:

[0015] (1) The test-left shift method of the V-shaped development process of automotive electronic control software proposed in the present invention can detect and fix potential problems earlier by testing in the early stages of development, thereby reducing the cost of later modifications and retesting; by continuously testing, it can ensure that each part of the software meets the design requirements, thereby improving the quality of the overall software; by discovering and fixing problems early, it can reduce delays caused by later modifications, thereby shortening the development cycle.

[0016] (2) The test left-shift method of the V-shaped development process of automotive electronic control software proposed in the present invention ensures that the testing activities are carried out simultaneously with the development activities through the participation of system personnel or developers and testers in four stages, namely, requirement analysis, system design, architecture design and module design, thereby improving communication efficiency and the timeliness of problem feedback.

[0017] (3) The test-left shift method of the V-shaped development process of automotive electronic control software proposed in the present invention ensures that each change in the software development process can be verified and tested in a timely manner, which helps to discover potential problems early, reduce integration risks, and reduce the workload of later repair and debugging.

[0018] Other features and advantages of the present invention will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The above and other objects, features and advantages of the present invention will become more apparent through a more detailed description of exemplary embodiments of the present invention with reference to the accompanying drawings.

[0020] Figure 1 The figure is a flow chart of the test left-shift method of the V-shaped development process of automotive electronic control software proposed by the present invention.

[0021] Figure 2 The figure is a schematic diagram of the overall V-shaped development process of a specific implementation method of the test left-shift method of the V-shaped development process of automotive electronic control software proposed by the present invention.

[0022] Figure 3 This is a schematic diagram of a V-shaped requirements analysis process in a specific implementation of the test left-shift method for the V-shaped development process of automotive electronic control software proposed by the present invention.

[0023] Figure 4 This is a schematic diagram of a V-shaped system design process in a specific implementation of the test left-shift method for the V-shaped development process of automotive electronic control software proposed by the present invention.

[0024] Figure 5 The figure is a schematic diagram of the V-shaped architecture design process in a specific implementation of the test left-shift method of the V-shaped development process of automotive electronic control software proposed by the present invention.

[0025] Figure 6 The present invention is a schematic diagram of a V-shaped module design process in a specific implementation of the test left-shift method for the V-shaped development process of automotive electronic control software proposed by the present invention. DETAILED DESCRIPTION

[0026] The preferred embodiments of the present invention will be described in more detail below. Although the preferred embodiments of the present invention are described below, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.

[0027] The present invention provides a test left shift method for a V-shaped development process of automotive electronic control software, such as Figure 1 As shown, including:

[0028] In the V-shaped development process, testing activities are moved left to each stage of the development process to ensure that problems at each stage are discovered and solved in a timely manner, thereby reducing the cost of later software repairs;

[0029] Shifting testing activities left to various stages of the development process include:

[0030] Through system personnel or developers, testers jointly participate in each stage of requirement analysis, system design, architecture design and module design. Each stage forms its own V-shaped process to carry out continuous integration and continuous testing of the software to ensure that each change in the software development process can be verified and tested in a timely manner.

[0031] In the present invention, by testing in the early stages of development, potential problems can be discovered and fixed earlier, reducing the cost of later modifications and retesting; by continuously testing, it can be ensured that each part of the software meets the design requirements, thereby improving the quality of the overall software; by discovering and fixing problems early, delays caused by later modifications can be reduced, thereby shortening the development cycle.

[0032] According to the present invention, the requirements analysis jointly participated by system personnel and test personnel includes:

[0033] Requirements collection and collation: System personnel collect development requirements, sort them out, remove redundant and conflicting parts, and obtain requirement documents;

[0034] Development of requirement test plan: Testers participate in and review requirement documents, develop test plans based on requirement documents, and clarify test scope, test strategy, and test resources.

[0035] According to the present invention, the joint participation of developers and testers in the requirements analysis also includes:

[0036] Requirements review and confirmation: Organize system personnel to conduct requirements review to ensure that the requirements document accurately reflects customer needs;

[0037] Requirement test case design: Based on the requirement document, the tester designs preliminary requirement test cases to ensure that each functional point in the requirement is covered by a corresponding test case;

[0038] Requirements test case review: Testers and system personnel jointly review the requirements test cases.

[0039] According to the present invention, the development requirements include functional requirements, performance requirements and interface requirements;

[0040] Requirements collection and organization, requirements test plan formulation, requirements review and confirmation, requirements test case design and requirements test case review together form a V-shaped requirements analysis process.

[0041] In the present invention, the testing team begins to participate in the requirements analysis phase, and jointly analyzes and verifies the requirements with the developers; by writing test cases and test scenarios, the testing team can ensure the accuracy and completeness of the requirements and provide a basis for subsequent development and testing activities.

[0042] Preferably, the system design involves the joint participation of system personnel and testers, including:

[0043] System design definition: System personnel define and design the functional modules and main functional points of the system according to the requirements document to form a system design document;

[0044] System document review: Organize system personnel to review system design documents to ensure that the system design meets the requirements of the requirement documents;

[0045] System test case design: Testers write system test cases suitable for system testing;

[0046] System test case review: Testers and system personnel jointly review system test cases.

[0047] Preferably, system design definition, system document review, system test case design and system test case review together form a V-shaped system design process.

[0048] In the present invention, during the system design phase, the testing team will perform preliminary system verification based on the design documents; through simulation and emulation and other means, the testing team can verify the rationality and feasibility of the system design to ensure that the system design meets the requirements of the requirement specification.

[0049] According to the present invention, the architecture design jointly participated by system personnel and test personnel includes:

[0050] Architecture design definition: System personnel define and design the architecture according to the system design document to form an architecture design document;

[0051] Architecture test case design: According to the architecture design document, testers write architecture test cases, including preparation of test data and establishment of test environment;

[0052] Architecture design review: Organize system personnel to conduct functional reviews to ensure that the architecture design meets the requirements of the system design document and check whether there are potential defects or problems in the architecture design;

[0053] Architecture test case review: Testers and system personnel jointly review architecture test cases;

[0054] Architecture design definition, architecture test case design, architecture design review and architecture test case review together form a V-shaped architecture design process.

[0055] According to the present invention, the module design jointly participated by system personnel and test personnel includes:

[0056] Module design definition: Developers design the specific implementation plan for each module based on the architecture design document, including the module's input / output and processing logic;

[0057] Module design review: The module design is confirmed by the developers to ensure that it meets the overall system requirements;

[0058] Module test case design: Testers write module test cases suitable for unit testing;

[0059] Module test case review: Testers and developers jointly review module test cases;

[0060] Module design definition, module design review, module test case design and module test case review together form a V-shaped module design process.

[0061] In the present invention, during the software development phase, the testing team will work closely with the development team to adopt a strategy of continuous integration and continuous testing; through automated testing tools and scripts, the testing team can monitor code quality in real time, discover and fix problems in a timely manner, and ensure the smooth progress of software development.

[0062] In the present invention, after the module development is completed, the testing team will conduct integration testing as early as possible to verify the collaboration and compatibility between different modules. Through early integration testing, interface problems and dependency problems between modules can be discovered and solved in time, reducing the cost of later repairs.

[0063] In the present invention, the test-left shift method also emphasizes the mechanism of feedback and iteration. Problems found during the testing process will be promptly fed back to the development team, and the development team will repair and improve them based on the feedback. At the same time, the testing team will also adjust the testing strategy and testing plan based on the test results to ensure the effectiveness and pertinence of the testing activities.

[0064] In the present invention, system personnel or developers participate in four stages of demand analysis, system design, architecture design and module design together with testers to ensure that testing activities are carried out simultaneously with development activities, thereby improving communication efficiency and timeliness of problem feedback.

[0065] In the present invention, it is ensured that each change in the software development process can be verified and tested in a timely manner, which helps to discover potential problems early, reduce integration risks, and reduce the workload of later repair and debugging.

[0066] The present invention also provides a test left-shift device for the V-shaped development process of automotive electronic control software used in the above method, comprising a V-shaped demand analysis module, a V-shaped system design module, a V-shaped architecture design module and a V-shaped module design module which are sequentially associated;

[0067] Each module undergoes continuous integration and continuous testing of the software with the participation of system personnel or developers and testers.

[0068] According to the present invention, the V-shaped demand analysis module is a V-shaped structure formed by a demand collection and sorting unit, a demand test plan formulation unit, a demand review and confirmation unit, a demand test case design unit and a demand test case review unit;

[0069] The V-shaped system design module is composed of the system design definition unit, the system document review unit, the system test case design unit and the system test case review unit to form a V-shaped structure;

[0070] The V-shaped architecture design module is composed of an architecture design definition unit, an architecture test case design unit, an architecture design review unit, and an architecture test case review unit to form a V-shaped structure;

[0071] The V-shaped module design module is a V-shaped structure formed by a module design definition unit, a module design review unit, a module test case design unit and a module test case review unit.

[0072] The present invention will be described in more detail below by way of examples.

[0073] Embodiment 1:

[0074] This embodiment proposes a test left-shift device for a V-shaped development process of automotive electronic control software, including a V-shaped requirement analysis module, a V-shaped system design module, a V-shaped architecture design module and a V-shaped module design module which are sequentially associated;

[0075] Each module is continuously integrated and tested by system personnel or developers and testers;

[0076] In this embodiment, the V-shaped demand analysis module is a V-shaped structure formed by a demand collection and sorting unit, a demand test plan formulation unit, a demand review and confirmation unit, a demand test case design unit and a demand test case review unit;

[0077] The V-shaped system design module is composed of the system design definition unit, the system document review unit, the system test case design unit and the system test case review unit to form a V-shaped structure;

[0078] The V-shaped architecture design module is composed of an architecture design definition unit, an architecture test case design unit, an architecture design review unit, and an architecture test case review unit to form a V-shaped structure;

[0079] The V-shaped module design module is a V-shaped structure formed by a module design definition unit, a module design review unit, a module test case design unit and a module test case review unit.

[0080] like Figure 2 As shown, this embodiment proposes a test left shift method for a V-shaped development process of automotive electronic control software, including:

[0081] In the V-shaped development process, testing activities are moved left to each stage of the development process to ensure that problems at each stage are discovered and solved in a timely manner, thereby reducing the cost of later software repairs;

[0082] Shifting testing activities left to various stages of the development process include:

[0083] Through system personnel or developers, together with testers, they participate in the stages of requirements analysis, system design, architecture design, and module design. Each stage forms its own V-shaped process to carry out continuous integration and continuous testing of the software to ensure that every change in the software development process can be verified and tested in a timely manner;

[0084] like Figure 3 As shown in the figure, the process of the requirements analysis phase includes:

[0085] Test plan formulation: During the requirements analysis phase, the test team begins to participate in and review the requirements document, formulate a test plan based on the requirements document, and clarify the test scope, test strategy, test resources, etc.

[0086] Test case design: Based on the requirements document, the test team can start designing preliminary test cases to ensure that each functional point in the requirements is covered by a corresponding test case;

[0087] Requirements collation: System personnel collect development requirements, including functional requirements, performance requirements, and interface requirements, and organize the collected requirements, remove redundant and conflicting parts, and form a preliminary requirements document;

[0088] Requirements review: Organize system personnel to conduct requirements review to ensure that the requirements document accurately reflects customer needs;

[0089] Test case review: Testers jointly review test cases;

[0090] like Figure 4 As shown, the system design process includes:

[0091] System design: System personnel define and design the system's functional modules and main functional points based on the requirements document to form a system design document;

[0092] System document review: Organize system personnel to review system design documents to ensure that the system design meets the requirements of the requirement documents;

[0093] System test case design: Testers write test cases suitable for right-side system testing;

[0094] Test case review: Testers jointly review test cases;

[0095] like Figure 5 As shown, the architecture design process includes:

[0096] Design review: The test team participates in the review of the architecture design phase to ensure that the design solutions in the design documents meet the requirements and check whether there are potential defects or problems in the design;

[0097] Test case design: Based on the architecture design document, the test team can write integrated test cases, including test data preparation, test environment construction, etc.

[0098] Architecture design: System personnel define and design the architecture according to the system design document to form an architecture design document;

[0099] Architecture review: Organize system personnel to conduct functional reviews to ensure that the architecture design meets the requirements of the system design documents;

[0100] Test case review: Testers jointly review test cases;

[0101] like Figure 6 As shown in the figure, the module design process includes:

[0102] Module design: Developers design the specific implementation plan for each module based on the architecture design document, including the module's input / output, processing logic, etc.

[0103] Module review: The module design is confirmed by the developers to ensure that it meets the overall system requirements;

[0104] Unit test case design: Testers write test cases suitable for unit testing;

[0105] Test case review: Testers jointly review the test cases.

[0106] The test-left-shift method of the V-shaped development process of automotive electronic control software proposed in the embodiment of the present invention can discover and fix potential problems earlier by testing in the early stages of development, thereby reducing the cost of later modifications and retesting; by continuously testing, it can ensure that each part of the software meets the design requirements, thereby improving the quality of the overall software; by discovering and fixing problems early, it can reduce delays caused by later modifications, thereby shortening the development cycle.

[0107] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments.

Claims

1. A test-left shift method for a V-shaped development process of automotive electronic control software, characterized in that: include: In the V-shaped development process, testing activities are moved left to each stage of the development process to ensure that problems at each stage are discovered and solved in a timely manner, thereby reducing the cost of later software repairs; Shifting testing activities left to various stages of the development process include: Through system personnel or developers, testers jointly participate in each stage of requirement analysis, system design, architecture design and module design. Each stage forms its own V-shaped process to carry out continuous integration and continuous testing of the software to ensure that each change in the software development process can be verified and tested in a timely manner.

2. The method according to claim 1, characterized in that: The requirements analysis involves the joint participation of system personnel and testers, including: Requirements collection and collation: System personnel collect development requirements, sort them out, remove redundant and conflicting parts, and obtain requirement documents; Development of requirement test plan: Testers participate in and review the requirement document, develop a test plan based on the requirement document, and clarify the test scope, test strategy, and test resources.

3. The method according to claim 2, characterized in that The joint participation of developers and testers in the requirements analysis also includes: Requirements review and confirmation: Organize system personnel to conduct requirements review to ensure that the requirements document accurately reflects customer needs; Requirement test case design: Based on the requirement document, the tester designs preliminary requirement test cases to ensure that each functional point in the requirement is covered by a corresponding test case; Requirements test case review: Testers and system personnel jointly review the requirements test cases.

4. The method according to claim 3, characterized in that The development requirements include functional requirements, performance requirements and interface requirements; The requirements collection and organization, requirements test plan formulation, requirements review and confirmation, requirements test case design and requirements test case review together form a V-shaped requirements analysis process.

5. The method according to claim 4, characterized in that The system design involves the joint participation of system personnel and testers, including: System design definition: System personnel define and design the functional modules and main functional points of the system according to the requirements document to form a system design document; System document review: Organize system personnel to review the system design documents to ensure that the system design meets the requirements of the requirement documents; System test case design: Testers write system test cases suitable for system testing; System test case review: Testers and system personnel jointly review the system test cases.

6. The method according to claim 5, characterized in that The system design definition, system document review, system test case design and system test case review together form a V-shaped system design process.

7. The method according to claim 6, characterized in that The architecture design involves the joint participation of system personnel and testers, including: Architecture design definition: System personnel define and design the architecture according to the system design document to form an architecture design document; Architecture test case design: Based on the architecture design document, testers write architecture test cases, including test data preparation and test environment construction; Architecture design review: Organize system personnel to conduct functional reviews to ensure that the architecture design meets the requirements of the system design documents and check whether there are potential defects or problems in the architecture design; Architecture test case review: Testers and system personnel jointly review the architecture test cases; The architecture design definition, architecture test case design, architecture design review and architecture test case review together form a V-shaped architecture design process.

8. The method according to claim 7, characterized in that The module design involves the joint participation of system personnel and testers, including: Module design definition: Developers design the specific implementation plan for each module based on the architecture design document, including the module's input / output and processing logic; Module design review: The module design is confirmed by the developers to ensure that it meets the overall system requirements; Module test case design: Testers write module test cases suitable for unit testing; Module test case review: Testers and developers jointly review the module test cases; The module design definition, module design review, module test case design and module test case review together form a V-shaped module design process.

9. A test left-shift device for a V-shaped development process of automotive electronic control software used in the method according to any one of claims 1 to 8, characterized in that: It includes a V-shaped demand analysis module, a V-shaped system design module, a V-shaped architecture design module and a V-shaped module design module which are sequentially associated; Each module undergoes continuous integration and continuous testing of the software with the participation of system personnel or developers and testers.

10. The device according to claim 9, characterized in that The V-shaped demand analysis module is a V-shaped structure formed by a demand collection and sorting unit, a demand test plan formulation unit, a demand review and confirmation unit, a demand test case design unit and a demand test case review unit; The V-shaped system design module is composed of a system design definition unit, a system document review unit, a system test case design unit and a system test case review unit to form a V-shaped structure; The V-shaped architecture design module is a V-shaped structure formed by an architecture design definition unit, an architecture test case design unit, an architecture design review unit and an architecture test case review unit; The V-shaped module design module is a V-shaped structure formed by a module design definition unit, a module design review unit, a module test case design unit and a module test case review unit.

Citation Information

Patent Citations

  • Method for testing left shift of efficient test

    CN115145543A

  • Evaluation method and device based on model development software, electronic equipment and medium

    CN116450484A