Communication control method of vehicle and electronic equipment

By dividing spatial blocks and selecting target road communication devices through cloud servers, the problem of frequent switching of communication connections between vehicles and road communication devices is solved, realizing dynamic allocation of resources and efficient communication.

CN121815213APending Publication Date: 2026-04-07GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-22
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

The frequent switching of communication connections between vehicles and road communication equipment leads to uneven resource allocation and excessive communication load.

Method used

The system receives the target vehicle's operating parameters from the cloud server, divides the space into multiple blocks, determines the target space block and sends out map information, and selects the target road communication equipment based on vehicle speed and predicted trajectory to achieve dynamic communication connection.

Benefits of technology

Reduce data transmission rate and storage space usage, improve the compatibility of communication connections, avoid frequent switching, and realize dynamic allocation of road communication equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121815213A_ABST
    Figure CN121815213A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data processing, and provides a vehicle communication control method and electronic equipment. The method comprises the following steps: receiving operation parameters of a target vehicle, determining a target space block to which the target vehicle belongs from a plurality of pre-divided space blocks according to the operation parameters, and issuing map information of the target space block to the target vehicle; determining a target time period according to the current vehicle speed in the operation parameters, and determining a predicted trajectory of the target vehicle in the target time period based on the map information and the operation parameters; and determining a target road communication device according to the current position in the operation parameters, the predicted trajectory and the plurality of space blocks, and issuing the target road communication device to the target vehicle, so that the target vehicle establishes a communication connection with the target road communication device. Therefore, the problem of frequent switching of communication connection between the vehicle and the road communication equipment can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of data processing technology, and in particular to a communication control method and electronic device for a vehicle. Background Technology

[0002] With the development of the automotive industry, real-time information exchange between vehicles and road communication equipment has become crucial. Vehicles establish direct communication connections with surrounding road communication equipment, and during operation, they need to constantly switch between these devices, leading to frequent switching of communication connections between the vehicle and the road communication equipment.

[0003] In view of this, how to avoid frequent switching of communication connections between vehicles and road communication equipment has become an urgent technical problem to be solved. Summary of the Invention

[0004] In view of this, the purpose of this disclosure is to propose a vehicle communication control method and electronic device to solve the problem of frequent switching of communication connections between vehicles and road communication equipment in the prior art.

[0005] To achieve the above objectives, the first aspect of this disclosure proposes a vehicle communication control method applied to a cloud server; the method includes: Upon receiving the operating parameters of the target vehicle, the system determines the target spatial block to which the target vehicle belongs from a pre-divided set of spatial blocks based on the operating parameters, and sends the map information of the target spatial block to the target vehicle. The target time period is determined based on the current vehicle speed in the operating parameters, and the predicted trajectory of the target vehicle within the target time period is determined based on the map information and the operating parameters. The target road communication device is determined based on the current location in the operating parameters, the predicted trajectory, and the multiple spatial blocks, and the target road communication device is sent to the target vehicle so that the target vehicle can establish a communication connection with the target road communication device.

[0006] Based on the same inventive concept, a second aspect of this disclosure proposes a vehicle communication control method applied to the vehicle end; the method includes: The operating parameters of the target vehicle are obtained and sent to the cloud server so that the cloud server can determine the target space block to which the target vehicle belongs based on the operating parameters. The system receives map information of the target spatial block from the cloud server and displays the map information of the target spatial block. The system receives the target road communication device from the cloud server and controls the target vehicle to establish a communication connection with the target road communication device.

[0007] Based on the same inventive concept, a third aspect of this disclosure proposes an electronic device including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method described above when executing the computer program.

[0008] As described above, the vehicle communication control method and electronic device provided in this disclosure are as follows: Upon receiving the operating parameters of the target vehicle, the system determines the target spatial block to which the target vehicle belongs from a pre-divided set of spatial blocks based on the operating parameters, and sends the map information of the target spatial block to the target vehicle. This eliminates the need to send global map data to the target vehicle, thereby reducing data transmission rate and the storage space occupied by the target vehicle. The system determines the target time period based on the current vehicle speed in the operating parameters, and determines the predicted trajectory of the target vehicle within the target time period based on the map information and operating parameters. This allows for accurate determination of the predicted trajectory of the target vehicle within the target time period, and can predict the predicted trajectory for different time periods for target vehicles with different speeds. The system then determines the target road communication device based on the current position, predicted trajectory, and multiple spatial blocks in the operating parameters, and sends the target road communication device information to the target vehicle to establish a communication connection. This approach comprehensively considers the target vehicle's current position, predicted trajectory, and multiple spatial blocks, making the communication connection between the target road communication device and the target vehicle more compatible, avoiding frequent switching of communication connections between the vehicle and the road communication device, and enabling dynamic allocation of the road communication device. Attached Figure Description

[0009] To more clearly illustrate the technical solutions in this disclosure or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0010] Figure 1 This is a flowchart of a vehicle communication control method according to the first embodiment of this disclosure; Figure 2 This is a flowchart of a road communication equipment allocation method according to an embodiment of the present disclosure; Figure 3 This is a flowchart of a spatial partitioning method based on geohashing, as described in an embodiment of this disclosure. Figure 4 This is a flowchart of the vehicle trajectory prediction method according to an embodiment of the present disclosure; Figure 5 This is a flowchart of a communication connection establishment and switching method according to an embodiment of the present disclosure; Figure 6 This is a schematic diagram of the structure of a road communication equipment distribution system according to an embodiment of the present disclosure; Figure 7 This is a flowchart of a vehicle communication control method according to a second embodiment of the present disclosure; Figure 8 This is a schematic diagram of the structure of a cloud server according to an embodiment of the present disclosure; Figure 9 This is a schematic diagram of the vehicle end structure according to an embodiment of the present disclosure; Figure 10 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. Detailed Implementation

[0011] To make the objectives, technical solutions, and advantages of this disclosure clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.

[0012] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this disclosure should have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms "first," "second," and similar terms used in the embodiments of this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0013] Based on the background description, with the rapid development of vehicle-to-everything (V2X) technology, the connectivity rate of vehicles and the demand for data transmission have increased significantly, leading to severe challenges in resource management within the V2X environment. Related V2X resource allocation schemes suffer from the following problems: (1) Vehicles have high-speed mobility, which leads to frequent adjustments in resource allocation. Traditional static resource allocation methods cannot adapt to the dynamic mobility characteristics of vehicles, resulting in resource waste or insufficient supply. (2) The number of vehicles in the Internet of Vehicles service area is huge. Global storage and transmission of vehicle location information will generate a high storage burden and communication load, reducing the system response speed; (3) Vehicle movement leads to uneven load distribution in the edge network. Some nodes are overloaded due to dense vehicle traffic, while some nodes are idle due to sparse vehicle traffic. (4) The traffic of the Internet of Vehicles has significant spatiotemporal fluctuation characteristics. Fixed resource allocation cannot cope with traffic peaks, resulting in low resource utilization or reduced service quality.

[0014] Therefore, there is an urgent need for a resource optimization allocation scheme that can adapt to the dynamic movement characteristics of vehicles, reduce storage and communication loads, balance network loads, and cope with traffic fluctuations.

[0015] As mentioned above, how to avoid frequent switching of communication connections between vehicles and road communication equipment has become an important research problem.

[0016] Based on the above description, such as Figure 1 As shown, the vehicle communication control method proposed in this embodiment is applied to a cloud server; the method includes: Step 101: Receive the operating parameters of the target vehicle, determine the target spatial block to which the target vehicle belongs from a pre-divided plurality of spatial blocks according to the operating parameters, and send the map information of the target spatial block to the target vehicle.

[0017] In practice, the cloud server receives the target vehicle's operating parameters and determines the target spatial block to which the target vehicle belongs from a pre-divided set of spatial blocks based on these parameters. The operating parameters are the target vehicle's current state information and include at least one of the following: current position, current speed, and current acceleration. The multiple spatial blocks are multiple spatial regions obtained by the cloud server dividing the vehicle-to-everything (V2X) communication area, and the target spatial block is the spatial block to which the target vehicle belongs, determined from these multiple spatial blocks.

[0018] The cloud service retrieves the map information of the target spatial block and sends it to the target vehicle. Once the target vehicle receives the map information, it can display it. In this way, the target vehicle only needs to obtain the map information of the target spatial block, without needing to access the global map data, thus reducing data transfer rate and storage overhead.

[0019] Step 102: Determine the target time period based on the current vehicle speed in the operating parameters, and determine the predicted trajectory of the target vehicle within the target time period based on the map information and the operating parameters.

[0020] In practice, the target time period is the length of the time window for predicting the target vehicle's trajectory. Different current vehicle speeds correspond to different target time periods, enabling the determination of the predicted trajectory within the corresponding target time period based on the target vehicle's current speed.

[0021] For example, the first speed range corresponds to the first time period, the second speed range corresponds to the second time period, and the third speed range corresponds to the third time period. When the target vehicle's current speed falls within the second speed range, the target time period is determined as the second time period, and the predicted trajectory of the target vehicle within the second time period is determined.

[0022] Step 103: Determine the target road communication device based on the current position, the predicted trajectory, and the multiple spatial blocks in the operating parameters, and send the target road communication device to the target vehicle so that the target vehicle can establish a communication connection with the target road communication device.

[0023] In practice, the system determines whether the target vehicle has left the target spatial block based on its current location and predicted trajectory. If the target vehicle has not left the target spatial block, the current road communication device is used as the target road communication device, meaning the target vehicle maintains a communication connection with the current road communication device. If the target vehicle leaves the target spatial block, the system determines the adjacent spatial block the target vehicle has entered based on the predicted trajectory, and the adjacent road communication device within the adjacent spatial block is used as the target road communication device, meaning the target vehicle switches to a communication connection with the adjacent road communication device.

[0024] Figure 2 This is a flowchart illustrating a road communication equipment allocation method according to an embodiment of this disclosure. Figure 2 As shown, the road communication device allocation method based on geohash and time window includes: Step 1, process initiation. Step 2, data collection: The cloud server collects the location, speed, acceleration, and timestamp of the target vehicle. Step 3, spatial matching: Calculate the geohash encoding; request map segments and nearby vehicles; query and return from the Redis cluster. Step 4, trajectory prediction: Input historical time-series data, use the LSTM / GRU prediction model, and output the future trajectory sequence. Step 5, cluster management: Cluster creation / update, load assessment, and cluster switch prediction. Step 6, elastic scaling: Monitor Pod metrics (CPU / memory / connections / latency); determine if the metrics exceed the threshold; if the metrics do not exceed the threshold, maintain the current state; if the metrics exceed the threshold, trigger scaling up / down to adjust the number of Pod replicas. Step 7, resource allocation and service execution: Determine if the service is completed; if the service is completed, the process ends; if the service is not completed, return to Step 2.

[0025] Through the above embodiments, the operating parameters of the target vehicle are received. Based on the operating parameters, the target spatial block to which the target vehicle belongs is determined from multiple pre-divided spatial blocks, and the map information of the target spatial block is sent to the target vehicle. This eliminates the need to send global map data to the target vehicle, thereby reducing data transmission rate and the storage space occupied by the target vehicle. The target time period is determined based on the current vehicle speed in the operating parameters, and the predicted trajectory of the target vehicle within the target time period is determined based on the map information and operating parameters. This allows for accurate determination of the predicted trajectory of the target vehicle within the target time period, and can predict the predicted trajectory for different time periods for target vehicles with different speeds. The target road communication device is determined based on the current location, predicted trajectory, and multiple spatial blocks in the operating parameters, and the target road communication device is sent to the target vehicle to establish a communication connection. In this way, the target road communication device comprehensively considers the current location, predicted trajectory, and multiple spatial blocks of the target vehicle, making the communication connection between the target road communication device and the target vehicle more compatible, avoiding the problem of frequent switching of communication connections between the vehicle and the road communication device, and also enabling dynamic allocation of road communication devices.

[0026] In some embodiments, the pre-division process of the plurality of spatial blocks includes: Step 1011: Obtain the number of vehicles in the target area; wherein, the target area is the area where the cloud server performs vehicle-to-everything (V2X) communication.

[0027] In practice, the target area is the region where the cloud server performs vehicle-to-everything (V2X) communication or V2X services. The number of vehicles within the target area is obtained, and the decision to divide the target area is based on this number.

[0028] Step 1012: In response to determining that the number of vehicles has reached a first preset number threshold, the target area is divided into a preset number of spatial grids.

[0029] In practice, the first preset threshold number is the maximum number of vehicles within a pre-defined spatial grid, used to determine whether further subdivision of the target area is necessary. When the number of vehicles does not reach the first preset threshold number, the target area is treated as a spatial grid. When the number of vehicles reaches the first preset threshold number, the target area is divided into a preset number of spatial grids.

[0030] For example, the first preset threshold number is 1000 vehicles. When the number of vehicles in the target area is 500, the target area is used as a spatial grid. When the number of vehicles in the target area is 3800, the target area is divided into a preset number of spatial grids.

[0031] In some scenarios, in response to determining that the number of vehicles has reached a first preset threshold, the number of spatial grids is determined based on the number of vehicles, and the target area is divided into spatial grids of that number. For example, the first preset threshold is 1000 vehicles. When the number of vehicles in the target area is 3800, the number of spatial grids is determined to be 4, and the target area is divided into 4 spatial grids.

[0032] When the number of vehicles reaches a first preset threshold, the target area is divided into a preset number of spatial grids. Idle vehicle location information is stored using a Redis GeoHash structure. The Redis GeoHash structure supports location-based distance calculations and range queries, enabling rapid response to vehicle location query requests. A sharding storage strategy based on cities or regions is adopted, storing vehicle location data from different regions in independent Redis shard nodes to avoid excessive storage pressure on a single node and improve data read / write performance.

[0033] Redis (Remote Dictionary Server) is an open-source, in-memory data structure storage system that supports data persistence and provides application programming interfaces (APIs) in multiple languages. A Redis cluster is part of the Redis distributed database implementation, automatically distributing data across multiple nodes through sharding to achieve high availability and scalability.

[0034] Based on geohash, the target area for vehicle network communication is divided into multiple spatial blocks. Geohash enables efficient indexing and proximity querying of spatial locations by encoding latitude and longitude coordinates into strings.

[0035] Step 1013: Obtain the vehicle density within the spatial grid, and adjust the spatial grid according to the vehicle density to obtain multiple spatial blocks.

[0036] In practice, the vehicle density within each spatial grid is obtained, and multiple spatial grids are adjusted based on the vehicle density to obtain multiple spatial blocks. This adjustment includes merging or dividing multiple spatial grids. This allows for dynamic adjustment of the partitioning precision of the multiple spatial blocks based on the vehicle density within each spatial grid.

[0037] Figure 3 This is a flowchart of a spatial partitioning method based on geohashing, as described in an embodiment of this disclosure. Figure 3As shown, the geohashing-based spatial partitioning method includes: Step 1, acquiring vehicle location data and determining the number of vehicles within the target area from the vehicle location data. Step 2, determining whether the number of vehicles has reached a threshold. Step 3, if the number of vehicles has not reached the threshold, storing the current node (using the target area as a spatial grid). Step 4, if the number of vehicles reaches the threshold, triggering automatic sharding, migrating the data to a new node (dividing the target area into a preset number of spatial grids). Step 5, sharding status monitoring, determining whether to partition the spatial grid by continuously monitoring the number of vehicles within the target area. Step 6, a high-availability architecture, capable of master-slave replication and failover.

[0038] The above scheme obtains the number of vehicles within a target area, where the target area is the region where the cloud server performs vehicle-to-everything (V2X) communication. When the number of vehicles reaches a first preset threshold, the target area is divided into a preset number of spatial grids, completing the initial division of the target area and preventing excessively high vehicle counts within each spatial grid. The vehicle density within each spatial grid is obtained, and the spatial grid is adjusted based on the vehicle density to obtain multiple spatial blocks. In this way, the division accuracy of multiple spatial blocks can be dynamically adjusted according to the vehicle density within the spatial grid.

[0039] In some embodiments, step 1013 includes: Step 1013A: Compare the vehicle density with a first preset density threshold and a second preset density threshold; wherein the first preset density threshold is less than the second preset density threshold.

[0040] In practice, the first preset density threshold is the minimum vehicle density of the spatial grid, and the second preset density threshold is the maximum vehicle density of the spatial grid. By comparing the vehicle density with the first and second preset density thresholds, it is possible to determine whether the spatial grid is a low-density or high-density region, and then adjust the spatial grid to obtain multiple spatial blocks.

[0041] Step 1013B: In response to determining that the vehicle density is less than the first preset density threshold, the spatial grid is merged to obtain multiple spatial blocks.

[0042] In practice, when the vehicle density is less than a first preset density threshold, the spatial grid is considered a low-density region. In this scenario, to reduce the partitioning accuracy and avoid resource fragmentation, other low-density grids adjacent to the current spatial grid are identified from a preset number of spatial grids, and the current spatial grid is merged with other low-density grids to obtain multiple spatial blocks.

[0043] For example, the target area is divided into a first spatial grid, a second spatial grid, a third spatial grid, and a fourth spatial grid. The first preset density threshold is 20 vehicles / km². The vehicle density in the first spatial grid is 10 vehicles / km², in the second spatial grid it is 16 vehicles / km², in the third spatial grid it is 30 vehicles / km², and in the fourth spatial grid it is 60 vehicles / km². In the above scenario, the first and second spatial grids are low-density areas, so the first and second spatial grids are merged to obtain spatial block A.

[0044] Alternatively, in step 1013C, in response to determining that the vehicle density is greater than or equal to the first preset density threshold and less than or equal to the second preset density threshold, the spatial grid is treated as multiple spatial blocks.

[0045] In practice, when the garage density is greater than or equal to a first preset density threshold and less than or equal to a second preset density threshold, the spatial grid is considered to be in a normal density region. In this scenario, no further adjustments to the spatial grid are needed; the spatial grid can be directly treated as multiple spatial blocks.

[0046] For example, the target area is divided into a first spatial grid, a second spatial grid, a third spatial grid, and a fourth spatial grid. The first preset density threshold is 20 vehicles / km², and the second preset density threshold is 50 vehicles / km². The vehicle density within the first spatial grid is 10 vehicles / km², the second spatial grid is 16 vehicles / km², the third spatial grid is 30 vehicles / km², and the fourth spatial grid is 60 vehicles / km². In the above scenario, the third spatial grid is a normal density area, so it is designated as spatial block B.

[0047] Alternatively, in step 1013D, in response to determining that the vehicle density is greater than the second preset density threshold, the spatial grid is divided into multiple spatial blocks.

[0048] In practice, when the vehicle density exceeds a second preset density threshold, the spatial grid is considered a high-density region. In this scenario, to improve the partitioning accuracy and reduce the number of vehicles within each spatial block, the spatial grid is divided into multiple spatial blocks.

[0049] For example, the target area is divided into a first spatial grid, a second spatial grid, a third spatial grid, and a fourth spatial grid. The first preset density threshold is 20 vehicles / km². The vehicle density in the second spatial grid is 16 vehicles / km², the vehicle density in the third spatial grid is 30 vehicles / km², and the vehicle density in the fourth spatial grid is 60 vehicles / km². In the above scenario, the fourth spatial grid is a high-density area, so it is further divided into spatial blocks C and D.

[0050] like Figure 3 As shown, the spatial partitioning method based on geohashing includes: Step 1, obtaining the vehicle-to-everything (V2X) service area (target area). Step 2, partitioning the target area using a geohashing encoding algorithm. Step 3, determining the vehicle density of the spatial grid. Step 4, if the spatial grid is a low-density area, merging it into a larger grid to reduce partitioning accuracy. Step 5, if the spatial grid is a high-density area, dividing it into more smaller grids to improve partitioning accuracy. Step 6, establishing a spatial index, with each spatial block corresponding to a unique code.

[0051] like Figure 3 As shown, Redis cluster sharding strategies include sharding by Geohash prefix and sharding by geographic region. Specifically, sharding by Geohash prefix involves calculating the Geohash prefix when a vehicle requests its current location and then locating the shard corresponding to that prefix. Sharding by geographic region involves storing the spatial block as a first shard, a second shard, and a third shard. For example, when the Geohash is wx4g0e, the first shard corresponding to the wx4 prefix is ​​determined. After the query is complete, a list of nearby vehicles is returned.

[0052] The above scheme compares vehicle density with a first preset density threshold and a second preset density threshold, where the first preset density threshold is less than the second preset density threshold. When the vehicle density is less than the first preset density threshold, the spatial grid is merged to obtain multiple spatial blocks. This reduces partitioning accuracy and avoids resource fragmentation when the spatial grid is a low-density area. When the vehicle density is greater than or equal to the first preset density threshold and less than or equal to the second preset density threshold, the spatial grid is treated as multiple spatial blocks. When the vehicle density is greater than the second preset density threshold, the spatial grid is divided to obtain multiple spatial blocks. This improves partitioning accuracy and reduces the number of vehicles in each spatial block when the spatial grid is a high-density area.

[0053] In some embodiments, step 102 includes: Step 1021: Determine the current speed of the target vehicle from the operating parameters, and compare the current speed with a first preset speed threshold and a second preset speed threshold; wherein the first preset speed threshold is less than the second preset speed threshold.

[0054] In practice, the current speed of the target vehicle is determined from the operating parameters, and the current speed is compared with the first preset speed threshold and the second preset speed threshold to determine the target time period of the predicted trajectory of the target vehicle.

[0055] Step 1022: In response to determining that the current vehicle speed is less than the first preset speed threshold, the target time period is determined to be the first time period.

[0056] In practice, when the current speed of the target vehicle is less than the first preset speed threshold, it indicates that the target vehicle is traveling at low speed, and the target time period is determined as the first time period.

[0057] For example, the first preset speed threshold is 30 km / h, and the first time period is 5 minutes. When the current speed of the target vehicle is less than 30 km / h, the target time period is determined to be 5 minutes, and the predicted trajectory of the target vehicle in the next 5 minutes is determined.

[0058] Alternatively, in step 1023, in response to determining that the current vehicle speed is greater than or equal to the first preset speed threshold and less than the second preset speed threshold, the target time period is determined to be the second time period; wherein the second time period is greater than the first time period.

[0059] In practice, when the current speed of the target vehicle is greater than or equal to the first preset speed threshold and less than the second preset speed threshold, it indicates that the target vehicle is traveling at a normal speed, and the target time period is determined as the second time period.

[0060] For example, the first preset speed threshold is 30 km / h, and the second preset speed threshold is 60 km / h. When the current speed of the target vehicle is greater than or equal to 30 km / h and less than 60 km / h, the target time period is determined to be 10 minutes, and the predicted trajectory of the target vehicle in the next 10 minutes is determined.

[0061] Alternatively, in step 1024, in response to determining that the current vehicle speed is greater than or equal to the second preset speed threshold, the target time window is determined to be a third time period; wherein the third time period is longer than the second time period.

[0062] In practice, when the current speed of the target vehicle is greater than or equal to the second preset speed threshold, it indicates that the target vehicle is traveling at high speed, and the target time period is determined as the third time period.

[0063] For example, the second preset speed threshold is 60 km / h. When the current speed of the target vehicle is greater than or equal to 60 km / h, the target time period is determined to be 15 minutes, and the predicted trajectory of the target vehicle in the next 15 minutes is determined.

[0064] The second time period is longer than the first time period, and the third time period is longer than the second time period. This means that the higher the current speed of the target vehicle, the longer the target time period for the predicted trajectory, thus ensuring the accuracy of the predicted trajectory.

[0065] Step 1025: Determine the historical location of the target vehicle based on the map information, and determine the driving status of the target vehicle based on the operating parameters.

[0066] In practice, the historical location of the target vehicle is determined based on map information, where the historical location is the latitude and longitude coordinates of the target vehicle within a historical time period.

[0067] The driving state of the target vehicle is determined based on the operating parameters. The driving state is a time-series vector constructed based on the operating parameters of the target vehicle. The driving state can be a time-series vector containing the target vehicle's current speed, current acceleration, and timestamp.

[0068] Step 1026: Using a pre-trained trajectory prediction model, determine the predicted trajectory of the target vehicle within the target time period based on the historical location and the driving state.

[0069] In practice, the trajectory prediction model is pre-trained from a Long Short-Term Memory (LSTM) network or a Gated Recurrent Unit (GRU). The pre-trained trajectory prediction model can express trajectory prediction as a nonlinear regression task.

[0070] Historical location and driving status are input into a pre-trained trajectory prediction model. Using the pre-trained trajectory prediction model, the predicted trajectory of the target vehicle within a target time period is determined based on the historical location and driving status.

[0071] Specifically, the higher the current speed of the target vehicle, the longer the target time period for predicting the trajectory. For example, when the current speed of the target vehicle is less than 30 km / h, the predicted trajectory for the target vehicle is determined for the next 5 minutes; when the current speed of the target vehicle is greater than or equal to 30 km / h and less than 60 km / h, the predicted trajectory for the target vehicle is determined for the next 10 minutes; and when the current speed of the target vehicle is greater than or equal to 60 km / h, the predicted trajectory for the target vehicle is determined for the next 15 minutes.

[0072] Figure 4 This is a flowchart of a vehicle trajectory prediction method according to an embodiment of this disclosure. Figure 4 As shown, the pre-training process of the trajectory prediction model includes: training the LSTM / GRU neural network using the sample size, determining the loss function of the neural network through the mean squared error (MSE); performing backpropagation through the Adam optimizer; updating the model parameters of the neural network to obtain an updated prediction model; evaluating the updated prediction model; when the error of the updated prediction model is greater than 5%, further adjusting the hyperparameters of the updated prediction model, or increasing the sample data to further train the updated prediction model; when the error of the updated prediction model is less than or equal to 5%, deploying the updated prediction model as the trajectory prediction model.

[0073] like Figure 4 As shown, the trajectory prediction model is used to determine the predicted trajectory of a target vehicle, including a data input and preprocessing stage and an online prediction stage. In the data input and preprocessing stage, temporal features are acquired, including the target vehicle's historical location (latitude and longitude coordinates), driving status (current speed, current acceleration), and time features (time period, day of the week, road conditions). Specifically, historical location and driving status are collected using vehicle sensors, and the data is cleaned and aligned. The preprocessed historical location and driving status are then converted into temporal features, and the temporal features within the target time period are segmented using a sliding window to adapt to the vehicle speed. In the online prediction stage, the target time period is determined through speed adaptation. Real-time vehicle data is input into the pre-trained trajectory prediction model, which outputs the predicted trajectory of the target vehicle within the target time period and determines the target vehicle's arrival probability distribution and confidence level assessment. The trajectory prediction model includes an input layer, a hidden layer, and an output layer. The input layer receives the temporal features, the hidden layer contains multiple LSTM / GRU units, and the output layer outputs the predicted trajectory.

[0074] The above scheme determines the target vehicle's current speed from the operating parameters. If the current speed is less than a first preset speed threshold, the target time period is defined as the first time period. If the current speed is greater than or equal to the first preset speed threshold but less than a second preset speed threshold, the target time period is defined as the second time period; where the first preset speed threshold is less than the second preset speed threshold, and the second time period is longer than the first time period. If the current speed is greater than or equal to the second preset speed threshold, the target time window is defined as the third time period; where the third time period is longer than the second time period. Thus, the higher the target vehicle's current speed, the longer the target time period for the predicted trajectory, thereby ensuring the accuracy of the predicted trajectory. The historical location of the target vehicle is determined based on map information, and the driving state of the target vehicle is determined based on the operating parameters. Using a pre-trained trajectory prediction model, the predicted trajectory of the target vehicle within the target time period is determined based on the historical location and driving state, enabling accurate prediction of the target vehicle's trajectory within the target time period.

[0075] In some embodiments, step 103 includes: Step 1031: Determine the current road communication device that has established a communication connection with the target vehicle from the target space block, and determine whether the target vehicle is within the communication range of the current road communication device based on the current position in the operating parameters.

[0076] In practice, road communication equipment refers to base station equipment installed around the road to communicate with vehicles. At least one road communication device is installed in each spatial block.

[0077] Among them, the current road communication equipment refers to the road communication base stations set up in the target space block. The current road communication equipment refers to the road communication equipment that has established a communication connection with the target vehicle at the current moment.

[0078] Based on the vehicle's real-time location and communication range, the target road communication device for communication with the target vehicle is determined. Specifically, based on the target vehicle's current location, it is determined whether the target vehicle is within the communication range of the current road communication device, thereby determining whether normal communication can be established between the current road communication device and the target vehicle.

[0079] Step 1032: In response to determining that the target vehicle is within the communication range of the current road communication device, the current road communication device is designated as the target road communication device.

[0080] In practice, when the target vehicle is within the communication range of the current road communication device, it means that the current road communication device and the target vehicle can communicate normally. In this case, the current road communication device is used as the target road communication device, that is, the target vehicle is controlled to maintain the communication connection with the current road communication device.

[0081] For example, the communication range of the current road communication device is within a 500-meter radius. When the distance between the target vehicle and the current road communication device is less than 500 meters, it means that the target vehicle is within a 500-meter radius of the current road communication device, and the current road communication device is then used as the target road communication device.

[0082] Alternatively, in step 1033, in response to determining that the target vehicle is not within the communication range of the current road communication device, the target road communication device is determined based on the predicted trajectory and the plurality of spatial blocks.

[0083] In practice, when the target vehicle is not within the communication range of the current road communication device, it means that the current road communication device and the target vehicle cannot communicate normally. Then, the target road communication device is determined based on the predicted trajectory of the target vehicle and multiple spatial blocks, that is, the communication connection between the target vehicle and the target road communication device is controlled.

[0084] For example, the communication range of the current road communication device is within a 500-meter radius. When the distance between the target vehicle and the current road communication device is greater than 500 meters, it means that the target vehicle is not within a 500-meter radius of the current road communication device. In this case, the target road communication device is determined based on the predicted trajectory of the target vehicle and multiple spatial blocks.

[0085] Specifically, the current road communication equipment is used as an edge node, and vehicles within the communication range are divided into a cooperative cluster centered on the edge node. Vehicles within the cooperative cluster can share the communication resources of the current road communication equipment.

[0086] The above scheme identifies the current road communication device that establishes a communication connection with the target vehicle from the target spatial block. Based on the current location in the operating parameters, it determines whether the target vehicle is within the communication range of the current road communication device, thus confirming whether normal communication is possible between the two devices. When the target vehicle is within the communication range of the current road communication device, it is designated as the target road communication device, maintaining the communication connection and preventing frequent switching. When the target vehicle is outside the communication range of the current road communication device, the target road communication device is determined based on the predicted trajectory and multiple spatial blocks. This allows for quick and accurate identification of the target road communication device capable of normal communication with the target vehicle, preventing prolonged communication interruptions.

[0087] In some embodiments, step 1033 includes: Step 10331: Based on the predicted trajectory and the multiple spatial blocks, determine whether the target vehicle has left the target spatial block corresponding to the current road communication device.

[0088] In practice, the predicted trajectory can accurately determine whether the target vehicle has moved from the target space block to an adjacent space block, that is, whether the target vehicle has left the target space block corresponding to the current road communication equipment, and thus determine whether the communication connection between the target vehicle and the current road communication equipment needs to be switched.

[0089] Step 10332: In response to determining that the target vehicle has not left the target space block corresponding to the current road communication device, the current road communication device is designated as the target road communication device.

[0090] In practice, if the target vehicle has not left the target space block corresponding to the current road communication device, it means that the target vehicle is still traveling within the target space block during the target time period. In the above scenario, if the communication connection between the target vehicle and the current road communication device can meet the communication requirements, then the current road communication device is used as the target road communication device, that is, the target vehicle is controlled to maintain the communication connection with the current road communication device.

[0091] Alternatively, in step 10333, in response to determining that the target vehicle has left the target space block corresponding to the current road communication device, the adjacent space block into which the target vehicle has entered is determined from the plurality of space blocks according to the predicted trajectory, and the adjacent road communication device in the adjacent space block is taken as the target road communication device.

[0092] In practice, when a target vehicle leaves the target spatial block corresponding to the current road communication device, it indicates that the target vehicle will enter a neighboring spatial block within the target time period. In the above scenario, the communication connection between the target vehicle and the current road communication device cannot meet the communication requirements. To reduce the communication interruption time of the target vehicle, the neighboring spatial block that the target vehicle is about to enter is determined based on the predicted trajectory, and the neighboring road communication device within the neighboring spatial block is designated as the target road communication device. In other words, the target vehicle is controlled to switch its communication connection to the neighboring road communication device. This way, the communication connection between the target vehicle and the neighboring road communication device can be established before the target vehicle enters the neighboring spatial block, thereby reducing the communication interruption time of the target vehicle.

[0093] The above scheme, based on the predicted trajectory and multiple spatial blocks, determines whether the target vehicle has left the target spatial block corresponding to the current road communication device. This allows for accurate prediction of whether the target vehicle has left the target spatial block, thus determining whether the communication connection between the target vehicle and the current road communication device needs to be switched. If the target vehicle has not left the target spatial block corresponding to the current road communication device, the current road communication device is used as the target road communication device, maintaining the communication connection and avoiding frequent switching. If the target vehicle leaves the target spatial block corresponding to the current road communication device, the adjacent spatial block into which the target vehicle has entered is determined from multiple spatial blocks based on the predicted trajectory. The adjacent road communication device within this adjacent spatial block is then used as the target road communication device. Based on the predicted trajectory, the target road communication device for communication with the target vehicle can be quickly and accurately determined from adjacent spatial blocks, avoiding prolonged communication interruptions.

[0094] In some embodiments, step 10333 includes: Step 10333A: Determine the first adjacent road communication device and other adjacent road communication devices within the adjacent space block that are closest to the target vehicle in terms of communication distance, and obtain the number of vehicles communicating with the first adjacent road communication device.

[0095] In practice, multiple adjacent road communication devices are installed in the adjacent space block. From these devices, a first adjacent road communication device with the closest communication distance to the target vehicle is determined, and other adjacent road communication devices besides the first adjacent road communication device are also identified.

[0096] For example, if neighboring road communication devices A, B, and C are installed in a neighboring space block, and neighboring road communication device A is the closest to the target vehicle in terms of communication distance, then neighboring road communication device A is designated as the first neighboring road communication device, and neighboring road communication devices B and C are designated as other neighboring road communication devices.

[0097] The number of vehicles communicating with the first adjacent road communication device is obtained, and the load status of the first adjacent road communication device can be accurately determined based on the number of vehicles.

[0098] Step 10333B: In response to determining that the number of vehicles is less than a second preset number threshold, the first adjacent road communication device is selected as the target road communication device.

[0099] In practice, the second preset threshold number is the maximum number of vehicles that the first nearby road communication device can establish a communication connection with, which is used to determine whether the first nearby road communication device is overloaded. When the number of vehicles is less than the second preset threshold number, it indicates that the first nearby road communication device is under normal load, and the first nearby road communication device is used as the target road communication device, that is, the target vehicle is controlled to switch to the communication connection with the first nearby road communication device.

[0100] For example, if the second preset threshold is 50 vehicles, when the number of vehicles communicating with the first adjacent road communication device is less than 50, it indicates that the load of the first adjacent road communication device is normal, and the first adjacent road communication device is used as the target road communication device.

[0101] Alternatively, in step 10333C, in response to determining that the number of vehicles is greater than or equal to a second preset number threshold, the target road communication device is determined from the other nearby road communication devices.

[0102] In practice, the second preset threshold number is the maximum number of vehicles that the first nearby road communication device can establish a communication connection with, which is used to determine whether the first nearby road communication device is overloaded. When the number of vehicles is greater than or equal to the second preset threshold number, it indicates that the first nearby road communication device is overloaded. In this case, a target road communication device is selected from other nearby road communication devices, and the target vehicle is controlled to switch to a communication connection with other nearby road communication devices.

[0103] For example, if the second preset quantity threshold is 50 vehicles, when the number of vehicles communicating with the first adjacent road communication device is greater than or equal to 50, it indicates that the load of the first adjacent road communication device is too high, and then the target road communication device is determined from other adjacent road communication devices.

[0104] Figure 5 This is a flowchart illustrating the communication connection establishment and switching method according to an embodiment of this disclosure. Figure 5 As shown, the real-time cluster establishment process is the process of establishing a communication connection between the target vehicle and the target road communication equipment. Specifically, it involves obtaining the real-time location of the target vehicle and determining whether the target vehicle is already in a cluster, i.e., whether the target vehicle is within the communication range of the current road communication equipment. If the target vehicle is in an existing cluster, the current cluster membership is maintained, i.e., the communication connection between the target vehicle and the current road communication equipment is preserved. If the target vehicle is not in an existing cluster, neighboring edge nodes are searched, i.e., the target road communication equipment is re-determined.

[0105] like Figure 5As shown, the system continuously monitors the predicted trajectory of the target vehicle and determines whether the predicted trajectory has left the target space block of the current road communication equipment. If the predicted trajectory remains within the target space block, the communication connection between the target vehicle and the current road communication equipment is maintained. If the predicted trajectory leaves the target space block, a pre-switching process is triggered, controlling the target vehicle to switch to a communication connection with an adjacent road communication equipment.

[0106] like Figure 5 As shown, the node load of nearby road communication devices is evaluated. When the load of nearby road communication devices is normal, the target vehicle joins the cooperative cluster of nearby road communication devices. When the load of nearby road communication devices is too high, the target vehicle selects the second-best road communication device.

[0107] like Figure 5 As shown, before the target vehicle establishes a communication connection with the target road communication equipment, the system initialization phase includes: edge node deployment to determine a communication range of 500m; establishing the edge network topology; and initializing load balancing parameters to ensure stable system operation. Load balancing strategies include: periodically assessing the node load of each road communication device, identifying overloaded / idle nodes, and dynamically migrating some vehicles. Intra-cluster resource management includes: resource pool sharing (computing / storage / bandwidth), collaborative task allocation, and localized data processing.

[0108] The above scheme identifies the first nearby road communication device and other nearby road communication devices within the adjacent spatial block that are closest to the target vehicle, and obtains the number of vehicles communicating with the first nearby road communication device. When the number of vehicles is less than a second preset threshold, the first nearby road communication device is selected as the target road communication device. When the number of vehicles is greater than or equal to the second preset threshold, the target road communication device is selected from the other nearby road communication devices. This avoids the target vehicle establishing a communication connection with a nearby road communication device that is overloaded, ensuring normal communication between the target vehicle and the target road communication device.

[0109] In some embodiments, after step 103, the method further includes: Step 103A: Obtain the storage space utilization rate and the number of vehicle connections of the target road communication device.

[0110] In practice, Kubernetes' Horizontal Pod Autoscaler (HPA) mechanism is used to scale up or down the target road communication equipment, enabling dynamic resource adjustment. HPA monitoring metrics include basic metrics and vehicle-to-everything (V2X) custom metrics. The basic metric is storage space utilization, which includes CPU utilization and memory utilization. V2X custom metrics include the number of connected vehicles, data transmission throughput, and request-response latency.

[0111] Step 103B: In response to determining that the storage space utilization rate is greater than or equal to a first preset utilization rate threshold or the number of vehicle connections is greater than or equal to a third preset number threshold, a storage space expansion operation is triggered, and the target road communication device is controlled to open the backup storage space.

[0112] In practice, the third preset threshold number is the maximum number of vehicles that can be pre-set to trigger the expansion of the target road communication device. When the storage space utilization rate is greater than or equal to the first preset utilization rate threshold or the number of connected vehicles is greater than or equal to the third preset threshold number, it indicates that the target road communication device is occupying too much storage space. In the above scenario, to ensure that the target road communication device can meet the communication needs of surrounding vehicles, a storage space expansion operation is triggered, controlling the target road communication device to open its backup storage space, adding 1 to 2 copy storage spaces each time expansion occurs.

[0113] For example, the first preset CPU utilization threshold is 80%, the first preset memory utilization threshold is 85%, the third preset quantity threshold is 90% of the maximum number of connected vehicles, and the first latency threshold is 500ms. When the CPU utilization of the target road communication device is greater than or equal to 80%, the memory utilization is greater than or equal to 85%, or the number of connected vehicles is greater than or equal to 90% of the maximum number of connected vehicles, or the request response latency is greater than or equal to 500ms, a Pod replica expansion operation is triggered. Each expansion adds 1 to 2 replica storage spaces, thereby increasing the storage space of the target road communication device.

[0114] Step 103C: In response to determining that the storage space utilization rate is less than or equal to the second preset utilization rate threshold and the number of vehicle connections is less than or equal to the fourth preset number threshold, a storage space reduction operation is triggered, and the target road communication device is controlled to close part of the storage space.

[0115] In practice, the fourth preset threshold is the minimum number of vehicles required to trigger the scaling down of the target road communication device. When the storage space utilization rate is less than or equal to the second preset utilization rate threshold and the number of connected vehicles is less than or equal to the fourth preset threshold, it indicates that the target road communication device is using too little storage space. In the above scenario, to prevent the target road communication device's storage space from being idle, a storage space scaling down operation is triggered. This involves controlling the target road communication device to shut down a portion of its storage space, reducing the storage space by one replica each time, ensuring that the number of Pod replicas of the target road communication device remains within a reasonable range.

[0116] For example, the second preset CPU utilization threshold is 30%, the second preset memory utilization threshold is 40%, and the fourth preset quantity threshold is 50% of the minimum number of connected vehicles. When the CPU utilization of the target road communication device is less than or equal to 30%, the memory utilization is less than or equal to 40%, and the number of connected vehicles is less than or equal to 50% of the minimum number of connected vehicles, a Pod scaling down operation is triggered. Each scaling down operation reduces the storage space of one replica, thereby reducing the storage space of the target road communication device.

[0117] The expansion and contraction speeds are positively correlated with the load change rate. Specifically, when the load increases by more than 50% within 5 minutes, the expansion speed should be increased; when the load decreases by less than 30% within 10 minutes, the contraction speed should be decreased to avoid system instability caused by frequent expansion and contraction.

[0118] The above scheme obtains the storage space utilization rate and the number of connected vehicles of the target road communication device. When the storage space utilization rate is greater than or equal to the first preset utilization rate threshold or the number of connected vehicles is greater than or equal to the third preset number threshold, a storage space expansion operation is triggered, controlling the target road communication device to open the backup storage space, thereby increasing the storage space of the target road communication device and ensuring that the target road communication device can meet the communication needs of surrounding vehicles. When the storage space utilization rate is less than or equal to the second preset utilization rate threshold and the number of connected vehicles is less than or equal to the fourth preset number threshold, a storage space reduction operation is triggered, controlling the target road communication device to close part of the storage space, thereby reducing the storage space of the target road communication device and preventing the target road communication device's storage space from being idle.

[0119] Figure 6 This is a schematic diagram of the structure of a road communication equipment distribution system according to an embodiment of this disclosure. Figure 6 As shown, the road communication equipment allocation system based on geohashing and time windows includes: vehicle-to-everything (V2X) terminals and perception layer, core processing layer, and infrastructure and resource layer.

[0120] The vehicle-to-everything (V2X) terminal and perception layer include: the vehicle's On-Board Unit (OBU), Roadside Unit (RSU), and Global Positioning System (GPS) / sensors. The V2X terminal and perception layer acquire raw data, including the target vehicle's current location, speed, and status. This raw data is then cleaned and sent to the core processing layer. The data acquisition module collects data on the target vehicle's current location, speed, communication status, and Pod operational status through the V2X terminal and edge node sensors, providing data support for each module.

[0121] The core processing layer includes: a geohash spatial management module, a trajectory prediction and collaborative cluster management module, and an elastic resource scheduling module. The geohash spatial management module comprises: a spatial partitioning unit, a GeoHash storage and query unit, and a sharding management unit. This module is used for geohash partitioning of the vehicle-to-everything (V2X) service area, Redis storage and sharding management of vehicle location information, and responding to vehicle map segment requests. The trajectory prediction and collaborative cluster management module includes: a trajectory prediction unit (implementing vehicle trajectory prediction), a collaborative cluster establishment unit (building dynamic collaborative clusters), and a load assessment unit (assessing the load status of edge nodes). The elastic resource scheduling module includes: a metric monitoring unit (collecting load metrics) and a scaling control unit (triggering Pod scaling).

[0122] The infrastructure and resource layer includes: a Kubemetes cluster (running application Pods), a Redis allocation cluster (storing location data), and edge computing nodes (providing edge services). The Kubemetes cluster receives collected metrics from the metrics monitoring unit, reports Pod running status back to the monitoring unit, and receives and executes scaling commands from the scaling control unit. The Redis allocation cluster receives location query requests from the geohash space management module and reports the query results back to the geohash space management module. The edge computing nodes receive resource allocation commands from the collaboration cluster establishment unit and report node status data back to the load assessment unit.

[0123] Based on the same inventive concept, corresponding to any of the above embodiments, such as Figure 7 As shown, this disclosure also provides a vehicle communication control method, applied to the vehicle end; the method includes: Step 201: Obtain the operating parameters of the target vehicle and send the operating parameters to the cloud server so that the cloud server can determine the target space block to which the target vehicle belongs based on the operating parameters.

[0124] In practice, the operating parameters of the target vehicle are acquired and sent to the cloud server. These operating parameters are the target vehicle's current state information and include at least one of the following: current position, current speed, and current acceleration.

[0125] The cloud server determines the target spatial block to which the target vehicle belongs from multiple pre-divided spatial blocks based on the operating parameters, and then sends the map information of the target spatial block to the target vehicle.

[0126] Step 202: Receive map information of the target spatial block sent by the cloud server and display the map information of the target spatial block.

[0127] In practice, the target vehicle receives map information of the target spatial block from the cloud server and displays this map information. In this way, the target vehicle only needs to obtain the map information of the target spatial block, without needing to access the global map data, thus reducing data transmission rate and storage overhead.

[0128] Step 203: Receive the target road communication device sent by the cloud server, and control the target vehicle to establish a communication connection with the target road communication device.

[0129] In practice, the cloud server determines the target road communication device based on the target vehicle's current location, predicted trajectory, and multiple spatial blocks, and then sends the target road communication device information to the target vehicle. After receiving the target road communication device information from the cloud server, the target vehicle controls the system to establish a communication connection with the target road communication device.

[0130] Through the above embodiments, the operating parameters of the target vehicle are obtained and sent to the cloud server, so that the cloud server can determine the target spatial block to which the target vehicle belongs based on the operating parameters. The map information of the target spatial block sent by the cloud server is received and displayed. This eliminates the need to send global map data to the target vehicle, thereby reducing data transmission rate and the storage space occupied by the target vehicle. The target road communication device is received from the cloud server, and the target vehicle is controlled to establish a communication connection with the target road communication device. In this way, the target road communication device comprehensively considers the target vehicle's current position, predicted trajectory, and multiple spatial blocks, making the communication connection between the target road communication device and the target vehicle more matched, avoiding the problem of frequent switching of communication connections between the vehicle and the road communication device, and also enabling dynamic allocation of road communication devices.

[0131] In some embodiments, step 203 includes: Step 2031: Receive the target road communication device sent by the cloud server, and determine the target road communication device.

[0132] In practice, after receiving the target road communication device from the cloud server, the target vehicle determines whether the target road communication device is an adjacent road communication device, and then determines whether the target vehicle needs to switch communication connections.

[0133] Step 2032: In response to determining that the target road communication device is a neighboring road communication device within a neighboring space block, control the target vehicle to establish a pre-connection with the neighboring road communication device.

[0134] In practice, when the target road communication device is a neighboring road communication device within an adjacent spatial block, it indicates that the target vehicle needs to switch communication connections. In the above scenario, to reduce communication interruption time, a pre-connection is established between the target vehicle and the neighboring road communication device.

[0135] Step 2033: Determine the relative distance between the target vehicle and the adjacent space block.

[0136] In practice, the relative distance between the target vehicle and the adjacent space block is determined, and then the communication requirements between the target vehicle and the adjacent road communication equipment are determined based on the relative distance.

[0137] Step 2034: In response to determining that the relative distance is less than a preset distance threshold, the target vehicle is controlled to disconnect from the current road communication device and switch to the communication connection with the adjacent road communication device.

[0138] In practice, when the relative distance is less than a preset distance threshold, it indicates whether the communication requirements between the target vehicle and the nearby road communication equipment are met. The system then controls the communication connection between the target vehicle and the current road communication equipment, switching to a connection with the nearby road communication equipment. This allows the target vehicle to switch to a communication connection with the nearby road communication equipment before entering the adjacent space block, thereby reducing communication interruption time.

[0139] For example, the preset distance threshold is 500m. When the relative distance between the target vehicle and the adjacent space block is less than 500m, the target vehicle is controlled to disconnect from the current road communication device and switch to the communication connection with the adjacent road communication device.

[0140] like Figure 5As shown, after triggering the pre-switching process, the target vehicle is controlled to seamlessly switch to a communication connection with the adjacent road communication equipment. This includes resource preservation of the target node (i.e., the current road communication equipment), context information migration, pre-establishment of new connections, rapid switching upon vehicle arrival, and monitoring of switching performance indicators.

[0141] The pre-switching mechanism for communication connections between the target vehicle and nearby road communication equipment ensures that the communication interruption time of the target vehicle is less than 100ms, that there is zero loss of data packets transmitted by the target vehicle, and that service continuity is guaranteed, thereby ensuring the quality of communication handover for the target vehicle.

[0142] The above scheme receives the target road communication device from the cloud server and identifies it. If the target road communication device is a neighboring road communication device within an adjacent spatial block, the target vehicle establishes a pre-connection with it. This reduces communication interruption time by establishing a pre-connection when the vehicle is predicted to enter the adjacent spatial block. The relative distance between the target vehicle and the adjacent spatial block is determined. If the relative distance is less than a preset distance threshold, the target vehicle disconnects from the current road communication device and switches to a neighboring road communication device. This allows the target vehicle to switch to a neighboring road communication device before entering the adjacent spatial block, further reducing communication interruption time.

[0143] It should be noted that the method of this disclosure embodiment can be executed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario, where multiple devices cooperate to complete the task. In such a distributed scenario, one of these devices may execute only one or more steps of the method of this disclosure embodiment, and the multiple devices will interact with each other to complete the method described.

[0144] It should be noted that the above description describes some embodiments of this disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order than that shown in the above embodiments and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0145] Based on the same inventive concept, corresponding to any of the above-described embodiments, this disclosure also provides a cloud server.

[0146] refer to Figure 8The cloud server includes: The target spatial block determination module 301 is configured to receive the operating parameters of the target vehicle, determine the target spatial block to which the target vehicle belongs from a plurality of pre-divided spatial blocks according to the operating parameters, and send the map information of the target spatial block to the target vehicle. The trajectory prediction module 302 is configured to determine a target time period based on the current vehicle speed in the operating parameters, and to determine the predicted trajectory of the target vehicle within the target time period based on the map information and the operating parameters. The road communication device determination module 303 is configured to determine the target road communication device based on the current position, the predicted trajectory, and the multiple spatial blocks in the operating parameters, and to send the target road communication device to the target vehicle so that the target vehicle can establish a communication connection with the target road communication device.

[0147] In some embodiments, the cloud server further includes a spatial block partitioning module, the spatial block partitioning module comprising: The vehicle quantity acquisition unit is configured to acquire the number of vehicles in a target area; wherein, the target area is the area where the cloud server performs vehicle-to-everything (V2X) communication. The spatial grid division unit is configured to divide the target area into a preset number of spatial grids in response to determining that the number of vehicles has reached a first preset number threshold. A spatial block determination unit is configured to obtain the vehicle density within the spatial grid and adjust the spatial grid according to the vehicle density to obtain multiple spatial blocks.

[0148] In some embodiments, the space block determining unit includes: The comparison processing subunit is configured to compare the vehicle density with a first preset density threshold and a second preset density threshold; wherein the first preset density threshold is less than the second preset density threshold. The first spatial block determining subunit is configured to, in response to determining that the vehicle density is less than a first preset density threshold, merge the spatial grid to obtain multiple spatial blocks; or... The second spatial block determining subunit is configured to, in response to determining that the vehicle density is greater than or equal to the first preset density threshold and less than or equal to the second preset density threshold, treat the spatial grid as multiple spatial blocks; or... The third spatial block determination subunit is configured to divide the spatial grid into multiple spatial blocks in response to determining that the vehicle density is greater than the second preset density threshold.

[0149] In some embodiments, the predicted trajectory determination module 302 includes: The current vehicle speed determination unit is configured to determine the current vehicle speed of the target vehicle from the operating parameters, and compare the current vehicle speed with a first preset speed threshold and a second preset speed threshold; wherein the first preset speed threshold is less than the second preset speed threshold. The first time period determination unit is configured to determine the target time period as the first time period in response to determining that the current vehicle speed is less than the first preset speed threshold; or, The second time period determination unit is configured to determine the target time period as a second time period in response to determining that the current vehicle speed is greater than or equal to the first preset speed threshold and less than the second preset speed threshold; wherein the second time period is longer than the first time period; or... The third time period determination unit is configured to determine the target time window as a third time period in response to determining that the current vehicle speed is greater than or equal to the second preset speed threshold; wherein the third time period is longer than the second time period; The historical location determination unit is configured to determine the historical location of the target vehicle based on the map information and to determine the driving status of the target vehicle based on the operating parameters. The trajectory prediction unit is configured to use a pre-trained trajectory prediction model to determine the predicted trajectory of the target vehicle within the target time period based on the historical location and the driving state.

[0150] In some embodiments, the road communication device determination module 303 includes: The communication range determination unit is configured to determine the current road communication device that establishes a communication connection with the target vehicle from the target space block, and to determine whether the target vehicle is within the communication range of the current road communication device based on the current position in the operating parameters. A first road communication device determining unit is configured to, in response to determining that the target vehicle is within the communication range of the current road communication device, designate the current road communication device as the target road communication device; or... The second road communication device determination unit is configured to determine the target road communication device based on the predicted trajectory and the plurality of spatial blocks in response to determining that the target vehicle is not within the communication range of the current road communication device.

[0151] In some embodiments, the second road communication device determining unit includes: The judgment subunit is configured to determine, based on the predicted trajectory and the plurality of spatial blocks, whether the target vehicle has left the target spatial block corresponding to the current road communication device; A third road communication device determination subunit is configured to, in response to determining that the target vehicle has not left the target space block corresponding to the current road communication device, designate the current road communication device as the target road communication device; or... The fourth road communication device determination subunit is configured to, in response to determining that the target vehicle has left the target space block corresponding to the current road communication device, determine the adjacent space block into which the target vehicle has entered from the plurality of space blocks according to the predicted trajectory, and designate the adjacent road communication device in the adjacent space block as the target road communication device.

[0152] In some embodiments, the fourth road communication device determining subunit is specifically configured as follows: Determine the first adjacent road communication device and other adjacent road communication devices within the adjacent space block that are closest to the target vehicle in terms of communication distance, and obtain the number of vehicles communicating with the first adjacent road communication device. In response to determining that the number of vehicles is less than a second preset threshold, the first nearby road communication device is designated as the target road communication device; or, In response to determining that the number of vehicles is greater than or equal to a second preset number threshold, a target road communication device is determined from the other nearby road communication devices.

[0153] For ease of description, the cloud server described above is divided into various modules based on their functions. Of course, in implementing this disclosure, the functions of each module can be implemented in one or more software and / or hardware.

[0154] The cloud server in the above embodiments is used to implement the communication control method of the corresponding vehicle in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0155] Based on the same inventive concept, corresponding to any of the above embodiments, this disclosure also provides a vehicle-side solution.

[0156] refer to Figure 9 The vehicle end includes: The operation parameter acquisition module 401 is configured to acquire the operation parameters of the target vehicle and send the operation parameters to the cloud server so that the cloud server can determine the target space block to which the target vehicle belongs based on the operation parameters. The map information display module 402 is configured to receive map information of the target spatial block sent by the cloud server and display the map information of the target spatial block; The communication connection establishment module 403 is configured to receive the target road communication device sent by the cloud server and control the target vehicle to establish a communication connection with the target road communication device.

[0157] In some embodiments, the communication connection establishment module 403 includes: The target road communication device determination unit is configured to receive the target road communication device sent by the cloud server and determine the target road communication device. The pre-connection establishment unit is configured to control the target vehicle to establish a pre-connection with the adjacent road communication device in response to determining that the target road communication device is an adjacent road communication device within an adjacent spatial block; A relative distance determination unit is configured to determine the relative distance between the target vehicle and the adjacent spatial block; The communication connection switching unit is configured to, in response to determining that the relative distance is less than a preset distance threshold, control the target vehicle to disconnect the communication connection with the current road communication device and switch to the communication connection with the adjacent road communication device.

[0158] For ease of description, the vehicle-mounted terminal is described in terms of its functions, divided into various modules. Of course, in implementing this disclosure, the functions of each module can be implemented in one or more software and / or hardware.

[0159] The vehicle-side component of the above embodiments is used to implement the corresponding vehicle communication control method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0160] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the vehicle communication control method described in any of the above embodiments.

[0161] Figure 10 This embodiment illustrates a more specific hardware structure of an electronic device. The device may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.

[0162] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0163] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0164] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.

[0165] The communication interface 1040 is used to connect the communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB (Universal Serial Bus), network cable, etc.) or wireless means (such as mobile network, WIFI (Wireless Fidelity), Bluetooth, etc.).

[0166] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.

[0167] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.

[0168] The electronic devices described above are used to implement the communication control method of the corresponding vehicle in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0169] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this disclosure also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the vehicle communication control method as described in any of the above embodiments.

[0170] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0171] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the vehicle communication control method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0172] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides a vehicle, including the vehicle terminal, or electronic device, or storage medium in the above embodiments, wherein the vehicle device implements the vehicle communication control method described in any of the above embodiments.

[0173] The vehicles described in the above embodiments are used to implement the vehicle communication control method described in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0174] Based on the same inventive concept, corresponding to any of the above embodiments, this application also provides a computer program product, including computer program instructions. When the computer program instructions are run on a computer, the computer causes the computer to execute the vehicle communication control method as described in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0175] It is understood that before using the technical solutions of the various embodiments in this disclosure, users will be informed of the type, scope of use, and usage scenarios of the personal information involved in an appropriate manner, and user authorization will be obtained.

[0176] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose, based on the prompt message, whether to provide personal information to the software or hardware such as electronic devices, applications, servers, or storage media performing the operations of this disclosed technical solution.

[0177] As an optional but not limited implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0178] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0179] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this disclosure is limited to these examples; within the framework of this disclosure, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this disclosure as described above, which are not provided in detail for the sake of brevity.

[0180] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this disclosure, the provided drawings may or may not show well-known power / ground connections to integrated circuit (IC) chips and other components. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this disclosure, and this also takes into account the fact that the details of implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this disclosure will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuits) have been set forth to describe exemplary embodiments of this disclosure, it will be apparent to those skilled in the art that the embodiments of this disclosure can be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0181] Although this disclosure has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.

[0182] This disclosure is intended to cover all such substitutions, modifications, and variations that fall within the broad scope of this disclosure. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the protection scope of this disclosure.

Claims

1. A communication control method for a vehicle, characterized in that, Applied to cloud servers; the method includes: Upon receiving the operating parameters of the target vehicle, the system determines the target spatial block to which the target vehicle belongs from a pre-divided set of spatial blocks based on the operating parameters, and sends the map information of the target spatial block to the target vehicle. The target time period is determined based on the current vehicle speed in the operating parameters, and the predicted trajectory of the target vehicle within the target time period is determined based on the map information and the operating parameters. The target road communication device is determined based on the current location in the operating parameters, the predicted trajectory, and the multiple spatial blocks, and the target road communication device is sent to the target vehicle so that the target vehicle can establish a communication connection with the target road communication device.

2. The method according to claim 1, characterized in that, The pre-division process of the multiple spatial blocks includes: Obtain the number of vehicles within the target area; wherein, the target area is the area where the cloud server performs vehicle-to-everything (V2X) communication; In response to determining that the number of vehicles has reached a first preset number threshold, the target area is divided into a preset number of spatial grids; The vehicle density within the spatial grid is obtained, and the spatial grid is adjusted according to the vehicle density to obtain multiple spatial blocks.

3. The method according to claim 2, characterized in that, The process of adjusting the spatial grid according to the vehicle density to obtain multiple spatial blocks includes: The vehicle density is compared with a first preset density threshold and a second preset density threshold; wherein the first preset density threshold is less than the second preset density threshold. In response to determining that the vehicle density is less than the first preset density threshold, the spatial grid is merged to obtain multiple spatial blocks; or, In response to determining that the vehicle density is greater than or equal to the first preset density threshold and less than or equal to the second preset density threshold, the spatial grid is treated as multiple spatial blocks; or, In response to determining that the vehicle density is greater than the second preset density threshold, the spatial grid is divided into multiple spatial blocks.

4. The method according to claim 1, characterized in that, The step of determining the target time period based on the current vehicle speed in the operating parameters, and determining the predicted trajectory of the target vehicle within the target time period based on the map information and the operating parameters, includes: The current speed of the target vehicle is determined from the operating parameters, and the current speed is compared with a first preset speed threshold and a second preset speed threshold; wherein the first preset speed threshold is less than the second preset speed threshold. In response to determining that the current vehicle speed is less than the first preset speed threshold, the target time period is determined to be the first time period; or, In response to determining that the current vehicle speed is greater than or equal to the first preset speed threshold and less than the second preset speed threshold, the target time period is determined to be the second time period; wherein the second time period is longer than the first time period; or, In response to determining that the current vehicle speed is greater than or equal to the second preset speed threshold, the target time window is determined to be a third time period; wherein the third time period is longer than the second time period; The historical location of the target vehicle is determined based on the map information, and the driving status of the target vehicle is determined based on the operating parameters; Using a pre-trained trajectory prediction model, the predicted trajectory of the target vehicle within the target time period is determined based on the historical location and the driving state.

5. The method according to claim 1, characterized in that, The step of determining the target road communication device based on the current location in the operating parameters, the predicted trajectory, and the multiple spatial blocks includes: Determine the current road communication device that establishes a communication connection with the target vehicle from the target space block, and determine whether the target vehicle is within the communication range of the current road communication device based on the current position in the operating parameters; In response to determining that the target vehicle is within the communication range of the current road communication device, the current road communication device is designated as the target road communication device; or, In response to determining that the target vehicle is not within the communication range of the current road communication device, the target road communication device is determined based on the predicted trajectory and the plurality of spatial blocks.

6. The method according to claim 5, characterized in that, The step of determining the target road communication device based on the predicted trajectory and the plurality of spatial blocks includes: Based on the predicted trajectory and the multiple spatial blocks, it is determined whether the target vehicle has left the target spatial block corresponding to the current road communication device; In response to determining that the target vehicle has not left the target space block corresponding to the current road communication device, the current road communication device is designated as the target road communication device; or, In response to determining that the target vehicle has left the target spatial block corresponding to the current road communication device, the neighboring spatial block into which the target vehicle has entered is determined from the plurality of spatial blocks according to the predicted trajectory, and the neighboring road communication device in the neighboring spatial block is taken as the target road communication device.

7. The method according to claim 6, characterized in that, The step of using the adjacent road communication equipment within the adjacent space block as the target road communication equipment includes: Determine the first adjacent road communication device and other adjacent road communication devices within the adjacent space block that are closest to the target vehicle in terms of communication distance, and obtain the number of vehicles communicating with the first adjacent road communication device. In response to determining that the number of vehicles is less than a second preset threshold, the first nearby road communication device is designated as the target road communication device; or, In response to determining that the number of vehicles is greater than or equal to a second preset number threshold, a target road communication device is determined from the other nearby road communication devices.

8. A communication control method for a vehicle, characterized in that, Applied to the vehicle end; the method includes: The operating parameters of the target vehicle are obtained and sent to the cloud server so that the cloud server can determine the target space block to which the target vehicle belongs based on the operating parameters. The system receives map information of the target spatial block from the cloud server and displays the map information of the target spatial block. The system receives the target road communication device from the cloud server and controls the target vehicle to establish a communication connection with the target road communication device.

9. The method according to claim 8, characterized in that, The step of receiving the target road communication device from the cloud server and controlling the target vehicle to establish a communication connection with the target road communication device includes: The system receives the target road communication device from the cloud server and makes a judgment on the target road communication device. In response to determining that the target road communication device is a neighboring road communication device within a neighboring spatial block, the target vehicle is controlled to establish a pre-connection with the neighboring road communication device. Determine the relative distance between the target vehicle and the adjacent space block; In response to determining that the relative distance is less than a preset distance threshold, the target vehicle is controlled to disconnect from the current road communication device and switch to the communication connection with the adjacent road communication device.

10. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor, when executing the program, implements the method as claimed in any one of claims 1 to 9.