A vehicle networking scene test method and device, computer equipment and storage medium

By generating virtual traffic scenarios through digital twin scene simulation and superimposing channel interference factors, dynamic response data acquisition is triggered, which solves the problem of the disconnect between communication and vehicle simulation in vehicle networking testing, and realizes full-link closed-loop testing and efficient fault location.

CN123164476APending Publication Date: 2026-11-24国汽智端(成都)科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611307839.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-26
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In existing vehicle networking testing solutions, communication simulation and vehicle control simulation are isolated from each other, lacking a unified spatiotemporal benchmark and synchronization mechanism. This leads to difficulties in tracing system-level problems, low testing efficiency, and an inability to meet the automated verification requirements of high-level collaborative scenarios.

Method used

A virtual traffic scenario is generated by a digital twin scenario simulation terminal. The original vehicle network message is broadcast and channel interference factors are superimposed to generate a simulated radio frequency signal, which triggers the device under test to output dynamic response data. During the closed-loop iteration process, full-link test data is collected and jointly analyzed to generate a test report.

Benefits of technology

It achieves closed-loop testing across the entire chain, from scenario generation to vehicle state adjustment, enabling comprehensive performance evaluation at the system level, providing integrated test judgment, and improving testing efficiency and fault location capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123164476A_ABST
    Figure CN123164476A_ABST
Patent Text Reader

Abstract

This invention relates to the field of vehicle-to-everything (V2X) technology and discloses a method, apparatus, computer equipment, and storage medium for testing V2X scenarios. The method includes: generating a virtual traffic scenario based on a digital twin scenario simulation terminal, and continuously broadcasting original V2X messages and real-time road traffic topology data within it; superimposing channel interference factors on the original V2X messages according to the real-time road traffic topology data to generate a simulated radio frequency (RF) signal; using the simulated RF signal to trigger the device under test (DUT) to output dynamic response data, and updating the vehicle operating parameters in the virtual traffic scenario based on this data; collecting end-to-end test data during the closed-loop iteration process, and performing joint analysis on the data after the test cases are executed to generate a test report. This invention solves the problem of existing V2X testing where communication simulation and vehicle control simulation are disconnected, test data is isolated, and system-level closed-loop verification and efficient fault location are impossible.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle networking technology, and specifically to a vehicle networking scenario testing method, apparatus, computer equipment, and storage medium. Background Technology

[0002] Cellular Vehicle-to-Everything (C-V2X) technology encompasses two generations of standards: Long Term Evolution Vehicle-to-Everything (LTE-V2X) and New Radio Vehicle-to-Everything (NR-V2X). Relying on PC5 direct communication, it enables beyond-line-of-sight warnings between vehicles, between vehicles and infrastructure, and between vehicles and pedestrians, serving as a core support for high-level autonomous driving and intelligent transportation systems. However, existing testing schemes separate communication simulations from vehicle dynamics simulations, with test data collected from different devices at various stages. The lack of a unified spatiotemporal reference and synchronization mechanism prevents the achievement of closed-loop testing and integrated fault analysis across the entire chain, from scenario generation and air interface transmission to onboard warnings and vehicle control response. This results in difficulties in tracing system-level problems, low testing efficiency, and an inability to meet the automated verification requirements of high-level collaborative scenarios. Summary of the Invention

[0003] In view of this, embodiments of the present invention provide a method, apparatus, computer equipment and storage medium for testing vehicle-to-everything (V2X) scenarios, in order to solve the problems of communication simulation and vehicle control simulation being disconnected and test data being isolated in existing V2X testing, which makes it impossible to achieve system-level closed-loop verification and efficient fault location.

[0004] In a first aspect, embodiments of the present invention provide a method for testing vehicle-to-everything (V2X) scenarios, the method comprising: A virtual traffic scenario is generated based on the pre-configured operating parameters of the digital twin scenario simulation terminal, and the original vehicle network messages and real-time road traffic topology data are continuously broadcast in the virtual traffic scenario. Based on the real-time road traffic topology data, channel interference factors are superimposed on the original vehicle network messages to generate simulated radio frequency signals; The simulated radio frequency signal is used to trigger the device under test to output corresponding dynamic response data, and the vehicle operation parameters in the virtual traffic scenario are updated based on the dynamic response data; During the simulation and closed-loop iteration process, full-link test data is collected, and after the test cases are executed, the full-link test data is jointly analyzed to generate a test report.

[0005] Furthermore, the step of superimposing channel interference factors on the original vehicle-to-everything (V2X) message based on the real-time road traffic topology data to generate a simulated radio frequency signal includes: The original vehicle network message is preprocessed in parallel through the first radio frequency channel and the second radio frequency channel to obtain the preprocessed vehicle network message. The dynamic disturbance amount at the current moment is determined based on the real-time road traffic topology data. Based on the dynamic interference amount, the channel interference factor is superimposed on the preprocessed vehicle network message to obtain two-mode signals after superimposing the channel interference factor. The two signal formats are combined, and the long-distance transmission RF loss is simulated to obtain the simulated RF signal.

[0006] Furthermore, the step of triggering the device under test to output corresponding dynamic response data using the simulated radio frequency signal includes: The simulated radio frequency signal is output to the device under test; The simulated radio frequency signal is parsed and risk identified by the device under test to obtain the collaborative perception judgment result. Based on the collaborative perception judgment results, generate vehicle warning signals and / or collaborative control commands; The vehicle warning signals and / or cooperative control commands are analyzed using the vehicle dynamics model, and the vehicle bus signals are simulated and output. Based on the vehicle bus signal, the original vehicle operating parameters maintained inside the vehicle dynamics model are updated to obtain the dynamic response data.

[0007] Furthermore, updating the vehicle operating parameters in the virtual traffic scenario based on the dynamic response data includes: The dynamic response data is then transmitted back to the digital twin scene simulation terminal. The target vehicle's operating parameters are obtained by analyzing the dynamic response data through the digital twin scene simulation terminal. Based on the target vehicle's operating parameters, locate the corresponding target vehicle in the virtual traffic scenario; The target vehicle's operating parameters in the virtual traffic scenario are adjusted using the target vehicle's operating parameters.

[0008] Furthermore, the collection of end-to-end test data includes: During the simulation operation and closed-loop iteration, raw test data is collected, including at least one of the following: radio frequency transmission indicators, message transmission delay, message packet loss rate, positioning error, bus message, early warning response delay, braking intervention effect, spectrum preemption status, and channel congestion status. The original test data is associated with a unified timestamp to generate the full-link test data.

[0009] Furthermore, after collecting end-to-end test data, the method also includes: Check whether the pre-configured test cases have been executed. If there are unexecuted test cases, the pre-configured operating condition parameters and channel interference parameters of the digital twin scenario simulation terminal are updated, the virtual traffic scenario is regenerated, and the generation of simulated radio frequency signals, triggering the output of dynamic response data of the device under test, updating the vehicle operation parameters in the virtual traffic scenario, and collecting full-link test data are iteratively executed until the test cases are completed.

[0010] Furthermore, the joint analysis of the end-to-end test data to generate a test report includes: Retrieve a pre-trained data degradation analysis model; The abnormal features in the end-to-end test data are identified by the data degradation analysis model, and the causes and occurrence conditions of the abnormal features are analyzed. The causes and occurrence conditions of the abnormal features are used as the results of the abnormal analysis. The detection report is obtained by integrating the end-to-end test data, the abnormal features, and the abnormal analysis results.

[0011] Secondly, embodiments of the present invention provide a vehicle-to-everything (V2X) scenario testing device, the device comprising: The generation module is used to generate a virtual traffic scenario based on the pre-configured operating parameters of the digital twin scenario simulation terminal, and continuously broadcast the original vehicle network messages and real-time road traffic topology data in the virtual traffic scenario. The simulation module is used to superimpose channel interference factors on the original vehicle network messages based on the real-time road traffic topology data to generate simulated radio frequency signals; The feedback module is used to trigger the device under test to output corresponding dynamic response data using the simulated radio frequency signal, and to update the vehicle operation parameters in the virtual traffic scenario based on the dynamic response data. The analysis module is used to collect end-to-end test data during simulation and closed-loop iteration, and to perform joint analysis on the end-to-end test data after the test cases are executed to generate a test report.

[0012] Thirdly, embodiments of the present invention provide a computer device, including: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the method described in the first aspect or any corresponding embodiment thereof.

[0013] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing computer instructions that cause a computer to perform the method described in the first aspect or any of its corresponding embodiments.

[0014] The method provided in this application has the following beneficial effects: The method provided in this application generates a virtual traffic scenario based on pre-configured operating parameters from a digital twin scenario simulation terminal. It continuously broadcasts original vehicle-to-everything (V2X) messages and real-time road traffic topology data within the virtual traffic scenario. This transforms static operating parameters into dynamically evolving scenario states and continuously outputting data streams, providing temporally continuous and spatially variable input excitation for subsequent signal processing. By superimposing channel interference factors onto the original V2X messages based on real-time road traffic topology data to generate simulated radio frequency (RF) signals, the output simulated RF signals carry interference characteristics corresponding to the real-time scenario states, avoiding the disconnect between pure digital excitation and real RF propagation. Furthermore, by utilizing simulated RF signals… The system triggers the device under test (DUT) to output corresponding dynamic response data and updates the vehicle operation parameters in the virtual traffic scenario based on this data. This transforms the DUT's response to RF input into a real-time correction of the vehicle's operating state in the scenario. Closed-loop adjustments are then made based on the dynamic response data to maintain a dynamic match between the scenario and the device's behavior. By collecting end-to-end test data during simulation and closed-loop iteration, and performing joint analysis on the end-to-end test data after the test cases are executed, a test report is generated. This allows for the evaluation of the entire link's performance from message generation to vehicle state adjustment at the system level, and outputs quantitative conclusions in the form of a test report, achieving integrated test judgment. Attached Figure Description

[0015] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0016] Figure 1 This is a flowchart illustrating a vehicle-to-everything (V2X) scenario testing method according to an embodiment of the present invention. Figure 2 This is a schematic diagram of the C-V2X full-scenario automated testing system architecture that integrates channel simulation and digital twin according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the internal hardware topology of the dual-mode 5.9GHz channel simulation subsystem according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the C-V2X automated testing process according to an embodiment of the present invention; Figure 5 This is a structural block diagram of a vehicle-to-everything (V2X) scenario testing device according to an embodiment of the present invention; Figure 6 This is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. Detailed Implementation

[0017] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0018] According to embodiments of the present invention, a method, apparatus, computer device, and storage medium for testing vehicle networking scenarios are provided. It should be noted that the steps shown in the flowcharts in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0019] This embodiment provides a testing method for vehicle-to-everything (V2X) scenarios. Figure 1 This is a flowchart of a vehicle-to-everything (V2X) scenario testing method according to an embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps: Step S101: Generate a virtual traffic scenario based on the pre-configured operating parameters of the digital twin scenario simulation terminal, and continuously broadcast the original vehicle network messages and real-time road traffic topology data in the virtual traffic scenario.

[0020] In this embodiment, the digital twin scenario simulation terminal refers to a simulation computing unit that constructs a virtual space that maps to the real traffic environment, based on high-precision road maps, traffic participant models, and vehicle dynamics models. It is responsible for generating and maintaining the traffic flow topology and participant states in the virtual traffic scenario. The virtual traffic scenario refers to a dynamic three-dimensional or two-dimensional traffic environment model constructed by the digital twin scenario simulation terminal, containing traffic elements such as road geometry, lane topology, traffic signals, virtual vehicles, and pedestrians. Operating parameters refer to a pre-configured set of conditions describing a specific test scenario, including but not limited to adjustable variables such as traffic density, vehicle speed, obstacle occlusion location, pedestrian conflict type, weather, and lighting conditions. The original vehicle-to-everything (V2X) message refers to the basic message conforming to the C-V2X communication protocol, generated in real time by the digital twin scenario simulation terminal based on the operating status of virtual vehicles and roadside units in the virtual traffic scenario. This message includes standardized message content such as BSM basic safety messages, SPAT traffic light phase and timing messages, and SSM cooperative perception messages. Real-time road traffic topology data refers to structured traffic flow information such as the dynamic spatial coordinates, motion vectors (speed and heading), relative distance and angle, lane occupancy status, and road congestion level of each traffic participant at any given moment in a virtual traffic scenario.

[0021] First, a high-precision road map file is imported or loaded into the digital twin scene simulation terminal to establish the basic geographic framework of the virtual traffic scene, including intersection morphology, number of lanes, speed limit signs, and traffic light phase logic. Then, based on pre-configured operating parameters, a corresponding number of traffic participant objects are instantiated within the constructed road geographic framework, including virtual vehicles (with independent dynamic models) and virtual pedestrians (with random movement models). Each participant object is assigned an initial position, speed, heading, and travel path plan. This instantiation process supports the parallel generation of no fewer than 200 virtual OBUs and roadside RSUs to simulate high-density traffic flow scenarios. After instantiation is complete, the digital twin scene simulation terminal starts the main loop of the scene operation, advancing the timeline of the virtual traffic scene at fixed time steps, updating the motion state of each traffic participant in real time, and detecting spatiotemporal conflicts between participants. Within each time step, the digital twin scenario simulation terminal generates corresponding original vehicle-to-everything (V2X) messages based on the motion state and perception range of all virtual vehicles and roadside units at the current moment, and encodes them according to the 3GPP standard protocol format. Simultaneously, it extracts the spatial positions, velocity vectors, relative distances, and topological connections of all participants in the current virtual traffic scenario, forming structured real-time road traffic topology data. Finally, the digital twin scenario simulation terminal continuously broadcasts the aforementioned original V2X messages and real-time road traffic topology data in hard real-time via a real-time Ethernet interaction link, ensuring that downstream modules receive input data streams perfectly aligned with the virtual scenario clock.

[0022] Figure 2 A schematic diagram of the C-V2X full-scenario automated testing system architecture integrating channel simulation and digital twin is shown below. Figure 2 As shown, the digital twin scenario simulation module (1) outputs simulation scenario data, one of which is transmitted to the integrated test control and data analysis platform via a real-time Ethernet interactive link (7), and the other is sent to the dual-mode 5.9GHz channel simulation subsystem (2); the GNSS high-precision signal simulation unit (3) receives the channel simulation subsystem instructions and outputs Beidou and GPS multi-mode positioning signals to provide spatiotemporal verification basis for the first RF channel, the second RF channel, the device under test and the vehicle HIL dynamic closed-loop unit (4); the 1PPS clock synchronization computer common channel (6) provides a unified clock reference for all hardware units, with a global synchronization error ≤100ns; the vehicle HIL dynamic closed-loop unit (4) receives the data via the real-time Ethernet interactive link (7). The control platform schedules the signal and forms a dynamic closed loop with the OBU / RSU under test. After receiving the warning signal and the cooperative control command, it outputs the vehicle bus signal to drive the vehicle dynamic model update. At the same time, it sends the dynamic response data back to the digital twin scene simulation module (1). The OBU / RSU under test transmits and receives signals back to the dual-mode 5.9GHz channel simulation subsystem (2) to complete the radio frequency closed loop and realize the full-link closed loop of scene generation, radio frequency transmission, vehicle warning and vehicle control. The integrated test management and data analysis platform is responsible for coordinating the parameter configuration, real-time data acquisition, status management and test result analysis of each subsystem. The whole set of hardware relies on the clock synchronization channel to achieve time alignment and builds a vehicle network hardware-in-the-loop automated test environment that can reproduce the road traffic environment.

[0023] Step S102: Based on real-time road traffic topology data, channel interference factors are superimposed on the original vehicle network messages to generate simulated radio frequency signals.

[0024] In this embodiment of the application, based on real-time road traffic topology data, channel interference factors are superimposed on the original vehicle network messages to generate simulated radio frequency signals, including: Step A1: Perform parallel preprocessing on the original vehicle network message through the first radio frequency channel and the second radio frequency channel to obtain the preprocessed vehicle network message.

[0025] Specifically, the first radio frequency channel refers to the radio frequency front-end link dedicated to processing the LTE-V standard physical layer protocol, which contains an independent baseband modulator, digital-to-analog converter, and up-conversion module; the second radio frequency channel refers to the independent parallel radio frequency front-end link dedicated to processing the NR-V2X standard physical layer protocol, which has hardware resources equivalent to the first radio frequency channel but is configured according to the 5G NR parameter set; preprocessing refers to performing digital signal processing operations, including encoding, rate matching, modulation mapping, multi-carrier symbol generation, and spectrum shaping, on the vehicle networking protocol messages in the digital domain according to the 3GPP physical layer specifications of their respective standards, converting them into baseband radio frequency signals that meet the requirements of standard time slot structure and power spectral density.

[0026] By splitting the original vehicle-to-everything (V2X) messages continuously broadcast by the digital twin scenario simulation terminal according to protocol type, LTE-V format messages are sent to the first radio frequency channel, and NR-V2X format messages are sent to the second radio frequency channel. The two channels then start parallel and independent preprocessing processes. The first radio frequency channel sequentially performs physical layer cyclic redundancy check (CRC) addition, Turbo coding, rate matching, interleaving, and QPSK / 16QAM constellation modulation on the received LTE-V message. Then, SC-FDMA symbol generation is completed according to the 15kHz subcarrier spacing set in the LTE-V standard. The coded bits are mapped to the specified time-frequency resource block and a demodulation reference signal is inserted. Finally, a cyclic prefix is ​​added to form a baseband symbol sequence with a complete subframe structure. At the same time, the second radio frequency channel performs low-density parity check coding, code block segmentation and rate matching, scrambling, and higher-order quadrature amplitude modulation on the received NR-V2X message. Then, OFDM symbols are generated according to the configurable subcarrier spacing (e.g., 30kHz or 60kHz) in the NR-V2X standard. Resource grid mapping, phase tracking reference signal, and demodulation reference signal insertion are completed. The generated time-domain signal is then subjected to cyclic prefix addition and time-domain windowing to suppress out-of-band leakage. After each channel completes its baseband symbol sequence generation, it orthogonally upconverts the digital baseband signal to the center frequency of a different sub-band within the 5.9GHz intelligent transportation system frequency band using its internal upconversion module. Simultaneously, based on pre-configured operating parameters (including center frequency, transmit power level, bandwidth, and gain status), it performs digital predistortion correction and bandpass filtering to compensate for subsequent power amplifier nonlinearity and eliminate adjacent channel spurious signals. After completing all the above frequency conversion and filtering operations, the first and second RF channels each output analog RF signals that have undergone complete physical layer encapsulation, possess correct time slot timing synchronization, standard subcarrier spacing, and stable output power levels. These two signals constitute the pre-processed vehicle-to-everything (V2X) messages and can be directly output to the subsequent channel interference superposition stage.

[0027] Step A2: Determine the dynamic disturbance amount corresponding to the current moment based on real-time road traffic topology data.

[0028] Specifically, the current moment refers to the instantaneous simulation time node reached by the main loop of the digital twin scenario simulation end, calibrated by a unified clock reference latched by the global clock synchronization bus. Dynamic interference refers to the combination of channel degradation parameters calculated at each instant based on the relative motion state of the transmitting and receiving parties and the propagation path environment at the current moment. It covers the Doppler frequency shift caused by relative radial velocity, path loss and shadow fading determined by spatial distance and obstacle obstruction, time delay spread determined by peripheral scattering distribution, and adjacent channel interference power level determined by the number of concurrent vehicles on the same frequency.

[0029] By extracting the spatial straight-line distance and relative radial velocity components between the virtual traffic participants at the transmitting end and the device under test at the receiving end from real-time road traffic topology data, the Doppler frequency shift at the current moment is calculated by multiplying the relative radial velocity value by the carrier frequency and dividing by the speed of light. By combining the spatial straight-line distance with the height and distribution spacing of buildings on both sides of the road contained in the topology data, it is determined whether the current propagation path belongs to the line-of-sight or non-line-of-sight category, and then the path loss index and shadow fading margin are calculated according to the corresponding urban microcell channel model. By statistically analyzing the number and distribution density of scatterers (including virtual vehicles and roadside facilities) within a preset radius around the transmitting end, the multipath component arrival angle and relative delay spectrum are estimated, and the root mean square delay spread value is determined. In addition, the number of other virtual vehicles communicating concurrently in the current working frequency band and their transmission power levels are read from the topology data, and the co-channel interference power estimate is obtained by accumulating them. By combining the aforementioned Doppler frequency shift, path loss exponent, shadow fading margin, root mean square delay spread, and co-channel interference power level into a multi-dimensional parameter vector, a dynamic interference quantity that strictly corresponds to the current moment is obtained. This dynamic interference quantity is synchronously refreshed with each frame of real-time road traffic topology data and output to the subsequent channel superposition stage.

[0030] Step A3: Based on the dynamic interference amount, channel interference factors are superimposed on the preprocessed vehicle network messages to obtain two-mode signals after superimposing channel interference factors.

[0031] Specifically, preprocessed vehicular network (V2X) messages refer to baseband radio frequency (RF) signals that have undergone physical layer encoding, modulation, and up-conversion to the 5.9 GHz band, possessing a standard time slot structure and stable output power level. Channel interference factors refer to the sum of various physical effects affecting signal quality in a simulated real wireless propagation environment, including but not limited to frequency offset introduced by relative motion, delay spread and amplitude fluctuations caused by multipath propagation, reduced received power due to large-scale distance attenuation, adjacent channel interference caused by co-channel transmission from surrounding vehicles, and electromagnetic noise radiated by onboard electronic devices. Dual-mode signals refer to RF output signals that respectively carry LTE-V protocol content and NR-V2X protocol content, each independently superimposed with complete channel impairment characteristics.

[0032] At the output node of the pre-processed vehicle network message, the LTE-V standard radio frequency signal output from the first radio frequency channel and the NR-V2X standard radio frequency signal output from the second radio frequency channel are respectively sent to their respective independent channel impairment superposition units, and the two superposition processes are executed synchronously and in parallel. By parsing the dynamic interference quantity into a Doppler frequency shift control word, a complex sine rotation factor of the corresponding frequency is generated using a numerically controlled oscillator, and a complex multiplication operation is performed with the pre-processed radio frequency signal at the digital intermediate frequency to introduce a corresponding frequency domain offset in the signal spectrum, thus reproducing the carrier frequency drift caused by the relative radial velocity of the transceiver. By extracting the root mean square delay spread value and path loss index from the dynamic interference quantity, the tap delay amount, attenuation coefficient, and Rice factor of each tap delay line model are configured in the multipath simulation subunit. The pre-processed signal is passed through the finite impulse response filter, so that the original signal is superimposed with multipath delay spread and amplitude Rayleigh / Rice fading. At the same time, the path loss index and the transceiver distance are used to calculate the large-scale path loss attenuation, and the signal after passing through the multipath module is adjusted in real time by a numerically controlled attenuator. The output level; by generating additive white Gaussian noise or narrowband interference signal with corresponding power spectral density in the electromagnetic interference superposition unit according to the power level of co-frequency interference contained in the dynamic interference quantity, and superimposing it with the signal after Doppler and multipath processing in the power domain, the superimposed composite signal is then filtered out for out-of-band spurious signals by a bandpass filter; the same set of superposition processes is executed for the first channel and the second channel respectively, and finally, an LTE-V standard radio frequency signal superimposed with Doppler frequency offset, multipath fading, path loss and electromagnetic interference is obtained at the output end of the first radio frequency channel, and an NR-V2X standard radio frequency signal superimposed with the same type but with independently calculated parameters is obtained at the output end of the second radio frequency channel. These two signals are output to the subsequent combining unit as two standard signals after superimposing channel interference factors.

[0033] Step A4: Combine the two signal formats and simulate the radio frequency loss during long-distance transmission to obtain a simulated radio frequency signal.

[0034] Specifically, merging refers to the incoherent superposition of two radio frequency signals from different frequency bands or sub-bands in the power domain using a radio frequency combiner switch, synthesizing them into a single broadband composite radio frequency signal; long-distance transmission radio frequency loss refers to the total power attenuation of simulated wireless signals as the propagation distance increases in free space and complex environments, covering basic path spread loss, diffraction loss, and additional attenuation due to penetration through buildings / vegetation; simulated radio frequency signal refers to the composite test excitation signal ultimately output from the radio frequency output interface to excite the device under test, which fully preserves all channel characteristics including dual-mode protocol content, multipath interference, Doppler frequency offset, electromagnetic interference, and large-scale path loss.

[0035] The LTE-V signal, after being superimposed with channel interference, output from the first RF channel, and the NR-V2X signal, after being superimposed with channel interference, output from the second RF channel, are respectively fed into two independent input ports of an RF combiner. This combiner employs a broadband power combining network and has an internal input port isolation design with an isolation level of not less than 30dB, enabling incoherent superposition of the two signals in the power domain at the output port. The combined signal is then output from a common output port. Subsequently, this combined signal is sequentially connected to an air interface attenuation adjustment unit. This unit comprises a two-stage structure of a digital step attenuator and a precision adjustable attenuator. By analyzing the spatial straight-line distance between the virtual vehicle at the transmitting end and the device under test at the receiving end contained in the real-time road traffic topology data, and combining this with the penetration loss factor corresponding to the obstacle distribution (such as building walls and tree obstructions) set in the virtual scene, based on standard urban... The microcell path loss model calculates the total RF loss for long-distance transmission. This value is quantized and mapped to the coarse-tuning step control word of the digital step attenuator and the fine-tuning voltage control of the precision adjustable attenuator, ensuring precise amplitude compression of the composite signal as it passes through the air interface attenuation adjustment unit. During attenuation adjustment, the attenuation amount is synchronously updated via a 1PPS clock synchronization bus-locked timestamp, ensuring that the loss switching time corresponding to each frame's virtual scene position change is strictly aligned with the global clock reference, avoiding the introduction of additional time delay jitter. The attenuated composite signal is then fed into the final stage broadband linear power amplifier for output power compensation. A bandpass filter removes out-of-band spurious and harmonic components generated during combining and attenuation. The final RF signal, after filtering and power calibration, is output from the RF output interface to the device under test, which is the simulated RF signal.

[0036] Figure 3 This is a schematic diagram of the internal hardware topology of the dual-mode 5.9GHz channel simulation subsystem, as shown below. Figure 3 As shown, the original V2X message is sent to the LTE-V radio frequency processing channel (201) and the NR-V2X radio frequency processing channel (202) respectively. After the two channels complete the radio frequency preprocessing in parallel, they send the signals to the multipath interference / Doppler simulation unit (203) to simulate the multipath delay spread and Doppler frequency offset in scenarios such as urban canyons and high-speed movement, and then connect the vehicle electromagnetic interference signal. The signal then enters the electromagnetic interference superposition unit (204) to superimpose various electromagnetic noises and co-channel interference. The superimposed two-mode signals are sent to the radio frequency combiner switch (205) for power domain merging. The combined composite signal is adjusted by the air interface attenuation adjustment unit (206) to adjust the long-distance transmission radio frequency loss. Finally, the simulated radio frequency signal is output to the OBU / RSU under test through the radio frequency output interface (207) to reproduce the dual-mode vehicle-to-vehicle communication channel conditions under real road environment.

[0037] In this embodiment of the application, before performing parallel preprocessing of the original vehicle network message through the first radio frequency channel and the second radio frequency channel, the method further includes: configuring the operating parameters of the first radio frequency channel and the second radio frequency channel, activating the clock synchronization bus, connecting the first radio frequency channel, the second radio frequency channel, the digital twin scene simulation terminal, and the vehicle dynamics model to a unified clock source to complete global clock calibration; configuring the operating parameters of the satellite navigation signal simulation unit, generating a spatiotemporal reference signal, and providing a spatiotemporal verification basis for the first radio frequency channel, the second radio frequency channel, the device under test, and the vehicle dynamics model.

[0038] Specifically, the clock synchronization bus refers to a global hardware synchronization distribution network built on a 1PPS (pulse per second) signal; the unified clock source refers to a central timing unit that provides a high-precision reference clock for all access modules; global clock calibration refers to the process of aligning the internal clock phase of each module with the reference edge of the unified clock source through the synchronization bus and compensating for the time delay difference of the transmission cable; the satellite navigation signal simulation unit refers to a hardware device that can generate BeiDou and GPS multi-mode satellite positioning simulation signals; the spatiotemporal reference signal refers to a composite navigation radio frequency signal that contains precise time information and three-dimensional spatial coordinate timing information; and the spatiotemporal verification basis refers to a reference source for each module to correct its own timestamp and positioning calculation reference.

[0039] By pre-setting the reference transmit power level and bandwidth of the 5.9GHz sub-band center frequency corresponding to the LTE-V standard (e.g., a specified frequency point in the range of 5905MHz to 5925MHz) for the first RF channel in the master control software interface, and simultaneously inputting the other sub-band center frequency corresponding to the NR-V2X standard (e.g., a specified frequency point in the range of 5925MHz to 5945MHz) for the second RF channel, and configuring its subcarrier spacing (30kHz or 60kHz) and corresponding gain state, the basic operating parameters of the physical layer of their respective protocol stacks are solidified for both channels. By activating the timing output port of the clock synchronization bus, the 1PPS pulse signal is distributed via an equal-length coaxial cable to the synchronization input interfaces of the first RF channel, the second RF channel, the digital twin scenario simulation terminal, and the vehicle dynamics model. Upon receiving the rising edge of the 1PPS, each access module immediately latches its internal time base counter and aligns it to the second-level reference of the unified clock source, while simultaneously transmitting bidirectional signals. The propagation delay of the cables between each module and the clock source is measured, and the measured delay offset is written into the internal delay compensation register of each module to ensure that the local time of all modules does not exceed 100ns relative to the unified clock source, thereby completing the global clock calibration. Based on the starting latitude and longitude coordinates set in the current virtual traffic scenario and the simulation starting UTC time, the Doppler offset, ionospheric delay parameters and satellite ephemeris data of the satellite navigation signal simulation unit are configured. After the navigation signal generation is started, the unit radiates outward a Beidou / GPS dual-mode radio frequency signal containing precise time and position information. This radio frequency signal is simultaneously fed to the navigation signal input ports of the first radio frequency channel, the second radio frequency channel, the device under test, and the vehicle dynamics model through a power divider. After decoding the navigation message, each receiving end uses the standard spatiotemporal information contained in the signal as a reference to correct the timestamp marking algorithm and positioning coordinate calculation offset of its own message in real time, ensuring that subsequent full-link data acquisition and closed-loop control are carried out in the same spatiotemporal coordinate system.

[0040] Step S103: Use simulated radio frequency signals to trigger the device under test to output corresponding dynamic response data, and update the vehicle operation parameters in the virtual traffic scene based on the dynamic response data.

[0041] In this embodiment of the application, the device under test is triggered to output corresponding dynamic response data using a simulated radio frequency signal, including: Step B1: Output simulated radio frequency signals to the device under test.

[0042] Specifically, the device under test refers to the C-V2X on-board unit (OBU) or roadside unit (RSU) to be verified, which is connected to the RF output interface. It is a hardware entity that can receive 5.9 GHz band simulated RF signals and perform physical layer demodulation, protocol stack parsing and risk judgment. Its RF input port is physically connected to the system RF output interface through a coaxial cable, and its internal clock has been synchronized with a unified clock source through a previous global clock calibration step.

[0043] The RF output interface is directly connected to the RF input port of the device under test (DUT) using a low-loss, highly shielded RF coaxial cable. Before connection, the insertion loss of the link is calibrated using a vector network analyzer, and the calibration value is written into the system compensation parameter table to eliminate the impact of cable attenuation on output power accuracy. After confirming that the DUT has completed power-on, its internal phase-locked loop is stably locked, and its local time base has been calibrated to a unified clock source by the clock synchronization bus, a signal output enable command is issued to the RF output interface via the master control software. This command is linked to the rising edge of the next second pulse on the 1PPS clock synchronization bus to ensure the start time of the simulated RF signal frame header. It is strictly aligned with the integer second boundaries of the virtual traffic scene; during the output process, based on the instantaneous changes in the distance between the transmitter and receiver in the real-time road traffic topology data, the attenuation of the air interface attenuation adjustment unit is updated synchronously through the real-time Ethernet link, so that the power level of the simulated radio frequency signal radiated from the RF output interface to the input end of the device under test is continuously and dynamically adjusted with the movement of the virtual vehicle; at the same time, the isolator equipped inside the RF output interface can prevent the reflected power generated by the antenna port mismatch of the device under test from being fed back to the front-end amplifier circuit, ensuring that the amplitude and spectral purity of the output signal remain stable throughout the test cycle, thereby completing the complete action of feeding the simulated radio frequency signal to the device under test.

[0044] Step B2 involves parsing the simulated radio frequency signal and identifying risks using the device under test to obtain the collaborative sensing judgment result.

[0045] Specifically, message parsing refers to the complete reverse processing chain performed by the device under test (DUT) on the received simulated radio frequency signals, from radio frequency downconversion to physical layer demodulation, channel decoding, MAC layer demultiplexing, and finally to the extraction of application layer protocol fields, to recover the original V2X message content such as BSM, SPAT, and SSM, as well as the information fields such as timestamps, location coordinates, speed heading, and braking status. Risk identification refers to the DUT performing spatiotemporal collision prediction by analyzing the parsed motion states of surrounding vehicles and pedestrians and its own current trajectory. Based on preset safe time-distance thresholds and collision detection algorithms, it determines whether there are potential risks such as forward collisions, intersection conflicts, or blind spot hazards during lane changes, and classifies and quantifies the risk level. Collaborative perception judgment results refer to the judgment conclusions on the current traffic environment risk situation output by the DUT after integrating multi-source parsing information. This includes structured judgment data such as target obstacle identification, relative distance and relative speed, remaining collision time, suggested avoidance action type, and collaborative control requirement markers.

[0046] After the device under test (DUT) receives the simulated RF signal through the RF input port, the internal front-end low-noise amplifier amplifies the weak RF signal. Then, it undergoes down-conversion with the local oscillator signal via a mixer to obtain the intermediate frequency (IF) signal. The IF signal is then sampled and digitized by an analog-to-digital converter (ADC) and sent to the physical layer baseband processing chip. The baseband processing chip performs time synchronization and carrier frequency offset compensation based on the preamble sequence and synchronization signal carried in the signal. It then identifies whether it is LTE-V or NR-V2X according to the protocol type and calls the corresponding demodulation mapping table to perform quadrature demodulation and channel equalization. The original bit stream of the transport block is recovered through Viterbi decoding or LDPC decoding. The physical layer delivers the recovered bit stream to the MAC layer for demultiplexing and unpacking, extracting the complete application layer protocol data unit and passing it to the upper-layer protocol stack. The upper-layer protocol stack deserializes and decodes the data unit according to SAE J2735 or the national standard message set specification, extracting the latitude and longitude coordinates of the sending virtual vehicle. Key fields such as heading angle, speed value, braking status, and turn signal status are processed. At the same time, the spatiotemporal reference verification information carried by the simulated radio frequency signal is used to correct the calculation offset of the timestamp. After completing the parsing of multiple consecutive frames of messages, the device under test combines the precise positioning and timing information provided by its own satellite navigation signal simulation unit to calculate the relative distance, relative speed, and relative heading angle between itself and each virtual vehicle around it. The above motion parameters are substituted into the built-in collision time prediction algorithm and the vehicle headway evaluation model to determine whether there is a trajectory intersection point within the preset warning time window and the relative distance is less than the safe braking distance. If there is, it is divided into a first-level warning (emergency braking), a second-level warning (deceleration and avoidance), or a third-level warning (information prompt) according to the urgency of the collision. At the same time, the target identifier, spatial coordinates, and timestamp on which the judgment is based are recorded. All the above information after calculation and judgment is integrated into a structured data packet, namely the collaborative perception judgment result. This result is synchronously output to the decision unit that generates control commands.

[0047] Step B3: Generate vehicle warning signals and / or collaborative control commands based on the collaborative perception judgment results.

[0048] Specifically, the vehicle warning signal refers to the driver-oriented warning information code generated by the device under test based on the collaborative perception judgment results. It includes the audible and visual alarm trigger flag, the instrument panel display prompt text number, and the warning audio frequency control parameters, which are used to simulate the driver's alarm output under real vehicle conditions. The collaborative control command refers to the control command generated by the device under test for the vehicle chassis actuators to perform active safety intervention. It includes the desired deceleration value, steering torque request amount, brake master cylinder pressure target value, and drive torque limit flag, which are used to autonomously control the vehicle's motion state under potential collision risks.

[0049] The risk decision-making unit inside the device under test (DUT) extracts the remaining collision time and risk level fields from the collaborative perception judgment results. First, it determines whether the warning trigger threshold has been reached according to the risk level mapping table. If so, it generates a vehicle warning signal data frame according to the warning strategy corresponding to the level, fills the standardized warning message structure with the warning sound type code and display icon encoding, and outputs the warning frame externally through the DUT's internal bus interface (such as CAN or vehicle Ethernet). Simultaneously, it drives the local audible and visual indicator module to issue an alarm of the corresponding level. Based on the generated warning signal, it further determines whether the remaining collision time is lower than a preset active intervention safety threshold (e.g., less than 2.5 seconds). If it is lower than this threshold, it initiates the collaborative control command generation process. Based on the relative distance, relative speed, and suggested avoidance action type in the collaborative perception judgment results, it calls the built-in longitudinal motion control algorithm to calculate the target deceleration value required to avoid a collision and calls the lateral stability control algorithm to calculate the target steering torque request required to maintain the lane or avoid obstacles. The calculated control quantities are then processed according to SAE J1939 or ISO standards. The 15765 protocol specification encodes the control message field and adds a millisecond-level timestamp based on clock synchronization bus calibration to ensure the effectiveness of subsequent timing verification. After completing the encoding of the warning signal and control command, the device under test sends the two types of signals to the vehicle dynamics model in a fixed cycle through its automotive-grade output interface. At the same time, when sending multiple commands concurrently, it follows the preset message priority arbitration rules to ensure that the braking control command has the highest bus occupancy priority among multiple messages to be sent to avoid command blocking delay.

[0050] Step B4: Analyze vehicle warning signals and / or cooperative control commands through the vehicle dynamics model, and simulate the output of vehicle bus signals.

[0051] Specifically, the vehicle dynamics model refers to the mathematical simulation model built into the hardware-in-the-loop simulation unit, used to simulate the physical response characteristics of a real vehicle in multiple degrees of freedom, such as longitudinal acceleration and braking, lateral steering, and vertical suspension motion. It includes core sub-models such as engine or motor torque output characteristics, the relationship between brake hydraulic pressure and braking torque conversion, tire-ground adhesion friction characteristics, and vehicle center of mass kinematic equations. The vehicle bus signal refers to the digital control command frame that conforms to vehicle network standards such as SAE J1939, ISO11898, or ISO 15765. It includes fields such as target throttle opening, brake master cylinder pressure value, steering wheel angle and angle change rate, wheel speed pulse count, and status feedback of each actuator. It is used to replace the actuator drive and status reporting messages on the real vehicle CAN bus or vehicle Ethernet in the simulation environment.

[0052] After receiving vehicle warning signals and / or cooperative control commands from the device under test via a hard real-time Ethernet link, the vehicle dynamics model first performs protocol adaptation and validity verification on the input command frames. It then parses control quantity fields such as the desired deceleration target value, steering torque request, and brake master cylinder pressure target value from the cooperative control command frames. Simultaneously, it extracts the warning level marker and trigger time timestamp information from the warning signal frames. Subsequently, the longitudinal dynamics sub-model within the model, based on the desired deceleration target value and considering the current simulated vehicle speed and tire-road adhesion coefficient, calls the inverse dynamics equations of the braking system to calculate the brake master cylinder pressure value required to achieve that deceleration. This pressure value is then converted by the brake model into the corresponding brake actuator PWM duty cycle control quantity and brake wheel cylinder pressure rise rate limit value. Finally, the lateral dynamics sub-model within the model, based on the steering torque request and considering the current yaw rate and center of gravity sideslip angle... The state variables are calculated by recursively solving the differential equations of the steering system dynamics to obtain the target steering motor angle and angular velocity increments, and then superimposed with steering return torque compensation values ​​to improve the simulation accuracy of low-speed return feel. After completing the above state variable calculations, the model encodes the brake pressure control value, drive torque limit percentage, steering motor angle command, warning status flag, and wheel speed, longitudinal acceleration, and yaw rate feedback signals from each sub-model into standard data frames according to the predefined CAN database description file format. These data frames are then filled into the data field of the vehicle bus signal and appended with a microsecond-level timestamp based on a unified clock source calibration. Finally, the vehicle bus signal is sent cyclically to the input interfaces of each actuator sub-module inside the vehicle dynamics model at a fixed period through the model's virtual bus output port, completing the complete simulation of the process by which a real vehicle distributes execution commands to each electronic control unit through the CAN bus after receiving warning and control commands.

[0053] Step B5: Based on the vehicle bus signal, update the original vehicle operating parameters maintained inside the vehicle dynamics model to obtain dynamic response data.

[0054] Specifically, the original vehicle operating parameters refer to the set of vehicle motion state variables continuously maintained within the vehicle dynamics model, including longitudinal vehicle speed, lateral vehicle speed, yaw rate, center of gravity sideslip angle, four wheel speeds, longitudinal acceleration, lateral acceleration, current steering wheel angle, actual brake master cylinder pressure, and current engine or motor output torque, etc., which are numerical vectors that can completely describe the instantaneous kinematics and dynamics of the vehicle. The dynamic response data refers to the updated vehicle motion state output obtained by recursively solving the dynamic differential equations after the vehicle dynamics model receives external control commands and converts them into actuator inputs. This data records the trajectory of the vehicle's motion state evolution over simulation time after receiving warning or cooperative control commands.

[0055] After receiving the vehicle bus signal frame through the virtual bus interface, the vehicle dynamics model first extracts control quantity fields such as the target value of the brake master cylinder pressure, the percentage of drive torque limitation, and the steering motor angle command from the frame data field, and temporarily stores them in the control input buffer of the current step size. Subsequently, the model state update engine enters the solution process of the current step size, sending the brake pressure value in the control input buffer to the brake system sub-model. This sub-model calculates the actual pressure rise rate and final pressure value of each wheel brake cylinder based on the transmission characteristics of the brake hydraulic lines. At the same time, it sends the percentage of drive torque limitation to the powertrain sub-model, calculates the maximum drive torque that can be output at the current speed based on the current engine or motor external characteristic curve, and performs amplitude limiting. It sends the steering motor angle command to the steering system sub-model, calculates the actual steering wheel angle and its angular velocity based on the inertia and damping characteristics of the steering actuator. After completing the input conversion of each subsystem, the model calls the seven-degree-of-freedom vehicle dynamics differential equation system, using the vehicle speed and yaw angle from the current original vehicle operating parameters. Using speed, sideslip angle, and wheel speed as initial conditions, and the converted wheel braking pressure, driving torque, and steering wheel angle as boundary inputs, the Runge-Kutta integral algorithm is used to advance one simulation step (usually set to 1 or 2 milliseconds) to solve for the updated longitudinal vehicle speed, lateral vehicle speed, yaw rate, sideslip angle, four wheel speed updates, and longitudinal and lateral acceleration responses. After solving, the model overwrites all the newly calculated state variables into the internally maintained original vehicle operation parameter storage area, ensuring that the contents of this storage area always represent the vehicle motion state at the latest simulation moment. At the same time, the process quantities such as acceleration response, yaw rate of change, and wheel slip rate calculated within this step are packaged together with the updated state variables to form structured dynamic response data. This data is used both to transmit the vehicle motion state back to the digital twin scene simulation end in subsequent closed-loop iterations to update the vehicle coordinates in the virtual scene, and to collect and quantify key indicators such as warning response delay and braking intervention effect on the test platform.

[0056] In this embodiment of the application, updating vehicle operating parameters in a virtual traffic scenario based on dynamic response data includes: Step C1: The dynamic response data is transmitted back to the digital twin scene simulation terminal.

[0057] Specifically, the dynamic response data obtained by solving the vehicle dynamics model at the current step size is serialized and packaged according to a preset lightweight data exchange protocol. A unique identifier of the virtual vehicle that generated the response data and a precise timestamp calibrated via a 1PPS clock synchronization bus are appended to the data frame header. The packaged data frame is then sent at fixed intervals via a hard real-time Ethernet interaction link to a pre-opened dedicated data receiving port on the digital twin scenario simulation end. During transmission, a time-sensitive network traffic shaping mechanism in real-time Ethernet ensures that the data frame receives priority forwarding, strictly controlling transmission jitter within microseconds to avoid delays in virtual scenario state updates due to network latency. The digital twin scenario simulation end... After successfully receiving and verifying the integrity of the data frame, the system immediately sends an acknowledgment signal containing the local timestamp of the reception time back to the vehicle dynamics model. If the vehicle dynamics model does not receive the acknowledgment within a preset 1-millisecond timeout window, a retransmission mechanism is triggered to resend the current frame data, and a return timeout count is accumulated for subsequent communication quality assessment. At the same time, the digital twin scene simulation terminal temporarily stores the received data frame in the scene update input buffer, and waits for the current scene main loop to end and enter the next frame update before retrieving the batch of data from the buffer. This isolates the mutual influence between the return communication jitter and the scene rendering update cycle, thereby completely realizing the closed-loop return action of dynamic response data from the vehicle dynamics model to the digital twin scene simulation terminal.

[0058] Step C2 involves analyzing the dynamic response data through a digital twin scene simulation terminal to obtain the target vehicle's operating parameters.

[0059] Specifically, the target vehicle operating parameters refer to the set of motion state update values ​​extracted from the dynamic response data that directly correspond to a specific virtual vehicle in the digital twin scene simulation terminal. Specifically, they include the latest three-dimensional spatial coordinates (X, Y, Z), absolute velocity vector (longitudinal and lateral components), heading angle, yaw rate, acceleration vector, and braking or driving status markers of the virtual vehicle.

[0060] After receiving the dynamic response data frame from the vehicle dynamics model, the digital twin scene simulation terminal first extracts the unique identifier of the virtual vehicle from the data frame header to identify the target vehicle corresponding to the response data. Then, it invokes a preset data unpacking protocol to parse the latest three-dimensional spatial coordinates, velocity vector, heading angle, yaw rate, acceleration vector, and braking or driving status markers of the target vehicle from the data frame payload according to fixed field offsets. During the parsing process, the cyclic redundancy check (CRC) code at the end of the data frame is checked to verify whether any bit errors occurred during transmission. After completing the field extraction, the terminal checks the time against the precise timestamp calibrated by the 1PPS clock synchronization bus carried in the dynamic response data frame header. If the timestamp deviation exceeds the preset 500-microsecond synchronization tolerance, the data frame is deemed to have lost its timeliness due to excessive delay and is discarded. Simultaneously, a timing error event is recorded for analysis in subsequent test reports. For data frames that pass the timeliness verification, the extracted vehicle position coordinates are transformed from the vehicle local coordinate system (with the vehicle's center of mass as the origin) used in the vehicle dynamics model to the global geographic coordinate system (latitude and longitude projected plane coordinates) used in the digital twin scene simulation to eliminate positioning deviations caused by coordinate reference differences. After all parameters are extracted, verified, and their coordinates are transformed, the digital twin scene simulation integrates these transformed numerical vectors into a structured target vehicle operation parameter object. This object can be directly used to locate the target vehicle and update its motion state in the virtual traffic scene.

[0061] Step C3: Locate the corresponding target vehicle in the virtual traffic scene based on the target vehicle's operating parameters.

[0062] Specifically, after obtaining the target vehicle's operating parameter object, the digital twin scenario simulation terminal first reads the virtual vehicle's unique identifier field carried in the object's header. This identifier is used as the primary key for a fast search and matching within the participant object hash table maintained within the virtual traffic scenario. During the search, the hash value of the identifier is calculated to directly index the object storage block corresponding to the virtual vehicle. If a hash collision exists, the identifier field of the object is further verified by traversing the linked list until an exact match is found, thus completing the positioning operation in constant time complexity. After successful positioning, the target vehicle's currently maintained coordinates within the virtual traffic scenario are immediately read. The system sets the speed information and calculates the spatial distance deviation between it and the new coordinates and speed carried in the target vehicle's operating parameters. If the deviation exceeds a preset threshold (e.g., coordinate offset exceeds 10 meters or speed change exceeds 30 km / h), an anomaly marker is triggered to record a jump event, indicating a mismatch between the motion state of the physical model and the virtual scene. After completing the deviation verification, the virtual scene retrieves the located target vehicle object from the hash table and temporarily stores it at the head of the current scene update queue, giving the object the highest processing priority in the current update cycle. At the same time, the system records the object's current lane number and road segment index in the scene.

[0063] Step C4: Adjust the vehicle operation parameters of the target vehicle in the virtual traffic scenario using the target vehicle's operating parameters.

[0064] Specifically, after locating the target vehicle object, the digital twin scene simulation end retrieves the object pointer from the head of the scene update queue. It then replaces each field of the vehicle's internally maintained operating parameters with the corresponding fields in the target vehicle's operating parameters. Specifically, it writes the latest 3D spatial coordinates from the target vehicle's operating parameters into the target vehicle's position attribute and simultaneously updates the coordinates of its associated axis-aligned bounding box center point; it writes the velocity vector into the velocity attribute and simultaneously updates the heading angle and yaw rate in the scene's internal direction vector cache; it writes the acceleration vector into the acceleration attribute; and it writes the braking and driving status flags into the control status register. After the assignment is complete, the version number of the target vehicle object is incremented once so that the scene engine can recognize that the object has been updated in this frame. Subsequently, it calls the update interface of the scene spatial index module to perform node repartitioning in the quadtree spatial index based on the vehicle's new coordinates. The system migrates the target vehicle from the old spatial node to the new spatial node at the current coordinates, ensuring that other virtual vehicles can correctly retrieve the vehicle through the spatial index and include it in the communication range calculation when broadcasting the original vehicle network message. At the same time, it recalculates the vehicle's positioning result in the road network based on the new coordinates and heading angle, and updates its lane number and road segment index fields. If the new position crosses the lane boundary, a lane change event is triggered and the traffic light phase matching flag is updated. If the new position enters the intersection area, the occupancy flag in the conflict detection buffer is updated. After all fields are updated, the updated vehicle operation parameters are broadcast to the perception list of all other virtual traffic participants in the scene, so that adjacent vehicles can obtain the latest position, speed and heading information of the vehicle when generating vehicle network messages in the next frame, thereby maintaining the consistency and spatiotemporal continuity of the state of all participants in the virtual traffic scene.

[0065] Step S104: During the simulation run and closed-loop iteration, collect full-link test data, and after the test cases are executed, perform joint analysis on the full-link test data to generate a test report.

[0066] In this embodiment of the application, the collection of end-to-end test data includes: collecting raw test data during simulation operation and closed-loop iteration, wherein the raw test data includes at least one of the following: radio frequency transmission indicators, message transmission delay, message packet loss rate, positioning error, bus message, early warning response delay, braking intervention effect, spectrum preemption status, and channel congestion status; associating the raw test data with a unified timestamp to generate end-to-end test data.

[0067] Specifically, end-to-end test data refers to the complete set of test records with unified timestamps collected throughout the entire signal and information chain from digital twin scenario generation, channel simulation transmission, device under test (DUT) resolution, vehicle dynamics response, to virtual scenario updates during the entire simulation operation and closed-loop iteration process. Raw test data refers to unprocessed, low-level measurement values ​​directly captured in real-time from the output ports of each hardware module and software unit. RF transmission indicators include parameters characterizing physical layer signal quality, such as signal transmit power level, error vector amplitude, adjacent channel leakage ratio, and spectrum transmission template. Message transmission delay refers to the time difference between the original vehicle network message sent from the digital twin scenario simulation end and the DUT completing message parsing. Packet loss rate refers to the percentage of messages that the DUT failed to receive or correctly decode within a continuous test cycle out of the total number of messages sent. Positioning error refers to the difference between the DUT's calculated position coordinates and the GNSS error. The spatial deviation between the standard positions set by the signal simulation unit; the bus message refers to the complete content and transmission time of the vehicle bus signal frame captured from the output interface of the device under test; the warning response delay refers to the time elapsed from the device under test confirming the collision risk to its output of the vehicle warning signal frame; the braking intervention effect refers to the tracking deviation and response slope between the actual deceleration value achieved by the vehicle dynamics model after receiving the coordinated control command and the target deceleration value requested by the command; the spectrum preemption status refers to the real-time monitoring and recording of the proportion of shared spectrum resources occupied and the probability of collision when the first radio frequency channel and the second radio frequency channel transmit concurrently in the same frequency band; the channel congestion status refers to the communication load level characterized by the queue depth and collision backoff counter value within the channel simulation subsystem; the unified timestamp refers to the global reference time calibrated based on the 1PPS clock synchronization bus, used to provide a unified time reference coordinate for the acquisition points distributed in different hardware modules.

[0068] Throughout the simulation run and closed-loop iteration, multiple distributed data acquisition probes within the integrated test control and data analysis platform synchronously capture and store data from the output ports of each module according to a preset sampling period: The transmission time and sequence number of the original vehicle network messages are read from the data transmission interface of the digital twin scenario simulation end and recorded as a scenario transmission log; at the output monitoring coupler of the dual-mode 5.9GHz channel simulation subsystem, RF transmission indicators are extracted and RF level and modulation quality parameters are recorded through a directional coupler and power detection module, while simultaneously reading the queue depth and collision data recorded in real time within the multipath interference and Doppler simulation unit. The backoff counter value serves as a quantitative basis for the channel congestion state. At the message parsing output interface of the device under test (DUT), the reception time and parsing result of each successfully decoded message are captured. The message transmission delay is obtained by subtracting the reception time from the corresponding transmission time recorded by the digital twin scenario simulation end. The packet loss count is accumulated frame by frame to calculate the packet loss rate at the end of the test period. At the vehicle warning signal and control command interface output by the DUT, the generation time of the warning signal frame is captured by a high-speed digital I / O acquisition card. The warning response delay is obtained by subtracting the collision risk confirmation time synchronously recorded by the DUT from this time. Simultaneously, the DUT's CAN bus interface monitoring module captures the generation time of the warning signal frame. The device outputs bus messages and their timestamps; at the CAN signal input / output port of the vehicle dynamics model, a bus message recorder is deployed to continuously capture the content and timestamps of the vehicle bus signal frames entering the model. Simultaneously, the rising curve of the actual pressure of the brake master cylinder is extracted from the model's internal status log and compared with the target deceleration value requested in the coordinated control command to calculate the tracking deviation and response slope of the braking intervention effect; in the spectrum monitoring module, a real-time spectrum scanner continuously monitors the transmission frequency bands of the first and second radio frequency channels, recording the proportion of frequency domain resources occupied by the two channels in the same time slot and the collision event count, as a frequency... The evaluation criteria for spectrum preemption status; while each acquisition probe acquires raw data, each raw data record is generated by synchronously reading the current unified global reference timestamp from the 1PPS clock synchronization bus and embedding it into the data record header, so that the raw data from different modules are aligned on the same time axis according to the timestamp dimension; all raw test data associated with timestamps are appended to the circular buffer of the full-link test data one by one according to the predefined structured data format, and are periodically flushed to the data storage module of the integrated test management platform for persistence through real-time Ethernet, completing the complete process from raw data acquisition to full-link test data aggregation.

[0069] In this embodiment of the application, after collecting end-to-end test data, the method further includes: detecting whether the pre-configured test cases have been executed; if there are unexecuted test cases, updating the pre-configured operating condition parameters and channel interference parameters of the digital twin scenario simulation terminal, regenerating the virtual traffic scenario, and iteratively executing the generation of simulated radio frequency signals, triggering the output of dynamic response data of the device under test, updating the vehicle operation parameters in the virtual traffic scenario, and collecting end-to-end test data until the test cases are executed.

[0070] Specifically, a test case refers to a single complete test execution unit predefined and stored in a standardized V2X scenario library by an integrated test management and data analysis platform. Each test case includes a set of independent operating condition parameter configurations (including traffic flow density, vehicle speed distribution, obstacle occlusion type, pedestrian conflict mode, etc.), corresponding channel interference parameters (including multipath delay distribution, Doppler frequency shift, path loss index, electromagnetic interference level, and spectrum preemption strategy, etc.), and expected performance judgment thresholds for the device under test. Channel interference parameters refer to the set of adjustable setpoints of each interference superposition unit within the dual-mode 5.9GHz channel simulation subsystem, including multipath tap delay configuration, Doppler frequency offset control word, shadow fading margin and path loss index, additive noise power spectral density, and the level and spectrum occupancy mode of co-channel interference signals.

[0071] After each round of simulation runs completes all closed-loop iteration cycles specified by the current test case and collects the corresponding end-to-end test data, the integrated test management platform's built-in test case scheduling engine reads the execution status flags in the current test case list and determines whether the current completed test case number is equal to the preset total number of test cases. If the completed test case number is less than the total number of test cases, it is determined that there are unexecuted test cases, and the scheduling engine then retrieves the complete configuration record of the next test case to be executed from the test case list. Based on the working condition parameters in the record, the road map loading content, the number of traffic participant instantiations, and the initial motion state assignment of the digital twin scenario simulation terminal are updated, and the register configuration values ​​of the multipath simulation unit, Doppler frequency shift control unit, air interface attenuation adjustment unit, and electromagnetic interference superposition unit inside the dual-mode channel simulation subsystem are updated based on the channel interference parameters in the record. After completing the parameter update, the digital twin scenario is then updated. The simulation end sends a scene reset command, which carries new operating parameters and triggers the re-initialization of the virtual traffic scene at the edge of the next 1PPS synchronization pulse. This clears all dynamic object states left over from the previous test case and regenerates the virtual traffic scene according to the new parameters. After the new scene is generated and the channel parameters are reloaded, the scheduling engine triggers the generation and output of the simulation radio frequency signal, the excitation and acquisition of the dynamic response of the device under test, the update of the vehicle dynamic model state, the closed-loop iteration of the vehicle operating parameters in the virtual traffic scene, and all operations of the new round of full-link test data acquisition in sequence, thus completing the test execution corresponding to the test case. After each test case is executed and data acquisition is completed, the scheduling engine checks again whether there are still unexecuted test cases and continues the above parameter update and scene reconstruction process until the execution status of all test cases is marked as completed. At this time, the iteration loop is exited and the final data joint analysis stage is entered.

[0072] In this embodiment of the application, joint analysis of end-to-end test data is performed to generate a test report, including: Step D1: Retrieve the pre-trained data degradation analysis model.

[0073] Specifically, the data degradation analysis model refers to the intelligent analysis model built based on deep learning or statistical pattern recognition algorithms, which is pre-stored within the integrated test management and data analysis platform. This model has been trained offline using massive labeled test samples covering various types of channel interference, dual-mode coexistence conflict conditions, and abnormal vehicle dynamic response patterns. It has the ability to automatically identify abnormal features and infer the root causes of defects and related conditions from multi-dimensional joint test data. Pre-training refers to the multiple rounds of iterative optimization conducted before system deployment using datasets consisting of different traffic flow densities, multipath fading intensity, dual-mode spectrum preemption scenarios, and corresponding fault labels, so that the model parameters converge to a mature state that can accurately classify and locate communication anomalies and control defects.

[0074] After all test cases have been executed and all test data has been collected and persistently stored in the platform database, the test case scheduling engine within the integrated test management platform calls the model management interface. Based on the test type corresponding to the current batch of data to be analyzed (e.g., intersection collision warning test or high-speed formation cooperative perception test), the matching data degradation analysis model version file is selected from the model repository. The model management interface reads the network structure description file and trained weight parameter file for this version, and simultaneously loads the data normalization statistics configuration file (including the historical mean and standard deviation of each input feature). Then, in the platform's GP... The model is instantiated on the U or NPU accelerated computing unit, and the weight parameters are loaded into the GPU memory to complete the initialization of the inference runtime environment. During this process, the model file's hash value is checked to ensure it is consistent with the deployment list recorded by the platform, confirming that the model has not been tampered with and is compatible with the current analysis task. At the same time, the matching between the GPU memory capacity of the accelerated computing unit and the data batch size is checked. If the data volume exceeds the single inference limit, the full-link test data is automatically divided into multiple sub-batches. After the model is instantiated, the channel status ready flag is set to valid, waiting for subsequent steps to input the full-link test data into the model after feature engineering processing for anomaly detection and root cause analysis.

[0075] Step D2: Identify abnormal features in the full-link test data through the data degradation analysis model, analyze the causes and operating conditions of the abnormal features, and use the causes and operating conditions of the abnormal features as the results of the anomaly analysis.

[0076] Specifically, abnormal features refer to quantifiable data patterns in the end-to-end test data that deviate from the preset normal range or theoretical expected value. These include, but are not limited to, message transmission delay exceeding the upper limit threshold, a sudden increase in message packet loss rate, positioning error exceeding the accuracy tolerance, delayed warning response, excessive deviation in braking intervention effect tracking, imbalance in spectrum resource allocation, and abnormal channel congestion queue depth. The cause refers to the physical or protocol layer root cause of the above abnormal features, including excessive multipath fading, uncompensated Doppler frequency offset, path loss calculation error, excessive electromagnetic interference power, dual-mode spectrum resource contention deadlock, protocol stack processing timeout of the device under test, and mismatch of vehicle dynamics model parameters. The occurrence condition refers to the complete traffic environment context corresponding to the digital twin scenario simulation terminal at the time the abnormal features occur, including the traffic flow density value at that time, the relative speed and relative distance of the transmitting and receiving vehicles, the type of obstacle obstruction, the combination of channel interference parameters, and the dual-mode concurrent transmission and reception status.

[0077] After the data degradation analysis model is instantiated and inference-ready, the data preprocessing module of the integrated test management platform segments and aligns the multi-dimensional data streams from the entire link test data, including RF transmission indicators, message transmission delay sequences, message packet loss rate curves, positioning error records, bus message timestamps, early warning response delay scatter points, braking intervention effect tracking errors, spectrum preemption event timelines, and channel congestion queue depth, according to a unified time axis. This forms fixed-length time window samples (each window covers a continuous simulation period of, for example, 500 milliseconds to 2 seconds). Missing value imputation and outlier removal are performed on each dimension of the data. The cleaned sample data is then fed into the feature extraction subnetwork of the data degradation analysis model. This subnetwork captures abrupt changes in the temporal domain through convolutional layers, captures the trend drift of each indicator as the simulation progresses through long short-term memory network layers, and automatically allocates the weight ratio of each dimension's input to the current anomaly judgment through an attention mechanism. After completing forward inference, the model outputs an anomaly probability score and anomaly category label (e.g., ...) for each time window sample. For samples identified as abnormal (such as those with excessive latency, sudden increase in packet loss, location drift, spectrum contention, or a combination thereof), the model's attribution analysis branch is further invoked. This branch uses an integrated gradient algorithm to infer the contribution distribution of each input dimension to the anomaly determination result, mapping the input dimensions with the highest contribution back to their corresponding physical quantity names, thereby locating the direct cause of the anomaly (e.g., determining that the frequency offset is too large due to Doppler compensation module parameter mismatch, or that the adjacent channel leakage ratio is deteriorated due to insufficient isolation of the dual-mode combiner switch). Simultaneously, the timestamp associated with the anomaly is read from the model context cache, and the corresponding traffic flow density record, relative speed and relative distance record, obstacle obstruction mark, channel interference parameter configuration, and dual-mode transceiver status record are retrieved from the test log database using this timestamp as the search key. This field information is combined into a description of the occurrence condition. The identified anomaly feature vector, the cause classification label obtained from the attribution analysis, and the description of the occurrence condition obtained from the reverse query are associated and packaged to form a structured anomaly analysis result.

[0078] Step D3 involves integrating the end-to-end test data, anomaly characteristics, and anomaly analysis results to obtain a test report.

[0079] Specifically, integration refers to associating, formatting, and merging the three types of data sources according to a unified report structure to generate a formal document with a complete logical chain; the test report refers to the final output formal test document that conforms to the test standard. This document includes a description of the test environment, all test case execution records, full-link test data curves and statistical values, a list of abnormal events, root cause diagnosis conclusions, performance compliance judgment, and a comprehensive conclusion on whether the device under test has passed the test.

[0080] After the data degradation analysis model completes the identification and causal analysis of all abnormal features, the report generation engine built into the integrated test management platform first loads a complete copy of the full-link test data for the current batch of tests from the database. It calculates the maximum, minimum, mean, standard deviation, and percentile statistics for the time-series indicator data, and marks each indicator as compliant according to the pass / fail thresholds defined in the specification. Then, based on the pre-configured report template structure (including a cover, test overview, system configuration parameters, test result tables for each test case, time series graph of key indicators, detailed list of abnormal events, and conclusion section), the report generation engine reorganizes the full-link test data into structured data tables and graph data sources according to test case numbers and timelines. It then extracts all abnormal events that occurred during the entire testing process, sorts them by occurrence time, and creates an index. For each abnormal event entry, the report generation engine extracts data from the abnormality analysis results... The engine retrieves matching cause classification tags and operating condition description text, and merges the timestamp, duration, severity level, abnormal characteristic values, attribution conclusions, and on-site operating condition context of the abnormal event into the anomaly analysis sub-section of the report template. This ensures that each anomaly has a complete traceability chain from phenomenon to root cause to occurrence background. After the main content is filled in, the report generation engine calls the built-in chart rendering module to generate vector graphics for key performance indicators (such as message transmission delay distribution curves, scatter plots of packet loss rate with traffic flow density, braking deceleration tracking response waveforms, etc.) and embeds them in the corresponding positions in the report. After all data and images are compiled, the engine performs a final format check, checking the continuity of chapter numbers, the validity of cross-referencing of charts and graphs, the standardization of unit symbols, and the correctness of page numbering. After confirming that there are no errors, the engine outputs the formal test report in PDF format and archives the report file along with the original data package to the platform database for subsequent review and reproduction.

[0081] Figure 4 This is a schematic diagram of the C-V2X automated testing process, such as... Figure 4 As shown, the overall process runs in the order of S1 to S6. First, S1 is executed to configure test scenario parameters and initialize the simulation environment. Then, S2 completes the configuration of parameters related to dual-mode communication channels, GNSS positioning, and system clock synchronization. S3 connects the OBU / RSU device under test and builds the HIL vehicle dynamics closed loop. Then, S4 and S5 are executed in a loop: S4 generates a high-density virtual traffic flow environment and sends C-V2X communication messages, and completes scenario generation, radio frequency signal transmission, vehicle warning response, vehicle dynamics control, and sensor data acquisition in sequence. S5 collects multi-dimensional test indicators in the entire communication link simultaneously. The above business is executed in a loop as long as all test cases have not been traversed. After all test cases have been executed, S6 is entered, which uses artificial intelligence technology to carry out fault identification and data analysis, and finally outputs a compliant formal test report.

[0082] This embodiment also provides a vehicle-to-everything (V2X) scenario testing device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0083] This embodiment provides a vehicle-to-everything (V2X) scenario testing device, such as... Figure 5 As shown, it includes: The generation module 51 is used to generate a virtual traffic scene based on the pre-configured operating parameters of the digital twin scene simulation terminal, and continuously broadcast the original vehicle network messages and real-time road traffic topology data in the virtual traffic scene. Simulation module 52 is used to generate simulated radio frequency signals by superimposing channel interference factors on the original vehicle network messages based on real-time road traffic topology data. Feedback module 53 is used to trigger the device under test to output corresponding dynamic response data using simulated radio frequency signals, and to update the vehicle operation parameters in the virtual traffic scene based on the dynamic response data; Analysis module 54 is used to collect full-link test data during simulation operation and closed-loop iteration, and to perform joint analysis on the full-link test data after the test cases are executed to generate a test report.

[0084] In this embodiment, the simulation module 52 is specifically used to perform parallel preprocessing on the original vehicle network message through the first radio frequency channel and the second radio frequency channel to obtain the preprocessed vehicle network message; determine the dynamic interference amount corresponding to the current time based on real-time road traffic topology data; superimpose channel interference factors on the preprocessed vehicle network message based on the dynamic interference amount to obtain two-mode signals after superimposing channel interference factors; merge the two-mode signals and simulate long-distance transmission radio frequency loss to obtain the simulated radio frequency signal.

[0085] In this embodiment, the feedback module 53 is specifically used to output a simulated radio frequency signal to the device under test; perform message parsing and risk identification on the simulated radio frequency signal through the device under test to obtain a collaborative perception judgment result; generate a vehicle warning signal and / or collaborative control command based on the collaborative perception judgment result; parse the vehicle warning signal and / or collaborative control command through the vehicle dynamics model and simulate the output of the vehicle bus signal; and update the original vehicle operating parameters maintained inside the vehicle dynamics model based on the vehicle bus signal to obtain dynamic response data.

[0086] In this embodiment, the feedback module 53 is specifically used to transmit dynamic response data back to the digital twin scene simulation terminal; parse the dynamic response data through the digital twin scene simulation terminal to obtain the target vehicle operating parameters; locate the corresponding target vehicle in the virtual traffic scene based on the target vehicle operating parameters; and adjust the vehicle operating parameters of the target vehicle in the virtual traffic scene using the target vehicle operating parameters.

[0087] In this embodiment of the application, the analysis module 54 is specifically used to collect raw test data during simulation operation and closed-loop iteration. The raw test data includes at least one of the following: radio frequency transmission indicators, message transmission delay, message packet loss rate, positioning error, bus message, early warning response delay, braking intervention effect, spectrum preemption status, and channel congestion status; and associates the raw test data with a unified timestamp to generate full-link test data.

[0088] In this embodiment of the application, the device further includes: a detection module, used to detect whether the pre-configured test cases have been executed; if there are unexecuted test cases, the pre-configured operating condition parameters and channel interference parameters of the digital twin scenario simulation terminal are updated, the virtual traffic scenario is regenerated, and the generation of simulated radio frequency signals, triggering the output of dynamic response data of the device under test, updating the vehicle operation parameters in the virtual traffic scenario, and collecting full-link test data are iteratively executed until the test cases are executed.

[0089] In this embodiment of the application, the analysis module 54 is specifically used to retrieve a pre-trained data degradation analysis model; identify abnormal features in the end-to-end test data through the data degradation analysis model, analyze the causes and occurrence conditions of the abnormal features, and use the causes and occurrence conditions of the abnormal features as the abnormal analysis results; integrate the end-to-end test data, abnormal features and abnormal analysis results to obtain a detection report.

[0090] Please see Figure 6 , Figure 6 This is a schematic diagram of the structure of a computer device provided in an optional embodiment of the present invention, such as... Figure 6As shown, the computer device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system).

[0091] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.

[0092] The memory 20 stores instructions executable by at least one processor 10 to cause at least one processor 10 to perform the method shown in the above embodiments.

[0093] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device as shown by a landing page for an app. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, which can be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0094] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.

[0095] The computer device also includes a communication interface 30 for communicating with other devices or communication networks.

[0096] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.

[0097] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. A testing method for vehicle-to-everything (V2X) scenarios, characterized in that, The method includes: A virtual traffic scenario is generated based on the pre-configured operating parameters of the digital twin scenario simulation terminal, and the original vehicle network messages and real-time road traffic topology data are continuously broadcast in the virtual traffic scenario. Based on the real-time road traffic topology data, channel interference factors are superimposed on the original vehicle network messages to generate simulated radio frequency signals; The simulated radio frequency signal is used to trigger the device under test to output corresponding dynamic response data, and the vehicle operation parameters in the virtual traffic scenario are updated based on the dynamic response data; During the simulation and closed-loop iteration process, full-link test data is collected, and after the test cases are executed, the full-link test data is jointly analyzed to generate a test report.

2. The method according to claim 1, characterized in that, The step of superimposing channel interference factors on the original vehicle network messages based on the real-time road traffic topology data to generate simulated radio frequency signals includes: The original vehicle network message is preprocessed in parallel through the first radio frequency channel and the second radio frequency channel to obtain the preprocessed vehicle network message. The dynamic disturbance amount at the current moment is determined based on the real-time road traffic topology data. Based on the dynamic interference amount, the channel interference factor is superimposed on the preprocessed vehicle network message to obtain two-mode signals after superimposing the channel interference factor. The two signal formats are combined, and the long-distance transmission RF loss is simulated to obtain the simulated RF signal.

3. The method according to claim 1, characterized in that, The step of triggering the device under test to output corresponding dynamic response data using the simulated radio frequency signal includes: The simulated radio frequency signal is output to the device under test; The simulated radio frequency signal is parsed and risk identified by the device under test to obtain the collaborative perception judgment result. Based on the collaborative perception judgment results, generate vehicle warning signals and / or collaborative control commands; The vehicle warning signals and / or cooperative control commands are analyzed using the vehicle dynamics model, and the vehicle bus signals are simulated and output. Based on the vehicle bus signal, the original vehicle operating parameters maintained inside the vehicle dynamics model are updated to obtain the dynamic response data.

4. The method according to claim 1, characterized in that, Updating the vehicle operating parameters in the virtual traffic scenario based on the dynamic response data includes: The dynamic response data is then transmitted back to the digital twin scene simulation terminal. The target vehicle's operating parameters are obtained by analyzing the dynamic response data through the digital twin scene simulation terminal. Based on the target vehicle's operating parameters, locate the corresponding target vehicle in the virtual traffic scenario; The target vehicle's operating parameters in the virtual traffic scenario are adjusted using the target vehicle's operating parameters.

5. The method according to claim 1, characterized in that, The collected end-to-end test data includes: During the simulation operation and closed-loop iteration, raw test data is collected, including at least one of the following: radio frequency transmission indicators, message transmission delay, message packet loss rate, positioning error, bus message, early warning response delay, braking intervention effect, spectrum preemption status, and channel congestion status. The original test data is associated with a unified timestamp to generate the full-link test data.

6. The method according to claim 1, characterized in that, After collecting end-to-end test data, the method further includes: Check whether the pre-configured test cases have been executed. If there are unexecuted test cases, the pre-configured operating condition parameters and channel interference parameters of the digital twin scenario simulation terminal are updated, the virtual traffic scenario is regenerated, and the generation of simulated radio frequency signals, triggering the output of dynamic response data of the device under test, updating the vehicle operation parameters in the virtual traffic scenario, and collecting full-link test data are iteratively executed until the test cases are completed.

7. The method according to claim 1, characterized in that, The joint analysis of the end-to-end test data to generate a test report includes: Retrieve a pre-trained data degradation analysis model; The abnormal features in the end-to-end test data are identified by the data degradation analysis model, and the causes and occurrence conditions of the abnormal features are analyzed. The causes and occurrence conditions of the abnormal features are used as the results of the abnormal analysis. The detection report is obtained by integrating the end-to-end test data, the abnormal features, and the abnormal analysis results.

8. A vehicle-to-everything (V2X) scenario testing device, characterized in that, The device includes: The generation module is used to generate a virtual traffic scenario based on the pre-configured operating parameters of the digital twin scenario simulation terminal, and continuously broadcast the original vehicle network messages and real-time road traffic topology data in the virtual traffic scenario. The simulation module is used to superimpose channel interference factors on the original vehicle network messages based on the real-time road traffic topology data to generate simulated radio frequency signals; The feedback module is used to trigger the device under test to output corresponding dynamic response data using the simulated radio frequency signal, and to update the vehicle operation parameters in the virtual traffic scenario based on the dynamic response data. The analysis module is used to collect end-to-end test data during simulation and closed-loop iteration, and to perform joint analysis on the end-to-end test data after the test cases are executed to generate a test report.

9. A computer device, characterized in that, include: A memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, the processor executing the computer instructions to perform the method of any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the method of any one of claims 1 to 7.