CN117746714B - Test method and system for simulated driving operation - Google Patents

Test method and system for simulated driving operation Download PDF

Info

Publication number
CN117746714B
CN117746714B CN202410186439.1A CN202410186439A CN117746714B CN 117746714 B CN117746714 B CN 117746714B CN 202410186439 A CN202410186439 A CN 202410186439A CN 117746714 B CN117746714 B CN 117746714B
Authority
CN
China
Prior art keywords
test
user
prompting
input
item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202410186439.1A
Other languages
Chinese (zh)
Other versions
CN117746714A (en
Inventor
杜康
蒋朝毅
宋红霞
唐中军
周麒麟
耿超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Yunda Technology Co Ltd
Original Assignee
Chengdu Yunda Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Yunda Technology Co Ltd filed Critical Chengdu Yunda Technology Co Ltd
Priority to CN202410186439.1A priority Critical patent/CN117746714B/en
Publication of CN117746714A publication Critical patent/CN117746714A/en
Application granted granted Critical
Publication of CN117746714B publication Critical patent/CN117746714B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to the technical field of simulated driving, and discloses a simulated driving operation testing method and system. The method comprises the following steps: receiving a plurality of parameter tables input by a user, and correlating the plurality of parameter tables to obtain a correlation model; receiving a test flow chart corresponding to each test path input by a user; extracting a corresponding test path from the associated result according to the subjects to be tested and the test grade selected by the user, and calling a corresponding test flow chart; and receiving current operation data of operators in real time, inputting the current operation data into the called test flow chart, and outputting a current test state and a current test result. The method can flexibly configure different simulated driving operation testing methods according to the requirements of users, so that the method can be suitable for different application scenes; the user can customize test rules and test means according to the characteristics of different simulated driving devices to flexibly configure the simulated driving operation test method, so that the method is suitable for different simulated driving devices.

Description

Test method and system for simulated driving operation
Technical Field
The invention relates to the technical field of simulated driving, in particular to a simulated driving operation testing method and system.
Background
In order to train and test the driving skill of the operator, a standard operation test or a special operation test is generally performed on the operator using a simulated driving device. The driving simulation device can simulate a real driving operation scene and an emergency, collect operation data and behavior data of an operator in the simulation scene, and test the operation data and the behavior data. When the simulated driving device is used for testing the simulated driving operation, a corresponding testing method and testing rules need to be established. However, the existing test methods and test rules have the following defects: firstly, the establishment process of the test method lacks systematicness; secondly, the established test rule is complex, a script and a flow chart are required to be compiled, and the specific running state of the test rule cannot be checked; the scene simulation and test flow solidification cannot be flexibly applied to various operation scenes and cannot be associated with various simulation driving devices; fourth, the existing test method does not support re-entry technology, and when the simulated driving device goes wrong or needs to repeatedly train a certain specific operation, the test method cannot roll back to the previous state and continue scene simulation and operation evaluation.
Disclosure of Invention
The invention aims to provide a simulated driving operation testing method and system, which solve the problems that the existing simulated driving testing technology cannot be flexibly applied to various operation scenes and cannot be associated with various simulated driving devices.
The invention is realized by the following technical scheme:
In one aspect, a method for testing a simulated driving operation is provided, including the following steps: receiving a mapping relation between a plurality of parameter tables input by a user and the plurality of parameter tables; associating the plurality of parameter tables according to the mapping relation to obtain an association model; the association model comprises one or more subjects to be tested, each subject to be tested corresponds to one or more test grades, and each test grade corresponds to one test path; receiving a test flow chart corresponding to each test path input by a user; the test flow chart is used for testing the current operation of the operator to obtain the current test state and the current test result; the test flow chart adopts a tree structure; extracting a corresponding test path from the association model according to subjects to be tested and test grades selected by a user; calling a corresponding test flow chart according to the extracted test path; and receiving current operation data of operators in real time, inputting the current operation data into the called test flow chart, and outputting a current test state and a current test result.
Further, before receiving the mapping relation between the plurality of parameter tables input by the user and the plurality of parameter tables, the method comprises the following steps: sending a first prompt message to a user; the first hint message includes: the first prompt, the second prompt, the third prompt, the fourth prompt and the fifth prompt. The first prompt item is used for prompting a user to input a plurality of parameter tables; the plurality of parameter tables to be input include at least: an operation course table, a to-be-tested project table, a deduction reference table, a test rule table and a test operation table; the second prompting item is used for prompting a user to input operation curriculum schedule content, to-be-tested item list content, withhold reference list content, test rule list content and test operation list content; the operation curriculum schedule content at least comprises one or more subjects to be detected; the content of the item table to be tested at least comprises one or more specified operations; the contents of the deduction reference table at least comprise one or more deduction data; the test rule table content at least comprises one or more test rule sets, and each test rule set at least comprises one or more test rule items; the test operation table content at least comprises one or more test steps; the third prompting item is used for prompting a user to input a mapping relation among the operation curriculum schedule, the item list to be tested and the deduction reference list according to the operation curriculum schedule content, the item list to be tested and the deduction reference list content; the fourth prompting item is used for prompting a user to determine a testing grade, and according to the testing grade, the contents of the item table to be tested and the contents of the testing rule table, the mapping relation between the item table to be tested and the testing rule table is input; the fifth prompting item is used for prompting a user to input a mapping relation between the test rule table and the test operation table according to the test rule table content and the test operation table content, and input a mapping relation between the test operation table and the deduction reference table; the mapping relation comprises: a one-to-one mapping and a many-to-many mapping.
Further, before receiving the test flow chart corresponding to each test path input by the user, the method further comprises the following steps: sending a second prompt message to the user; the second hint message includes: a sixth reminder item and a seventh reminder item; the sixth prompting item is used for prompting a user to input a test flow chart corresponding to each test path, and each test flow chart at least comprises one or more test flow subgraphs; the seventh prompting item is used for prompting a user to input a mapping relation between each test flow subgraph and one or more test steps in the test job table; after receiving the test flow chart corresponding to each test path input by the user, the method comprises the following steps: according to the mapping relation between the test flow subgraphs and the test steps, associating each test flow subgraph with the association model to obtain a test model; for each test flow subgraph in the test model: a first input interface, a first output interface and a corresponding algorithm model are distributed for the root node of the test flow sub-graph, a second input interface, a second output interface and a corresponding algorithm model are distributed for the child node of the test flow sub-graph, and a third input interface is distributed for the leaf node of the test flow sub-graph; the current test state includes a current node location.
Further, before receiving the test flow chart corresponding to each test path input by the user, the method further comprises the following steps: sending a third prompt message to the user; the third prompting message is used for prompting a user to input an initialization flow sub-graph and a parallel test flow sub-graph; the initialization flow subgraph is used for providing initialization conditions for starting the test flow subgraph; the parallel test flow subgraph is used for testing additional operations, except for specified operations, executed by operators; sending a fourth prompt message to the user; the fourth prompting message is used for prompting the user to input a front test flow chart and ending the test flow chart; the pre-test flow chart is used for providing a pre-condition for calling the test flow chart before calling the test flow chart; the ending test flow chart is used for ending the test flow in advance and outputting a test result.
Further, the driving simulation job testing method further comprises the following steps: and encrypting and storing the operation course table content, the item table content to be tested, the withhold reference table content, the test rule table content and the test operation table content.
In a second aspect, there is provided a simulated driving operation test system comprising: the system comprises a first data receiving module, a first data association module, a second data receiving module, a first data extracting module, a second data extracting module, a third data receiving module, a data input module and a data output module. The first data receiving module is used for receiving mapping relations between a plurality of parameter tables and a plurality of parameter tables input by a user. The first data association module is used for associating a plurality of parameter tables according to the mapping relation to obtain an association model; the association model comprises one or more subjects to be tested, each subject to be tested corresponds to one or more test grades, and each test grade corresponds to one test path. The second data receiving module is used for receiving a test flow chart corresponding to each test path, which is input by a user; the test flow chart is used for testing the current operation of the operator to obtain the current test state and the current test result; the test flow chart adopts a tree structure. The first data extraction module is used for extracting a corresponding test path from the association model according to the subjects to be tested and the test grade selected by the user. The second data extraction module is used for calling a corresponding test flow chart according to the extracted test path. The third data receiving module is used for receiving current operation data of operators in real time. The data input module is used for inputting the current operation data into the called test flow chart. The data output module is used for outputting the current test state and the current test result.
Further, the driving simulation operation test system further includes: a first message sending module. The first message sending module is used for sending a first prompt message to a user. The first hint message includes: the first prompt, the second prompt, the third prompt, the fourth prompt and the fifth prompt. The first prompt item is used for prompting a user to input a plurality of parameter tables; the plurality of parameter tables to be input include at least: an operation course table, a project table to be tested, a deduction reference table, a test rule table and a test operation table. The second prompting item is used for prompting a user to input operation curriculum schedule content, to-be-tested item list content, withhold reference list content, test rule list content and test operation list content; the operation curriculum schedule content at least comprises one or more subjects to be detected; the content of the item table to be tested at least comprises one or more specified operations; the contents of the deduction reference table at least comprise one or more deduction data; the test rule table content at least comprises one or more test rule sets, and each test rule set at least comprises one or more test rule items; the test operation table content at least comprises one or more test steps. The third prompting item is used for prompting a user to input a mapping relation among the operation curriculum schedule, the item list to be tested and the deduction reference list according to the operation curriculum schedule content, the item list to be tested and the deduction reference list content; the fourth prompting item is used for prompting a user to determine a testing grade, and the mapping relation between the item table to be tested and the testing rule table is input according to the testing grade, the content of the item table to be tested and the content of the testing rule table. The fifth prompting item is used for prompting a user to input a mapping relation between the test rule table and the test job table according to the test rule table content and the test job table content. The mapping relation comprises: a one-to-one mapping and a many-to-many mapping.
Further, the driving simulation operation test system further includes: the system comprises a second message sending module, a second data association module and a node processing module. The second message sending module is used for sending a second prompt message to the user; the second hint message includes: a sixth reminder item and a seventh reminder item; the sixth prompting item is used for prompting a user to input a test flow chart corresponding to each test path, and each test flow chart at least comprises one or more test flow subgraphs; the seventh prompting item is used for prompting a user to input a mapping relation between each test flow sub-graph and one or more test steps in the test job table. And the second data association module is used for associating each test flow subgraph with the association model according to the mapping relation between the test flow subgraphs and the test steps to obtain a test model. The node processing module is used for distributing a first input interface, a first output interface and a corresponding algorithm model for the root node of the test flow sub-graph, distributing a second input interface, a second output interface and a corresponding algorithm model for the sub-node of the test flow sub-graph, and distributing a third input interface for the leaf node of the test flow sub-graph. The current test state includes a current node location.
Further, the driving simulation operation test system further includes: a third messaging module and a fourth messaging module. The third message sending module is used for sending a third prompt message to the user; the third prompting message is used for prompting a user to input an initialization flow sub-graph and a parallel test flow sub-graph; the initialization flow subgraph is used for providing initialization conditions for starting the test flow subgraph; the parallel test flow subgraph is used for testing additional operations, except for specified operations, executed by operators. The fourth message sending module is used for sending a fourth prompt message to the user; the fourth prompting message is used for prompting the user to input a front test flow chart and ending the test flow chart; the pre-test flow chart is used for providing a pre-condition for calling the test flow chart before calling the test flow chart; the ending test flow chart is used for ending the test flow in advance and outputting a test result.
Furthermore, the driving simulation operation testing system also comprises an encryption storage module which is used for encrypting and storing operation course list contents, to-be-tested item list contents, withhold reference list contents, test rule list contents and test operation list contents.
Compared with the prior art, the invention has the following advantages and beneficial effects: 1. providing a flow framework for establishing a test method for a user, placing authority for defining specific test rules and specific test means on a user side, and customizing the specific test rules and the specific test means according to requirements by the user; according to the flow framework provided by the method, a user implants a self-defined test rule and a test means by inputting each parameter table, the mapping relation among each parameter table and the test flow chart, and the method adopts the steps of associating each parameter table with the test flow chart and finally integrating to form a whole set of test models which meet the requirements of the user; and flexibly calling a test path from the test model according to the selection of a user to complete the test of the simulated driving operation. Because the specific test rules and the specific test means are customized by the user, the method integrates according to the user-defined content of the user, so that the method can flexibly configure different simulated driving operation test methods according to the requirements of the user, thereby being applicable to different application scenes; the user can customize the testing rules and the testing means according to the characteristics of different simulated driving devices, and flexibly configure the simulated driving operation testing method according to the method, so that the method is suitable for different simulated testing devices. 2. In the method, each test rule adopts a tree structure, and scripts and flowcharts are not required to be compiled; the specific running state of the test rule can be clearly checked according to the hierarchical relation of the tree structure. Likewise, the tree structured test rules support flow backtracking. 3. The whole set of driving operation simulating test method is established by associating the parameter tables, a test model containing one or more test paths is finally formed, the test paths are only required to be called from the test model according to the selection of a user, and the defect that the conventional test method lacks systematicness in the establishment process is overcome.
Drawings
In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the drawings that are needed in the examples will be briefly described below, it being understood that the following drawings only illustrate some examples of the present invention and therefore should not be considered as limiting the scope, and that other related drawings may be obtained from these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a test method for simulating driving operation according to an embodiment of the present invention.
Detailed Description
For the purpose of making apparent the objects, technical solutions and advantages of the present invention, the present invention will be further described in detail with reference to the following examples and the accompanying drawings, wherein the exemplary embodiments of the present invention and the descriptions thereof are for illustrating the present invention only and are not to be construed as limiting the present invention.
Examples: aiming at the defects that the existing driving simulation operation testing method cannot be flexibly applied to various operation scenes and various driving simulation devices, the establishing process of the testing method and the testing rule is complex and lacks of systematicness, and the process backtracking is not supported, the first aspect of the embodiment provides the driving simulation operation testing method, the implementation flow of the method is shown in fig. 1, and the method comprises the following steps:
Step 1: and sending a first prompt message to the user. The first prompt message at least contains the following 5 prompt items, which are respectively: the first prompt, the second prompt, the third prompt, the fourth prompt and the fifth prompt.
First, a first reminder item is sent to a user. The first prompting item is used for prompting a user to input at least the following 5 parameter tables, which are respectively: an operation course table, a project table to be tested, a deduction reference table, a test rule table and a test operation table. It should be noted that, the 5 parameter tables input by the user according to the first prompt item are only 5 table names, and the method establishes empty tables with 5 table heads corresponding to the table names according to the 5 table names input by the user.
Next, a second reminder item is sent to the user. The second prompting item is used for prompting a user to respectively input specific operation curriculum contents, to-be-tested item table contents, withhold reference table contents, test rule table contents and test operation table contents. Wherein, the content of the operation curriculum at least comprises one or more subjects to be tested; the content of the item table to be tested at least comprises one or more specified operations; the contents of the deduction reference table at least comprise one or more deduction data; the test rule table content at least comprises one or more test rule sets, and each test rule set at least comprises one or more test rule items; the test job table content at least includes one or more test steps.
It should be noted that the test rule set is mainly applied to different scenes (such as rainy days parking and foggy days parking) of different evaluation grades (such as primary drivers and advanced drivers), and the same test operation table (parking step) is subjected to evaluation by different test rule items (how the parking is qualified). The test rule set may also be applied to different test job tables.
Taking the inbound parking operation test as an example, the operation curriculum schedule content, the item table content to be tested, the withhold reference table content, the test rule table content and the test operation table content are respectively illustrated as follows:
The subjects to be tested contained in the job curriculum schedule may be-subject 1 to be tested: entering a station (whether an operator decelerates in advance, lights on or not when simulating the vehicle entering the station or not is tested); subject 2 to be measured: parking (whether the rotation direction of the steering wheel is correct, whether the vehicle body position is corrected, etc. operation is performed by a test operator in simulating the process of parking the vehicle at a specified position); subject 3 to be measured: get-off inspection (whether or not the operator gets off the vehicle after stopping the vehicle at a specified position, inspection of the open/closed state of the window and door, etc.).
Corresponding to the job curriculum, the specified operations contained in the project table to be tested may be-specified operation 1: stepping on the brake; specifying operation 2: toggling the lamp switch; specifying operation 3: rotating the steering wheel; specifying operation 4: lifting the vehicle door; specifying operation 5: and (5) pulling up the window switch.
Corresponding to the item table to be tested, the deduction data contained in the deduction reference table can be that-if the operation 1 violates the rule of the subject 1 to be tested, the deduction data corresponds to the deduction A; if the operation 2 violates the rule of the subject 1 to be detected, the B score is correspondingly deducted; if the operation 3 violates the rule of the subject 2 to be detected, correspondingly deducting the score C; if the operation 4 violates the rule of the subject 3 to be detected, the score D is correspondingly deducted, and if the operation 5 violates the rule of the subject 3 to be detected, the score E is correspondingly deducted. The specific deduction data can be set by a user according to actual conditions.
Corresponding to the item table to be tested, the test rule set and the test rule items contained in the test rule table can be-test rule set A (including test rule item a1: brake should be lightly stepped and not be instantly stepped, and test rule item a2: brake should be slowly stepped in a specified time period and brake cannot be frequently stepped in the specified time period). Test rule set B (including test rule item B1: lamp switch should be toggled down once before entering a station; test rule item B2: lamp switch position should be reduced after entering a station). Test rule set C (comprising test rule item C1: steering wheel should be turned left if left parking, test rule item C2: steering wheel should be turned right if right parking, test rule item C3: steering wheel cannot be turned back and forth left and right during parking). And the test rule set D (comprising a test rule item D1, wherein the door is pulled for 2-3 times during the detection of the getting-off, and the door cannot be pulled up instantaneously by the test rule item D2). Test rule set E (including test rule item E1: when window switch is pulled up, window switch should be lifted up once, and window switch cannot be pulled frequently).
Corresponding to the test rule table, the test steps included in the test job table may be-test step 1: detecting the number of changes of the brake pad; test step 2: detecting the variation degree of the brake pad; and (3) testing: detecting the opening times and the closing times of a car light switch; test step 4: detecting the final position of the switch; test step 5: detecting the left-right change frequency, the rotation amplitude and the rotation direction of the steering wheel; and (6) testing: checking the change frequency of the door switch; test step 7: checking the stress of the door lock; test step 8: the frequency of change of the window switch is checked.
Next, a third reminder item is sent to the user. The third prompting item is used for prompting a user to input the mapping relation among the operation curriculum schedule, the item list to be tested and the deduction reference list according to the operation curriculum schedule content, the item list to be tested and the deduction reference list content.
It should be noted that, the mapping relationship among the job curriculum, the item table to be tested and the deduction reference table may be a one-to-one mapping relationship or a many-to-many mapping relationship. Taking the above table contents as an example, subject 1 in the operation curriculum schedule may correspond to specified operation 1 and specified operation 2 in the to-be-measured item table, and specified operation 1 and specified operation 3 in the to-be-measured item table may correspond to subject 1 in the operation curriculum schedule; the item table to be tested and the deduction reference table are in one-to-one mapping relation, namely one appointed operation corresponds to one deduction data.
By establishing the mapping relation among the input operation curriculum schedule, the item table to be tested and the deduction reference table, the method can be used for definitely: one or more specified operations that the worker needs to perform when testing a particular subject to be tested, and a score that should be deducted when a particular specified operation of the worker violates a corresponding test rule.
Next, a fourth reminder item is sent to the user. The fourth prompting item is used for prompting a user to determine a testing grade, and according to the testing grade, the contents of the item table to be tested and the contents of the testing rule table, the mapping relation between the item table to be tested and the testing rule table is input.
The description is as follows: on the one hand, the test level is a simulated driving operation test level set by a user according to actual requirements, and comprises a first level, a second level and a third level … …. The test level represents the test difficulty, so that the corresponding test rules of different test levels are different. It can be considered that the user designates the first level of the test grade as the primary level, and the test difficulty is the lowest, so that the test rule set or rule item corresponding to the first level of the test grade is the least (i.e. the test standard adopts low standard); and so on, the higher the level, the more test rule sets or test rule entries that correspond (i.e., the test criteria employ a high standard). And each subject to be tested in the operation curriculum schedule corresponds to a plurality of test grades. On the other hand, each specified operation in the test item table needs to be tested by using the test rule set or the test rule item in the test rule table. Therefore, after determining the test level, a mapping relationship between the item table to be tested and the test rule table needs to be established for each test level.
By establishing the mapping relation between the item table to be tested and the test rule table, the method can be used for definitely: one or more test rule sets (or test rule items) on which a test is to be performed for a given operation by the operator. Therefore, by sending the fourth prompting item to the user, the mapping relation among the operation curriculum, the item table to be tested, the deduction reference table and the test rule table can be established.
Similarly, according to the contents of the tables, the mapping relationship between the item table to be tested and the test rule table may be a one-to-one mapping relationship or a many-to-many mapping relationship.
And finally, sending a fifth prompt item to the user. The fifth prompting item is used for prompting a user to input a mapping relation between the test rule table and the test job table according to the test rule table content and the test job table content, and input a mapping relation between the test job table and the deduction reference table.
The description is as follows: on the one hand, when the specified operation of the operator is tested, after the test rule is defined, the corresponding test step of each test rule is determined, namely, the mapping relation between the test rule table and the test operation table is established. On the other hand, the test object of the test step is a specified operation of the operator, and after the specified operation of the operator violates the test rule, the specified operation needs to be deducted, so that a mapping relation between the test operation table and the deduction reference table needs to be established.
And the mapping relation among the operation curriculum schedule, the item table to be tested, the deduction reference table, the test rule table and the deduction reference table can be established by sending a fifth prompt item to the user.
Step 2: a mapping relationship between a plurality of parameter tables and a plurality of parameter tables input by a user is received.
Step 3: and (3) according to the mapping relation among the tables provided in the step (1), associating the operation curriculum schedule, the item table to be tested, the deduction reference table, the test rule table and the deduction reference table to obtain an association model. As can be seen from the explanation of step 1, the correlation model includes one or more subjects to be tested, each subject to be tested corresponds to one or more test levels, and each test level corresponds to one test path. For example, one of the test paths may be: subject 1 to be tested-designated operation 1, designated operation 2-test rule set A, test rule set B-test step 1, test step 2, test step 3, test step 4.
Step 4: and sending a second prompt message to the user.
The second prompting message at least comprises 2 prompting items, which are respectively: a sixth reminder item and a seventh reminder item.
First, a sixth reminder item is sent to the user. The sixth prompting item is used for prompting the user to input a test flow chart corresponding to each test path, and each test flow chart at least comprises one or more test flow subgraphs.
It should be noted that, the test flow chart adopts a tree structure for testing the current operation of the operator to obtain the current test state and the current test result. On the one hand, the test steps described in the steps 1-3 are used as a method guidance for testing the specified actions, and do not have the function and effect of actually testing the specified actions, but the actual test function is completed through a test flow chart. On the other hand, the test flow chart in this step corresponds to a test path, and one test path includes a plurality of test steps, and the test flow chart in this step corresponds to one branch in the test flow chart and corresponds to one test step.
Then, a seventh reminder item is sent to the user. The seventh prompting item is used for prompting a user to input a mapping relation between each test flow sub-graph and one or more test steps in the test job table.
Step 5: and receiving a test flow chart corresponding to each test path input by a user.
Step 6: and according to the mapping relation between the test flow subgraphs and the test steps, associating each test flow subgraph with the association model to obtain a test model.
The test model is added with a test flow subgraph on the basis of the association model, so that the current operation of an operator can be tested, and the current test state and the current test result are output.
In order to further explain how the test flow subgraph realizes the test function, the following processes are also required to be performed on the test model:
For each test flow subgraph in the test model: a first input interface, a first output interface and a corresponding algorithm model are distributed for the root node of the test flow sub-graph, a second input interface, a second output interface and a corresponding algorithm model are distributed for the child node of the test flow sub-graph, and a third input interface is distributed for the leaf node of the test flow sub-graph. Thus, in step 6, the current test state includes the current node position. It should be noted that, the child node of the s-th layer of the test flow subgraph is obtained by calculating the z-child node, x input interfaces and y output interfaces of the s+1th layer according to the algorithm of the corresponding node.
Wherein the z child node may be represented asThe x input interfaces can be expressed asThe y output interfaces can be expressed as/>
The algorithm corresponding to the node can be expressed as
Step 7: and extracting a corresponding test path from the association model according to the subjects to be tested and the test grade selected by the user.
Step 8: and calling a corresponding test flow chart according to the extracted test path.
Step 9: and receiving current operation data of operators in real time, inputting the current operation data into the called test flow chart, and outputting a current test state and a current test result.
As a further improvement of the method, the method for testing the simulated driving operation provided in the embodiment further includes the following steps on the basis of the steps 1 to 9:
And before receiving the test flow chart corresponding to each test path input by the user, sending a third prompt message and a fourth prompt message to the user. The third prompting message is used for prompting a user to input an initialization flow sub-graph and a parallel test flow sub-graph. The initialization flow subgraph is used for providing initialization conditions for starting the test flow subgraph; the parallel test flow subgraph is used for testing additional operations, except for specified operations, executed by operators. The fourth prompting message is used for prompting the user to input a front test flow chart and ending the test flow chart; the front-end test flow chart is used for providing front-end conditions and front-end scenes (such as parking in rainy days, and setting a rainy scene in advance) for calling the test flow chart before calling the test flow chart; the ending test flow chart is used for ending the test flow in advance and outputting a test result.
And finally, encrypting and storing the compiled operation curriculum schedule content, the to-be-tested item list content, the withhold reference list content, the test rule list content and the test operation list content. And displaying the current test state and the current test result through display equipment.
In correspondence to the above-described driving-simulated operation testing method, a second aspect of the present embodiment provides a driving-simulated operation testing system, including: the system comprises a first data receiving module, a first data association module, a second data receiving module, a first data extracting module, a second data extracting module, a third data receiving module, a data input module and a data output module. The first data receiving module is used for receiving mapping relations between a plurality of parameter tables and a plurality of parameter tables input by a user. The first data association module is used for associating a plurality of parameter tables according to the mapping relation to obtain an association model; the association model comprises one or more subjects to be tested, each subject to be tested corresponds to one or more test grades, and each test grade corresponds to one test path. The second data receiving module is used for receiving a test flow chart corresponding to each test path, which is input by a user; the test flow chart is used for testing the current operation of the operator to obtain the current test state and the current test result; the test flow chart adopts a tree structure. The first data extraction module is used for extracting a corresponding test path from the association model according to the subjects to be tested and the test grade selected by the user. The second data extraction module is used for calling a corresponding test flow chart according to the extracted test path. The third data receiving module is used for receiving current operation data of operators in real time. The data input module is used for inputting the current operation data into the called test flow chart. The data output module is used for outputting the current test state and the current test result.
The simulated driving operation test system further includes: the system comprises a first message sending module, a second data association module, a node processing module, a third message sending module, a fourth message sending module and an encryption storage module.
The first message sending module is used for sending a first prompt message to the user. The first hint message includes: the first prompt, the second prompt, the third prompt, the fourth prompt and the fifth prompt. The first prompt item is used for prompting a user to input a plurality of parameter tables; the plurality of parameter tables to be input include at least: an operation course table, a project table to be tested, a deduction reference table, a test rule table and a test operation table. The second prompting item is used for prompting a user to input operation curriculum schedule content, to-be-tested item list content, withhold reference list content, test rule list content and test operation list content; the operation curriculum schedule content at least comprises one or more subjects to be detected; the content of the item table to be tested at least comprises one or more specified operations; the contents of the deduction reference table at least comprise one or more deduction data; the test rule table content at least comprises one or more test rule sets, and each test rule set at least comprises one or more test rule items; the test operation table content at least comprises one or more test steps. The third prompting item is used for prompting a user to input a mapping relation among the operation curriculum schedule, the item list to be tested and the deduction reference list according to the operation curriculum schedule content, the item list to be tested and the deduction reference list content; the fourth prompting item is used for prompting a user to determine a testing grade, and the mapping relation between the item table to be tested and the testing rule table is input according to the testing grade, the content of the item table to be tested and the content of the testing rule table. The fifth prompting item is used for prompting a user to input a mapping relation between the test rule table and the test job table according to the test rule table content and the test job table content. The mapping relation comprises: a one-to-one mapping and a many-to-many mapping.
The second message sending module is used for sending a second prompt message to the user; the second hint message includes: a sixth reminder item and a seventh reminder item; the sixth prompting item is used for prompting a user to input a test flow chart corresponding to each test path, and each test flow chart at least comprises one or more test flow subgraphs; the seventh prompting item is used for prompting a user to input a mapping relation between each test flow sub-graph and one or more test steps in the test job table. And the second data association module is used for associating each test flow subgraph with the association model according to the mapping relation between the test flow subgraphs and the test steps to obtain a test model. The node processing module is used for distributing a first input interface, a first output interface and a corresponding algorithm model for the root node of the test flow sub-graph, distributing a second input interface, a second output interface and a corresponding algorithm model for the sub-node of the test flow sub-graph, and distributing a third input interface for the leaf node of the test flow sub-graph. The current test state includes a current node location.
The third message sending module is used for sending a third prompt message to the user; the third prompting message is used for prompting a user to input an initialization flow sub-graph and a parallel test flow sub-graph; the initialization flow subgraph is used for providing initialization conditions for starting the test flow subgraph; the parallel test flow subgraph is used for testing additional operations, except for specified operations, executed by operators. The fourth message sending module is used for sending a fourth prompt message to the user; the fourth prompting message is used for prompting the user to input a front test flow chart and ending the test flow chart; the pre-test flow chart is used for providing a pre-condition for calling the test flow chart before calling the test flow chart; the ending test flow chart is used for ending the test flow in advance and outputting a test result.
And the encryption storage module performs encryption storage on the current test state and the current test result.
A third aspect of the present embodiment provides a computer device for performing the simulated driving task test method according to the first aspect or any of the possible designs of the first aspect, comprising a memory, a processor and a transceiver, which are communicatively connected in sequence, wherein the memory is configured to store a computer program, the transceiver is configured to send and receive messages, and the processor is configured to read the computer program and perform the simulated driving task test method according to the first aspect or any of the possible designs of the first aspect. In particular, the Memory may include, but is not limited to, random-Access Memory (RAM), read-Only Memory (ROM), flash Memory (Flash Memory), first-in first-out Memory (First Input First Output, FIFO), and/or first-out Memory (First Input Last Output, FILO), etc.; the processor may be, but is not limited to, a microprocessor of the type STM32F105 family. In addition, the computer device may include, but is not limited to, a power module, a display screen, and other necessary components.
The working process, working details and technical effects of the foregoing computer device provided in the third aspect of the present embodiment may refer to the simulated driving operation testing method described in the first aspect or any possible design schemes in the first aspect, which are not described herein again.
A fourth aspect of the present embodiment provides a computer-readable storage medium storing instructions comprising the simulated driving job testing method according to the first aspect or any of the possible designs of the first aspect, i.e. the computer-readable storage medium has instructions stored thereon that, when executed on a computer, perform the simulated driving job testing method according to the first aspect or any of the possible designs of the first aspect. The computer readable storage medium refers to a carrier for storing data, and may include, but is not limited to, a floppy disk, an optical disk, a hard disk, a flash Memory, and/or a Memory Stick (Memory Stick), where the computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
The working process, working details and technical effects of the foregoing computer readable storage medium provided in the fourth aspect of the present embodiment may refer to the method for testing a simulated driving operation as described in the first aspect or any possible design of the first aspect, which are not described herein.
A fifth aspect of the present embodiment provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the simulated driving job testing method of the first aspect or any of the possible designs of the first aspect. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (6)

1. The driving simulation operation testing method is characterized by comprising the following steps of:
receiving a mapping relation between a plurality of parameter tables input by a user and the plurality of parameter tables;
associating the plurality of parameter tables according to the mapping relation to obtain an association model; the association model comprises one or more subjects to be tested, each subject to be tested corresponds to one or more test grades, and each test grade corresponds to one test path;
Receiving a test flow chart corresponding to each test path input by a user; the test flow chart is used for testing the current operation of the operator to obtain the current test state and the current test result; the test flow chart adopts a tree structure;
Extracting a corresponding test path from the association model according to subjects to be tested and test grades selected by a user; calling a corresponding test flow chart according to the extracted test path;
Receiving current operation data of an operator in real time, inputting the current operation data into a called test flow chart, and outputting a current test state and a current test result;
Before receiving the mapping relation between the plurality of parameter tables input by the user, the method comprises the following steps: sending a first prompt message to a user; the first hint message includes: a first prompt, a second prompt, a third prompt, a fourth prompt and a fifth prompt;
The first prompt item is used for prompting a user to input a plurality of parameter tables; the plurality of parameter tables to be input include at least: an operation course table, a to-be-tested project table, a deduction reference table, a test rule table and a test operation table;
The second prompting item is used for prompting a user to input operation curriculum schedule content, to-be-tested item list content, withhold reference list content, test rule list content and test operation list content; the operation curriculum schedule content at least comprises one or more subjects to be detected; the content of the item table to be tested at least comprises one or more specified operations; the contents of the deduction reference table at least comprise one or more deduction data; the test rule table content at least comprises one or more test rule sets, and each test rule set at least comprises one or more test rule items; the test operation table content at least comprises one or more test steps;
the third prompting item is used for prompting a user to input a mapping relation among the operation curriculum schedule, the item list to be tested and the deduction reference list according to the operation curriculum schedule content, the item list to be tested and the deduction reference list content;
The fourth prompting item is used for prompting a user to determine a testing grade, and according to the testing grade, the contents of the item table to be tested and the contents of the testing rule table, the mapping relation between the item table to be tested and the testing rule table is input;
The fifth prompting item is used for prompting a user to input a mapping relation between the test rule table and the test operation table according to the test rule table content and the test operation table content, and input a mapping relation between the test operation table and the deduction reference table;
the mapping relation comprises: a one-to-one mapping and a many-to-many mapping;
before receiving the test flow chart corresponding to each test path input by the user, the method comprises the following steps:
sending a second prompt message to the user; the second hint message includes: a sixth reminder item and a seventh reminder item; the sixth prompting item is used for prompting a user to input a test flow chart corresponding to each test path, and each test flow chart at least comprises one or more test flow subgraphs; the seventh prompting item is used for prompting a user to input a mapping relation between each test flow subgraph and one or more test steps in the test job table;
after receiving the test flow chart corresponding to each test path input by the user, the method comprises the following steps:
According to the mapping relation between the test flow subgraphs and the test steps, associating each test flow subgraph with the association model to obtain a test model;
For each test flow subgraph in the test model: a first input interface, a first output interface and a corresponding algorithm model are distributed for the root node of the test flow sub-graph, a second input interface, a second output interface and a corresponding algorithm model are distributed for the child node of the test flow sub-graph, and a third input interface is distributed for the leaf node of the test flow sub-graph;
the current test state includes a current node location.
2. A simulated driving exercise testing method as claimed in claim 1, wherein,
Before receiving the test flow chart corresponding to each test path input by the user, the method further comprises the following steps:
Sending a third prompt message to the user; the third prompting message is used for prompting a user to input an initialization flow sub-graph and a parallel test flow sub-graph; the initialization flow subgraph is used for providing initialization conditions for starting the test flow subgraph; the parallel test flow subgraph is used for testing additional operations, except for specified operations, executed by operators;
Sending a fourth prompt message to the user; the fourth prompting message is used for prompting the user to input a front test flow chart and ending the test flow chart; the pre-test flow chart is used for providing a pre-condition for calling the test flow chart before calling the test flow chart; the ending test flow chart is used for ending the test flow in advance and outputting a test result.
3. The simulated driving exercise testing method as claimed in claim 1, further comprising the steps of: and the operation course table content, the item table content to be tested, the withhold reference table content, the test rule table content and the test operation table content are stored in an encrypted mode.
4. A simulated driving operation test system, comprising:
the first data receiving module is used for receiving mapping relations between a plurality of parameter tables and a plurality of parameter tables input by a user;
The first data association module is used for associating the plurality of parameter tables according to the mapping relation to obtain an association model; the association model comprises one or more subjects to be tested, each subject to be tested corresponds to one or more test grades, and each test grade corresponds to one test path;
the second data receiving module is used for receiving a test flow chart corresponding to each test path, which is input by a user; the test flow chart is used for testing the current operation of the operator to obtain the current test state and the current test result; the test flow chart adopts a tree structure;
The first data extraction module is used for extracting a corresponding test path from the association model according to the subjects to be tested and the test grade selected by the user;
the second data extraction module is used for calling a corresponding test flow chart according to the extracted test path;
the third data receiving module is used for receiving current operation data of operators in real time;
the data input module is used for inputting the current operation data into the called test flow chart;
The data output module is used for outputting the current test state and the current test result;
Further comprises:
the first message sending module is used for sending a first prompt message to the user; the first hint message includes: a first prompt, a second prompt, a third prompt, a fourth prompt and a fifth prompt;
The first prompt item is used for prompting a user to input a plurality of parameter tables; the plurality of parameter tables to be input include at least: an operation course table, a to-be-tested project table, a deduction reference table, a test rule table and a test operation table;
The second prompting item is used for prompting a user to input operation curriculum schedule content, to-be-tested item list content, withhold reference list content, test rule list content and test operation list content; the operation curriculum schedule content at least comprises one or more subjects to be detected; the content of the item table to be tested at least comprises one or more specified operations; the contents of the deduction reference table at least comprise one or more deduction data; the test rule table content at least comprises one or more test rule sets, and each test rule set at least comprises one or more test rule items; the test operation table content at least comprises one or more test steps;
the third prompting item is used for prompting a user to input a mapping relation among the operation curriculum schedule, the item list to be tested and the deduction reference list according to the operation curriculum schedule content, the item list to be tested and the deduction reference list content;
The fourth prompting item is used for prompting a user to determine a testing grade, and according to the testing grade, the contents of the item table to be tested and the contents of the testing rule table, the mapping relation between the item table to be tested and the testing rule table is input;
The fifth prompting item is used for prompting a user to input a mapping relation between the test rule table and the test operation table according to the test rule table content and the test operation table content, and input a mapping relation between the test operation table and the deduction reference table;
the mapping relation comprises: a one-to-one mapping and a many-to-many mapping;
Further comprises:
The second message sending module is used for sending a second prompt message to the user; the second hint message includes: a sixth reminder item and a seventh reminder item; the sixth prompting item is used for prompting a user to input a test flow chart corresponding to each test path, and each test flow chart at least comprises one or more test flow subgraphs; the seventh prompting item is used for prompting a user to input a mapping relation between each test flow subgraph and one or more test steps in the test job table;
The second data association module is used for associating each test flow subgraph with the association model according to the mapping relation between the test flow subgraphs and the test steps to obtain a test model;
The node processing module is used for distributing a first input interface, a first output interface and a corresponding algorithm model for the root node of the test flow sub-graph, distributing a second input interface, a second output interface and a corresponding algorithm model for the sub-node of the test flow sub-graph, and distributing a third input interface for the leaf node of the test flow sub-graph;
the current test state includes a current node location.
5. The simulated driving exercise testing system of claim 4, further comprising:
the third message sending module is used for sending a third prompt message to the user; the third prompting message is used for prompting a user to input an initialization flow sub-graph and a parallel test flow sub-graph; the initialization flow subgraph is used for providing initialization conditions for starting the test flow subgraph; the parallel test flow subgraph is used for testing additional operations, except for specified operations, executed by operators;
a fourth message sending module, configured to send a fourth prompting message to the user; the fourth prompting message is used for prompting the user to input a front test flow chart and ending the test flow chart; the pre-test flow chart is used for providing a pre-condition for calling the test flow chart before calling the test flow chart; the ending test flow chart is used for ending the test flow in advance and outputting a test result.
6. The simulated driving exercise testing system of claim 4, further comprising: and the encryption storage module is used for carrying out encryption storage on the operation course list content, the item list content to be tested, the withhold reference list content, the test rule list content and the test operation list content.
CN202410186439.1A 2024-02-20 2024-02-20 Test method and system for simulated driving operation Active CN117746714B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410186439.1A CN117746714B (en) 2024-02-20 2024-02-20 Test method and system for simulated driving operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410186439.1A CN117746714B (en) 2024-02-20 2024-02-20 Test method and system for simulated driving operation

Publications (2)

Publication Number Publication Date
CN117746714A CN117746714A (en) 2024-03-22
CN117746714B true CN117746714B (en) 2024-04-30

Family

ID=90251209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410186439.1A Active CN117746714B (en) 2024-02-20 2024-02-20 Test method and system for simulated driving operation

Country Status (1)

Country Link
CN (1) CN117746714B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010102171A (en) * 2008-10-24 2010-05-06 Toyota Motor Corp Vehicle driving simulator device
CN103268426A (en) * 2013-06-05 2013-08-28 北京宣爱智能模拟技术股份有限公司 Method for evaluating safe driving level of automobile driver
CN105390043A (en) * 2015-10-28 2016-03-09 北京交通大学 Device and method for testing rail transit train driver driving adaptability
CN107992016A (en) * 2016-10-26 2018-05-04 法乐第(北京)网络科技有限公司 A kind of automatic driving vehicle analog detection method
CN109886474A (en) * 2019-01-24 2019-06-14 同济大学 A kind of closed test field planing method towards automatic driving vehicle test
CN112733353A (en) * 2020-12-31 2021-04-30 成都运达科技股份有限公司 Full-automatic driving simulation training verification method, system, terminal and medium
CN112754484A (en) * 2021-01-12 2021-05-07 中国科学院心理研究所 Method and system for testing and training attention span of driver
CN113658023A (en) * 2021-08-26 2021-11-16 郑州捷安高科股份有限公司 Teaching scoring method and system based on simulated driving
CN116519316A (en) * 2022-01-21 2023-08-01 中国科学院软件研究所 Automatic driving test method, device, storage medium and equipment based on behavior tree
CN116821450A (en) * 2023-04-23 2023-09-29 云南冲浪科技有限公司 Traffic rule shorthand and pushing method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10552573B2 (en) * 2016-03-18 2020-02-04 Toyota Jidosha Kabushiki Kaisha Vehicle simulation device for crowd-sourced vehicle simulation data
US10825350B2 (en) * 2017-03-28 2020-11-03 Wichita State University Virtual reality driver training and assessment system
US10983974B2 (en) * 2017-09-15 2021-04-20 Baranitharan Venkatakrishnan Method of generating a knowledge-tree for intuitive continual learning

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010102171A (en) * 2008-10-24 2010-05-06 Toyota Motor Corp Vehicle driving simulator device
CN103268426A (en) * 2013-06-05 2013-08-28 北京宣爱智能模拟技术股份有限公司 Method for evaluating safe driving level of automobile driver
CN105390043A (en) * 2015-10-28 2016-03-09 北京交通大学 Device and method for testing rail transit train driver driving adaptability
CN107992016A (en) * 2016-10-26 2018-05-04 法乐第(北京)网络科技有限公司 A kind of automatic driving vehicle analog detection method
CN109886474A (en) * 2019-01-24 2019-06-14 同济大学 A kind of closed test field planing method towards automatic driving vehicle test
CN112733353A (en) * 2020-12-31 2021-04-30 成都运达科技股份有限公司 Full-automatic driving simulation training verification method, system, terminal and medium
CN112754484A (en) * 2021-01-12 2021-05-07 中国科学院心理研究所 Method and system for testing and training attention span of driver
CN113658023A (en) * 2021-08-26 2021-11-16 郑州捷安高科股份有限公司 Teaching scoring method and system based on simulated driving
CN116519316A (en) * 2022-01-21 2023-08-01 中国科学院软件研究所 Automatic driving test method, device, storage medium and equipment based on behavior tree
CN116821450A (en) * 2023-04-23 2023-09-29 云南冲浪科技有限公司 Traffic rule shorthand and pushing method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Visual control of steering in curve driving";Macuga, KL;《JOURNAL OF VISION》;20191231;第19卷(第5期);第1-12页 *
"基于动态故障树的导弹驾驶仪系统可靠性分析";张志英;《南京理工大学学报》;20131231;第37卷(第04期);第543-550页 *

Also Published As

Publication number Publication date
CN117746714A (en) 2024-03-22

Similar Documents

Publication Publication Date Title
CN104965507B (en) Generate the method and device of open diagnostic data switching database
US8606538B2 (en) Method of testing an electronic system
CN106850372A (en) A kind of method of testing and system of controller CAN signal
CN109062817B (en) Automatic testing method and system
CN108052744A (en) Avionic software simulation synthetic test and verification platform
CN104503442B (en) Armament equipment fault diagnosis training method
CN108764674A (en) A kind of risk control method and device of rule-based engine
CN103529377A (en) Automatic testing system and method for intelligent transformer substation digital protection device
CN106776349A (en) A kind of method to set up and system of interface testing process
CN107590066A (en) Method of testing, equipment and the programmable device of application program
CN107832217A (en) A kind of automated testing method and device
CN107370637B (en) Vehicle-mounted ECU communication function automatic test system and method
CN107346285A (en) A kind of method for detecting memory leakage and device
CN107102949A (en) Application program off-line test method and instrument
CN109828551A (en) Automated testing method, device and computer readable storage medium
CN108984393A (en) A kind of unit testing code automatic generation method and device
CN112559288A (en) Distributed inertial platform test system based on Ethernet
CN117746714B (en) Test method and system for simulated driving operation
CN107703773A (en) A kind of method for testing software and device based on hardware-in-loop simulation system
CN110347976A (en) Method, system, device and the storage medium of quick equipment leading out data model
CN108108534A (en) A kind of aircraft parameter computation model defines method
CN108776632A (en) Signal-oriented self-test automatic process generating method, apparatus, equipment and readable storage medium storing program for executing
CN116521566A (en) Test data generation method and device
CN112304172A (en) Measurement and launch control system
CN115934513A (en) Demand analysis and test design adaptation method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant