C-V2X large-scale security capability verification test method and system

The use of a PC and SDR hardware for V2X testing dynamically allocates resources and generates realistic data, addressing the limitations of existing methods by providing efficient, flexible, and cost-effective large-scale V2X system testing.

CN120321678APending Publication Date: 2025-07-15BEIJING RENXINZHENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510557347.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-29
Publication Date
2025-07-15

AI Technical Summary

Technical Problem

The prior art is difficult to efficiently and economically verify the large-scale safety capabilities of C-V2X devices in real-vehicle environments, and the traditional testing methods are costly and lack flexibility, making it difficult to simulate large-scale vehicle communication scenarios.

Method used

The C-V2X large-scale security capability verification test method and system is adopted based on SDR. By preset resource configuration files and scene configuration files, a PC and SDR RF hardware are used to simulate the communication scenarios of multiple vehicles, and the transmission frequency and gain of the RF equipment are configured to generate scene data and send control information and scene data.

Benefits of technology

It realizes low-cost and high-flexibility safety capability testing of C-V2X equipment indoor and outdoor, and can simulate large-scale vehicle communication scenarios, reduces hardware costs and maintenance costs, and improves the convenience and flexibility of testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120321678A_ABST
    Figure CN120321678A_ABST
Patent Text Reader

Abstract

The invention provides a C-V2X large-scale security capability verification test method. The method comprises the following steps: presetting a resource configuration file and a scene configuration file; setting parameters of the sub-channel according to the resource configuration file, and setting a transmission scheme used by the sub-channel; configuring a transmitting frequency, a transmitting gain and a sampling frequency of the radio frequency equipment, and generating scene data by using the scene configuration file; and sending control information and scene data based on the configured transmission frequency, transmission gain and transmission scheme. The method has the advantages that economic benefits are obvious, flexibility and expandability are greatly improved, actual service data are generated in real time according to scene configuration files, scene testing is facilitated, and real vehicle testing convenience is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of communication technologies, and particularly relates to a method and system for verifying C-V2X large-scale security capabilities Background Art

[0002] Currently, intelligent connected vehicles have become a global development consensus, promoting the integrated development of artificial intelligence, new generation information and communication technologies, etc. with automobiles and transportation. In intelligent connected vehicles and intelligent vehicle-road collaborative systems with the main application scenarios of vehicle driving safety, traffic efficiency improvement, and information services, the key lies in the application of V2X technology, that is, vehicles are interconnected with each other, with pedestrians, and with traffic facilities, forming a new application scenario of interconnection among vehicles, pedestrians, and infrastructure; in this scenario, vehicles should be able to identify the ability of vehicle communication channels to be subjected to denial-of-service attacks and perform corresponding processing on the attacks, that is, it is necessary to verify the processing ability and response ability of the device under test in the case of large-scale sending of V2X messages.

[0003] The existing technologies are mainly as follows: One of the current mainstream testing methods is to send relevant V2X messages through a dedicated comprehensive tester. The main problem is that this testing method mainly needs to be fixed in the laboratory for testing. Generally, it is connected to the device under test through a conductive method. For testing production vehicles, corresponding modifications will be made, which is not convenient for on-vehicle testing. Moreover, the cost of the comprehensive tester is high, and it is not convenient to carry out and move outside.

[0004] Another testing method is to deploy actual v2x devices at the testing site for testing. The main problems are that it requires a dedicated site and personnel to deploy and regularly maintain more than 180 devices, with high maintenance costs and being easily affected by the weather. Since it is outdoors, it cannot be tested when it is windy or rainy, and the convenience is insufficient.

[0005] There is also an implementation based on existing V2X modules. Since the parameters of the module in terms of radio frequency are fixed, the configurations available for users to modify are limited, and the wireless resource scheduling algorithm of the module is fixed and belongs to dynamic adjustment and automatic scheduling of the module. Using v2x modules to simulate and implement, the main problem is that it cannot be fully controlled and the flexibility is insufficient. Summary of the Invention

[0006] In view of this, the present invention aims to propose a method and system for verifying C-V2X large-scale security capabilities in order to solve at least one of the above partial technical problems.

[0007] To achieve the above object, the technical solution of the present invention is realized as follows:

[0008] The present invention in its first aspect proposes a method for verifying C-V2X large-scale security capabilities, and the method includes:

[0009] Preset resource configuration file and scenario configuration file;

[0010] Set the parameters of the sub-channel according to the resource configuration file, and set the transmission scheme used by the sub-channel;

[0011] Configure the transmission frequency, transmission gain, and sampling frequency of the RF device, and generate scenario data using the scenario configuration file;

[0012] Based on the configured transmission frequency, transmission gain, and transmission scheme, send control information and scenario data.

[0013] Further, the transmission scheme used by the sub-channel is: based on the configured transmission frequency and transmission gain, send control information through the specified sub-channel, and send scenario data through the adjacent sub-channel.

[0014] Further, the resource configuration file is set with: the sub-channel index number for sending control information, and the length of the adjacent sub-channel for sending scenario data; wherein, the control information is set with indication information corresponding to the sub-channel index number.

[0015] Further, the scenario configuration file is set with: a format template for generating scenario data, and the content of the format template is positioning data, application ID, and certificate ID in sequence.

[0016] Further, the process of setting the parameters of the sub-channel includes: setting the number and size of the sub-channels.

[0017] Further, the process of generating scenario data using the scenario configuration file includes: generating two types of scenario data with different lengths according to the scenario configuration file, one type of scenario data carries the information of the complete certificate, and the other type of scenario data carries the hash information of the certificate.

[0018] In the second aspect of the present invention, a C-V2X large-scale security capability verification test system is proposed, which is characterized in that the system includes:

[0019] A PC host computer, which presets a resource configuration file and a scenario configuration file; sets the parameters of the sub-channel according to the resource configuration file, and sets the transmission scheme used by the sub-channel; configures the transmission frequency, transmission gain, and sampling frequency of the RF device, and generates scenario data using the scenario configuration file;

[0020] An SDR RF hardware, which sends control information and scenario data based on the configured transmission frequency, transmission gain, and transmission scheme.

[0021] Further, the PC host computer is provided with multiple modules including:

[0022] The V2X certificate system module carries a certificate in the transmitted scenario data;

[0023] The scenario message configuration module configures scenario configuration files for different V2X scenarios;

[0024] The security message generation module generates scenario data according to the scenario configuration file;

[0025] The radio frequency resource configuration module configures the parameters of the sub-channels used by the SDR radio frequency hardware;

[0026] The radio frequency hardware driver module communicates with the SDR radio frequency hardware and drives the SDR radio frequency hardware to work;

[0027] The test control module starts and stops the test.

[0028] In a third aspect of the present invention, a server is proposed, which is characterized in that it includes at least one processor and a memory communicatively connected to the processor. The memory stores instructions executable by the at least one processor. When the instructions are executed by the processor, the at least one processor executes the C-V2X large-scale security capability verification test method as described in the first aspect.

[0029] In a fourth aspect of the present invention, a computer-readable storage medium is proposed, which stores a computer program. The computer program is characterized in that when it is executed by a processor, it implements the C-V2X large-scale security capability verification test method as described in the first aspect.

[0030] Compared with the prior art, the C-V2X large-scale security capability verification test method and system of the present invention have the following beneficial effects:

[0031] Compared with the expensive comprehensive tester test scheme and the procurement and subsequent maintenance costs of deploying 180 actual V2X terminals, the present invention only uses one PC and SDR radio frequency hardware in terms of hardware, and the cost is basically one-tenth of the former two, with obvious economic benefits.

[0032] Since the radio frequency hardware is directly controlled from the bottom layer based on SDR to send messages, compared with directly using modules to implement, due to the fixed module scheduling algorithm and other limitations, the flexibility and scalability are greatly improved, and it can be flexibly configured according to the actual situation.

[0033] Compared with the comprehensive tester which is mainly used to test the radio frequency signal quality and the test data is fixed, since the present invention is equipped with a computer, it can utilize the computing power of the computer according to needs, and generate actual service data in real time according to the scenario configuration file, which is convenient for scenario testing.

[0034] Since the overall invention is small in size, it can be conveniently tested indoors and outdoors, and the convenience of real vehicle testing is high. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The drawings forming a part of the present invention are used to provide a further understanding of the present invention. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not unduly limit the present invention. In the drawings:

[0036] Figure 1 It is a schematic diagram of the working process of the C-V2X large-scale security capability verification test method described in the embodiments of the present invention;

[0037] Figure 2 It is a schematic diagram of the situation where different data is sent on different sub-channels described in the embodiments of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0038] It should be noted that, without conflict, the embodiments in the present invention and the features in the embodiments may be combined with each other.

[0039] In the description of the present invention, it should be understood that the orientation or positional relationships indicated by the terms "center", "longitudinal", "transverse", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. are based on the orientation or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as a limitation of the present invention. In addition, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features. Thus, features defined with "first", "second", etc. may explicitly or implicitly include one or more of such features. In the description of the present invention, unless otherwise stated, the meaning of "a plurality" is two or more.

[0040] In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, the terms "installed", "connected", "connected" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or an integral connection; it may be a mechanical connection or an electrical connection; it may be directly connected, or indirectly connected through an intermediate medium, and it may be the communication inside two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood through specific situations.

[0041] The present invention will be described in detail below with reference to the drawings and in conjunction with the embodiments.

[0042] C-V2X is a vehicle-to-everything (IoV) solution evolved from cellular network technology and is an important part of ultra-reliable low-latency communication (uRLLC) in 5G networks. The implementation of vehicle-to-everything technology is of great significance to modern transportation.

[0043] Among them, C-V2X includes LTE-V2X and NR-V2X, and currently LTE-V2X is mainly used in practice. Hereinafter, V2X mainly refers to LTE-V2X.

[0044] In the actual wireless environment, the more vehicles send messages on the same frequency band at the same time, the more the bandwidth will be occupied, and the channel busy rate will be higher. The large-scale security capability verification test of V2X is to simulate such a wireless environment and test the normal response of vehicles.

[0045] When a normal V2X device sends data, resource scheduling is automatically adjusted by the V2X module. Finally, it is determined when to send on the specified channel. By introducing a sensing mechanism and dynamic adjustment, data collision is avoided by detecting the channel state, and resource is dynamically scheduled and allocated to avoid data collision and improve communication efficiency. This mechanism is designed for a single module to balance the allocation according to the entire channel resources when sending messages. If this mechanism is used to simulate 180 vehicles sending messages, random signals will be used to limit the use of spectrum resources, and it cannot fully verify and evaluate the evaluation of a large-scale congestion scenario.

[0046] Based on software-defined radio (SDR), the present invention realizes a method for channel utilization and a method for resource scheduling. Only one SDR device and a PC are required to simulate more than 180 vehicles from the physical layer to ensure that more than 1,800 service data are sent per second to test whether the device under test can be normally affected.

[0047] Resource scheduling in LTE-V2X is carried out in two dimensions, namely time and frequency. The wireless resource network is divided into sub-channels by frequency and sub-frames by time. On the frequency axis, the granularity of resource allocation is a sub-channel.

[0048] Since the large-scale security capability verification of LTE-V2X is mainly the processing capacity of the device to receive large-scale service data, the present invention proposes the following method to allocate the use of channel and time resources.

[0049] As Figure 1 shown, the large-scale security capability verification test method of C-V2X, the method includes:

[0050] S1. Preset a resource configuration file and a scenario configuration file;

[0051] S2. Set the parameters of the sub-channels according to the resource configuration file, and set the transmission scheme used for the sub-channels;

[0052] S3. Configure the transmission frequency, transmission gain, and sampling frequency of the radio frequency device, and generate scenario data using the scenario configuration file;

[0053] S4. Based on the configured transmission frequency, transmission gain, and transmission scheme, send control information and scenario data.

[0054] The transmission scheme used for the sub-channels is as follows:

[0055] Based on the configured transmission frequency and transmission gain, send control information through the specified sub-channels, and send scenario data through the adjacent sub-channels.

[0056] The resource configuration file is set with: the sub-channel index number for sending control information, and the length of the adjacent sub-channels for sending scenario data; wherein, the control information is set with indication information corresponding to the sub-channel index number.

[0057] The scenario configuration file is set with: a format template for generating scenario data, and the content of the format template is positioning data, application ID, and certificate ID in sequence.

[0058] The process of setting the parameters of the sub-channels includes: setting the number and size of the sub-channels.

[0059] The process of generating scenario data using the scenario configuration file includes: generating two types of scenario data with different lengths according to the scenario configuration file, one type of scenario data carries the information of the complete certificate, and the other type of scenario data carries the hash information of the certificate.

[0060] In some embodiments, to further illustrate the C-V2X large-scale security capability verification test method, a test scenario of sending 2000 messages per second is simulated:

[0061] Step 1: Define a resource configuration file, the main content of which is the starting sub-channel index number sub_channel_start_idx at the beginning, and the length of the sub-channels used for subsequent PSSCH transmission l_sub_channel, a total of 100 groups; wherein, sub_channel_start_idx is mainly used for sending control information (SCI), and l_sub_channelPSSCH is mainly used for sending scenario data, that is, specifying the channels used for the data to be sent.

[0062] Save the file name as: v2x_config.csv. To send two packets of data within 1 ms in one sub-frame interval, use two different starting channels to send SCI control information.

[0063] Group 1: The starting SCI control information transmission channel is set to 2, and the channel length for subsequent adjacent scenario data transmission is set to 8;

[0064] Group 2: The starting SCI control information transmission channel is set to 12, and the channel length for subsequent adjacent scenario data transmission is set to 8;

[0065] The SCI control information is set with indication information corresponding to the sub-channel index number.

[0066] Define the configuration file scenario.csv required for the scenario, mainly including GNSS positioning data, application ID, certificate ID, etc., for generating the data to be sent subsequently. Define 2000 pieces of data, and the format of each piece of data is as follows:

[0067] Longitude, latitude, aid, cerid.

[0068] Step 2: Initialize the resource pool, mainly including defining the number of channels used, the sub-channel size, and adopting the Adjacentscheme scheme, that is, SCI and TB are transmitted in adjacent resource blocks. In this embodiment, the sub-channel size is set to 10 and the number of channels is set to 50 using the default values.

[0069] Step 3: Turn on the RF device, set the transmission frequency, transmission gain, and sampling frequency; the PC host computer program opens the RF hardware through the SDR RF hardware driver, sets the center frequency to 55140, the transmission power to 23 dB, and the sampling frequency to 30.72 MHz.

[0070] Step 4: Prepare the data to be sent, generate the required scenario data according to the previous scenario configuration file. The PC host computer program generates the scenario data scenario.data according to scenario.csv. The actual scenario lengths generated are divided into two categories: one category with a complete certificate, with a length of approximately 300 bytes, and the other category with certificate hash data, with a length of approximately 100 bytes.

[0071] Step 5: Send the data. At a time interval of 1 ms sub-frame, according to the previously set frequency and gain, first send the sci control information on the specified channel sub_channel_start_idx, and then send the scenario data using the channel with the length defined by the adjacent channel l_sub_channel.

[0072] The PC host computer program is processed using two tasks, denoted as task1 and task2 respectively. For multiple different starting channels, the same processing method can be adopted; when reading and parsing v2x_config.csv, the first starting SCI channel for transmission is 2, and the subsequent actual channel length for data transmission is 8; read scenario.data to obtain the data to be transmitted and fill it into the sdr data transmission api interface:

[0073] IntSdr_tx_data(rf_t*rf_dev, int sci_ch, int pssch_ch_num, unsigned char*data, int data_len);

[0074] As Figure 2 shown: Both Task1 and Task2 are sent at 1ms intervals. While processing the combined effect, it can be seen that two data packets can be sent in 1ms, which can meet the large-scale scenario requirements of sending 2000 data items per second.

[0075] C-V2X large-scale security capability verification test system, the system includes:

[0076] PC host computer, the PC host computer presets a resource configuration file and a scenario configuration file; set the parameters of the sub-channels according to the resource configuration file and set the transmission scheme used by the sub-channels; configure the transmission frequency, transmission gain, and sampling frequency of the radio frequency device, and generate scenario data using the scenario configuration file;

[0077] SDR radio frequency hardware, the SDR radio frequency hardware sends control information and scenario data based on the configured transmission frequency, transmission gain, and transmission scheme.

[0078] There are multiple modules set in the PC host computer, including:

[0079] V2X certificate system module, carrying a certificate in the sent scenario data;

[0080] Scenario message configuration module, configuring scenario configuration files for different V2X scenarios;

[0081] Security message generation module, generating scenario data according to the scenario configuration file;

[0082] Radio frequency resource configuration module, configuring the parameters of the sub-channels used by the SDR radio frequency hardware;

[0083] Radio frequency hardware driver module, communicating with the SDR radio frequency hardware and driving the SDR radio frequency hardware to work;

[0084] Test control module, starting and stopping the test.

[0085] A server, comprising at least one processor and a memory communicatively connected to the processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the processor to cause the at least one processor to execute the C-V2X large-scale security capability verification test method as described in the above embodiments.

[0086] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the C-V2X large-scale security capability verification test method as described in the above embodiments is implemented.

[0087] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the present embodiments, and they should all be covered by the scope of the claims and the description of the present invention.

[0088] The above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. C-V2X large-scale security capability verification test method, characterized in that The method includes: Presetting a resource configuration file and a scenario configuration file; Setting the parameters of the sub-channel according to the resource configuration file, and setting the transmission scheme used by the sub-channel; Configuring the transmission frequency, transmission gain, and sampling frequency of the RF device, and generating scenario data using the scenario configuration file; Based on the configured transmission frequency, transmission gain, and transmission scheme, sending control information and scenario data.

2. The C-V2X large-scale security capability verification test method according to claim 1, wherein The transmission scheme used by the sub-channel is: based on the configured transmission frequency and transmission gain, sending control information through the specified sub-channel, and sending scenario data through the adjacent sub-channel.

3. The C-V2X large-scale security capability verification test method according to claim 1, wherein The resource configuration file is set with: the sub-channel index number for sending control information, and the length of the adjacent sub-channel for sending scenario data; wherein, the control information is set with indication information corresponding to the sub-channel index number.

4. The C-V2X large-scale security capability verification test method according to claim 1, characterized in that The scenario configuration file is set with: a format template for generating scenario data, and the content of the format template is positioning data, application ID, and certificate ID in sequence.

5. The C-V2X large-scale security capability verification test method according to claim 1, characterized in that, The process of setting the parameters of the sub-channel includes: setting the number and size of the sub-channels.

6. The C-V2X large-scale security capability verification test method according to claim 1, wherein The process of generating scenario data using the scenario configuration file includes: generating two types of scenario data with different lengths according to the scenario configuration file, one type of scenario data carries the information of the complete certificate, and the other type of scenario data carries the hash information of the certificate.

7. The C-V2X large-scale security capability verification test system is characterized in that The system includes: A PC host computer, which presets a resource configuration file and a scenario configuration file; sets the parameters of the sub-channel according to the resource configuration file, and sets the transmission scheme used by the sub-channel; configures the transmission frequency, transmission gain, and sampling frequency of the RF device, and generates scenario data using the scenario configuration file; An SDR RF hardware, which sends control information and scenario data based on the configured transmission frequency, transmission gain, and transmission scheme.

8. The C-V2X large-scale security capability verification test system according to claim 7, characterized in that, The PC host computer is set with multiple modules including: A V2X certificate system module, which carries a certificate in the sent scenario data; A scenario message configuration module, which configures the scenario configuration file under different V2X scenarios; A security message generation module, which generates scenario data according to the scenario configuration file; An RF resource configuration module, which configures the parameters of the sub-channel used by the SDR RF hardware; An RF hardware driver module, which communicates with the SDR RF hardware and drives the SDR RF hardware to work; A test control module, which starts and stops the test.

9. A server, characterized in that: Including at least one processor, and a memory communicatively connected to the processor, the memory stores instructions executable by the at least one processor, and the instructions are executed by the processor to enable the at least one processor to execute the C-V2X large-scale security capability verification test method according to any one of claims 1-6.

10. A computer-readable storage medium stores a computer program, characterized in that: When the computer program is executed by the processor, it implements the C-V2X large-scale security capability verification test method according to any one of claims 1-6.