CN113868766A - Test method for improving simulation test efficiency in automatic driving demand verification - Google Patents

Test method for improving simulation test efficiency in automatic driving demand verification Download PDF

Info

Publication number
CN113868766A
CN113868766A CN202111156595.6A CN202111156595A CN113868766A CN 113868766 A CN113868766 A CN 113868766A CN 202111156595 A CN202111156595 A CN 202111156595A CN 113868766 A CN113868766 A CN 113868766A
Authority
CN
China
Prior art keywords
test
slave
simulation
server
host
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.)
Pending
Application number
CN202111156595.6A
Other languages
Chinese (zh)
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.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile 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 Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202111156595.6A priority Critical patent/CN113868766A/en
Publication of CN113868766A publication Critical patent/CN113868766A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/15Vehicle, aircraft or watercraft design
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M17/00Testing of vehicles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Abstract

The invention discloses a test method for improving simulation test efficiency in automatic driving demand verification, which comprises the following steps: the configuration is used for a host, a server and a plurality of slaves; configuring a test case list to be executed on a host according to a proposed test plan, and sending the test case list to a server by the host; the host judges whether the slave is available according to the slave state log recorded on the server, and if so, the slave is available in the slave list; otherwise, the list of the slave machines is set as unavailable; counting available slave machines to form a node list; the host machine judges whether the node is idle according to the state log of the slave machine recorded on the server, if so, the host machine distributes a single test task to the slave machine corresponding to the idle node, the slave machine receives the test task and executes the test task, and the simulation test result is stored in the server. The method can accelerate the test process of the intelligent driving virtual test, improve the simulation test efficiency of the model, shorten the test period and reduce the test cost.

Description

Test method for improving simulation test efficiency in automatic driving demand verification
Technical Field
The invention relates to the technical field of automatic driving simulation test, in particular to a test method for improving simulation test efficiency in automatic driving demand verification.
Background
At present, the intelligent driving technology of the intelligent internet vehicle relates to a large amount of tests in the research and development process, including virtual tests, closed field tests, open road tests and the like. In the early stage of research and development, virtual simulation testing is a main testing means for algorithm development and functional verification. The development of the simulation test relates to virtual scenes including traffic participants, static road models, environment models and the like, the requirements of the virtual scenes on hardware in the virtual test process are very high, and a certain working hour is consumed for single working condition and case test; meanwhile, the high-precision vehicle dynamics model is selected, which means that the simulation frequency is increased by dozens of times, and huge calculation pressure is brought to a simulation test platform. When the test cases are very many, the efficiency of the virtual test is greatly challenged, and even the development progress is influenced.
Disclosure of Invention
The invention aims to provide a test method for improving simulation test efficiency in automatic driving demand verification, which can accelerate the test process of intelligent driving virtual test, improve the simulation test efficiency of a model, shorten the test period and reduce the test cost.
In order to achieve the above object, the present invention provides a test method for improving simulation test efficiency in automatic driving demand verification, comprising the steps of:
(S1) configuring a master for participating in the simulation test, a server for storing data and distributing test tasks, and a plurality of slaves for simulation test calculation;
(S2) configuring a test case list to be executed on the host according to the proposed test plan, and sending the test case list to the server by the host;
(S3) the master machine judges whether the slave machine is available according to the slave machine state log recorded on the server, if so, the slave machine is available in the slave machine list; otherwise, the list of the slave machines is set as unavailable;
(S4) counting the available slaves forming a node list;
(S5) the host judges whether the node is idle according to the state log of the slave machine recorded on the server, if so, the host distributes a single test task for the slave machine corresponding to the idle node, the slave machine receives the test task and executes the test task, the simulation test result is stored in the server, and the operation goes to the execution steps (S6) and (S7); otherwise, return to the step (S3);
(S6) the host computer detects whether all the testing tasks are completed, if yes, the step is switched to the execution step (S10); otherwise, returning to the step (S3);
(S7) the slave reads the configuration file executed in the server through the background program;
(S8) the slave machine judges whether the host machine has a new testing task, if yes, the slave machine goes to the execution step (S9); otherwise, returning to the step (S7);
(S9) the slave device receives the test task and executes the test task, stores the simulation test result in the server, and proceeds to the execution step (S8);
(S10) sending an instruction to close all the slave machines, reading the test result on the data server by the host machine, automatically generating a test report, and ending the flow of the host machine.
Further, the slave machine receives a new test task and executes the test task, and specifically executes the following steps: and the slave machine automatically generates a test model after receiving the test task, and executes the simulation test program.
Furthermore, the proposed test plan comprises compiling a test case, a test step document and a test script document, building a simulation test scene and a simulation test platform, configuring a simulation test environment and installing simulation test software.
Further, the simulation test platform comprises a high-precision vehicle dynamics simulation test platform and a non-vehicle dynamics simulation test platform, and the simulation test scene comprises static roads, dynamic traffic participants, operation of a driver model and skip logic of vehicle information states.
Further, the slave machine automatically generates a test model after receiving the test task, and specifically executes the following steps: after receiving the test task, the slave machine judges whether the test case needs a high-precision dynamic model, if so, a simulation platform for automatically generating the high-precision dynamic model is selected; otherwise, selecting a simulation platform without a mathematical model.
Compared with the prior art, the invention has the following advantages:
according to the test method for improving the simulation test efficiency in the automatic driving requirement verification, in the development process of the limited automatic driving system, the system requirements are subjected to inductive analysis and distributed arrangement of simulation tasks, the test process of intelligent driving virtual test is accelerated, the model simulation test efficiency is improved, the test period is shortened, and the test cost is reduced; the idle computers in the office can be used as distributed computing nodes, and the existing resources can be utilized to improve the efficiency of simulation test testing.
Drawings
FIG. 1 is a flowchart of a testing method for improving simulation testing efficiency in automatic driving demand verification according to the present invention.
Detailed Description
The following further describes embodiments of the present invention with reference to the drawings.
Referring to fig. 1, the present embodiment discloses a test method for improving simulation test efficiency in automatic driving demand verification, which includes the steps of:
(S1) configuring a master for participating in the simulation test, a server for storing data and distributing test tasks, and a plurality of slaves for simulation test calculation;
(S2) configuring a test case list to be executed on the host according to the proposed test plan, and sending the test case list to the server by the host; the test responsible person needs to draw up a test plan in advance before the project group releases the formal version software, and generates a test case list according to a test case list in the test plan after the formal release of the software.
(S3) the master machine judges whether the slave machine is available according to the slave machine state log recorded on the server, if so, the slave machine is available in the slave machine list; otherwise, the list of the slave machines is set as unavailable;
(S4) counting the available slaves forming a node list;
(S5) the host judges whether the node is idle according to the state log of the slave machine recorded on the server, if so, the host distributes a single test task for the slave machine corresponding to the idle node, the slave machine receives the test task and executes the test task, the simulation test result is stored in the server, and the operation goes to the execution steps (S6) and (S7); otherwise, return to the step (S3);
(S6) the host computer detects whether all the testing tasks are completed, if yes, the step is switched to the execution step (S10); otherwise, returning to the step (S3);
(S7) the slave reads the configuration file executed in the server through the background program;
(S8) the slave machine judges whether the host machine has a new testing task, if yes, the slave machine goes to the execution step (S9); otherwise, returning to the step (S7); specifically, the slave reads the execution configuration file in the server through the background application program, and identifies whether the host distributes the test task or not.
(S9) the slave device receives the test task and executes the test task, stores the simulation test result in the server, and proceeds to the execution step (S8);
(S10) sending an instruction to close all the slave machines, reading the test result on the data server by the host machine, automatically generating a test report, and ending the flow of the host machine. It is necessary to have one high-performance computer as a master, one server, and multiple slaves as test nodes. The testing task is distributed to the server through the host, the slave reads the server testing task file to obtain the testing task, the slave executes the testing case and uploads the testing result to the server, and the host generates a testing report according to the testing result. The method of the invention can connect a plurality of computers in the unified local area network by using the server as a medium for information transmission, thereby achieving the purpose of linearly improving the simulation test efficiency.
In this embodiment, the slave device receives a new test task and executes the test task, specifically executing the following steps: and the slave machine automatically generates a test model after receiving the test task, and executes the simulation test program.
In this embodiment, the proposed test plan includes compiling a test case, a test step document and a test script document, building a simulation test scenario and a simulation test platform, configuring a simulation test environment and installing simulation test software.
In this embodiment, the simulation test platform includes a simulation test platform of high-precision vehicle dynamics and a simulation test platform of no vehicle dynamics, and the simulation test scenario includes jump logics of static roads, dynamic traffic participants, operations of a driver model and vehicle information states.
In this embodiment, the slave device automatically generates a test model after receiving the test task, and specifically executes the following steps:
after receiving the test task, the slave machine judges whether the test case needs a high-precision dynamic model, if so, a simulation platform for automatically generating the high-precision dynamic model is selected; otherwise, selecting a simulation platform without a mathematical model. For system requirements that only involve system state hopping or target selection, but not system closed-loop control, a simulation platform without a mathematical model is adopted. If closed-loop control needs to be verified or the kinematic parameters of the pair of vehicles have strong coupling relation, a simulation test platform with high-precision vehicle dynamics is adopted. The simulation test method comprises the steps of drawing a track for a main vehicle carrying an automatic driving system in a simulator, and judging whether the actual performance of the state quantity is consistent with the expected performance, so that the purpose of simulation test is achieved.
According to the test method for improving the simulation test efficiency in the automatic driving requirement verification, the system requirements are subjected to inductive analysis and distributed arrangement of simulation tasks in the development process of the limited automatic driving system, so that the test process of intelligent driving virtual test is accelerated, the model simulation test efficiency is improved, the test period is shortened, and the test cost is reduced. The idle computers in the office can be used as distributed computing nodes, and the existing resources can be utilized to improve the efficiency of simulation test testing.
The foregoing detailed description of the preferred embodiments of the invention has been presented. It should be understood that numerous modifications and variations could be devised by those skilled in the art in light of the present teachings without departing from the inventive concepts. Therefore, the technical solutions available to those skilled in the art through logic analysis, reasoning and limited experiments based on the prior art according to the concept of the present invention should be within the scope of protection defined by the claims.

Claims (5)

1. A test method for improving simulation test efficiency in automatic driving demand verification is characterized by comprising the following steps:
(S1) configuring a master for participating in the simulation test, a server for storing data and distributing test tasks, and a plurality of slaves for simulation test calculation;
(S2) configuring a test case list to be executed on the host according to the proposed test plan, and sending the test case list to the server by the host;
(S3) the master machine judges whether the slave machine is available according to the slave machine state log recorded on the server, if so, the slave machine is available in the slave machine list; otherwise, the list of the slave machines is set as unavailable;
(S4) counting the available slaves forming a node list;
(S5) the host judges whether the node is idle according to the state log of the slave machine recorded on the server, if so, the host distributes a single test task for the slave machine corresponding to the idle node, the slave machine receives the test task and executes the test task, the simulation test result is stored in the server, and the operation goes to the execution steps (S6) and (S7); otherwise, return to the step (S3);
(S6) the host computer detects whether all the testing tasks are completed, if yes, the step is switched to the execution step (S10); otherwise, returning to the step (S3);
(S7) the slave reads the configuration file executed in the server through the background program;
(S8) the slave machine judges whether the host machine has a new testing task, if yes, the slave machine goes to the execution step (S9); otherwise, returning to the step (S7);
(S9) the slave device receives the test task and executes the test task, stores the simulation test result in the server, and proceeds to the execution step (S8);
(S10) sending an instruction to close all the slave machines, reading the test result on the data server by the host machine, automatically generating a test report, and ending the flow of the host machine.
2. The test method for improving the efficiency of the simulation test in the automatic driving demand verification according to claim 1, wherein the slave device receives a new test task and executes the test task, and specifically executes the following steps:
and the slave machine automatically generates a test model after receiving the test task, and executes the simulation test program.
3. The test method for improving the simulation test efficiency in the automatic driving demand verification according to claim 1 or 2, wherein the formulated test plan includes compiling a test case, a test step document and a test script document, building a simulation test scene and a simulation test platform, configuring a simulation test environment and installing simulation test software.
4. The test method for improving simulation test efficiency in automatic driving demand verification according to claim 3, wherein the simulation test platform comprises a simulation test platform of high precision vehicle dynamics and a simulation test platform of no vehicle dynamics, and the simulation test scenario comprises jump logic of operation of static roads, dynamic traffic participants, driver models, and vehicle information states.
5. The test method for improving the efficiency of the simulation test in the automatic driving demand verification according to claim 4, wherein the slave machine automatically generates the test model after receiving the test task, and specifically executes the following steps:
after receiving the test task, the slave machine judges whether the test case needs a high-precision dynamic model, if so, a simulation platform for automatically generating the high-precision dynamic model is selected; otherwise, selecting a simulation platform without a mathematical model.
CN202111156595.6A 2021-09-30 2021-09-30 Test method for improving simulation test efficiency in automatic driving demand verification Pending CN113868766A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111156595.6A CN113868766A (en) 2021-09-30 2021-09-30 Test method for improving simulation test efficiency in automatic driving demand verification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111156595.6A CN113868766A (en) 2021-09-30 2021-09-30 Test method for improving simulation test efficiency in automatic driving demand verification

Publications (1)

Publication Number Publication Date
CN113868766A true CN113868766A (en) 2021-12-31

Family

ID=79001026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111156595.6A Pending CN113868766A (en) 2021-09-30 2021-09-30 Test method for improving simulation test efficiency in automatic driving demand verification

Country Status (1)

Country Link
CN (1) CN113868766A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356757A (en) * 2021-12-22 2022-04-15 重庆长安汽车股份有限公司 Test condition configuration method based on limited automatic driving simulation scene

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356757A (en) * 2021-12-22 2022-04-15 重庆长安汽车股份有限公司 Test condition configuration method based on limited automatic driving simulation scene

Similar Documents

Publication Publication Date Title
US11314907B2 (en) Simulation including multiple simulators
CN106940428B (en) Chip verification method, device and system
CN102880532B (en) Cloud technology-based test system and method
CN107612962B (en) Distributed simulation evaluation test management system
CN103617066A (en) Workflow engine and implementation method thereof
KR101345068B1 (en) System and method for workflow modeling and simulation
CN105577475A (en) Automatic performance test system and method
CN101090295A (en) Test system and method for ASON network
CN114356757A (en) Test condition configuration method based on limited automatic driving simulation scene
CN102866944A (en) Pressure testing system and method
CN106599398A (en) Simulation method and apparatus of space-ground integrated management system
Haberl et al. Model-level debugging of embedded real-time systems
CN104881311A (en) Method and apparatus for judging version compatibility
CN100531070C (en) Network resource scheduling simulation system
KR20200067474A (en) Fault injection test method and system for vehicle software based on autosar
CN113868766A (en) Test method for improving simulation test efficiency in automatic driving demand verification
Sandmann et al. Autosar-compliant development workflows: From architecture to implementation-tool interoperability for round-trip engineering and verification and validation
CN108228965B (en) Simulation verification method, device and equipment for memory cell
CN112199273B (en) Virtual machine pressure/performance testing method and system
CN116204268A (en) Expansion and contraction method of cloud instance and related equipment thereof
Heinzemann et al. Simulating self-adaptive component-based systems using MATLAB/Simulink
CN103399776A (en) Creation method and system for reusable MOCK
Hammad et al. An approach combining sysml and modelica for modelling and validate wireless sensor networks
CN114896802A (en) VISSIM and Python-based hybrid automatic driving traffic flow simulation method
CN115185825A (en) Interface test scheduling method and device

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