Extensible dynamic testing method, device, equipment and storage medium
By constructing a dynamic test management module and a related module, the problems of long development time, high cost, and poor scalability of dynamic tests in intelligent remote diagnostics are solved, and rapid and economical dynamic test compatibility and resource optimization are achieved.
Patent Information
- Application Number
- CN202211530083.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-30
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-11-30
AI Technical Summary
The existing intelligent remote diagnostics system suffers from problems such as long development time, long testing cycle, high cost, poor scalability, high complexity, and serious resource waste in dynamic testing.
A dynamic test management module is constructed, and a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module on the APP are also constructed in conjunction with it. The dynamic test management module configures and associates scripts when a requirement is detected, and the APP is used to retrieve dynamic test cases of the vehicle controller for testing.
It achieves scalability and reusability of dynamic testing, reduces development time and cost, improves testing speed and accuracy, and avoids resource waste.
Smart Images

Figure CN116204407B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent connected vehicle technology, and in particular to an expandable dynamic testing method, apparatus, equipment, and storage medium. Background Technology
[0002] The existing intelligent remote diagnostics dynamic testing solution is designed so that each dynamic test script is developed and then integrated into the diagnostic platform. Every time a new script is added, the code of the diagnostic platform needs to be modified, and the code of the mobile APP also needs to be developed.
[0003] The current development model can meet the needs of every dynamic test, but it has the following problems:
[0004] a. Each dynamic test requires the development of a diagnostic platform and a mobile app, which leads to long development time, long testing cycle, and high cost;
[0005] b. Poor scalability;
[0006] c. Both platforms and apps will become increasingly larger and more complex, leading to poorer program stability.
[0007] d. Different controllers may have the same dynamic testing requirements, which will lead to duplicate work and waste of resources. Summary of the Invention
[0008] The main objective of this invention is to provide an scalable dynamic testing method, apparatus, device, and storage medium, aiming to solve the technical problems of long development time, long testing cycle, high cost, poor scalability, high complexity, poor program stability, and serious resource waste in the prior art.
[0009] In a first aspect, the present invention provides an extensible dynamic testing method, the extensible dynamic testing method comprising the following steps:
[0010] Construct a dynamic test management module, and associate it with a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module on the APP.
[0011] When a dynamic testing requirement is detected, a dynamic test script is developed based on the dynamic testing requirement, the dynamic test script is uploaded to the diagnostic platform, and the dynamic test management module is used to associate and configure the dynamic test script to obtain the configured dynamic test cases.
[0012] The app retrieves dynamic test cases that the current vehicle controller can cover as target dynamic test cases, and performs dynamic testing based on the target dynamic test cases.
[0013] Optionally, the construction of the dynamic test management module, and the association of the construction of the corresponding dynamic test script management module, parameter acquisition module, security algorithm management module, and dynamic display and interaction module on the APP, includes:
[0014] A dynamic test management module is constructed based on the unique identifier of the current vehicle controller, interaction signals and interaction IDs, security algorithms, dynamic test names, and dynamic test templates.
[0015] Construct a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module on the APP side, and associate the dynamic test script management module, the parameter acquisition module, the security algorithm management module, and the dynamic display and interaction module with the dynamic test management module.
[0016] Optionally, the step of constructing a dynamic test management module based on the unique identifier of the current vehicle controller, interaction signals and interaction IDs, security algorithms, dynamic test names, and dynamic test templates includes:
[0017] Obtain the unique identifier of the current vehicle controller, and obtain the interaction signals and corresponding interaction IDs for various dynamic tests;
[0018] The corresponding security algorithm library and security algorithm level are determined based on the associated script, and the security algorithm is determined based on the security algorithm library and the security algorithm level;
[0019] Obtain the dynamic test name and configure the name of the dynamic test based on the dynamic test name;
[0020] Obtain the dynamic test template to be used during the dynamic testing process, and construct a dynamic test management module based on the unique identifier, the interaction signal and interaction ID, the security algorithm, the dynamic test name and the dynamic test template.
[0021] Optionally, the construction of a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module on the APP, and the interconnection of the dynamic test script management module, the parameter acquisition module, the security algorithm management module, and the dynamic display and interaction module with the dynamic test management module, includes:
[0022] Build a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module on the APP side;
[0023] Determine the corresponding preset test process according to different dynamic test requirements, develop corresponding dynamic test scripts according to the preset test process, upload the values of each dynamic test script to the dynamic test script management module according to the unique identifier code, and associate the dynamic test script management module with the dynamic test management module.
[0024] Configure the parameter acquisition module according to a preset protocol, and associate the parameter acquisition module with the dynamic test management module;
[0025] Upload the security algorithm libraries required for various dynamic tests to the security algorithm management module, configure the security algorithm library name, call the security algorithm library through the security algorithm library name, and associate the security algorithm management module with the dynamic test management module;
[0026] Set the interface display and interaction templates corresponding to various dynamic test templates in the dynamic display and interaction module of the APP, and associate the dynamic display and interaction module with the dynamic test management module.
[0027] Optionally, when a dynamic testing requirement is detected, a dynamic test script is developed based on the dynamic testing requirement, the dynamic test script is uploaded to the diagnostic platform, and the dynamic test management module is used to associate and configure the dynamic test script to obtain configured dynamic test cases, including:
[0028] When a dynamic testing requirement is detected, a dynamic test script is developed based on the dynamic testing requirement, and the dynamic test script is uploaded to the diagnostic platform.
[0029] The dynamic test management module obtains the test parameters corresponding to the dynamic test script from the parameter acquisition module, and obtains the current security algorithm from the security algorithm management module.
[0030] The dynamic test script is configured based on the test parameters and the current security algorithm to obtain the configured dynamic test cases.
[0031] Optionally, the step of retrieving dynamic test cases that the current vehicle controller can cover via the APP as target dynamic test cases, and performing dynamic testing based on the target dynamic test cases, includes:
[0032] The system retrieves the list of dynamic tests supported by the current vehicle controller via the APP, selects the dynamic test cases that match the list as target dynamic test cases, and performs dynamic tests based on the target dynamic test cases.
[0033] Optionally, after retrieving dynamic test cases that the current vehicle controller can cover via the APP as target dynamic test cases and performing dynamic testing based on the target dynamic test cases, the scalable dynamic testing method further includes:
[0034] The target name of the target dynamic test case is obtained through the dynamic display interaction module, and the display template of the current dynamic test is determined.
[0035] Obtain the test results fed back after dynamic testing, and display the test results on the APP according to the display template.
[0036] Secondly, to achieve the above objectives, the present invention also proposes an expandable dynamic testing device, the expandable dynamic testing device comprising:
[0037] The building module is used to build the dynamic test management module and associate it with the dynamic test script management module, parameter acquisition module, security algorithm management module, and dynamic display and interaction module of the APP corresponding to the dynamic test management module 5.
[0038] The configuration module is used to develop dynamic test scripts based on the detected dynamic test requirements, upload the dynamic test scripts to the diagnostic platform, and associate and configure the dynamic test scripts through the dynamic test management module to obtain the configured dynamic test cases; the test module is used to retrieve the dynamic test cases that the current vehicle controller can cover as target dynamic test cases through the APP, and perform dynamic tests based on the target dynamic test cases.
[0039] Thirdly, to achieve the above objectives, the present invention also proposes an expandable dynamic testing device.
[0040] The scalable dynamic testing device includes: a memory, a processor, and a scalable dynamic testing program stored in the memory and executable on the processor. The scalable dynamic testing program is configured to implement the steps of the scalable dynamic testing method described above.
[0041] Fourthly, to achieve the above objectives, the present invention also proposes a storage medium storing an extensible dynamic test program, wherein the extensible dynamic test program, when executed by a processor, implements the steps of the extensible dynamic test method described above.
[0042] The scalable dynamic testing method proposed in this invention constructs a dynamic test management module and associates it with a corresponding dynamic test script management module, parameter acquisition module, safety algorithm management module, and dynamic display and interaction module on the APP. When dynamic test requirement 5 is detected, a dynamic test script is developed based on the requirement, uploaded to the diagnostic platform, and configured through the dynamic test management module to obtain configured dynamic test cases. The APP then retrieves dynamic test cases that can be covered by the current vehicle controller as target dynamic test cases, and performs dynamic testing based on these target dynamic test cases.
[0043] It can accommodate multiple dynamic testing requirements that need to be expanded in the future. If new dynamic tests are needed in the future, the configuration script can be directly extended. This ensures the overall scalability and reusability of remote diagnostics, reduces the development time of dynamic tests, shortens the testing cycle, reduces the cost of dynamic tests, avoids the waste of development computing resources, improves the accuracy and comprehensiveness of scalable dynamic tests, and improves the speed and efficiency of scalable dynamic tests. Attached Figure Description
[0044] Figure 1 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiments of the present invention;
[0045] Figure 2 This is a flowchart illustrating the first embodiment of the scalable dynamic testing method of the present invention;
[0046] Figure 3 This is a flowchart illustrating the second embodiment of the scalable dynamic testing method of the present invention;
[0047] Figure 4 This is a flowchart illustrating the third embodiment of the scalable dynamic testing method of the present invention;
[0048] Figure 5 This is a flowchart illustrating the fourth embodiment of the scalable dynamic testing method of the present invention;
[0049] Figure 6 This is a flowchart illustrating the fifth embodiment of the scalable dynamic testing method of the present invention;
[0050] Figure 7 This is a schematic block diagram of the scalable dynamic testing scheme in the scalable dynamic testing method of the present invention;
[0051] Figure 8 This is a flowchart illustrating the sixth embodiment of the scalable dynamic testing method of the present invention;
[0052] Figure 9This is a flowchart illustrating the seventh embodiment of the scalable dynamic testing method of the present invention;
[0053] Figure 10 This is a functional block diagram of the first embodiment of the expandable dynamic testing device of the present invention.
[0054] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0055] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0056] The solution of this invention mainly involves: constructing a dynamic test management module and associating it with a corresponding dynamic test script management module, parameter acquisition module, security algorithm management module, and dynamic display and interaction module on the APP; when a dynamic test requirement is detected, a dynamic test script is developed based on the requirement, uploaded to the diagnostic platform, and configured through the dynamic test management module to obtain a configured dynamic test case; the APP retrieves the dynamic test cases that the current vehicle controller can cover as target dynamic test cases, and performs dynamic testing based on these target cases. This approach is compatible with multiple dynamic test requirements that need to be expanded later. If new dynamic tests are needed, the configuration script can be directly expanded, ensuring the overall scalability and reusability of remote diagnostics, reducing dynamic test development time, shortening the test cycle, reducing dynamic test costs, avoiding waste of development computing resources, improving the accuracy and comprehensiveness of scalable dynamic tests, and increasing the speed and efficiency of scalable dynamic tests. This solves the technical problems of long development time, long test cycle, high cost, poor scalability, high complexity, poor program stability, and serious resource waste in existing technologies for dynamic tests.
[0057] Reference Figure 1 , Figure 1 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiments of the present invention.
[0058] like Figure 1As shown, the device may include: a processor 1001, such as a CPU; a communication bus 1002; a user interface 1003; a network interface 1004; and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or non-volatile memory, such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0059] Those skilled in the art will understand that Figure 1 The device structure shown does not constitute a limitation on the device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0060] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating device, a network communication module, a user interface module, and an expandable dynamic test program.
[0061] The device of the present invention calls the expandable dynamic test program stored in the memory 1005 through the processor 1001 and performs the following operations:
[0062] Construct a dynamic test management module, and associate it with a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module on the APP.
[0063] When a dynamic testing requirement is detected, a dynamic test script is developed based on the dynamic testing requirement, the dynamic test script is uploaded to the diagnostic platform, and the dynamic test management module is used to associate and configure the dynamic test script to obtain the configured dynamic test cases.
[0064] The app retrieves dynamic test cases that the current vehicle controller can cover as target dynamic test cases, and performs dynamic testing based on the target dynamic test cases.
[0065] The device of the present invention, through processor 1001 calling the expandable dynamic test program stored in memory 1005, also performs the following operations:
[0066] A dynamic test management module is constructed based on the unique identifier of the current vehicle controller, interaction signals and interaction IDs, security algorithms, dynamic test names, and dynamic test templates.
[0067] Construct a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module on the APP side, and associate the dynamic test script management module, the parameter acquisition module, the security algorithm management module, and the dynamic display and interaction module with the dynamic test management module.
[0068] The device of the present invention, through processor 1001 calling the expandable dynamic test program stored in memory 1005, also performs the following operations:
[0069] Obtain the unique identifier of the current vehicle controller, and obtain the interaction signals and corresponding interaction IDs for various dynamic tests;
[0070] The corresponding security algorithm library and security algorithm level are determined based on the associated script, and the security algorithm is determined based on the security algorithm library and the security algorithm level;
[0071] Obtain the dynamic test name and configure the name of the dynamic test based on the dynamic test name;
[0072] Obtain the dynamic test template to be used during the dynamic testing process, and construct a dynamic test management module based on the unique identifier, the interaction signal and interaction ID, the security algorithm, the dynamic test name and the dynamic test template.
[0073] The device of the present invention, through processor 1001 calling the expandable dynamic test program stored in memory 1005, also performs the following operations:
[0074] Build a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module on the APP side;
[0075] Determine the corresponding preset test process according to different dynamic test requirements, develop corresponding dynamic test scripts according to the preset test process, upload the values of each dynamic test script to the dynamic test script management module according to the unique identifier code, and associate the dynamic test script management module with the dynamic test management module.
[0076] Configure the parameter acquisition module according to a preset protocol, and associate the parameter acquisition module with the dynamic test management module;
[0077] Upload the security algorithm libraries required for various dynamic tests to the security algorithm management module, configure the security algorithm library name, call the security algorithm library through the security algorithm library name, and associate the security algorithm management module with the dynamic test management module;
[0078] Set the interface display and interaction templates corresponding to various dynamic test templates in the dynamic display and interaction module of the APP, and associate the dynamic display and interaction module with the dynamic test management module.
[0079] The device of the present invention, through processor 1001 calling the expandable dynamic test program stored in memory 1005, also performs the following operations:
[0080] When a dynamic testing requirement is detected, a dynamic test script is developed based on the dynamic testing requirement, and the dynamic test script is uploaded to the diagnostic platform.
[0081] The dynamic test management module obtains the test parameters corresponding to the dynamic test script from the parameter acquisition module, and obtains the current security algorithm from the security algorithm management module.
[0082] The dynamic test script is configured based on the test parameters and the current security algorithm to obtain the configured dynamic test cases.
[0083] The device of the present invention, through processor 1001 calling the expandable dynamic test program stored in memory 1005, also performs the following operations:
[0084] The system retrieves the list of dynamic tests supported by the current vehicle controller via the APP, selects the dynamic test cases that match the list as target dynamic test cases, and performs dynamic tests based on the target dynamic test cases.
[0085] The device of the present invention, through processor 1001 calling the expandable dynamic test program stored in memory 1005, also performs the following operations:
[0086] The target name of the target dynamic test case is obtained through the dynamic display interaction module, and the display template of the current dynamic test is determined.
[0087] Obtain the test results fed back after dynamic testing, and display the test results on the APP according to the display template.
[0088] This embodiment, through the above-described scheme, constructs a dynamic test management module and associates it with a corresponding dynamic test script management module, parameter acquisition module, security algorithm management module, and dynamic display and interaction module on the APP. When a dynamic test requirement is detected, a dynamic test script is developed based on the requirement, uploaded to the diagnostic platform, and configured through the dynamic test management module to obtain a configured dynamic test case. The APP retrieves the dynamic test cases that the current vehicle controller can cover as target dynamic test cases, and performs dynamic testing based on these target cases. This approach is compatible with multiple dynamic test requirements that need to be expanded in the future. If new dynamic tests are needed later, the configuration script can be directly expanded, ensuring the overall scalability and reusability of remote diagnostics, reducing dynamic test development time, shortening the testing cycle, reducing dynamic test costs, avoiding waste of development computing resources, improving the accuracy and comprehensiveness of scalable dynamic tests, and increasing the speed and efficiency of scalable dynamic tests.
[0089] Based on the above hardware structure, an embodiment of the scalable dynamic testing method of the present invention is proposed.
[0090] Reference Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the scalable dynamic testing method of the present invention.
[0091] In the first embodiment, the scalable dynamic testing method includes the following steps:
[0092] Step S10: Construct a dynamic test management module, and associate it with the dynamic test script management module, parameter acquisition module, security algorithm management module, and dynamic display and interaction module of the APP.
[0093] It should be noted that, after designing and building a dynamic test management module, corresponding dynamic test script management modules, parameter acquisition modules, security algorithm management modules, and dynamic display and interaction modules on the APP side can also be designed and built around the dynamic test management module.
[0094] Step S20: When a dynamic testing requirement is detected, a dynamic test script is developed based on the dynamic testing requirement, the dynamic test script is uploaded to the diagnostic platform, and the dynamic test script is associated and configured through the dynamic test management module to obtain the configured dynamic test cases.
[0095] Understandably, when a dynamic testing requirement is detected, a corresponding dynamic test script can be developed based on the requirement. After the dynamic test script is developed, it can be uploaded to the diagnostic platform. Then, the dynamic test script can be associated and configured through the dynamic test management module on the platform to obtain the associated and configured dynamic test cases.
[0096] Step S30: Use the APP to retrieve the dynamic test cases that the current vehicle controller can cover as target dynamic test cases, and perform dynamic testing based on the target dynamic test cases.
[0097] It should be understood that after obtaining dynamic test cases, the app on a mobile phone or other terminal can retrieve the dynamic test cases that the current vehicle controller can cover, use them as target dynamic test cases and execute them, that is, perform dynamic testing based on the target dynamic test cases.
[0098] This embodiment, through the above-described scheme, constructs a dynamic test management module and associates it with a corresponding dynamic test script management module, parameter acquisition module, security algorithm management module, and dynamic display and interaction module on the APP. When a dynamic test requirement is detected, a dynamic test script is developed based on the requirement, uploaded to the diagnostic platform, and configured through the dynamic test management module to obtain a configured dynamic test case. The APP retrieves the dynamic test cases that the current vehicle controller can cover as target dynamic test cases, and performs dynamic testing based on these target cases. This approach is compatible with multiple dynamic test requirements that need to be expanded in the future. If new dynamic tests are needed later, the configuration script can be directly expanded, ensuring the overall scalability and reusability of remote diagnostics, reducing dynamic test development time, shortening the testing cycle, reducing dynamic test costs, avoiding waste of development computing resources, improving the accuracy and comprehensiveness of scalable dynamic tests, and increasing the speed and efficiency of scalable dynamic tests.
[0099] Furthermore, Figure 3 This is a flowchart illustrating the second embodiment of the scalable dynamic testing method of the present invention, as shown below. Figure 3 As shown, based on the first embodiment, a second embodiment of the scalable dynamic testing method of the present invention is proposed. In this embodiment, step S10 specifically includes the following steps:
[0100] Step S11: Construct a dynamic test management module based on the unique identifier of the current vehicle controller, interaction signals and interaction IDs, security algorithms, dynamic test names and dynamic test templates.
[0101] It should be noted that a dynamic test management module can be designed and built using the unique identifier of the current vehicle controller, interaction signals and interaction IDs, security algorithms, dynamic test names, and dynamic test templates.
[0102] Step S12: Construct a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module for the APP, and associate the dynamic test script management module, the parameter acquisition module, the security algorithm management module, and the dynamic display and interaction module with the dynamic test management module.
[0103] It is understandable that after constructing the dynamic test management module, a corresponding dynamic test script management module, parameter acquisition module, security algorithm management module, and dynamic display and interaction module on the APP can be constructed in association with the dynamic test management module. In this way, the dynamic test script management module, the parameter acquisition module, the security algorithm management module, and the dynamic display and interaction module can be interconnected with the dynamic test management module.
[0104] This embodiment, through the above-described scheme, constructs five modules for dynamic test management based on the unique identifier of the current vehicle controller, interaction signals and interaction IDs, security algorithms, dynamic test names, and dynamic test templates. It also constructs a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module on the APP. These modules are interconnected with the dynamic test management module, enabling rapid construction of relevant dynamic test modules and improving the speed and efficiency of scalable dynamic testing.
[0105] Furthermore, Figure 4 This is a flowchart illustrating the third embodiment of the scalable dynamic testing method of the present invention, as shown below. Figure 4 As shown, based on the second embodiment, a third embodiment of the scalable dynamic testing method of the present invention is proposed. In this embodiment, step S11 specifically includes the following steps:
[0106] Step S111: Obtain the unique identifier of the current vehicle controller, and obtain the interaction signals and corresponding interaction IDs for various dynamic tests.
[0107] It should be noted that, while obtaining the unique identifier of the current vehicle controller, it is also possible to quickly obtain the interaction signals and corresponding interaction IDs for various dynamic tests.
[0108] Step S112: Determine the corresponding security algorithm library and security algorithm level based on the associated script, and determine the security algorithm based on the security algorithm library and the security algorithm level.
[0109] It is understood that the management scripts associated with the dynamic test management module and other modules can determine the corresponding security algorithm library and security algorithm level, and the security algorithm can be determined through the security algorithm library and the security algorithm level.
[0110] Step S113: Obtain the dynamic test name and configure the name of the dynamic test according to the dynamic test name.
[0111] 5. It should be understood that after obtaining the dynamic test name, the name configuration for the dynamic test can be performed based on the dynamic test name.
[0112] Step S114: Obtain the dynamic test template to be used during the dynamic testing process, and construct a dynamic test management module based on the unique identifier, the interaction signal and interaction ID, the security algorithm, the dynamic test name and the dynamic test template.
[0113] It is understood that after obtaining the dynamic test template to be used in the dynamic testing process, a dynamic test management module can be constructed by combining the unique identifier, the interaction signal and interaction ID, the security algorithm, the dynamic test name and the dynamic test template.
[0114] In practical implementation, the dynamic test management module can be designed with three standard templates, as shown below:
[0115] a) Template 1:
[0116] √ Once configured, when displayed in the APP, clicking "Execute" will complete the execution immediately. There is no need to wait a long time for feedback on the execution process; only the execution result will be displayed.
[0117] b) Template 2:
[0118] √ It is necessary to configure the waiting time during the dynamic test execution process, and calculate the executed display, displaying the interactive actions and time progress during the execution process on the APP;
[0119] c) Template 3:
[0120] √ It is necessary to configure manual actions during dynamic testing, and configure the manual action = the filled value and the value read by the parameter template to be validated. The result of validation A is configured to proceed to the next action; the result of validation B is configured to proceed to the next action, and finally the interaction flow and logic are displayed.
[0121] √ Configure multiple manual operation items, which can be displayed and operated on the mobile APP after configuration.
[0122] This embodiment, through the above-described scheme, obtains the unique identifier of the current vehicle controller, acquires the interaction signals and corresponding interaction IDs for various dynamic tests; determines the corresponding security algorithm library and security algorithm level based on the associated script, and determines the security algorithm based on the security algorithm library and security algorithm level; acquires the dynamic test name, and configures the name of the dynamic test based on the dynamic test name; acquires the dynamic test template to be used during the dynamic test, and constructs a dynamic test management module based on the unique identifier, the interaction signals and interaction IDs, the security algorithm, the dynamic test name, and the dynamic test template. This enables the rapid construction of the dynamic test management module, improving the speed and efficiency of scalable dynamic testing.
[0123] Furthermore, Figure 5 This is a flowchart illustrating the fourth embodiment of the scalable dynamic testing method of the present invention, as shown below. Figure 5 As shown, based on the second embodiment, a fourth embodiment of the scalable dynamic testing method of the present invention is proposed. In this embodiment, step S12 specifically includes the following steps:
[0124] Step S121: Construct a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module for the APP.
[0125] It should be noted that the system includes a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module on the APP. The dynamic test script management module is used to manage dynamic test scripts, the parameter acquisition module is used to collect dynamic test detection parameters, the security algorithm management module is used to manage security algorithms, and the dynamic display and interaction module on the APP is used to interact with and display the dynamic tests.
[0126] Step S122: Determine the corresponding preset test process according to different dynamic test requirements, develop corresponding dynamic test scripts according to the preset test process, upload the values of each dynamic test script to the dynamic test script management module according to the unique identifier, and associate the dynamic test script management module with the dynamic test management module.
[0127] It is understandable that after determining the corresponding preset test process based on different dynamic test requirements, corresponding dynamic test scripts can be developed according to the preset test, and then the values of each dynamic test script can be uploaded to the dynamic test script management module according to the unique identifier, and the dynamic test script management module can be associated with the dynamic test management module.
[0128] In practice, dynamic test scripts are developed based on different dynamic test requirements and pre-defined routine test processes. The dynamic test scripts are then uploaded to the dynamic test script management module based on the controller's unique identifier and associated with the dynamic test management module.
[0129] Step S123: Configure the parameter acquisition module according to the preset protocol, and associate the parameter acquisition module with the dynamic test management module.
[0130] It should be understood that the parameter acquisition module can be configured through a pre-set protocol, and the parameter acquisition module can be associated with the dynamic test management module.
[0131] In practice, parameter modules can be configured according to each protocol, and then the corresponding parameters can be selected for different dynamic tests as detection parameters.
[0132] Step S124: Upload the security algorithm libraries required for various dynamic tests to the security algorithm management module, configure the security algorithm library name, call the security algorithm library through the security algorithm library name, and associate the security algorithm management module with the dynamic test management module.
[0133] It is understandable that after uploading the security algorithm libraries required for various dynamic tests to the security algorithm management module and configuring the security algorithm library name, the security algorithm library can be called through the security algorithm library name, thus associating the security algorithm management module with the dynamic test management module.
[0134] In the specific implementation, the security algorithm library required for dynamic testing is uploaded to the security algorithm management module, and the security algorithm library name is configured. The security algorithm library is called through the security algorithm library name, and the security level corresponds one-to-one with the security algorithm library.
[0135] Step S125: Set the interface display interaction templates corresponding to various dynamic test templates in the dynamic display interaction module of the APP, and associate the dynamic display interaction module with the dynamic test management module.
[0136] It should be understood that the interface display interaction templates corresponding to various dynamic test templates are set in the dynamic display interaction module of the APP, and the dynamic display interaction module can be associated with the dynamic test management module.
[0137] This embodiment, through the above-described scheme, constructs a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module on the APP side. It determines corresponding preset test processes based on different dynamic testing needs, develops corresponding dynamic test scripts according to the preset test processes, uploads each dynamic test script value to the dynamic test script management module based on the unique identifier, and associates the dynamic test script management module with the dynamic test management module. It configures the parameter acquisition module according to a preset protocol and associates the parameter acquisition module with the dynamic test management module. It uploads the security algorithm libraries required for various dynamic tests to the security algorithm management module, configures the security algorithm library names, calls the security algorithm libraries through the security algorithm library names, and associates the security algorithm management module with the dynamic test management module. It sets the interface display and interaction templates corresponding to various dynamic test templates in the dynamic display and interaction module on the APP side and associates the dynamic display and interaction module with the dynamic test management module. This enables the rapid construction of relevant modules for dynamic testing, improving the speed and efficiency of scalable dynamic testing.
[0138] Furthermore, Figure 6 This is a flowchart illustrating the fifth embodiment of the scalable dynamic testing method of the present invention, as shown below. Figure 6 As shown, based on the first embodiment, a fifth embodiment of the scalable dynamic testing method of the present invention is proposed. In this embodiment, step S20 specifically includes the following steps:
[0139] Step S21: When a dynamic testing requirement is detected, a dynamic test script is developed based on the dynamic testing requirement, and the dynamic test script is uploaded to the diagnostic platform.
[0140] It should be noted that when a dynamic testing requirement is detected, a dynamic test script can be developed based on the requirement, and then uploaded to the diagnostic platform. The diagnostic platform consists of a dynamic test management module, a dynamic test script management module, a parameter acquisition module, and a security algorithm management module. (Refer to...) Figure 7 , Figure 7 This is a schematic block diagram of the scalable dynamic testing scheme in the scalable dynamic testing method of the present invention, as shown below. Figure 7 As shown, the design revolves around a dynamic test management module, which includes a dynamic test script management module, a parameter acquisition module, a security algorithm management module, a dynamic display module on the APP, and an interaction module. When further dynamic testing is required, the dynamic test script must first be maintained in the diagnostic platform. After maintenance, the parameters for the dynamic test are configured in the parameter acquisition module, and then associated with the configuration in the dynamic test management module. Finally, the APP executes the dynamic test by retrieving the dynamic test cases covered by the vehicle and controller, thus achieving overall scalability.
[0141] In the specific implementation, the vehicle-side software development kit (SDK) connects to the mobile APP via Bluetooth. The vehicle-side SDK contains a diagnostic module that connects to the corresponding ECU (Electronic Control Unit) via the CAN bus. The parameter acquisition module is only used to manage the parameter module. It configures the parameter module according to various protocols and then selects the corresponding parameters as the detection parameters for different dynamic tests. The safety algorithm management module is used to manage safety algorithms. The safety algorithm library required for dynamic testing is uploaded to the safety algorithm management module, and the safety algorithm library name is configured. The safety algorithm library is called through the safety algorithm library name, and the safety level corresponds one-to-one with the safety algorithm library. The dynamic test display and interaction module is designed as follows: the mobile APP first develops the interface display framework of template 1, template 2, and template 3. When dynamic testing is required, the system first retrieves the list of dynamic tests that the vehicle and controller can perform from the diagnostic platform based on the input VIN and the controller's unique identifier. Users can select the supported dynamic tests from a dropdown menu. After selecting the dynamic test name and confirming the display template, the mobile app automatically redirects to the corresponding template. The displayed data is filled using data transmitted from the platform. Simultaneously, the corresponding dynamic test script is downloaded. When connecting to the vehicle for testing, the script is triggered on the vehicle. During execution, the vehicle provides feedback on the process and results to the app, which displays the results according to the template. Based on the current development solution, the dynamic test development can be fully scalable.
[0142] Step S22: Obtain the test parameters corresponding to the dynamic test script from the parameter acquisition module through the dynamic test management module, and obtain the current security algorithm from the security algorithm management module.
[0143] It is understood that the dynamic test management module can obtain the test parameters corresponding to the dynamic test script from the parameter acquisition module, and can obtain the current security algorithm from the security algorithm management module.
[0144] Step S23: Configure the dynamic test script according to the test parameters and the current security algorithm to obtain the configured dynamic test cases.
[0145] It should be understood that before executing dynamic tests, the parameters to be detected during dynamic testing must be configured. Dynamic testing can only be performed if the requirements are met. The dynamic test script can be configured in association with the test parameters and the current security algorithm to obtain the configured dynamic test cases.
[0146] This embodiment, through the above-described scheme, develops dynamic test scripts based on detected dynamic testing needs and uploads these scripts to the diagnostic platform. The dynamic test management module obtains test parameters corresponding to the dynamic test scripts from the parameter acquisition module and the current security algorithm from the security algorithm management module. The dynamic test scripts are then configured based on the test parameters and the current security algorithm to obtain configured dynamic test cases. This approach allows for the rapid acquisition of configured dynamic test cases, is compatible with various dynamic testing needs that require future expansion, and allows for direct extension of the configuration script if new dynamic tests are required. This ensures the overall scalability and reusability of remote diagnostics, reduces dynamic test development time, shortens the testing cycle, and lowers dynamic testing costs.
[0147] Furthermore, Figure 8 This is a flowchart illustrating the sixth embodiment of the scalable dynamic testing method of the present invention, as shown below. Figure 8 As shown, based on the first embodiment, a sixth embodiment of the scalable dynamic testing method of the present invention is proposed. In this embodiment, step S30 specifically includes the following steps:
[0148] Step S31: Search the list of dynamic tests supported by the current vehicle controller through the APP, take the dynamic test case that matches the list of dynamic tests as the target dynamic test case, and perform dynamic tests according to the target dynamic test case.
[0149] It should be noted that the dynamic testing APP on a mobile phone or other terminal device can retrieve the dynamic test cases that the vehicle and the controller can cover and execute dynamic tests. That is, it can retrieve the list of dynamic tests supported by the current vehicle controller, take the dynamic test case that matches the list as the target dynamic test case, and perform dynamic tests based on the target dynamic test case, thereby achieving overall scalability.
[0150] This embodiment uses the above-described scheme to retrieve the list of dynamic tests supported by the current vehicle controller via the APP, and selects the dynamic test cases that match the list as target dynamic test cases. Dynamic testing is then performed based on these target dynamic test cases. This approach is compatible with various dynamic test requirements that need to be expanded in the future. If new dynamic tests are needed in the future, the configuration script can be directly extended, ensuring the overall scalability and reusability of remote diagnostics.
[0151] Furthermore, Figure 9 This is a flowchart illustrating the seventh embodiment of the scalable dynamic testing method of the present invention, as shown below. Figure 9As shown, based on the first embodiment, a seventh embodiment of the scalable dynamic testing method of the present invention is proposed. In this embodiment, after step S30, the scalable dynamic testing method further includes the following steps:
[0152] Step S40: Obtain the target name of the target dynamic test case through the dynamic display interaction module and determine the display template of the current dynamic test.
[0153] It should be noted that different dynamic test cases correspond to different display templates. The target name of the target dynamic test case can be obtained through the dynamic display interaction module to determine the display template of the current dynamic test.
[0154] Step S50: Obtain the test results fed back after the dynamic test, and display the test results on the APP according to the display template.
[0155] It is understandable that corresponding test results will be generated after dynamic testing, and the test results can be displayed on the APP according to the display template.
[0156] In the specific implementation, the mobile app first develops the interface display frameworks for Template 1, Template 2, and Template 3. When dynamic testing is required, it first obtains the list of dynamic tests that the vehicle and controller can perform from the diagnostic platform based on the input VIN and the controller's unique identifier. The list of dynamic tests supported by the controller can be selected through a drop-down menu. After selecting the dynamic test name and confirming the display template, the mobile app automatically jumps to the corresponding display template for the controller. The internal display data is filled with data transmitted from the platform. Simultaneously, the corresponding dynamic test script is downloaded. When connecting to the vehicle for testing, the script is triggered on the vehicle. During execution, the vehicle provides feedback on the execution process and results to the app, which displays the results according to the template. Based on the current development scheme, the development of dynamic tests can be fully scalable.
[0157] This embodiment, through the above-described scheme, obtains the target name of the target dynamic test case through the dynamic display interaction module to determine the display template of the current dynamic test; obtains the test results fed back after the dynamic test, and displays the test results on the APP according to the display template. It can display the dynamic test results in real time, which is convenient for operators to observe and make subsequent adjustments, improves the accuracy and comprehensiveness of scalable dynamic testing, and improves the speed and efficiency of scalable dynamic testing.
[0158] Accordingly, the present invention further provides an expandable dynamic testing device.
[0159] Reference Figure 10 , Figure 10This is a functional block diagram of the first embodiment of the expandable dynamic testing device of the present invention.
[0160] In a first embodiment of the scalable dynamic testing device of the present invention, the scalable dynamic testing device includes:
[0161] Module 10 is used to build a dynamic test management module and associate it with a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module on the APP.
[0162] The configuration module 20 is used to develop dynamic test scripts according to the dynamic test requirements when dynamic test requirements are detected, upload the dynamic test scripts to the diagnostic platform, and associate and configure the dynamic test scripts through the dynamic test management module to obtain the configured dynamic test cases.
[0163] The test module 30 is used to retrieve dynamic test cases that can be covered by the current vehicle controller through the APP as target dynamic test cases, and perform dynamic tests based on the target dynamic test cases.
[0164] The construction module 10 is further configured to construct a dynamic test management module based on the unique identifier of the current vehicle controller, interaction signals and interaction IDs, security algorithms, dynamic test names and dynamic test templates; construct a dynamic test script management module, a parameter acquisition module, a security algorithm management module and a dynamic display and interaction module on the APP, and associate the dynamic test script management module, the parameter acquisition module, the security algorithm management module and the dynamic display and interaction module with the dynamic test management module.
[0165] The construction module 10 is further configured to obtain the unique identifier of the current vehicle controller, obtain the interaction signals and corresponding interaction IDs of various dynamic tests; determine the corresponding security algorithm library and security algorithm level according to the associated script, and determine the security algorithm according to the security algorithm library and the security algorithm level; obtain the dynamic test name, and configure the name of the dynamic test according to the dynamic test name; obtain the dynamic test template to be used in the dynamic test process, and construct the dynamic test management module according to the unique identifier, the interaction signals and interaction IDs, the security algorithm, the dynamic test name and the dynamic test template.
[0166] The construction module 10 is further configured to construct a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module on the APP side; determine corresponding preset test processes according to different dynamic test requirements, develop corresponding dynamic test scripts according to the preset test processes, upload the values of each dynamic test script to the dynamic test script management module according to the unique identifier, and associate the dynamic test script management module with the dynamic test management module; configure the parameter acquisition module according to a preset protocol, and associate the parameter acquisition module with the dynamic test management module; upload the security algorithm libraries required for various dynamic tests to the security algorithm management module, configure the security algorithm library name, call the security algorithm library through the security algorithm library name, and associate the security algorithm management module with the dynamic test management module; set the interface display and interaction templates corresponding to various dynamic test templates in the dynamic display and interaction module on the APP side, and associate the dynamic display and interaction module with the dynamic test management module.
[0167] The configuration module 20 is further configured to, when a dynamic testing requirement is detected, develop a dynamic test script based on the dynamic testing requirement, upload the dynamic test script to the diagnostic platform, obtain test parameters corresponding to the dynamic test script from the parameter acquisition module through the dynamic test management module, and obtain the current security algorithm from the security algorithm management module; and configure the dynamic test script according to the test parameters and the current security algorithm to obtain the configured dynamic test case.
[0168] The testing module 30 is also used to retrieve the list of dynamic tests supported by the current vehicle controller through the APP, take the dynamic test case that matches the list of dynamic tests as the target dynamic test case, and perform dynamic testing based on the target dynamic test case.
[0169] The testing module 30 is further configured to obtain the target name of the target dynamic test case through the dynamic display interaction module to determine the display template of the current dynamic test; obtain the test results fed back after the dynamic test; and display the test results on the APP according to the display template.
[0170] The steps for implementing each functional module of the expandable dynamic testing device can be referred to in the various embodiments of the expandable dynamic testing method of the present invention, and will not be repeated here.
[0171] Furthermore, embodiments of the present invention also propose a storage medium storing an extensible dynamic test program, which, when executed by a processor, performs the following operations:
[0172] Construct a dynamic test management module, and associate it with a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module on the APP.
[0173] When a dynamic testing requirement is detected, a dynamic test script is developed based on the dynamic testing requirement, the dynamic test script is uploaded to the diagnostic platform, and the dynamic test management module is used to associate and configure the dynamic test script to obtain the configured dynamic test cases.
[0174] The app retrieves dynamic test cases that the current vehicle controller can cover as target dynamic test cases, and performs dynamic testing based on the target dynamic test cases.
[0175] Furthermore, when the scalable dynamic test program is executed by the processor, it also performs the following operations:
[0176] A dynamic test management module is constructed based on the unique identifier of the current vehicle controller, interaction signals and interaction IDs, security algorithms, dynamic test names, and dynamic test templates.
[0177] Construct a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module on the APP side, and associate the dynamic test script management module, the parameter acquisition module, the security algorithm management module, and the dynamic display and interaction module with the dynamic test management module.
[0178] Furthermore, when the scalable dynamic test program is executed by the processor, it also performs the following operations:
[0179] Obtain the unique identifier of the current vehicle controller, and obtain the interaction signals and corresponding interaction IDs for various dynamic tests;
[0180] The corresponding security algorithm library and security algorithm level are determined based on the associated script, and the security algorithm is determined based on the security algorithm library and the security algorithm level;
[0181] Obtain the dynamic test name and configure the name of the dynamic test based on the dynamic test name;
[0182] Obtain the dynamic test template to be used during the dynamic testing process, and construct a dynamic test management module based on the unique identifier, the interaction signal and interaction ID, the security algorithm, the dynamic test name and the dynamic test template.
[0183] Furthermore, when the scalable dynamic test program is executed by the processor, it also performs the following operations:
[0184] Build a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module on the APP side;
[0185] Determine the corresponding preset test process according to different dynamic test requirements, develop corresponding dynamic test scripts according to the preset test process, upload the values of each dynamic test script to the dynamic test script management module according to the unique identifier code, and associate the dynamic test script management module with the dynamic test management module.
[0186] Configure the parameter acquisition module according to a preset protocol, and associate the parameter acquisition module with the dynamic test management module;
[0187] Upload the security algorithm libraries required for various dynamic tests to the security algorithm management module, configure the security algorithm library name, call the security algorithm library through the security algorithm library name, and associate the security algorithm management module with the dynamic test management module;
[0188] Set the interface display and interaction templates corresponding to various dynamic test templates in the dynamic display and interaction module of the APP, and associate the dynamic display and interaction module with the dynamic test management module.
[0189] Furthermore, when the scalable dynamic test program is executed by the processor, it also performs the following operations:
[0190] When a dynamic testing requirement is detected, a dynamic test script is developed based on the dynamic testing requirement, and the dynamic test script is uploaded to the diagnostic platform.
[0191] The dynamic test management module obtains the test parameters corresponding to the dynamic test script from the parameter acquisition module, and obtains the current security algorithm from the security algorithm management module.
[0192] The dynamic test script is configured based on the test parameters and the current security algorithm to obtain the configured dynamic test cases.
[0193] Furthermore, when the scalable dynamic test program is executed by the processor, it also performs the following operations:
[0194] The system retrieves the list of dynamic tests supported by the current vehicle controller via the APP, selects the dynamic test cases that match the list as target dynamic test cases, and performs dynamic tests based on the target dynamic test cases.
[0195] Furthermore, when the scalable dynamic test program is executed by the processor, it also performs the following operations:
[0196] The target name of the target dynamic test case is obtained through the dynamic display interaction module, and the display template of the current dynamic test is determined.
[0197] Obtain the test results fed back after dynamic testing, and display the test results on the APP according to the display template.
[0198] This embodiment, through the above-described scheme, constructs a dynamic test management module and associates it with a corresponding dynamic test script management module, parameter acquisition module, security algorithm management module, and dynamic display and interaction module on the APP. When a dynamic test requirement is detected, a dynamic test script is developed based on the requirement, uploaded to the diagnostic platform, and configured through the dynamic test management module to obtain a configured dynamic test case. The APP retrieves the dynamic test cases that the current vehicle controller can cover as target dynamic test cases, and performs dynamic testing based on these target cases. This approach is compatible with multiple dynamic test requirements that need to be expanded in the future. If new dynamic tests are needed later, the configuration script can be directly expanded, ensuring the overall scalability and reusability of remote diagnostics, reducing dynamic test development time, shortening the testing cycle, reducing dynamic test costs, avoiding waste of development computing resources, improving the accuracy and comprehensiveness of scalable dynamic tests, and increasing the speed and efficiency of scalable dynamic tests.
[0199] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0200] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0201] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. An extensible dynamic testing method, characterized in that, The scalable dynamic testing method includes: Construct a dynamic test management module, and associate it with a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module on the APP. When a dynamic testing requirement is detected, a dynamic test script is developed based on the dynamic testing requirement, the dynamic test script is uploaded to the diagnostic platform, and the dynamic test management module is used to associate and configure the dynamic test script to obtain the configured dynamic test cases. The system retrieves the dynamic test cases that the current vehicle controller can support as target dynamic test cases through the APP, and performs dynamic testing based on the target dynamic test cases. The construction of the dynamic test management module, and the associated construction of the corresponding dynamic test script management module, parameter acquisition module, security algorithm management module, and dynamic display and interaction module on the APP, includes: A dynamic test management module is constructed based on the unique identifier of the current vehicle controller, interaction signals and interaction IDs, security algorithms, dynamic test names, and dynamic test templates. Construct a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module on the APP side, and associate the dynamic test script management module, the parameter acquisition module, the security algorithm management module, and the dynamic display and interaction module with the dynamic test management module; The construction of a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module on the APP side, and the interconnection of the dynamic test script management module, the parameter acquisition module, the security algorithm management module, and the dynamic display and interaction module with the dynamic test management module, includes: Build a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module on the APP side; Determine the corresponding preset test process according to different dynamic test requirements, develop corresponding dynamic test scripts according to the preset test process, upload each dynamic test script to the dynamic test script management module according to the unique identifier code, and associate the dynamic test script management module with the dynamic test management module. Configure the parameter acquisition module according to a preset protocol, and associate the parameter acquisition module with the dynamic test management module; Upload the security algorithm libraries required for various dynamic tests to the security algorithm management module, configure the security algorithm library name, call the security algorithm library through the security algorithm library name, and associate the security algorithm management module with the dynamic test management module; Set the interface display and interaction templates corresponding to various dynamic test templates in the dynamic display and interaction module of the APP, and associate the dynamic display and interaction module with the dynamic test management module; Specifically, when a dynamic testing requirement is detected, a dynamic test script is developed based on the requirement, uploaded to the diagnostic platform, and the dynamic test management module is used to associate and configure the dynamic test script to obtain configured dynamic test cases, including: When a dynamic testing requirement is detected, a dynamic test script is developed based on the dynamic testing requirement, and the dynamic test script is uploaded to the diagnostic platform. The dynamic test management module obtains the test parameters corresponding to the dynamic test script from the parameter acquisition module, and obtains the current security algorithm from the security algorithm management module. The dynamic test script is configured based on the test parameters and the current security algorithm to obtain the configured dynamic test cases.
2. The scalable dynamic testing method as described in claim 1, characterized in that, The dynamic test management module, constructed based on the unique identifier of the current vehicle controller, interaction signals and interaction IDs, security algorithms, dynamic test names, and dynamic test templates, includes: Obtain the unique identifier of the current vehicle controller, and obtain the interaction signals and corresponding interaction IDs for various dynamic tests; The corresponding security algorithm library and security algorithm level are determined based on the associated script, and the security algorithm is determined based on the security algorithm library and the security algorithm level; Obtain the dynamic test name and configure the name of the dynamic test based on the dynamic test name; Obtain the dynamic test template to be used during the dynamic testing process, and construct a dynamic test management module based on the unique identifier, the interaction signal and interaction ID, the security algorithm, the dynamic test name and the dynamic test template.
3. The scalable dynamic testing method as described in claim 1, characterized in that, The step of retrieving dynamic test cases supported by the current vehicle controller via the APP as target dynamic test cases, and performing dynamic testing based on the target dynamic test cases, includes: The system retrieves the list of dynamic tests supported by the current vehicle controller via the APP, selects the dynamic test cases that match the list as target dynamic test cases, and performs dynamic tests based on the target dynamic test cases.
4. The scalable dynamic testing method as described in claim 1, characterized in that, The method of retrieving dynamic test cases supported by the current vehicle controller via the APP as target dynamic test cases, and then performing dynamic testing based on the target dynamic test cases, further includes: The target name of the target dynamic test case is obtained through the dynamic display interaction module, and the display template of the current dynamic test is determined. Obtain the test results fed back after dynamic testing, and display the test results on the APP according to the display template.
5. An expandable dynamic testing device, characterized in that, The scalable dynamic testing device includes: The building module is used to build the dynamic test management module and associate it with the dynamic test script management module, parameter acquisition module, security algorithm management module and dynamic display and interaction module of the APP. The configuration module is used to develop dynamic test scripts according to the dynamic test requirements when dynamic test requirements are detected, upload the dynamic test scripts to the diagnostic platform, and associate and configure the dynamic test scripts through the dynamic test management module to obtain the configured dynamic test cases. The testing module is used to retrieve the dynamic test cases that the current vehicle controller can support as target dynamic test cases through the APP, and perform dynamic testing based on the target dynamic test cases; The construction module is also used to construct a dynamic test management module based on the unique identifier of the current vehicle controller, interaction signals and interaction IDs, security algorithms, dynamic test names and dynamic test templates; construct a dynamic test script management module, a parameter acquisition module, a security algorithm management module and a dynamic display and interaction module on the APP, and associate the dynamic test script management module, the parameter acquisition module, the security algorithm management module and the dynamic display and interaction module with the dynamic test management module; The construction module is further used to construct a dynamic test script management module, a parameter acquisition module, a security algorithm management module, and a dynamic display and interaction module on the APP side; determine corresponding preset test processes according to different dynamic test requirements, develop corresponding dynamic test scripts according to the preset test processes, upload each dynamic test script to the dynamic test script management module according to the unique identifier, and associate the dynamic test script management module with the dynamic test management module; configure the parameter acquisition module according to a preset protocol, and associate the parameter acquisition module with the dynamic test management module; upload the security algorithm libraries required for various dynamic tests to the security algorithm management module, configure the security algorithm library name, call the security algorithm library through the security algorithm library name, and associate the security algorithm management module with the dynamic test management module; set the interface display and interaction templates corresponding to various dynamic test templates in the dynamic display and interaction module on the APP side, and associate the dynamic display and interaction module with the dynamic test management module; The configuration module is further configured to, when a dynamic testing requirement is detected, develop a dynamic test script based on the dynamic testing requirement, upload the dynamic test script to the diagnostic platform, obtain test parameters corresponding to the dynamic test script from the parameter acquisition module through the dynamic test management module, and obtain the current security algorithm from the security algorithm management module; and configure the dynamic test script according to the test parameters and the current security algorithm to obtain the configured dynamic test case.
6. An expandable dynamic testing device, characterized in that, The scalable dynamic testing device includes: a memory, a processor, and a scalable dynamic testing program stored in the memory and executable on the processor, wherein the scalable dynamic testing program is configured to implement the steps of the scalable dynamic testing method as described in any one of claims 1 to 4.
7. A storage medium, characterized in that, The storage medium stores an extensible dynamic test program, which, when executed by a processor, implements the steps of the extensible dynamic test method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Automobile UDS automatic test method and system based on configuration table and storage medium
CN112667494A
Remote diagnosis platform, data acquisition method, equipment and storage medium
CN113050598A
