Driving scene reconstruction test method and device, vehicle and storage medium
By sending DDS and NTF service signals through the SOA service architecture, the problem of slow test adjustments caused by CAN signal communication is solved, improving the efficiency and accuracy of vehicle scenario reconstruction testing and reducing costs.
Patent Information
- Application Number
- CN202310459954.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-25
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2043-04-25
AI Technical Summary
The CAN-based communication method results in slow adjustments during vehicle scenario reconstruction testing, reducing testing efficiency.
The SOA service architecture is adopted to send DDS service signals and NTF service signals, thereby improving the flexibility and accuracy of testing by simulating real vehicle test environment and complex road conditions.
This improves the accuracy and flexibility of real-vehicle testing while reducing testing costs.
Smart Images

Figure CN116481834B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicles, in particular to a driving scene reconstruction test method and device, a vehicle and a storage medium. BACKGROUND
[0002] Intelligent driving scene reconstruction is to collect data around the vehicle by using sensors on the vehicle, perceive objects outside the vehicle, and then display the perceived data on the center screen to remind the driver to perceive potential dangers in the first time. Among them, scene reconstruction includes target scene reconstruction, road scene reconstruction, traffic light scene reconstruction, and traffic sign scene reconstruction.
[0003] In related technologies, the test method of vehicle scene reconstruction mainly sends CAN (Controller Area Network) signal to simulate related targets, lane lines, traffic signs and other related signals on the test bench, and judges whether the simulated signals are correct through the display of the instrument.
[0004] However, the communication mode based on the CAN signal is fixed in the organization of the sender and the receiver, and the test adjustment is relatively slow, which reduces the test efficiency, and thus cannot effectively meet the changes of related businesses, which needs to be solved urgently. SUMMARY
[0005] The present application provides a driving scene reconstruction test method, device, vehicle and storage medium to solve the problem of fixed service signal relationship in the communication mode based on the CAN signal, slow real vehicle test adjustment, and thus low test efficiency.
[0006] The first aspect of the present application provides a driving scene reconstruction test method, comprising the following steps: judging whether a driving scene reconstruction test instruction of a user is received; if the driving scene reconstruction test instruction is received, sending a signal generator DDS (Direct Digital Synthesis) service signal and an Ntf service signal to a to-be-tested car machine by using a preset SOA (Service Oriented Architecture) service test tool, and obtaining an actual driving scene reconstruction result constructed by the to-be-tested car machine based on the DDS service signal and the Ntf service signal; and generating a driving scene reconstruction test result according to the actual driving scene reconstruction result and a target driving scene reconstruction result corresponding to the DDS service signal.
[0007] According to the above technical means, the service signal is sent by the SOA service architecture to simulate the real vehicle test environment and complex road condition information, thereby reducing the test cost and improving the flexibility in the software test and update process.
[0008] Further, in an embodiment of the present application, the generating a driving scene reconstruction test result according to the target driving scene reconstruction result corresponding to the actual driving scene reconstruction result and the DDS service signal comprises: judging whether the actual driving scene reconstruction result is same as the target driving scene reconstruction result; if the actual driving scene reconstruction result is same as the target driving scene reconstruction result, the driving scene reconstruction test result is success, otherwise, the driving scene reconstruction test result is failure.
[0009] According to the above technical means, the consistency of the actual test result and the target generated test result is judged, and the accuracy of the real vehicle test is improved.
[0010] Further, in an embodiment of the present application, before the DDS service signal and the Ntf service signal are sent to the to-be-tested car machine by using the preset SOA service test tool, the method further comprises: sending a scene reconstruction Ethernet signal of intelligent driving to the to-be-tested car machine, and continuously sending a power ON gear signal, a current gear signal and a current vehicle speed signal to the to-be-tested car machine by using a preset service simulation tool; judging whether the to-be-tested car machine simulates a real vehicle power-on state based on the power ON gear signal, and whether the to-be-tested car machine simulates a driving process based on the current gear signal and the current vehicle speed signal; if the to-be-tested car machine simulates the real vehicle power-on state based on the power ON gear signal, and simulates the driving process based on the current gear signal and the current vehicle speed signal, then the DDS service signal and the Ntf service signal are sent to the to-be-tested car machine by using the preset SOA service test tool.
[0011] According to the above technical means, the power-on state and the driving process of the to-be-tested vehicle are simulated by sending the power, gear signal and vehicle speed signal to the to-be-tested car machine, so as to detect whether the car machine end can normally display the received signal.
[0012] Further, in an embodiment of the present application, the actual driving scene reconstruction result comprises at least one of a simulation target scene reconstruction, a simulation road scene reconstruction, a simulation traffic light scene reconstruction and a simulation traffic sign scene reconstruction.
[0013] According to the above technical means, by reconstructing multiple driving scenes, the driving safety of the vehicle is ensured.
[0014] Further, in one embodiment of the present application, after the DDS service signal and the Ntf service signal are sent to the to-be-tested car machine by using the preset SOA service test tool, the method further comprises: judging whether the DDS service signal changes; when the DDS service signal changes, broadcasting signal change information based on a preset Ntf method, and after the to-be-tested car machine monitors the signal change information, switching the parameter value of the DDS service signal according to the preset Ntf method.
[0015] According to the above technical means, when the service signal changes, the changed information can be switched in time, so as to improve the accuracy of the test.
[0016] The second aspect embodiment of the present application provides a driving scene reconstruction test device, comprising:
[0017] A judgment module is configured to judge whether a driving scene reconstruction test instruction of a user is received.
[0018] A obtaining module is configured to, if the driving scene reconstruction test instruction is received, send a DDS service signal and an Ntf service signal to a to-be-tested car machine by using a preset SOA service test tool, and obtain an actual driving scene reconstruction result constructed by the to-be-tested car machine based on the DDS service signal and the Ntf service signal; and
[0019] A generating module is configured to generate a driving scene reconstruction test result according to the actual driving scene reconstruction result and a target driving scene reconstruction result corresponding to the DDS service signal.
[0020] Further, in one embodiment of the present application, the generating module comprises:
[0021] A first judgment unit is configured to judge whether the actual driving scene reconstruction result is same as the target driving scene reconstruction result.
[0022] If the actual driving scene reconstruction result is same as the target driving scene reconstruction result, the driving scene reconstruction test result is successful, otherwise, the driving scene reconstruction test result is failed.
[0023] Further, in one embodiment of the present application, before the DDS service signal and the Ntf service signal are sent to the to-be-tested car machine by using the preset SOA service test tool, the obtaining module further comprises:
[0024] A sending unit is configured to send a scene reconstruction Ethernet signal of intelligent driving to the to-be-tested car machine, and continuously send a power ON gear signal, a current gear signal and a current vehicle speed signal to the to-be-tested car machine by using a preset service simulation tool;
[0025] a second judging unit, configured to judge whether the to-be-tested car machine simulates a real vehicle power-on state based on the power-on gear signal and whether the to-be-tested car machine simulates a driving process based on the current gear signal and the current vehicle speed signal;
[0026] a simulating unit, configured to, if the to-be-tested car machine simulates a real vehicle power-on state based on the power-on gear signal and simulates a driving process based on the current gear signal and the current vehicle speed signal, send the DDS service signal and the Ntf service signal to the to-be-tested car machine by using the preset SOA service test tool.
[0027] Further, in an embodiment of the present application, the actual driving scene reconstruction result includes at least one of a simulated target scene reconstruction, a simulated road scene reconstruction, a simulated traffic light scene reconstruction, and a simulated traffic sign scene reconstruction.
[0028] Further, in an embodiment of the present application, after the DDS service signal and the Ntf service signal are sent to the to-be-tested car machine by using the preset SOA service test tool, the obtaining module further includes:
[0029] a third judging unit, configured to judge whether the DDS service signal changes;
[0030] a switching unit, configured to, when the DDS service signal changes, broadcast signal change information based on a preset Ntf method, and after the to-be-tested car machine monitors the signal change information, switch the parameter value of the DDS service signal according to the preset Ntf method.
[0031] The third aspect embodiment of the present application provides a vehicle, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the program to implement the driving scene reconstruction test method as described in the above embodiments.
[0032] The fourth aspect embodiment of the present application provides a computer readable storage medium, which stores a computer program executable by a processor to implement the driving scene reconstruction test method as described in the above embodiments.
[0033] The embodiment of the present application receives the driving scene reconstruction test instruction of the user, and sends the DDS service signal and the Ntf service signal to the vehicle machine to be tested by using the preset SOA service test tool, and obtains the actual driving scene reconstruction result constructed based on the DDS service signal and the Ntf service signal, and generates the driving scene reconstruction test result according to the actual driving scene reconstruction result and the target driving scene reconstruction result corresponding to the DDS service signal. Thus, the communication mode based on the CAN signal is solved, the service signal relationship is fixed, the real vehicle test adjustment is slow, and the test efficiency is reduced.
[0034] Additional aspects and advantages of the present application will be made apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0035] The above and / or additional aspects and advantages of the present application will become apparent and be readily appreciated from the following description, taken in conjunction with the accompanying drawings, in which:
[0036] Figure 1 A flowchart of a driving scene reconstruction test method according to an embodiment of the present application is provided.
[0037] Figure 2 A schematic diagram of a test environment according to an embodiment of the present application is provided.
[0038] Figure 3 A schematic diagram of a test method flow according to an embodiment of the present application is provided.
[0039] Figure 4 A block diagram of a driving scene reconstruction test device according to an embodiment of the present application is provided.
[0040] Figure 5 A schematic diagram of a vehicle structure according to an embodiment of the present application is provided.
[0041] Explanation of reference signs: 10 - driving scene reconstruction test device; 100 - judging module, 200 - obtaining module, 300 - generating module. DETAILED DESCRIPTION
[0042] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the drawings, in which the same or similar reference signs represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary and are intended to explain the present application, and cannot be understood as limiting the present application.
[0043] The driving scene reconstruction test method, device, vehicle and storage medium of the embodiments of the present application are described below with reference to the accompanying drawings. In view of the problem of slow real vehicle test adjustment and thus reduced test efficiency due to the fixed service signal relationship of the communication mode based on CAN signals mentioned in the background art, the present application provides a driving scene reconstruction test method. In the method, when a user's driving scene reconstruction test instruction is received, a pre-set SOA service test tool is used to send a DDS service signal and an Ntf service signal to a vehicle machine to be tested, and an actual driving scene reconstruction result constructed based on the DDS service signal and the Ntf service signal is obtained. A driving scene reconstruction test result is generated according to the actual driving scene reconstruction result and a target driving scene reconstruction result corresponding to the DDS service signal. Thus, the problem of slow real vehicle test adjustment and thus reduced test efficiency due to the fixed service signal relationship of the communication mode based on CAN signals is solved. The service signal is sent through the SOA service architecture to simulate the real vehicle test environment and complex road condition information, thereby reducing the test cost and improving the flexibility in the software test and update process.
[0044] Specifically, Figure 1 A flowchart of a driving scene reconstruction test method provided by an embodiment of the present application is shown.
[0045] As Figure 1 shown, the driving scene reconstruction test method includes the following steps:
[0046] In step S101, it is determined whether a user's driving scene reconstruction test instruction is received.
[0047] Specifically, in the embodiments of the present application, in order to improve the driving safety of users and avoid traffic accidents during driving, the sensors of the vehicle are used to continuously collect dangerous targets around the vehicle during vehicle driving. When it is detected that there are dangerous targets around the vehicle, such as vehicles, pedestrians and animals around the vehicle, the user is reminded in time to help the user take appropriate measures to avoid possible dangers. Therefore, driving scene reconstruction test of the vehicle is an important link for driving safety.
[0048] Further, in the test process of the vehicle of the embodiments of the present application, it is first determined whether a user's driving scene reconstruction test instruction is received, and then when the user's driving scene reconstruction test instruction is received, a vehicle test environment is built. In the test environment building, as Figure 2As shown, test components including a direct current stabilized power supply, a to-be-tested car machine, a display screen and a vehicle-mounted Ethernet converter are required. The direct current stabilized power supply respectively supplies power to the to-be-tested car machine, the display screen and the vehicle-mounted Ethernet converter. The vehicle-mounted Ethernet converter is respectively connected with the to-be-tested car machine and a computer terminal, and is used to send an emulated Ethernet ADAS (Advanced Driving Assistance System) signal to the to-be-tested car machine.
[0049] In step S102, if a driving scene reconstruction test instruction is received, the DDS service signal and the Ntf service signal are sent to the to-be-tested car machine by using a preset SOA service test tool, and an actual driving scene reconstruction result constructed by the to-be-tested car machine based on the DDS service signal and the Ntf service signal is obtained.
[0050] Further, in an embodiment of the present application, before the DDS service signal and the Ntf service signal are sent to the to-be-tested car machine by using the preset SOA service test tool, the following steps are further included: a scene reconstruction Ethernet signal of intelligent driving is sent to the to-be-tested car machine, and a power ON gear signal, a current gear signal and a current vehicle speed signal are continuously sent to the to-be-tested car machine by using a preset service simulation tool; it is judged whether the to-be-tested car machine simulates a real vehicle power-on state based on the power ON gear signal, and whether the to-be-tested car machine simulates a driving process based on the current gear signal and the current vehicle speed signal; if the to-be-tested car machine simulates the real vehicle power-on state based on the power ON gear signal, and simulates the driving process based on the current gear signal and the current vehicle speed signal, the DDS service signal and the Ntf service signal are sent to the to-be-tested car machine by using the preset SOA service test tool.
[0051] The preset service simulation tool can be a simulation tool used by a person skilled in the art according to actual test requirements, which is not specifically limited here.
[0052] Specifically, as shown in FIG. 1, the test system includes a direct current stabilized power supply 1, a to-be-tested car machine 2, a display screen 3 and a vehicle-mounted Ethernet converter 4. Figure 3As shown in the embodiment of this application, when receiving a driving scenario reconstruction test command issued by a user, the system sends a scene reconstruction Ethernet signal for intelligent driving to the vehicle under test through an onboard Ethernet converter. It also continuously sends a power ON signal, a current gear signal (e.g., D or R), and a current vehicle speed signal to the vehicle under test using a preset service simulation tool. The system determines whether the vehicle under test is simulating a real vehicle power-on state based on the power ON signal and whether it is simulating a driving process based on the current gear and current speed signals. If it detects that the vehicle under test is simulating a real vehicle power-on state based on the power ON signal and simulating a driving process based on the current gear and current speed signals, then it uses a preset SOA service test tool to simulate sending DDS service signals and NTF service signals to the vehicle under test. The system then obtains the actual driving scenario reconstruction result constructed by the vehicle under test based on the DDS service signals and NTF service signals, as well as the target driving scenario reconstruction result corresponding to the DDS service signals.
[0053] In this application embodiment, the actual driving scenario reconstruction result and the target driving scenario reconstruction result include at least one of simulated target scenario reconstruction, simulated road scenario reconstruction, simulated traffic light scenario reconstruction, and simulated traffic sign scenario reconstruction. In the actual driving scenario reconstruction result, if the target scenario is simulated, targets such as pedestrians, vehicles, animals, and props are sent to the vehicle-to-vehicle system under test; if the road scenario is simulated, targets such as lane correction alarm lines, centering lane lines, lane changing lane lines, ACC (Adaptive Cruise Control) lane lines, and cruise lane lines are sent to the vehicle-to-vehicle system under test; if the traffic light scenario is simulated, targets such as traffic lights for the left lane, the current lane, and the right lane, as well as pedestrian crossings, are sent to the vehicle-to-vehicle system under test; if the traffic sign scenario is simulated, prohibitory signs, warning signs, and instruction signs are sent to the vehicle-to-vehicle system under test.
[0054] Furthermore, in one embodiment of this application, after sending the DDS service signal and NTF service signal to the vehicle unit under test using a preset SOA service testing tool, the method further includes: determining whether the DDS service signal has changed; when the DDS service signal changes, broadcasting the signal change information based on a preset NTF method, and after the vehicle unit under test detects the signal change information, switching the parameter value of the DDS service signal according to the preset NTF method.
[0055] Specifically, in the embodiment of the present application, after the actual driving scene reconstruction result constructed by the DDS service signal and the Ntf service signal is received by the to-be-tested car machine, it is necessary to judge whether the DDS service signal changes, and when the DDS service signal changes, the server broadcasts the changed signal based on the preset Ntf method, and after the to-be-tested car machine monitors the signal change information, the to-be-tested car machine switches the corresponding display according to the parameter value in the Ntf method.
[0056] In step S103, a driving scene reconstruction test result is generated according to the actual driving scene reconstruction result and the target driving scene reconstruction result corresponding to the DDS service signal.
[0057] Further, in an embodiment of the present application, generating the driving scene reconstruction test result according to the actual driving scene reconstruction result and the target driving scene reconstruction result corresponding to the DDS service signal includes: judging whether the actual driving scene reconstruction result is same as the target driving scene reconstruction result; if the actual driving scene reconstruction result is same as the target driving scene reconstruction result, the driving scene reconstruction test result is success, otherwise, the driving scene reconstruction test result is failure.
[0058] Specifically, in the embodiment of the present application, after the actual driving scene reconstruction result constructed by the DDS service signal and the Ntf service signal is received by the to-be-tested car machine, it is necessary to judge whether the DDS service signal changes, and when the DDS service signal changes, the server broadcasts the changed signal based on the preset Ntf method, and after the to-be-tested car machine monitors the signal change information, the to-be-tested car machine switches the corresponding display according to the parameter value in the Ntf method.
[0059] According to the driving scene reconstruction test method in the embodiment of the present application, when the driving scene reconstruction test instruction of the user is received, the DDS service signal and the Ntf service signal are sent to the to-be-tested car machine by using the preset SOA service test tool, and the actual driving scene reconstruction result constructed based on the DDS service signal and the Ntf service signal is obtained, and the driving scene reconstruction test result is generated according to the actual driving scene reconstruction result and the target driving scene reconstruction result corresponding to the DDS service signal. Therefore, the problem that the communication mode based on the CAN signal is fixed, the service signal relationship is fixed, the real car test is slow, and the test efficiency is reduced is solved, the service signal is sent by the SOA service architecture to simulate the real car test environment and the complex road condition information, so as to reduce the test cost and improve the flexibility in the software test and update process.
[0060] Secondly, the driving scene reconstruction test device according to the embodiment of the application is described with reference to the drawings.
[0061] Figure 4 is a block schematic diagram of the driving scene reconstruction test device of the embodiment of the application.
[0062] As shown in Figure 4 , the driving scene reconstruction test device 10 comprises a judging module 100, an obtaining module 200 and a generating module 300.
[0063] The judging module 100 is configured to judge whether a driving scene reconstruction test instruction of a user is received.
[0064] The obtaining module 200 is configured to, if the driving scene reconstruction test instruction is received, send a DDS service signal and an Ntf service signal to a to-be-tested car machine by using a preset SOA service test tool, and obtain an actual driving scene reconstruction result constructed by the to-be-tested car machine based on the DDS service signal and the Ntf service signal; and
[0065] The generating module 300 is configured to generate a driving scene reconstruction test result according to the actual driving scene reconstruction result and a target driving scene reconstruction result corresponding to the DDS service signal.
[0066] Further, in an embodiment of the application, the generating module 300 comprises:
[0067] A first judging unit is configured to judge whether the actual driving scene reconstruction result is same as the target driving scene reconstruction result.
[0068] If the actual driving scene reconstruction result is same as the target driving scene reconstruction result, the driving scene reconstruction test result is success, otherwise, the driving scene reconstruction test result is failure.
[0069] Further, in an embodiment of the application, before the DDS service signal and the Ntf service signal are sent to the to-be-tested car machine by using the preset SOA service test tool, the obtaining module 200 further comprises a sending unit, a second judging unit and a simulating unit.
[0070] The sending unit is configured to send a scene reconstruction Ethernet signal of intelligent driving to the to-be-tested car machine, and continuously send a power ON gear signal, a current gear signal and a current vehicle speed signal to the to-be-tested car machine by using a preset service simulation tool.
[0071] The second judging unit is configured to judge whether the to-be-tested car machine simulates a real vehicle power-on state based on the power ON gear signal, and whether the to-be-tested car machine simulates a driving process based on the current gear signal and the current vehicle speed signal.
[0072] The simulation unit is configured to simulate a real vehicle power-on state based on a power-on gear signal of the vehicle to be tested, and simulate a driving process based on a current gear signal and a current vehicle speed signal, and send a DDS service signal and an Ntf service signal to the vehicle to be tested by using a preset SOA service test tool.
[0073] Further, in an embodiment of the present application, the actual driving scene reconstruction result includes at least one of a simulated target scene reconstruction, a simulated road scene reconstruction, a simulated traffic light scene reconstruction, and a simulated traffic sign scene reconstruction.
[0074] Further, in an embodiment of the present application, after the DDS service signal and the Ntf service signal are sent to the vehicle to be tested by using the preset SOA service test tool, the acquisition module 200 further includes a third judgment unit and a switching unit.
[0075] The third judgment unit is configured to judge whether the DDS service signal changes.
[0076] The switching unit is configured to broadcast signal change information based on a preset Ntf method when the DDS service signal changes, and switch the parameter value of the DDS service signal according to the Ntf method after the vehicle to be tested monitors the signal change information.
[0077] The driving scene reconstruction test device according to the embodiment of the present application receives a driving scene reconstruction test instruction from a user, sends a DDS service signal and an Ntf service signal to a vehicle to be tested by using a preset SOA service test tool, acquires an actual driving scene reconstruction result constructed based on the DDS service signal and the Ntf service signal, and generates a driving scene reconstruction test result according to the actual driving scene reconstruction result and a target driving scene reconstruction result corresponding to the DDS service signal. Thus, the problem of slow real vehicle test adjustment and low test efficiency caused by the fixed relationship between service signals based on the CAN signal communication mode is solved. The SOA service architecture is used to send service signals to simulate a real vehicle test environment and complex road condition information, thereby reducing the test cost and improving the flexibility in the software test and update process.
[0078] Figure 5 A structural diagram of a vehicle is provided in an embodiment of the present application. The vehicle can include:
[0079] The memory 501, the processor 502, and a computer program stored in the memory 501 and executable on the processor 502.
[0080] The processor 502 executes the program to implement the driving scene reconstruction test method provided in the above-described embodiments.
[0081] Further, the vehicle further includes:
[0082] The communication interface 503 is configured to communicate between the memory 501 and the processor 502.
[0083] The memory 501 is configured to store a computer program executable in the processor 502.
[0084] The memory 501 can include a high-speed RAM (Random Access Memory) memory, and can further include a nonvolatile memory, for example, at least one disk memory.
[0085] If the memory 501, the processor 502 and the communication interface 503 are independently implemented, the communication interface 503, the memory 501 and the processor 502 can be connected through a bus and complete communication between each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For convenience of representation, Figure 5 In the figure, only one thick line is used to represent that there is only one bus or only one type of bus.
[0086] Optionally, in a specific implementation, if the memory 501, the processor 502 and the communication interface 503 are integrated on a chip, the memory 501, the processor 502 and the communication interface 503 can complete communication between each other through an internal interface.
[0087] The processor 502 can be a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit) or one or more integrated circuits configured to implement one or more embodiments of the present application.
[0088] The embodiments of the present application further provide a computer readable storage medium, having stored thereon a computer program, which, when executed by a processor, implements the driving scene reconstruction test method as above.
[0089] In the description of the application, the description of the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the application. In the description of the application, the illustrative description of the above terms is not necessarily directed to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any appropriate manner in any one or N embodiments or examples. In addition, different embodiments or examples described in the description of the application and the features of different embodiments or examples can be combined and combined by those skilled in the art without contradiction.
[0090] In addition, the terms "first", "second" are only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include at least one of the features. In the description of the application, the meaning of "N" is at least two, for example, two, three, etc., unless otherwise specifically limited.
[0091] Any process or method descriptions in flow charts or otherwise described herein can be understood as representing code modules, segments, or portions of code that include one or more executable instructions for implementing the specified logical functions or steps, and the preferred embodiments of the application include additional or fewer steps or methods, as appropriate or desired, and that the steps or methods represented in flow charts can be implemented in an order different than those described herein, such that the order of some steps can be different, including use of some steps in reverse order, and some steps can be performed simultaneously or with partial concurrence, particularly when benefit can be gained from doing so. The description herein of certain examples does not preclude additional examples that can be implicit to one of ordinary skill in the art.
[0092] It should be understood that portions of the application can be implemented in hardware, software, firmware, or combinations thereof. In the above embodiments, the N steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. As in another embodiment implemented in hardware, any of the following technologies known in the art or their combinations can be used: discrete logic circuit with logic gate circuit for implementing logical functions on data signals, application specific integrated circuit with suitable combination logic gate circuit, programmable gate array, field programmable gate array, etc.
[0093] Those skilled in the art of the art can understand that all or part of the steps carried out by the above-mentioned embodiment method can be completed by a program instructing the relevant hardware, and the program can be stored in a computer readable storage medium. The program, when executed, includes one or a combination of steps of the method embodiment.
[0094] Although the embodiments of the present application have been shown and described above, it is understood that the above-described embodiments are exemplary and are not to be construed as limiting the present application, and that changes, modifications, substitutions and variations can be made by those skilled in the art without departing from the scope of the present application.
Claims
1. A method of driving scenario reconstruction testing, characterized in that, The method comprises the following steps: determining whether a user's driving scene reconstruction test instruction is received; if the driving scene reconstruction test instruction is received, sending a signal generator DDS service signal and an Ntf service signal to a to-be-tested car machine by using a preset service-oriented architecture SOA service test tool, and obtaining an actual driving scene reconstruction result constructed by the to-be-tested car machine based on the DDS service signal and the Ntf service signal; and generating a driving scene reconstruction test result according to the actual driving scene reconstruction result and a target driving scene reconstruction result corresponding to the DDS service signal; the generating of the driving scene reconstruction test result according to the actual driving scene reconstruction result and the target driving scene reconstruction result corresponding to the DDS service signal comprises: determining whether the actual driving scene reconstruction result is the same as the target driving scene reconstruction result; if the actual driving scene reconstruction result is the same as the target driving scene reconstruction result, the driving scene reconstruction test result is successful, otherwise, the driving scene reconstruction test result is failed; before the DDS service signal and the Ntf service signal are sent to the to-be-tested car machine by using the preset SOA service test tool, the method further comprises: sending a scene reconstruction Ethernet signal of intelligent driving to the to-be-tested car machine, and continuously sending a power ON gear signal, a current gear signal and a current vehicle speed signal to the to-be-tested car machine by using a preset service simulation tool; determining whether the to-be-tested car machine simulates a real vehicle power-on state based on the power ON gear signal, and whether the to-be-tested car machine simulates a driving process based on the current gear signal and the current vehicle speed signal; if the to-be-tested car machine simulates the real vehicle power-on state based on the power ON gear signal, and simulates the driving process based on the current gear signal and the current vehicle speed signal, the DDS service signal and the Ntf service signal are sent to the to-be-tested car machine by using the preset SOA service test tool; the actual driving scene reconstruction result comprises at least one of a simulation target scene reconstruction, a simulation road scene reconstruction, a simulation traffic light scene reconstruction and a simulation traffic sign scene reconstruction.
2. The method of claim 1, wherein, after the DDS service signal and the Ntf service signal are sent to the to-be-tested car machine by using the preset SOA service test tool, the method further comprises: determining whether the DDS service signal changes; when the DDS service signal changes, broadcasting signal change information based on a preset Ntf method, and after the to-be-tested car machine monitors the signal change information, switching a parameter value of the DDS service signal according to the preset Ntf method.
3. A driving scenario reconstruction test apparatus adapted to implement the driving scenario reconstruction test method according to any one of claims 1-2, characterized in that, comprise: a determination module configured to determine whether a user's driving scene reconstruction test instruction is received; an obtaining module configured to, if the driving scene reconstruction test instruction is received, send a DDS service signal and an Ntf service signal to a to-be-tested car machine by using a preset service-oriented architecture SOA service test tool, and obtain an actual driving scene reconstruction result constructed by the to-be-tested car machine based on the DDS service signal and the Ntf service signal; and The generating module is configured to generate a driving scene reconstruction test result according to a target driving scene reconstruction result corresponding to the DDS service signal and the actual driving scene reconstruction result.
4. The apparatus of claim 3, wherein, The generating module comprises: A first judging unit is configured to judge whether the actual driving scene reconstruction result is the same as the target driving scene reconstruction result. If the actual driving scene reconstruction result is the same as the target driving scene reconstruction result, the driving scene reconstruction test result is successful, otherwise, the driving scene reconstruction test result is failed.
5. The apparatus of claim 3, wherein, Before the DDS service signal and the Ntf service signal are sent to the to-be-tested car machine by using the preset SOA service test tool, the obtaining module further comprises: A sending unit is configured to send a scene reconstruction Ethernet signal of intelligent driving to the to-be-tested car machine, and continuously send a power ON gear signal, a current gear signal and a current vehicle speed signal to the to-be-tested car machine by using a preset service simulation tool; A second judging unit is configured to judge whether the to-be-tested car machine simulates a real vehicle power-on state based on the power ON gear signal, and whether the to-be-tested car machine simulates a driving process based on the current gear signal and the current vehicle speed signal; A simulating unit is configured to, if the to-be-tested car machine simulates a real vehicle power-on state based on the power ON gear signal, and simulates a driving process based on the current gear signal and the current vehicle speed signal, send the DDS service signal and the Ntf service signal to the to-be-tested car machine by using the preset SOA service test tool.
6. A vehicle characterized by comprising: The computer program is stored in the memory and executable on the processor, and the processor executes the program to implement the driving scene reconstruction test method according to any one of claims 1-2. The program is executed by the processor to implement the driving scene reconstruction test method according to any one of claims 1-2.
7. A computer-readable storage medium having stored thereon a computer program, characterized in that
Citation Information
Patent Citations
Vehicle behavior continuous tracking detection system and method based on radar group
CN110542898A
Test method, device, system and equipment for autonomous vehicle
CN113820144A