Vehicle networking scene simulation method, system, electronic device and storage medium
By establishing a simulation coordinate system and setting vehicle position and signal parameters, the problem of inaccurate test results of the Internet of Vehicles simulation solution in the existing technology is solved, and the accurate simulation of the signal changes of vehicles in multiple cells and multiple vehicles is achieved, and the improvement of the improvement of the accuracy of the signal changes of vehicles. The accuracy and functional integrity of the test are carried out.
Patent Information
- Application Number
- CN202210202615.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-02
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2042-03-02
AI Technical Summary
The existing Internet of Vehicle simulation solutions cannot accurately reflect the changes in the distance between vehicles, vehicles and facilities, and vehicles and people, resulting in inaccurate test results and ineffective integration of wireless mobile scenarios such as cell handover and load balancing.
By establishing a simulation coordinate system, setting the base station position and coverage parameters, determining the initial position and configuration parameters of the vehicle, outputting network signals and V2X signal loss, simulated signal delay and Doppler effects, real-time matching of vehicle position and signal strength can be achieved. , adjust the signal attenuation value and improve the accuracy of simulation tests.
It improves the accuracy of vehicle network scenario simulation test, can more realistically simulate the signal changes and performance of vehicles in multi-cell and multi-vehicle wireless scenarios, and supports testing of functions such as cell handover and load balancing.
Smart Images

Figure CN114697909B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method, system, electronic device and storage medium for simulating vehicle networking scenarios. Background Art
[0002] Internet of Vehicles technology is emerging and widely used. Unlike traditional cellular wireless networks, in addition to communicating with base stations through Uu port links, that is, links between user equipment (UE) and base stations, WiFi and other wireless network equipment, cars also need to interact between vehicles, between vehicles and transportation facilities, and between vehicles and people. This is the V2X link introduced by the Internet of Vehicles. Since vehicles are constantly moving, they will approach or move away from base stations in cellular wireless networks and switch between cells. Correspondingly, the distances between vehicles, between vehicles and facilities, and between vehicles and people in the V2X link are also constantly changing, and the changes in the two links will affect each other. With the popularization of the Internet of Vehicles, a multi-cell, multi-vehicle wireless scenario simulation solution that is closer to the real network and suitable for the Internet of Vehicles is needed to test the functions, performance and stability of base station networks, vehicle-mounted communication equipment and vehicles.
[0003] However, the solutions in the prior art are all for testing the terminal functions of a single vehicle. Other vehicles and road facilities in the scene outside the vehicle to be tested are static, or the cellular network signal of the test vehicle is static, which does not reflect the changes in the distance between vehicles, vehicles and facilities, and vehicles and people in the simulation software. The network signal strength also does not reflect the changes in the distance between the vehicle and the base station in the simulation software. It is impossible to combine wireless mobile scenarios such as cell switching and load balancing, which will lead to inaccurate test results of the simulation solution.
[0004] Currently, no effective solution has been proposed for the problem that the test results of simulation solutions in related technologies are not accurate enough. Summary of the invention
[0005] The embodiments of the present application provide a method, system, electronic device and storage medium for simulating a vehicle networking scenario, so as to at least solve the problem that the test results of the simulation scheme in the related art are not accurate enough.
[0006] In a first aspect, an embodiment of the present application provides a vehicle networking scenario simulation method, including:
[0007] Establish simulation coordinate system;
[0008] Based on the simulation coordinate system, setting a base station position and coverage parameters of the base station, setting an initial position of a vehicle equipped with a V2X communication device and configuration parameters of the vehicle;
[0009] Output vehicle positioning information according to the initial position of the vehicle and the configuration parameters, determine and output network signal loss according to the initial position of the vehicle, the configuration parameters, the base station position and the coverage parameters, and determine and output V2X signal loss according to the initial position of the vehicle and the configuration parameters.
[0010] In some embodiments, after setting the base station position and the coverage parameters of the base station, setting the initial position of the vehicle equipped with the V2X communication device and the configuration parameters of the vehicle, the method includes:
[0011] The signal delay is determined and output according to the initial position of the vehicle, the configuration parameters, the base station position and the coverage parameters, and the signal includes a network signal and a V2X signal.
[0012] In some embodiments, after setting the base station position and the coverage parameters of the base station, setting the initial position of the vehicle equipped with the V2X communication device and the configuration parameters of the vehicle, the method includes:
[0013] The Doppler effect of a signal is determined and output according to the initial position of the vehicle, the configuration parameters, the base station position and the coverage parameters, wherein the signal includes a network signal and a V2X signal.
[0014] In some embodiments, the determining and outputting the network signal loss according to the initial position of the vehicle, the configuration parameters, the base station position, and the coverage parameters, and the determining and outputting the V2X signal loss according to the initial position of the vehicle and the configuration parameters include:
[0015] Determining a current position of the vehicle based on the initial position of the vehicle and the configuration parameters;
[0016] Determine the network element distance according to the current position and the base station position, and determine and output the network signal loss according to the network element distance and the coverage parameter;
[0017] The vehicle distance between vehicles is calculated according to the current positions of all vehicles in the simulation scenario, and the V2X signal loss is determined and output according to the vehicle distance and the configuration parameters.
[0018] In some embodiments, the method further comprises:
[0019] The facility locations and facility parameters of the participating facilities in the simulation scenario are set, and the facility locations and facility parameters are used to determine the network signal loss, the V2X signal loss, and for vehicle function testing.
[0020] In a second aspect, an embodiment of the present application provides a vehicle networking scenario simulation system, including: a simulation module, a positioning signal simulator, a first programmable attenuation matrix, and a second programmable attenuation matrix;
[0021] The simulation module is used to execute the vehicle networking scenario simulation method as described in any one of the first aspects;
[0022] The positioning signal simulator is used to receive the vehicle positioning information output by the simulation module and generate a vehicle positioning signal according to the positioning information;
[0023] The first program-controlled attenuation matrix is used to receive the network signal loss output by the simulation module and adjust the network signal attenuation value according to the network signal loss;
[0024] The second programmable attenuation matrix is used to receive the V2X signal loss output by the simulation module and adjust the V2X signal attenuation value according to the V2X signal loss.
[0025] In some of the embodiments, the system further comprises a communication terminal, wherein the communication terminal is respectively connected to the first programmable attenuation matrix and the second programmable attenuation matrix.
[0026] In some embodiments, the input port of the first programmable attenuation matrix is connected to the base station, and the output port is connected to the network signal interface of the communication terminal; the input port and output port of the second programmable attenuation matrix are respectively connected to the V2X interface of the communication terminal.
[0027] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for simulating a vehicle networking scenario as described in the first aspect above is implemented.
[0028] In a fourth aspect, an embodiment of the present application provides a storage medium on which a computer program is stored, and when the program is executed by a processor, the vehicle network scenario simulation method as described in the first aspect above is implemented.
[0029] Compared with the related art, the vehicle network scenario simulation method provided in the embodiment of the present application establishes a simulation coordinate system; based on the simulation coordinate system, sets the base station position and the coverage parameters of the base station, sets the initial position of a vehicle equipped with a V2X communication device and the configuration parameters of the vehicle; outputs a vehicle positioning signal according to the initial position and configuration parameters of the vehicle, determines and outputs the network signal loss according to the initial position, configuration parameters, base station position and coverage parameters of the vehicle, and determines and outputs the V2X signal loss according to the initial position and configuration parameters of the vehicle, thereby improving the accuracy of the test results of the simulation scheme.
[0030] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0032] Figure 1 It is a hardware structure block diagram of a terminal of a vehicle networking scenario simulation method according to an embodiment of the present invention;
[0033] Figure 2 is a flow chart of a vehicle networking scenario simulation method according to an embodiment of the present application;
[0034] Figure 3 is a flowchart of another vehicle networking scenario simulation method according to an embodiment of the present application
[0035] Figure 4 This is a flowchart of another method for simulating a vehicle networking scenario according to an embodiment of the present application.
[0036] Figure 5 is a structural block diagram of a vehicle networking scenario simulation system according to an embodiment of the present application;
[0037] Figure 6 is a structural block diagram of a vehicle networking scenario simulation system according to another embodiment of the present application;
[0038] Figure 7 is a schematic diagram of a simulated map after setting according to a preferred embodiment of the present application;
[0039] Figure 8 It is a schematic diagram of a vehicle networking scenario simulation system according to a preferred embodiment of the present application. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application. In addition, it can also be understood that although the efforts made in this development process may be complex and lengthy, for ordinary technicians in the field related to the contents disclosed in the present application, some changes such as design, manufacturing or production based on the technical contents disclosed in the present application are only conventional technical means, and should not be understood as insufficient contents disclosed in the present application.
[0041] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0042] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantitative limitation, and may represent the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to greater than or equal to two. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships, for example, "A and / or B" can represent: A exists alone, A and B exist at the same time, and B exists alone. The terms "first", "second", "third" and the like involved in the present application are merely used to distinguish similar objects and do not represent a specific ordering of the objects.
[0043] The method embodiment provided in this embodiment can be executed in a terminal, a computer or a similar computing device. Taking running on a terminal as an example, Figure 1 FIG. 1 is a hardware structure diagram of a terminal of a vehicle networking scenario simulation method according to an embodiment of the present invention. Figure 1 As shown, the terminal 10 may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0044] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the vehicle networking scene simulation method in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0045] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by the communication provider of the terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0046] This embodiment provides a method for simulating a vehicle networking scenario. Figure 2 is a flow chart of a vehicle networking scenario simulation method according to an embodiment of the present application, such as Figure 2 As shown, the process includes the following steps:
[0047] Step S201, establish a simulation coordinate system. The simulation coordinate system can be established based on a simulation map. The simulation map refers to a site or area created in the simulation software for vehicle networking testing. The map can be an existing electronic map imported into the simulation software, or a self-built virtual map. The simulation map may include various types of information such as road information, building information, and signal indication areas. Optionally, a terrain editing function is added to the simulation map. Different terrains will affect the signal attenuation of the network link and the V2X link. The simulation coordinate system is used to locate objects subsequently set on the map.
[0048] Step S202, based on the simulation coordinate system, sets the base station position and the coverage parameters of the base station, sets the initial position of the vehicle equipped with the V2X communication device, and the configuration parameters of the vehicle. Set the base station position in the simulation map and set the coverage parameters of the base station such as station height, frequency, antenna downtilt angle, etc., that is, various types of parameters that will affect the coverage range of the base station signal. In addition, the initial position of the vehicle equipped with the V2X communication device and the parameters corresponding to the V2X communication device on the vehicle such as antenna type, antenna height, antenna gain, RF signal frequency and other static configuration parameters are set in the simulation map. At the same time, the above configuration parameters also include dynamic configuration parameters such as the vehicle's driving speed, driving route and real-time coordinates. In some stability tests, the configuration parameters may also include repetitive related setting data such as the number of cycles. Because it is based on a unified vehicle network simulation coordinate system, the base station coordinates, vehicle coordinates, etc. used to calculate the above information can be matched in real time, which is conducive to the subsequent calculation of the relative position of the vehicle and the base station.
[0049] Step S203, output the vehicle positioning signal according to the initial position and configuration parameters of the vehicle, determine and output the network signal loss according to the initial position, configuration parameters, base station position and coverage parameters of the vehicle, and determine and output the V2X signal loss according to the initial position and configuration parameters of the vehicle. In the simulation scenario, there may be multiple base stations and multiple vehicles, and one of the vehicles is used as the test target. At a certain instant, the base station of the test target vehicle included in the signal coverage range, and the V2X signal of the test target vehicle included in the signal coverage range can communicate with the test target vehicle. According to the current position of the test target vehicle and the position of the base station communicating with the test target vehicle, the path loss of the network signal can be calculated, and according to the current position of the test target vehicle and the position of the vehicle communicating with the test target vehicle, the path loss of the V2X signal can be calculated. The above-mentioned network signal can be a cellular wireless network such as 2G, 3G, 4G or 5G network, or it can be other forms of wireless communication networks such as WiFi or Bluetooth. In some embodiments, if the corresponding network is not set in the simulation scenario, the network signal can be regarded as 0 and no calculation is required. In other embodiments, if the vehicle has other forms of signal input in the simulation scenario, the signal can also be calculated and simulated according to the principles provided in this embodiment. The other forms of signals include but are not limited to radar, infrared, sound waves, video signals, etc.
[0050] The simulation system can directly output the above two types of path losses to the hardware device, such as the signal transmitting device, and the signal transmitting device can adjust the signal strength between the V2X communication device and the target test vehicle according to the path loss. Optionally, the simulation system can calculate the above two types of path losses and adjust the attenuation values of the corresponding channels of the network link and the V2X link program-controlled attenuation matrix according to the path loss. The transmitter sends out a radio frequency signal, which reaches the receiving end after being attenuated by a specific channel of the program-controlled attenuator, so that the signal strength received by the vehicle is more consistent with the real-time situation of the vehicle, thereby detecting the performance or specific functions of the vehicle in a preset test environment. In addition, the positioning information of the vehicle can be obtained according to the initial position of the vehicle and the configuration parameters related to the movement, and the positioning signal is formed according to the positioning information, and is output by the simulation system to the navigation system of the vehicle or other systems used for positioning, which is used to control the position of the corresponding vehicle in the test environment. It should be noted that in the vehicle network simulation scenario, there may be multiple vehicles, so any vehicle in the scenario can be regarded as a target detection vehicle. If necessary, the simulation system can calculate and output the above three parameters for each vehicle according to the method in this implementation, so this embodiment is not for a specific vehicle. In addition, specific test scenarios and functions, such as forward collision warning, intersection collision warning, etc., are subsequent calculations and tests performed under the basic conditions of vehicle position and signal strength provided in this embodiment. These specific application scenarios are not used to limit the Internet of Vehicles scenario simulation method provided in this embodiment.
[0051] Through the above steps, a unified Internet of Vehicles scenario simulation software is used to adjust the attenuation of the network communication link and the V2X link in real time according to the real-time positions of the base stations and vehicles in the scenario, so as to simulate the position changes and signal changes during vehicle operation. The signals involved in the entire test process are matched with the simulation scenarios in the simulation software, which improves the accuracy of the simulation test.
[0052] In some embodiments, the vehicle networking scenario simulation method also includes setting the facility location and facility parameters of the participating facilities in the simulation scenario, and the facility location and the facility parameters are used to determine the network signal loss, the V2X signal loss and for vehicle function testing. The above-mentioned participating facilities may be traffic facilities or pedestrians equipped with V2X communication devices, that is, any inanimate or living objects other than vehicles that may participate in V2X communication. When these participating facilities are included in the simulation scenario, the parameters of all participating facilities will be similarly taken into account in the calculation of the target detection vehicle position, network signal loss and V2X signal loss. In addition, the location and facility parameters of these participating facilities themselves may also be used in test scenarios such as collision warning and other functions during the test process.
[0053] In some embodiments, the network signal loss is determined and output according to the initial position, configuration parameters, base station position and coverage parameters of the vehicle. Determining and outputting the V2X signal loss according to the initial position and configuration parameters of the vehicle includes: determining the current position of the vehicle according to the initial position and configuration parameters of the vehicle, determining the network element distance according to the current position of the vehicle and the base station position, and determining and outputting the network signal loss according to the network element distance and coverage parameters. According to the coordinates of the current position of the vehicle and the coordinates of the base station position, the network element distance d1 between the vehicle and the base station can be obtained, and then according to the coverage parameters of the base station, the network signal loss at the current network element distance, that is, the path loss of the network signal, can be calculated. According to the current position of each vehicle in the simulation scenario, the vehicle distance d2 between the vehicles is calculated, and according to the vehicle distance and the configuration parameters of each vehicle, the V2X signal loss, that is, the path loss of the V2X link, is calculated. The path loss Lr is a function with distance d and frequency f as independent variables. The longer the distance and the higher the frequency, the higher the loss. The calculation formula can be selected in the simulation software according to the actual road measurement conditions. Several commonly used models to describe large-scale fading include the free space model, Bullington model, EgLi model, Hata-Okumura model, etc.
[0054] In some of the embodiments, a method for simulating a vehicle networking scenario is also provided. Figure 3 is a flow chart of another vehicle networking scenario simulation method according to an embodiment of the present application, such as Figure 3 As shown, the process includes the following steps:
[0055] Step S301, determine and output the signal delay based on the initial position of the vehicle, configuration parameters, base station position and coverage parameters. Position changes between vehicles and between vehicles and base stations will not only affect the RF signal strength, but also cause delays. In order to further improve the accuracy of the simulation test, this embodiment also calculates the delay based on the existing vehicle position and base station position. The delay is the ratio of the distance between the vehicle and the base station to the speed of light. The calculated delay will also be added to the simulation of the above-mentioned network link signal and V2X link signal through hardware or software.
[0056] In some of the embodiments, a method for simulating a vehicle networking scenario is also provided. Figure 4 is a flow chart of another method for simulating a vehicle networking scenario according to an embodiment of the present application. Figure 4 As shown, the process includes the following steps:
[0057] Step S401, determine and output the signal Doppler effect according to the initial position of the vehicle, configuration parameters, base station position and coverage parameters. Position changes between vehicles and between vehicles and base stations will not only affect the strength of the RF signal, but also produce the Doppler effect. Since the Doppler effect is related to the distance and relative speed between devices, in order to further improve the accuracy of the simulation test, the signal Doppler effect is also calculated using the existing vehicle position and base station position in this embodiment. The Doppler effect states that the receiving frequency of a wave becomes higher when the wave source moves toward a certain place, and the receiving frequency becomes lower when the wave source moves away from that place. The Doppler effect is related to the wavelength of the wave source being λ, the wave speed being u, and the relative moving speed being v. The calculated influence of the Doppler effect on the signal will also be added to the simulation of the above-mentioned network link signal and V2X link signal through hardware or software.
[0058] This embodiment also provides a vehicle networking scenario simulation system, which is used to implement the embodiments and preferred implementations in this application, and will not be repeated here. As used below, the terms "module", "unit", "sub-unit", etc. can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0059] Figure 5 is a structural block diagram of a vehicle networking scenario simulation system according to an embodiment of the present application, such as Figure 5 As shown, the system includes: a simulation module 52, a positioning signal simulator 54, a first program-controlled attenuation matrix 56 and a second program-controlled attenuation matrix 58;
[0060] The simulation module 52 is used to execute the vehicle networking scenario simulation method in any of the above embodiments;
[0061] The positioning signal simulator 54 is used to receive the vehicle positioning information output by the simulation module and convert it into real GPS, Beidou and other satellite positioning signals.
[0062] The first program-controlled attenuation matrix 56 is used to receive the network signal loss output by the simulation module and adjust the network signal attenuation value according to the network signal loss;
[0063] The second programmable attenuation matrix 58 is used to receive the V2X signal loss output by the simulation module and adjust the V2X signal attenuation value according to the V2X signal loss.
[0064] In some embodiments, Figure 6 is a structural block diagram of a vehicle networking scenario simulation system according to another embodiment of the present application, such as Figure 6 As shown, the system includes Figure 5All modules shown in the figure also include a communication terminal 62, which is connected to the first programmable attenuation matrix 56 and the second programmable attenuation matrix 58 respectively, and is used to receive the output of each of the above modules. In some embodiments, the input port of the first programmable attenuation matrix 56 is connected to the base station, and the output port is connected to the network signal interface of the communication terminal 62, which is used to adjust the attenuation value of the network signal; the input port and the output port of the second programmable attenuation matrix 58 are respectively connected to the V2X interface of the communication terminal, which is used to adjust the attenuation value of the V2X signal. It should be noted that each port of the programmable attenuation matrix can be used for both input and output, so the above input port and output port are not used to specify a specific port as an input port or an output port, but are only used to express the purpose of the port under the current connection or setting.
[0065] It should be noted that the above modules can be functional modules or program modules, and can be implemented by software or hardware. For modules implemented by hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination. The embodiments of the present application are described and illustrated below through preferred embodiments.
[0066] In a preferred embodiment, the base stations, vehicles, facilities, pedestrians, roads, etc. in the simulation scene are modeled in a unified simulation software map to establish a virtual multi-cell and multi-vehicle (facility) Internet of Vehicles test site. The simulation software outputs the cellular wireless network signal attenuation matrix, V2X signal attenuation matrix, and satellite positioning signal in real time. Multiple vehicles can verify various specific functions in this near-real wireless environment, such as emergency braking, lane-changing overtaking, traffic radar, etc.
[0067] In this simulation scenario, the position change between network elements will not only cause signal attenuation, but also produce delay and Doppler effect, etc. The above network elements refer to any subject involved in communication such as base stations, vehicles, facilities, passers-by, roads, etc. In this preferred embodiment, only signal attenuation is used as an example for description.
[0068] From the perspective of simulation software, first use simulation software to establish a map and a corresponding simulation coordinate system, arrange the location of the base station antenna in the map and set the coverage parameters of the base station such as station height, frequency, antenna downtilt angle, etc. These parameters will affect the coverage range of the base station signal and also correspond to the attenuation function of the attenuation matrix. Optionally, some of the base stations can be used as real interference sources. Set the initial positions of vehicles, traffic facilities, and pedestrians equipped with V2X communication devices in the software, as well as configuration parameters that may affect the coverage range and facility parameters such as antenna type and antenna height. Optionally, real terminals of cellular wireless networks such as mobile phones and CPE can also be added to simulate large traffic scenarios. The configuration of vehicle driving scenarios also includes configuration parameters such as the moving routes, speeds, and real-time distances of vehicles and pedestrians, which are used to test specific functions of the vehicle such as forward collision warning and intersection collision warning. In addition, the number of cycles of the motion scene can also be set to test the functions and stability of the Internet of Vehicles and vehicle-mounted software. Figure 7 Schematic diagram of a simulated map after setting according to a preferred embodiment of the present application. Figure 7 As shown, the circle is the coverage of the corresponding base station or other wireless network, and the two lines are the preset driving paths of the corresponding vehicles.
[0069] Figure 8 It is a schematic diagram of a vehicle networking scenario simulation system according to a preferred embodiment of the present application. Use a PC or a host computer 82 to run the simulation software as a simulation module. The control signal of the simulation module connects the satellite positioning signal simulator 84 and two programmable attenuation matrices. The entrance of the cellular programmable attenuation matrix 85 is connected to the base station radio frequency unit 83, and the exit is connected to the Uu port antenna of the vehicle-mounted communication terminal. The V2X antenna of the vehicle-mounted communication terminal 88 is divided into two paths, which are respectively connected to the entrance and exit of the V2X programmable attenuation matrix 86. In this way, the V2X links between multiple vehicles are interconnected. For example, 8 vehicles use an 8*8 programmable attenuation matrix, and the antenna of the vehicle-mounted communication terminal 1 corresponding to vehicle 1 is connected to the in1 and out1 ports of the V2X attenuation matrix, and the antenna of the vehicle-mounted communication terminal 1 corresponding to vehicle 2 is connected to the in2 and out2 ports of the V2X attenuation matrix, and so on. The V2X signals between vehicles are physically interconnected through programmable attenuators. In the programmable attenuation matrix, the radio frequency signals between each entrance and exit are connected, and the strength of each signal will be adjusted according to the distance between the objects they represent in the simulation software. The vehicle-mounted communication terminal 88 can be placed in a shielding box using a vehicle networking communication terminal as needed, or placed in a darkroom using a real vehicle.
[0070] During the scenario simulation process, the simulation software calculates the distance between the network elements according to the real-time coordinates of the network elements in the software. The distance d1 between the vehicle and each base station antenna is combined with the previously configured coverage parameters to calculate the path loss of the Uu port link and output the attenuation value of the corresponding channel to the cellular program-controlled attenuation matrix 85 in real time. The distance d2 between the vehicle and any device in the V2X network is calculated based on d2 combined with the previously configured configuration parameters or facility parameters to calculate the path loss of the V2X link, and adjust the attenuation value of the corresponding channel of the V2X program-controlled attenuation matrix 86. Among them, the path loss Lr is a function with distance d and frequency f as independent variables. The longer the distance and the higher the frequency, the higher the loss. The calculation formula can be selected in the simulation software according to the actual road conditions. Several commonly used models for describing large-scale fading include the free space model, the Bullington model, the EgLi model, the Hata-Okumura model, etc. Taking the free space model as an example, the calculation formula for the path loss Lr is as shown in Formula 1:
[0071] Lr=20lgd+20lgf+32.4 Formula 1
[0072] The simulation software outputs multiple coordinate parameters to the satellite positioning signal simulator 84 according to the position of the vehicle in the scene, and then generates multiple satellite positioning signals to be sent to the satellite positioning device of the corresponding vehicle.
[0073] The above preferred embodiments solve the problem that wireless network signal simulation does not support dynamic V2X links in the Internet of Vehicles; solves the problem that in the Internet of Vehicles simulation test, the changes in cellular wireless signals and V2X signals do not match the simulation scenarios; solves the problem that the Internet of Vehicles simulation test cannot be combined with base station functions such as cell switching and load balancing; solves the problem that the Internet of Vehicles simulation test does not support multiple real cell coverage and multiple real vehicle operation scenarios; when necessary, the base station is used as an interference source to solve the problem that the interference signal cannot change dynamically with the movement of the vehicle.
[0074] It should be noted that the steps shown in the above process or the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0075] This embodiment further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0076] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0077] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0078] S1, establish simulation coordinate system;
[0079] S2, based on the simulation coordinate system, setting the base station position and the coverage parameters of the base station, setting the initial position of the vehicle equipped with the V2X communication device and the configuration parameters of the vehicle;
[0080] S3, outputs the vehicle positioning signal according to the vehicle's initial position and configuration parameters, determines and outputs the network signal loss according to the vehicle's initial position, configuration parameters, base station position and coverage parameters, and determines and outputs the V2X signal loss according to the vehicle's initial position and configuration parameters.
[0081] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0082] In addition, in combination with the vehicle networking scene simulation method in the above embodiment, the embodiment of the present application can provide a storage medium for implementation. The storage medium stores a computer program; when the computer program is executed by the processor, any vehicle networking scene simulation method in the above embodiment is implemented.
[0083] Those skilled in the art should understand that the technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0084] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A vehicle networking scenario simulation method, characterized in that: include: Establish simulation coordinate system; Based on the simulation coordinate system, setting a base station position and coverage parameters of the base station, setting an initial position of a vehicle equipped with a V2X communication device and configuration parameters of the vehicle; Outputting a vehicle positioning signal according to the initial position of the vehicle and the configuration parameters, determining and outputting a network signal loss according to the initial position of the vehicle, the configuration parameters, the base station position, and the coverage parameters, and determining and outputting a V2X signal loss according to the initial position of the vehicle and the configuration parameters, including: Determining a current position of the vehicle based on the initial position of the vehicle and the configuration parameters; Determine the network element distance according to the current position and the base station position, and determine and output the network signal loss according to the network element distance and the coverage parameter; Calculating a vehicle distance between vehicles according to the current positions of all vehicles in the simulation scenario, and determining and outputting the V2X signal loss according to the vehicle distance and the configuration parameters; According to the network path loss and the V2X signal loss, the attenuation values of the channels corresponding to the network link and the V2X link programmable attenuation matrix are adjusted respectively.
2. The vehicle networking scenario simulation method according to claim 1, characterized in that: After setting the base station position and the coverage parameters of the base station, setting the initial position of the vehicle equipped with the V2X communication device and the configuration parameters of the vehicle, the method includes: The signal delay is determined and output according to the initial position of the vehicle, the configuration parameters, the base station position and the coverage parameters, and the signal includes a network signal and a V2X signal.
3. The vehicle networking scenario simulation method according to claim 1, characterized in that: After setting the base station position and the coverage parameters of the base station, setting the initial position of the vehicle equipped with the V2X communication device and the configuration parameters of the vehicle, the method includes: The Doppler effect of a signal is determined and output according to the initial position of the vehicle, the configuration parameters, the base station position and the coverage parameters, wherein the signal includes a network signal and a V2X signal.
4. The vehicle networking scenario simulation method according to claim 1, characterized in that: The method further comprises: The facility locations and facility parameters of the participating facilities in the simulation scenario are set, and the facility locations and facility parameters are used to determine the network signal loss, the V2X signal loss, and for vehicle function testing.
5. A vehicle networking scenario simulation system, characterized in that: include: A simulation module, a positioning signal simulator, a first program-controlled attenuation matrix, and a second program-controlled attenuation matrix; The simulation module is used to execute the vehicle networking scenario simulation method according to any one of claims 1 to 4; The positioning signal simulator is used to receive the vehicle positioning information output by the simulation module and generate a vehicle positioning signal according to the positioning information; The first program-controlled attenuation matrix is used to receive the network signal loss output by the simulation module and adjust the network signal attenuation value according to the network signal loss; The second programmable attenuation matrix is used to receive the V2X signal loss output by the simulation module and adjust the V2X signal attenuation value according to the V2X signal loss.
6. The vehicle networking scene simulation system according to claim 5, characterized in that: The system further comprises a communication terminal, which is respectively connected to the first programmable attenuation matrix and the second programmable attenuation matrix.
7. The vehicle networking scene simulation system according to claim 6, characterized in that: The input port of the first programmable attenuation matrix is connected to the base station, and the output port is connected to the network signal interface of the communication terminal; the input port and output port of the second programmable attenuation matrix are respectively connected to the V2X interface of the communication terminal.
8. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to execute the vehicle networking scenario simulation method according to any one of claims 1 to 4.
9. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the vehicle networking scenario simulation method according to any one of claims 1 to 4 when running.
Citation Information
Patent Citations
V2X test method and system
CN111797475A