A method and system for scheduling cache data of roadside equipment
Through adaptive classification and priority scheduling of emergency data, combined with MB-OFDM UWB and IEEE 802.11p dual-mode communication, the problem of low data transmission efficiency and high computing power demand of roadside equipment in the Internet of Vehicles is solved, achieving high efficiency and low cost. Complexity of data scheduling and transmission.
Patent Information
- Application Number
- CN202410078335.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-19
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-01-19
AI Technical Summary
Traditional Internet of Vehicles roadside devices are limited by IEEE 802.11p bandwidth resources during data transmission, resulting in low efficiency in large-size data transmission. Existing multi-mode communication methods require the support of external computing servers, which increases the unreliability and cost of data processing.
Adopt a low computational complexity cache data scheduling method, adaptively determine data classification and scheduling interval thresholds, divide them into emergency and non-emergency data, prioritize emergency data scheduling, and utilize MB-OFDM UWB and IEEE 802.11p dual modes Communication improves data transmission efficiency.
It reduces the complexity of data scheduling and redundant scheduling rate, improves data transmission efficiency, reduces the ineffective occupation of communication resources, and enhances the reliability of data processing and the real-time nature of localization algorithms.
Smart Images

Figure CN117640554B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of cache data scheduling, and in particular relates to a cache data scheduling method and system for roadside equipment. Background Art
[0002] Traditional IoV roadside equipment communicates with vehicles through IEEE 802.11p communication technology. Due to the bandwidth resource limitations of IEEE 802.11p, large-size data transmission between roadside equipment and vehicles needs to be continuously switched through reconnection routing paths to complete data transmission, so the efficiency of large-size data transmission is usually not high. Introducing heterogeneous networks into IoV communications to add a communication method for data transmission between roadside equipment and vehicles has been proven to be an effective way to improve the bandwidth resources of roadside equipment. Multi-band orthogonal frequency division multiplexing ultra-wideband (MB-OFDM UWB) technology has the advantages of large bandwidth capacity and strong anti-multipath capability, and supports a data transmission rate of up to Gbps. Introducing MB-OFDM UWB into IoV and IEEE 802.11p to form a heterogeneous network communication solution can effectively improve the efficiency of large-size data transmission between roadside equipment and vehicles.
[0003] Due to the high dynamics of vehicle positions, when roadside equipment broadcasts multiple data to a group of vehicles, the order of data scheduling and distribution will seriously affect the coverage of target vehicles during data broadcasting. The channel environment and target vehicle status when each roadside equipment broadcasts data to vehicles are different and dynamically time-varying. An efficient scheduling solution requires dynamic and real-time matching of the amount of data to be scheduled with the dynamically time-varying communication and vehicle resources, which significantly increases the computing power requirements of roadside equipment.
[0004] At present, the data scheduling method for multi-data distribution of multi-mode communication roadside equipment in the Internet of Vehicles mainly tracks and predicts the topological structure and data reception status of the vehicle, the data transmission capacity of the communication connection between the roadside equipment and the vehicle, and other time-varying parameters, with the goal of minimizing the error between the actual target vehicle coverage and the desired coverage value to build a matching model between data distribution requirements and communication resources. These methods have the advantages of high communication resource utilization and low redundancy scheduling, but usually require the computing power support of external computing servers, and the cost of localized algorithm implementation is high; the non-localization of the algorithm operation process will increase the unreliability of applications in the Internet of Vehicles that have high requirements for real-time data processing. Summary of the invention
[0005] In view of the above shortcomings, the present invention proposes a method and system for scheduling cache data during multi-data broadcasting of a roadside device of an Internet of Vehicles supporting dual-mode communication with low computational complexity and low redundant scheduling rate.
[0006] To achieve the above-mentioned purpose, the present invention provides the following scheme: a method and system for scheduling cache data of a roadside device. A method for scheduling cache data of a roadside device includes:
[0007] Adaptively determine the data size threshold for data classification based on the roadside environment, and divide the data types according to the size and urgency level of the data;
[0008] The classified data are stored in independent buffers respectively, and the buffers are classified into a large-size data scheduling group and a small-size data scheduling group according to the size type of the data stored in the buffers;
[0009] Determine the dispatch interval base of the current roadside environment emergency data according to the target vehicle coverage requirement, perform weighted calculation on the dispatch interval base according to the data urgency level, and obtain the data dispatch interval threshold;
[0010] Based on the large-size data scheduling group and the small-size data scheduling group, emergency data is scheduled preferentially according to the scheduling interval threshold, and non-emergency data is scheduled when idle, the scheduling result of the scheduling group is obtained, and the scheduling result of the scheduling group is transmitted to the dual-mode communication module for data broadcasting.
[0011] Preferably, the process of adaptively determining the data size threshold for data classification according to the roadside environment includes:
[0012] The data transmission capacity of a single connection when a roadside device and a vehicle perform IEEE 802.11p communication is calculated according to the average vehicle speed of the roadside environment and the channel parameters of IEEE 802.11p communication, and a data size threshold for data classification is set according to the data transmission capacity; wherein the channel parameters are the channel response functions of IEEEE 802.11p communication in the current roadside environment with the distance between the roadside device and the vehicle as the independent variable; and the single connection is a single direct connection of IEEEE 802.11p communication between the roadside device and the vehicle without the participation of a relay.
[0013] Preferably, the process of classifying data types according to the size and urgency level of the data includes,
[0014] Comparing the size and urgency level of the data with the set data size threshold and urgency level threshold respectively, and classifying the data into large-size urgent data, large-size non-urgent data, small-size urgent data, and small-size non-urgent data;
[0015] Among them, the result of comparing the size and urgency level of the data with the set data size threshold and urgency level threshold is a binary logic value, and only two results of greater than or equal to and less than are taken. The urgency level of the data is obtained by weighted quantification of the impact of the event corresponding to the data on the safety and congestion of vehicle driving.
[0016] Preferably, the process of determining the dispatch interval base of the current roadside environment emergency data according to the target vehicle coverage requirement includes:
[0017] The number of target vehicles passing through the road location where the roadside equipment is located per unit time is collected, and the total time consumed for data transmission after the additional scheduling interval in the current roadside environment is calculated to obtain the target vehicle coverage rate of the data at each scheduling interval; wherein the target vehicle coverage rate refers to the ratio of the target vehicles that successfully receive the data to the total target vehicles that need to receive the data;
[0018] The scheduling interval corresponding to when the target vehicle coverage rate is greater than the demand value is taken as the scheduling interval base.
[0019] Preferably, the process of transmitting the scheduling result of the scheduling group to the dual-mode communication module for data distribution includes:
[0020] Scheduling large-size emergency data and large-size non-emergency data based on the large-size data scheduling group to obtain a first scheduling result;
[0021] Scheduling small-size emergency data and small-size non-emergency data based on the small-size data scheduling group to obtain a second scheduling result;
[0022] The first scheduling result is transmitted to the MB-OFDM UWB communication unit of the dual-mode communication module, and the second scheduling result is transmitted to the IEEE 802.11p communication unit of the dual-mode communication module for data distribution.
[0023] The present invention also provides a cache data scheduling system for roadside equipment, comprising:
[0024] A parameter adaptive data classification module is used to adaptively determine the parameter threshold of data classification and classify it according to the current roadside environment;
[0025] A data caching module, connected to the parameter adaptive data classification module, for caching the classified data;
[0026] A data scheduling module, connected to the data cache module, scheduling data from the data cache module to the dual-mode communication module;
[0027] A scheduling interval parameter setting module, connected to the data scheduling module, is used to set a time interval threshold for repeated scheduling of emergency data;
[0028] The dual-mode communication module is connected to the data scheduling module and is used for data broadcasting of the scheduling results.
[0029] Preferably, the parameter adaptive data classification module comprises a parameter adaptive acquisition unit, a data classification unit and a classification result combination unit;
[0030] The parameter adaptive acquisition unit is used to adaptively acquire a data size threshold corresponding to the current roadside environment;
[0031] The data classification unit is used to classify data whose size is greater than or equal to the data size threshold as large-size data, and classify data whose size is less than the data size threshold as small-size data; and is also used to classify data whose emergency level is greater than the emergency threshold as emergency data, and classify data whose emergency level is less than the emergency threshold as non-emergency data, wherein the emergency level of the data is obtained by weighted quantification of the impact of the event corresponding to the data on the safety and congestion of vehicle travel;
[0032] The classification result combination unit is used to combine the two classification results, and classify all data into large-size urgent data, large-size non-urgent data, small-size urgent data and small-size non-urgent data.
[0033] Preferably, the chain cache structure of the emergency data and the non-emergency data constructed by the data cache module includes a data unit, a head pointer, a current pointer, and a tail pointer;
[0034] The data unit includes a data storage unit and a pointer;
[0035] The data storage unit is used to store the data itself and the attribute information of the data;
[0036] The pointer is used to point to the starting position of the next data unit;
[0037] The head pointer is used to point to the starting position of the first data unit of the chain cache structure;
[0038] The tail pointer is used to point to the starting position of the last data unit of the linked cache structure;
[0039] The current pointer is used to point to the data unit being scheduled in the chain cache structure.
[0040] Preferably, the chain cache structure of the emergency data further includes a search pointer;
[0041] The search pointer is used to search for the next scheduled data, with the starting position being the next data unit of the data unit pointed to by the current pointer. The data in the chain cache structure is searched sequentially according to the pointer pointing. When data that meets the scheduling conditions is found, the current pointer is pointed to the data.
[0042] Preferably, the dual-mode communication module includes an MB-OFDM UWB communication unit and an IEEE 802.11p communication unit;
[0043] The MB-OFDM UWB communication unit is used to transmit the scheduling result of the large-size data scheduling group;
[0044] The IEEE 802.11p communication unit is used to transmit the scheduling result of the small-size data scheduling group. Compared with the prior art, the present invention has the following advantages and technical effects:
[0045] The size threshold value acquisition during data classification of the present invention does not rely on the actual transmission capacity of the current communication connection but relies on the approximate average transmission capacity of the communication connection in the current environment, and utilizes the characteristic that the value is not strongly time-varying to avoid a large amount of real-time calculation; before scheduling, the data is divided into emergency data and non-emergency data and the emergency data is scheduled first, and the matching calculation between the data scheduling demand and the communication resources is converted into directly searching for the data that meets the scheduling interval requirements in the emergency data, which greatly reduces the complexity of the scheduling process; the scheduling interval threshold value setting of the emergency data is obtained by calculating the interval threshold base related to the environment and then weighting it, and utilizing the characteristic that the interval threshold base is weakly time-varying, the scheduling interval threshold value is obtained quickly by weighted calculation; the minimum interval threshold value for the scheduling of emergency data is set to avoid the redundant scheduling of emergency data resulting in invalid occupation of communication resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0047] Figure 1 A schematic diagram of the system structure of an embodiment of the present invention;
[0048] Figure 2 This is a structural diagram of emergency data cache of a data cache module according to an embodiment of the present invention;
[0049] Figure 3 A non-emergency data cache structure diagram of a data cache module according to an embodiment of the present invention;
[0050] Figure 4 This is a scheduling flow chart of the data scheduling module according to an embodiment of the present invention. DETAILED DESCRIPTION
[0051] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0052] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0053] Embodiment 1
[0054] like Figure 1 As shown, a cache data scheduling system for roadside equipment provided by the present invention includes:
[0055] The invention comprises five parts: a parameter adaptive data classification module, a data cache module, a scheduling interval parameter setting module, a data scheduling module and a dual-mode communication module; the four modules of the parameter adaptive data classification module, the data cache module, the data scheduling module and the dual-mode communication module jointly complete a complete scheduling process, and the process is as follows: firstly, the parameter adaptive data classification module divides the data into four types: large-size emergency data, large-size non-emergency data, small-size emergency data and small-size non-emergency data according to the size and urgency level of the data; then, the data cache module caches the classified data in four independent chain cache structures; secondly, the scheduling group in the data scheduling module directly searches for the data that meets the scheduling interval requirements in the corresponding chain cache structure storing the emergency data and schedules the data in the non-emergency data cache structure in sequence when the data that meets the conditions is not found; finally, the scheduling result is output to the dual-mode communication module.
[0056] Among them, the parameter adaptive data classification module: adaptively determines the parameter threshold of data classification and classifies it according to the current roadside environment;
[0057] Data cache module: caches the classified data;
[0058] Scheduling interval parameter setting module: sets the time interval threshold for repeated scheduling of emergency data;
[0059] Data scheduling module: schedules data from the data cache module to the dual-mode communication module;
[0060] Dual-mode communication module: It consists of two communication units, MB-OFDM UWB and IEEE 802.11p. The scheduling result of the large-size data scheduling group is output to the MB-OFDM UWB communication unit, and the scheduling result of the small-size data scheduling group is output to the IEEE802.11p communication unit.
[0061] Further, the parameter adaptive data classification module: executes before the data cache module and classifies the newly received data to be scheduled. It compares the size of the data with a preset data size threshold, classifies the data with a size greater than or equal to the data size threshold as large-size data, and classifies the data with a size smaller than the threshold as small-size data. Then, it compares the emergency level of the data with a preset emergency threshold, classifies the data with an emergency level greater than the emergency threshold as emergency data, and classifies the data with an emergency level smaller than the threshold as non-emergency data. The combination of the two classification results classifies all data into four fixed data types: large-size emergency data, large-size non-emergency data, small-size emergency data, and small-size non-emergency data. The emergency level of the data is obtained by weighted quantization of the impact degree of the event corresponding to the data on the safety and congestion of vehicle driving.
[0062] For a further optimized solution, in the parameter adaptive data classification module, the newly received data is classified using the data size threshold and the emergency threshold, where the data size threshold is a time-varying value related to the current environment. To reduce the time variability of the data size threshold, in the parameter adaptive data classification module, first, a channel response model of IEEE 802.11p communication in the current roadside device environment with the transmission distance as the independent variable is established, which has the characteristic of low time variability. Then, the farthest transmission distance D of the IEEE 802.11p effective communication signal is predicted according to the channel response model. Assuming S is the average vehicle speed on the road, the average sustainable duration of the communication connection between the roadside device and the vehicle is calculated by D / S. Substituting the data transmission rate, the average data transmission capacity R of a single connection of IEEE 802.11p in this roadside environment is obtained. The data size threshold is set by multiplying R by a fixed weighting value a (0 < a < 1), where the value constraint of the weighting value a is that the single connection of most (more than 90%) of the IEEE 802.11p communications in this roadside environment can complete the transmission of data with a size equal to the size threshold.
[0063] For a further optimized solution, the parameter adaptive data classification module includes a parameter adaptive acquisition unit, a data classification unit, and a classification result combination unit;
[0064] The parameter adaptive acquisition unit is used to adaptively acquire the data size threshold corresponding to the current roadside environment;
[0065] The data classification unit is used to classify the data with a size greater than or equal to the data size threshold as large-size data, and classify the data with a size smaller than the data size threshold as small-size data; it is also used to classify the data with an emergency level greater than the emergency threshold as emergency data, and classify the data with an emergency level smaller than the emergency threshold as non-emergency data, where the emergency level of the data is obtained by weighted quantization of the impact degree of the event corresponding to the data on the safety and congestion of vehicle driving;
[0066] The classification result combination unit is used to combine the two classification results, and classify all data into large-size urgent data, large-size non-urgent data, small-size urgent data and small-size non-urgent data.
[0067] Data cache module: Construct four independent caches in a chain cache structure to correspond to four data categories; the caches are dynamically allocated and recovered from the public memory.
[0068] Further optimization scheme, such as Figure 2-3 The data cache module shown in the figure constructs a chain cache structure for emergency data and non-emergency data. The data storage and pointer in the figure constitute a data unit in the chain cache structure. The data storage includes the data itself and the attribute information of the data. The pointer points to the starting position of the next data unit. In addition to the data unit, Figure 2 It also includes four global pointers: head pointer, current pointer, search pointer and tail pointer. The head pointer and tail pointer point to the starting position of the first data unit and the last data unit of the cache structure respectively. The current pointer points to the data unit being scheduled in the cache structure; the search pointer is used to search for the next scheduled data, and its starting position is the next data unit of the data unit pointed by the current pointer. The data in the chain cache structure is searched in sequence according to the pointer pointing. When the data that meets the scheduling conditions is found, the current pointer points to the data. Figure 3 The corresponding cache structure of non-urgent data only contains a head pointer, a current pointer and a tail pointer. During scheduling, it directly schedules the data pointed to by the current pointer. After scheduling is completed, the current pointer points to the next data unit in the cache structure.
[0069] Dispatch interval parameter setting module: executed before the data dispatch module. According to the target vehicle coverage requirement, the interval threshold base of the current roadside environment emergency data dispatch is obtained, and then the dispatch interval threshold base is weighted according to the emergency level of the data to obtain the final data dispatch interval threshold. Specifically, according to the target vehicle coverage requirement, the interval threshold base of the current roadside environment emergency data dispatch is obtained, and then the dispatch interval threshold base is weighted according to the emergency level of the data to obtain the final data dispatch interval threshold.
[0070] To further optimize the scheme, first, based on the current roadside environment, the dispatch interval threshold base is obtained; the target number of vehicles D passing through the road location where the roadside equipment is located per unit time is collected in different time periods; assuming that the average number of vehicles that directly obtain data from the roadside equipment is N1 and the average number of vehicles that obtain data through vehicle-to-vehicle forwarding is N2, the target vehicle coverage rate R of the roadside equipment distributing data can be expressed as , then the value constraint of the dispatch interval threshold base T1 of the current roadside environment is , where T2 is the average time taken for the roadside equipment to transmit data to the vehicle.
[0071] Data scheduling module: Two independent scheduling groups are used to schedule large-size data and small-size data respectively. Each scheduling group schedules data from the chain cache structure that caches urgent data according to a preset scheduling interval threshold.
[0072] When scheduling urgent data, a current pointer is constructed to point to the data currently being scheduled and a search pointer is constructed to search for the next scheduled data; after the current data is sent, the search pointer starts from the current scheduled data and searches along the chain cache structure for the next data with a waiting time greater than or equal to the scheduling interval threshold, and sets the found data as the new current scheduled data and schedules it; if no data with a waiting time that reaches the scheduling interval threshold is found after searching the entire cache, non-urgent data is scheduled.
[0073] When scheduling non-urgent data, only one current pointer is constructed; when scheduling data, the data pointed to by the current pointer is directly scheduled; after the scheduling is completed, the current pointer points to the next data in the linked cache structure, and the scheduler returns to searching and scheduling urgent data.
[0074] The chain cache structure means that each data unit in the structure consists of a data storage part and a pointer, wherein the pointer points to the next data unit in the chain structure; in addition to the data unit, the entire chain cache structure also has a head pointer and a tail pointer, the head pointer points to the first data unit in the chain cache structure, and the tail pointer points to the last data unit in the chain cache structure; when new data is cached, a data unit that meets the data size requirement is dynamically allocated in the device public memory, and the tail pointer of the chain cache structure and the pointer of the last data unit point to it.
[0075] like Figure 4 The scheduling control flow of the data scheduling module shown in the figure, W is the waiting time of the data, and the latest scheduling time is recorded after the data scheduling is completed to clear W, T1(x, p) is the scheduling interval threshold of the data, where x represents the data and p is the urgency level of the data; Pc and Ps represent the current pointer and search pointer in the cache structure of the emergency data, respectively; the method of updating the search pointer is to point the search pointer to the next data in the cache structure, if the data is already the tail data unit of the cache structure, then the search pointer is pointed to the head data unit of the cache structure; the method of updating the current pointer after the emergency data is scheduled is to point the current pointer to the data that has just been scheduled; the method of updating the current pointer after the non-emergency data is scheduled is to point the current pointer to the next data of the currently scheduled data in the cache structure.
[0076] Embodiment 2
[0077] The present invention also provides a cache data scheduling method for roadside equipment, which adaptively determines the data size threshold of data classification according to the roadside environment, and classifies the data into four fixed data types according to the two attributes of data size and urgency level; stores the classified data in four independent buffers respectively, and the buffers are dynamically allocated from the public memory of the equipment in a chain structure; determines the scheduling interval base of the emergency data in the current roadside environment according to the target vehicle coverage requirement, and then calculates the scheduling interval threshold of the data by weighting the scheduling interval base according to the data urgency level; outputs the data packets cached in the four buffers to two independent scheduling groups, a large-size data scheduling group and a small-size data scheduling group, and both scheduling groups prioritize the scheduling of emergency data according to the scheduling interval threshold requirements, and then schedule non-emergency data when idle; finally, the scheduling results of the two scheduling groups are output to the MB-OFDM UWB communication unit and the IEEE 802.11p communication unit for data distribution. Specifically, the following steps are included:
[0078] S1. Calculate the data transmission capacity of a single connection when the roadside device and the vehicle perform IEEE 802.11p communication according to the average vehicle speed of the roadside environment and the channel parameters of the IEEE 802.11p communication, and set the data size threshold of the data classification according to the calculated data transmission capacity;
[0079] Among them, the channel parameter refers to the channel response function of IEEEE802.11p communication in the current roadside environment with the distance between the roadside device and the vehicle as the independent variable, and a single connection refers to a single direct connection of IEEEE802.11p communication between the roadside device and the vehicle without the participation of a relay.
[0080] S2. Compare the size and urgency level of the data with the set data size threshold and urgency level threshold respectively, and classify the data into four fixed types: large-size urgent data, large-size non-urgent data, small-size urgent data, and small-size non-urgent data.
[0081] Furthermore, the result of comparing the size and urgency level of the data with the set data size threshold and urgency level threshold is a binary logic value, and only two results, greater than or equal to and less than, are taken. The urgency level of the data is obtained by weighted quantification of the impact of the event corresponding to the data on the safety and congestion of vehicle driving.
[0082] S3. According to the target vehicle coverage requirement, the time interval threshold base for the current roadside environment emergency data scheduling is obtained, and then the scheduling interval threshold base is weighted according to the data urgency level to obtain the final data scheduling interval threshold.
[0083] Specifically, the process of determining the dispatch interval base of the current roadside environment emergency data according to the target vehicle coverage requirement includes:
[0084] The number of target vehicles passing through the road location where the roadside equipment is located per unit time is collected, and the total time consumed for data transmission after the additional scheduling interval in the current roadside environment is calculated to obtain the target vehicle coverage rate of the data at each scheduling interval; wherein the target vehicle coverage rate refers to the ratio of the target vehicles that successfully receive the data to the total target vehicles that need to receive the data;
[0085] The scheduling interval corresponding to when the target vehicle coverage rate is greater than the demand value is taken as the scheduling interval base.
[0086] S4. The data cached in the four buffers are allocated to two independent scheduling groups, the large-size data scheduling group and the small-size data scheduling group. Each scheduling group prioritizes the scheduling of emergency data according to the scheduling interval threshold set in S3, and then schedules non-emergency data according to the data waiting time during the idle period. Finally, the scheduling results of the two scheduling groups are output to the MB-OFDMUWB communication unit and the IEEE 802.11p communication unit for data distribution.
[0087] The above are only preferred specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for scheduling cache data of a roadside device, characterized in that: include: Adaptively determine the data size threshold for data classification based on the roadside environment, and divide the data types according to the size and urgency level of the data; The classified data are stored in independent buffers respectively, and the buffers are classified into a large-size data scheduling group and a small-size data scheduling group according to the size type of the data stored in the buffers; Determine the dispatch interval base of the current roadside environment emergency data according to the target vehicle coverage requirement, perform weighted calculation on the dispatch interval base according to the data urgency level, and obtain the data dispatch interval threshold; Based on the large-size data scheduling group and the small-size data scheduling group, emergency data is scheduled first according to the scheduling interval threshold, and non-emergency data is scheduled when idle, the scheduling result of the scheduling group is obtained, and the scheduling result of the scheduling group is transmitted to the dual-mode communication module for data broadcasting The process of adaptively determining the data size threshold for data classification according to the roadside environment includes: The data transmission capacity of a single connection when the roadside device and the vehicle perform IEEE 802.11p communication is calculated according to the average vehicle speed of the roadside environment and the channel parameters of IEEE 802.11p communication, and the data size threshold of the data classification is set according to the data transmission capacity; wherein the channel parameters are the channel response function of the IEEEE 802.11p communication in the current roadside environment with the distance between the roadside device and the vehicle as the independent variable; the single connection is a single direct connection of the IEEEE 802.11p communication between the roadside device and the vehicle without the participation of a relay; The process of determining the dispatch interval base of the current roadside environment emergency data according to the target vehicle coverage requirement includes: The number of target vehicles passing through the road location where the roadside equipment is located per unit time is collected, and the total time consumed for data transmission after the additional scheduling interval in the current roadside environment is calculated to obtain the target vehicle coverage rate of the data at each scheduling interval; wherein the target vehicle coverage rate refers to the ratio of the target vehicles that successfully receive the data to the total target vehicles that need to receive the data; The scheduling interval corresponding to when the target vehicle coverage rate is greater than the demand value is taken as the scheduling interval base.
2. The method for scheduling cache data of a roadside device according to claim 1, characterized in that: The process of classifying data types according to their size and urgency level involves, Comparing the size and urgency level of the data with the set data size threshold and urgency level threshold respectively, and classifying the data into large-size urgent data, large-size non-urgent data, small-size urgent data, and small-size non-urgent data; Among them, the result of comparing the size and urgency level of the data with the set data size threshold and urgency level threshold is a binary logic value, and only two results of greater than or equal to and less than are taken. The urgency level of the data is obtained by weighted quantification of the impact of the event corresponding to the data on the safety and congestion of vehicle driving.
3. The cache data scheduling method of roadside equipment according to claim 1, characterized in that: The process of transmitting the scheduling result of the scheduling group to the dual-mode communication module for data distribution includes: Scheduling large-size emergency data and large-size non-emergency data based on the large-size data scheduling group to obtain a first scheduling result; Scheduling small-size emergency data and small-size non-emergency data based on the small-size data scheduling group to obtain a second scheduling result; The first scheduling result is transmitted to the MB-OFDM UWB communication unit of the dual-mode communication module, and the second scheduling result is transmitted to the IEEE 802.11p communication unit of the dual-mode communication module for data distribution.
4. A cache data scheduling system for roadside equipment, characterized in that: include: A parameter adaptive data classification module is used to adaptively determine the parameter threshold of data classification and classify it according to the current roadside environment; A data caching module, connected to the parameter adaptive data classification module, for caching the classified data; A data scheduling module, connected to the data cache module, scheduling data from the data cache module to the dual-mode communication module; A scheduling interval parameter setting module, connected to the data scheduling module, is used to set a time interval threshold for repeated scheduling of emergency data; A dual-mode communication module, connected to the data scheduling module, for broadcasting the scheduling results; The process of adaptively determining the parameter threshold of data classification according to the current roadside environment includes: The data transmission capacity of a single connection when the roadside device and the vehicle perform IEEE 802.11p communication is calculated according to the average vehicle speed of the roadside environment and the channel parameters of IEEE 802.11p communication, and the data size threshold of the data classification is set according to the data transmission capacity; wherein the channel parameters are the channel response function of the IEEEE 802.11p communication in the current roadside environment with the distance between the roadside device and the vehicle as the independent variable; the single connection is a single direct connection of the IEEEE 802.11p communication between the roadside device and the vehicle without the participation of a relay; The process of setting the time interval threshold for repeated scheduling of emergency data includes: The number of target vehicles passing through the road location where the roadside equipment is located per unit time is collected, and the total time consumed for data transmission after the additional scheduling interval in the current roadside environment is calculated to obtain the target vehicle coverage rate of the data at each scheduling interval; wherein the target vehicle coverage rate refers to the ratio of the target vehicles that successfully receive the data to the total target vehicles that need to receive the data; The scheduling interval corresponding to when the target vehicle coverage rate is greater than the demand value is taken as the scheduling interval base.
5. The cache data scheduling system of the roadside equipment according to claim 4, characterized in that: The parameter adaptive data classification module includes a parameter adaptive acquisition unit, a data classification unit and a classification result combination unit; The parameter adaptive acquisition unit is used to adaptively acquire a data size threshold corresponding to the current roadside environment; The data classification unit is used to classify data whose size is greater than or equal to the data size threshold as large-size data, and classify data whose size is less than the data size threshold as small-size data; and is also used to classify data whose emergency level is greater than the emergency threshold as emergency data, and classify data whose emergency level is less than the emergency threshold as non-emergency data, wherein the emergency level of the data is obtained by weighted quantification of the impact of the event corresponding to the data on the safety and congestion of vehicle travel; The classification result combination unit is used to combine the two classification results, and classify all data into large-size urgent data, large-size non-urgent data, small-size urgent data and small-size non-urgent data.
6. The cache data scheduling system of the roadside equipment according to claim 4, characterized in that: The chain cache structure of emergency data and non-emergency data constructed by the data cache module includes a data unit, a head pointer, a current pointer, and a tail pointer; The data unit includes a data storage unit and a pointer; The data storage unit is used to store the data itself and the attribute information of the data; The pointer is used to point to the starting position of the next data unit; The head pointer is used to point to the starting position of the first data unit of the chain cache structure; The tail pointer is used to point to the starting position of the last data unit of the linked cache structure; The current pointer is used to point to the data unit being scheduled in the chain cache structure.
7. The cache data scheduling system of the roadside equipment according to claim 6, characterized in that: The chain cache structure of the emergency data also includes a search pointer; The search pointer is used to search for the next scheduled data, with the starting position being the next data unit of the data unit pointed to by the current pointer. The data in the chain cache structure is searched sequentially according to the pointer pointing. When data that meets the scheduling conditions is found, the current pointer is pointed to the data.
8. The cache data scheduling system of the roadside equipment according to claim 4, characterized in that: The dual-mode communication module includes an MB-OFDM UWB communication unit and an IEEE 802.11p communication unit; The MB-OFDM UWB communication unit is used to transmit the scheduling result of the large-size data scheduling group; The IEEE 802.11p communication unit is used to transmit the scheduling result of the small-size data scheduling group scheduling.
