Data transmission method for vehicle-road cooperation, road end equipment, vehicle end equipment and medium
By designing priority queues and dynamic traffic threshold control in the vehicle-road collaboration system, the problems of real-time data delay and high packet loss rate are solved, ensuring efficient transmission of real-time data and improving traffic safety.
Patent Information
- Application Number
- CN202410728082.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-08-30
AI Technical Summary
In vehicle-road collaboration scenarios, long real-time data delays, high packet loss rates, and non-real-time data congestion problems lead to the failure of vehicle route planning and affect traffic safety.
By designing data transmission queues with different priorities in road-end equipment, the target traffic threshold is dynamically determined based on data type, network signal quality and number of devices, real-time data is prioritized and non-real-time data transmission rates are controlled to ensure timely transmission of real-time data.
It effectively reduces the delay and packet loss rate of real-time data, ensures the effectiveness and efficient transmission of real-time data, and avoids the impact of non-real-time data congestion on real-time data.
Smart Images

Figure CN118574164A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle-road collaboration technology, and in particular to a data transmission method, road-side equipment, vehicle-side equipment and medium for vehicle-road collaboration. Background Art
[0002] In the vehicle-road collaboration scenario based on network communication (such as 5G network communication), high-quality communication between vehicles, vehicles and roads, vehicles and people, etc. can be achieved within the network communication range through the OBU (Onboard Unit) installed on the vehicle side and the RSU (Roadside Unit) deployed on the road side. For example, the RSU regularly sends various traffic data information such as basic safety messages, roadside safety messages, roadside infrastructure, maps, signal phase and time, event information, etc. to the OBU to realize vehicle-road interconnection and real-time interaction of traffic signals. These functions can assist drivers in driving and ensure the safety of people and vehicles in the entire traffic field. When the vehicle is driving, the real-time data delay in the vehicle-road communication increases, and it is easy for the OBU or other RSU to fail to receive the real-time data (such as perception semantic data) of a certain RSU, which makes it impossible for the OBU or other RSU to make effective path planning for the vehicle, which is very likely to cause dangerous situations.
[0003] Therefore, it is urgent to propose a data transmission method for vehicle-road collaboration to solve the above defects. Summary of the invention
[0004] In view of this, the present invention proposes a data transmission method, road-side equipment, vehicle-side equipment and medium for vehicle-road collaboration, which solves the problems of large real-time data delay, high packet loss rate and non-real-time data congestion that occur in the process of data transmission by the road-side equipment of vehicle-road collaboration, reduces the delay of real-time data, reduces the packet loss rate, and ensures the validity of real-time data.
[0005] Based on the above purpose, an embodiment of the present invention provides a data transmission method for vehicle-road collaboration, which specifically includes the following steps: In response to the road end equipment receiving the data, determining the data type of the data; Determining a data transmission queue priority according to the data type; Detecting the status of each of the data transmission queues in order of priority; In response to the state reaching a first queue state, determining a flow rate and a target flow rate threshold of a non-empty data transmission queue therein; The data in each of the data transmission queues is sent based on the traffic and the target traffic threshold.
[0006] In some implementations, the step of determining the data type of the data and determining the data transmission queue priority according to the data type includes: If the data type is real-time data, storing the data in a first data transmission queue, and determining the priority of the first data transmission queue to be a first priority; If the data type is non-real-time data, placing the non-real-time data into a second data transmission queue, and determining the priority of the second data transmission queue to be a second priority; The first priority is higher than the second priority.
[0007] In some implementations, in response to the state reaching the first queue state, the step of determining the flow rate of the non-empty data transmission queue therein and the target flow rate threshold includes: In response to detecting that the state is that there is a non-empty data transmission queue and the non-empty data transmission queue is a second data transmission queue, determining that the state reaches a first queue state; The target flow threshold is determined based on the signal quality and the number of devices in the network where the road end device is located.
[0008] In some implementations, the step of sending the data in each of the data transmission queues based on the traffic and the target traffic threshold includes: Determining whether the flow rate reaches the target flow rate threshold; In response to the traffic reaching the target traffic threshold, returning to the step of detecting the status of each of the data transmission queues in order of priority until the first data transmission queue is not empty, and sending the data in the first data transmission queue; In response to the traffic not reaching the target traffic threshold, the data in the second data transmission queue is sent, and after the data sending is completed, the step of detecting the status of each transmission queue in order of priority is returned to.
[0009] In some implementations, the step of determining the target flow threshold based on the signal quality and the number of devices in the network where the road end device is located includes: Detecting the received power and signal-to-noise ratio of the network where the road end device is located to determine the signal quality, and determining a target flow threshold table based on the signal quality; The round-trip delay of the network where the road-end device is located is detected to determine the number of the devices, and the target flow threshold is determined based on the target flow threshold table and the number of devices.
[0010] In some implementations, the step of determining a target flow threshold table based on the signal quality includes: A two-dimensional array is constructed using the received power and the signal-to-noise ratio corresponding to the signal quality, and a target flow threshold table is determined based on a preset flow table and the two-dimensional array.
[0011] In some implementations, the step of detecting the round trip delay of the network in which the road end device is located includes: Send a detection frame and receive a response message corresponding to the detection frame; The round trip delay is determined based on the time when the road end device sends the detection frame and the time when the response message is received.
[0012] Another aspect of the embodiment of the present invention further provides a roadside device, including: A first processing module, configured to determine a data type of the data in response to the road end device receiving the data; A second processing module is configured to determine a data transmission queue priority according to the data type; A third processing module is configured to detect the status of each of the data transmission queues in order of priority; A fourth processing module, configured to determine the flow rate and target flow rate threshold of the non-empty data transmission queue therein in response to the state reaching the first queue state; The fifth processing module is configured to send the data in each of the data transmission queues based on the traffic and the target traffic threshold.
[0013] Another aspect of the embodiment of the present invention further provides a vehicle-side device, which is communicatively connected to the road-side device described above, and includes: A receiving module, configured to receive a detection frame sent by the road end device; or receive data sent by each data transmission queue in the road end device; The sending module is configured to send a response message corresponding to the detection frame to the road end device.
[0014] According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, which stores a computer program that implements the above method steps when executed by a processor.
[0015] The present invention has at least the following beneficial technical effects: (1) Two data transmission queues with different priorities are designed in advance according to the data type. When acquiring data, the data is automatically stored in the corresponding data transmission queue according to the data type, and the data in each transmission queue is sent in order of priority to ensure that real-time data is processed first. This avoids the situation in traditional solutions where non-real-time data occupies too many resources when transmitted through the same queue, resulting in the inability to process real-time data in a timely manner. This enables more efficient use of system resources. (2) The target traffic threshold is dynamically determined by monitoring the signal quality and the number of devices in the network. The transmission rate of non-real-time data is controlled based on the relationship between the traffic of the low-priority data transmission queue and the target traffic threshold. This avoids problems such as increased real-time data delay and high packet loss rate caused by non-real-time data congestion when the network signal quality is poor or the number of devices is large, thereby ensuring the timely and effective transmission of real-time data. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can be obtained based on these drawings without paying creative work.
[0017] Figure 1 A block diagram of an embodiment of a data transmission method for vehicle-road collaboration provided by the present invention; Figure 2 A schematic diagram of a flow chart of an embodiment of storing data provided by the present invention; Figure 3 A schematic diagram of a flow chart of an embodiment of sending data in each transmission queue provided by the present invention; Figure 4 A schematic diagram of a flow chart of an embodiment of querying a target flow threshold table provided by the present invention; Figure 5 A schematic diagram of a flow chart of an embodiment of querying a target flow threshold provided by the present invention; Figure 6 A schematic diagram of an embodiment of a preset flow meter and a flow threshold meter provided by the present invention; Figure 7 A schematic diagram of an embodiment of a roadside device provided by the present invention; Figure 8 A schematic diagram of an embodiment of a vehicle-side device provided by the present invention; Fig. 9 A schematic diagram of the structure of an embodiment of a computer-readable storage medium provided by the present invention. DETAILED DESCRIPTION
[0018] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention are further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0019] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are for distinguishing two non-identical entities with the same name or non-identical parameters. It can be seen that "first" and "second" are only for the convenience of expression and should not be understood as limitations on the embodiments of the present invention. The subsequent embodiments will not explain this one by one.
[0020] The data uploaded by the road-side equipment of vehicle-road collaboration includes real-time data (such as perceptual semantic data) and non-real-time data (such as video data). Real-time data has certain requirements for latency. When real-time data times out during transmission, the receiving end usually does not process these real-time data because the timeliness and accuracy of real-time data may have been affected. Non-real-time data has no requirements for latency, but the amount of non-real-time data is much larger than that of real-time data, which can easily affect the latency of real-time data. In related technologies, when transmitting through 5G wireless, it is easy to cause large latency and high packet loss rate during wireless transmission due to objective factors such as coverage distance and noise interference. When transmitting through optical fiber, data types are generally not distinguished, which can easily lead to a large amount of non-real-time data blocking the transmission of real-time data. 5G QOS (Quality of Service) can realize priority configuration, but it needs to be classified based on IP (Internet Protocol) and needs to be implemented by operators, and does not have the ability of flexible deployment.
[0021] In order to solve the above defects, the first aspect of the embodiments of the present invention provides an embodiment of a data transmission method for vehicle-road collaboration, such as Figure 1 As shown, it includes the following steps: Step S100: In response to the road end equipment receiving data, determining the data type of the data.
[0022] In some implementations, the data type includes a real-time data type and a non-real-time data type. The data type of the data can be determined by viewing relevant parameter information carried by the data, for example, by viewing the timestamp information of the data.
[0023] Step S200: determining a data transmission queue priority according to the data type.
[0024] In some implementations, separate transmission queues are designed in advance for different data types. Since real-time data is time-sensitive and needs to be transmitted first, the priority of the real-time data transmission queue is set higher than the priority of the non-real-time data transmission queue. For example, a first data transmission queue and a second data transmission queue are set separately and the priority of the first data transmission queue is higher than that of the second data transmission queue, then the first data transmission queue is used to transmit real-time data, and the second data transmission queue is used to transmit non-real-time data.
[0025] Step S300: detecting the status of each data transmission queue in order of priority.
[0026] In some implementations, the asynchronous transmission queue processing module in the road-end device checks whether each data transmission queue is empty in descending order of priority. If the data transmission queue is not empty, a queue unit at the head of the data transmission queue is taken out and the buffer data of the queue unit is sent. The data in the low-priority transmission queue is transmitted only after all data transmissions in the high-priority data transmission queue are completed.
[0027] Step S400: In response to the state reaching the first queue state, determining the flow rate and the target flow rate threshold of the non-empty data transmission queue therein.
[0028] In some implementations, the first queue state is a state in which there is a non-empty data transmission queue among all data queues, and the priority of the non-empty data transmission queue is not the highest priority. If it is detected that the state of each data transmission queue reaches the first queue state, the signal quality and the number of devices in the network where the road end device is located are periodically detected to determine the target flow threshold, and the flow of the non-empty transmission queue at this time is detected.
[0029] In some embodiments, the data transmission queue for transmitting real-time data is the highest priority data transmission queue, which may be referred to as the first data transmission queue, and the data transmission queue for transmitting non-real-time data is a low priority data transmission queue, which may be referred to as the second data transmission queue. Figure 3 A schematic diagram of a flow chart of an embodiment of sending data in each transmission queue provided by the present invention. Figure 3 The second data transmission queue (i.e. Figure 3 In the queue 2) is not empty, that is, it is detected that all data transmission in the high-priority data transmission queue is completed, and the data in the low-priority data transmission queue is started to be transmitted. At this time, the signal quality and the number of devices in the network environment where the terminal device is located will be triggered to perform periodic detection. The number of devices includes the number of vehicle-side devices and the number of road-side devices. The number of devices in the network can be evaluated based on the RTT (Round-Trip Time) between devices. The signal quality depends on the RSRP (Reference Signal Receiving Power) and SINR (Signal to Interference plus Noise Ratio) of the network. RSRP and SINR both play an important role in wireless communications. They are used to evaluate the strength of wireless signals and the quality of communication links, respectively.
[0030] Step S500: sending data in each data transmission queue based on the traffic flow and the target traffic flow threshold.
[0031] In some embodiments, when the 5G signal quality is poor, the transmission channel capacity becomes smaller, and non-real-time data will accumulate on the 5G terminal side, blocking subsequent real-time data transmission. Therefore, it is necessary to set a corresponding flow threshold for the transmission of non-real-time data according to the signal quality. When the 5G signal quality is good, but the number of devices is large, the increase in the number of devices will also reduce the data transmission efficiency. This is because each terminal device needs to occupy network resources to send and receive data, and the network needs to process data packets from multiple terminal devices, which may cause the data transmission efficiency to decrease, especially in the case of high load, and will also block subsequent real-time data transmission. Therefore, it is also necessary to set the flow threshold according to the number of devices to better control the transmission of non-real-time data. The present invention dynamically determines the target flow threshold by periodically monitoring the signal quality and the number of devices in the network. When the data flow of non-real-time data reaches the target flow threshold, the transmission of non-real-time data is timely limited, that is, stop sending non-real-time data, and wait for the arrival of real-time data, start sending real-time data in the high-priority data transmission queue, or wait for the flow to be lower than the target flow threshold, and start sending non-real-time data in the low-priority data transmission queue. In addition, in some embodiments, the data transmission queue, ie, its priority level, may not be limited to two. For example, there may be multiple data transmission queues for transmitting non-real-time data, and they may be divided into several different priorities except the highest priority according to the needs.
[0032] In some implementations, the problem of signal quality is usually limited to a local area or a specific device, and the impact of the signal quality on data transmission can be improved to a certain extent by technical means, such as signal enhancement, interference suppression, etc. The problem of the number of devices may affect the performance of the entire network, and the impact of the increase in the number of devices on data transmission is uncontrollable, and its impact can only be reduced by optimizing the network architecture, improving device performance, etc. Therefore, only controlling the transmission of non-real-time data based on signal quality cannot completely avoid the problem of non-real-time data transmission congestion. The present invention controls the transmission rate of non-real-time data by dynamically setting the target flow threshold by signal quality and the number of devices, which not only avoids the situation where the transmission of non-real-time data is blocked when the signal quality is poor, affecting the transmission of subsequent real-time data, but also avoids the situation where a large amount of data is sent and received when the signal quality is good but the number of devices is large, resulting in a decrease in the efficiency of subsequent real-time data transmission. When 5G transmission is performed on the same vehicle-road cooperative road end device, whether there is a large amount of non-real-time data, it will not affect the delay of real-time data. In addition, this solution only involves application layer implementation, does not involve modification of the underlying protocol stack, and is easy to implement.
[0033] In some embodiments, the step of determining the priority of a data transmission queue based on a data type includes: if the data type is real-time data, storing the data in a first data transmission queue, and determining the priority of the first data transmission queue to be a first priority; if the data type is non-real-time data, placing the non-real-time data in a second data transmission queue, and determining the priority of the second data transmission queue to be a second priority; wherein the first priority is higher than the second priority.
[0034] In some embodiments, Figure 2 The present invention provides a flowchart of an embodiment of storing data. The data in each data transmission queue is transmitted by asynchronous transmission. When data is received, a queue unit corresponding to the data is generated according to the data type, and the data unit is placed at the end of the data transmission queue corresponding to the data type. Figure 2 As shown, when the received data is real-time data, a queue unit containing the data type and data value is generated, and the queue unit is placed in the first data transmission queue (i.e. Figure 2 Middle queue 1) Tail.
[0035] In some embodiments, in response to the state reaching the first queue state, the step of determining the flow of the non-empty data transmission queue therein and the target flow threshold includes: in response to detecting that the state is that there is a non-empty data transmission queue and the non-empty data transmission queue is a second data transmission queue, determining that the state has reached the first queue state; and determining the target flow threshold based on the signal quality and the number of devices in the network where the road end device is located.
[0036] In some embodiments, the step of sending data in each data transmission queue based on the traffic and the target traffic threshold includes: determining whether the traffic reaches the target traffic threshold; in response to the traffic reaching the target traffic threshold, returning to the step of detecting the status of each data transmission queue in order of priority until the first data transmission queue is not empty, and sending the data in the first data transmission queue; in response to the traffic not reaching the target traffic threshold, sending the data in the second data transmission queue, and returning to the step of detecting the status of each data transmission queue in order of priority after the data is sent.
[0037] In some implementations, the transmission rate of the second data transmission queue is controlled according to the relationship between the target flow threshold and the flow of the second data transmission queue. Figure 3As shown, if it is detected that all data transmissions in the first data transmission queue are completed and the flow of the second data transmission queue does not reach the target flow threshold, that is, the flow is lower than the target flow threshold, then the queue unit at the head of the second data transmission queue is taken out, and the buffer data of the queue unit is sent, that is, non-real-time data is sent, and the first data transmission queue is checked again to see if it is empty. If it is detected that all data transmissions in the first data transmission queue are completed and the flow of the second data transmission queue reaches the target flow threshold, that is, the flow is equal to or greater than the target flow threshold, then the data of the second data transmission queue is stopped from being sent, and the first data transmission queue is checked again to see if it is empty. If it is detected that the first data transmission queue is not empty, the head data in the first data transmission queue is sent, and after the head data is sent, the step of detecting the status of each transmission queue in priority order is returned. That is, the queue unit at the head of the first data transmission queue is taken out, and the buffer data of the queue unit is sent, that is, real-time data is sent, and the first data transmission queue is checked again to see if it is empty. Among them, the data receiving end includes the vehicle-side device bound to the road-side device and other road-side devices other than itself.
[0038] In some embodiments, the step of determining the target traffic threshold based on the signal quality and the number of devices in the network where the road-end device is located includes: detecting the receiving power and signal-to-noise ratio of the network where the road-end device is located to determine the signal quality, and determining the target traffic threshold table based on the signal quality; detecting the round-trip delay of the network where the road-end device is located to determine the number of devices, and determining the target traffic threshold based on the target traffic threshold table and the number of devices.
[0039] In some embodiments, the received power is RSRP and the signal-to-noise ratio is SINR. The preset flow table is a table constructed based on the correspondence between RSRP value, SINR value and flow in the pre-network signal test data, and the table includes a two-dimensional array of RSRP value and SINR value, and each set of RSRP value and SINR value corresponds to a flow threshold table. Each flow threshold table is a table constructed based on the correspondence between RTT delay and flow in the pre-device quantity test data, and the target flow threshold is set according to the flow. Figure 4 A flow chart of an embodiment of querying a target flow threshold table provided by the present invention. It is determined whether the RSRP value and SINR value detected in adjacent detection cycles have changed. If any one of the RSRP value and SINR value has changed, a two-dimensional array is constructed according to the changed RSRP value and SINR value, and a flow list (i.e., a target flow threshold table) matching the two-dimensional array is queried in a preset flow table, and a table is looked up according to the target flow threshold table and the RTT delay obtained by periodic detection to obtain the target flow threshold of the network where the terminal device is currently located, so as to limit the data transmission in the second data transmission queue.
[0040] In some embodiments, the step of determining the target traffic threshold table based on signal quality includes: constructing a two-dimensional array with the received power and signal-to-noise ratio corresponding to the signal quality, and determining the target traffic threshold table based on the preset traffic table and the two-dimensional array.
[0041] In some embodiments, Figure 6 FIG. is a schematic diagram of an embodiment of the preset traffic table and the traffic threshold table provided by the present invention. In one example, it is assumed that the RSRP range of the roadside device working environment is from -75 dBM to -105 dBM, and it is equally divided into several RSRP scales, for example, divided into 5 RSRP scales of -105≥RSRP, -105<RSRP≤-95, -95<RSRP≤-85, -85<RSRP≤-75, and -75<RSRP. It is assumed that the SINR range of the roadside device working environment is from 0 dBM to 40 dBM, and it is equally divided into several SINR scales, for example, divided into 6 SINR scales of 0≥SINR, 0<SINR≤10, 10<SINR≤20, 20<SINR≤30, 30<SINR≤40, and 40<SINR. Based on the above division method, the preset traffic table composed of several SINR scales and RSRP scales as shown in Figure 6 is obtained, and each group of SINR scales and RSRP scales corresponds to a traffic threshold table.
[0042] In some embodiments, the step of detecting the round-trip delay of the network where the roadside device is located includes: sending a probe frame and receiving a response message corresponding to the probe frame; determining the round-trip delay based on the time when the roadside device sends the probe frame and the time when the response message is received.
[0043] In some embodiments, each roadside device can communicate with one or more vehicle-end devices or other roadside devices within the vehicle-road collaborative operation area. Figure 5Schematic flowchart of an embodiment for querying the target traffic threshold provided by the present invention. The roadside device periodically sends a detection frame to the vehicle device or other roadside devices except itself, and receives the response message corresponding to the detection frame fed back by the vehicle device or other roadside devices. Each detection frame may include the timestamp of the current roadside device. The roadside device can record the sending timestamp when sending the detection frame, and record the receiving timestamp when receiving the feedback response message. The roadside device can calculate the difference between the sending timestamp and the receiving timestamp as the RTT delay. If the RTT delay exceeds the preset delay, the RTT delay is set to an invalid value. If the RTT delay does not exceed the preset delay, look up the value matching the RTT delay in the target traffic threshold table as the target traffic threshold. The above preset delay can be set according to the actual application situation. The number of devices in the network can be evaluated according to the RTT delay. For example, the larger the RTT delay, the more devices there are. In one example, assuming that the RTT range of the working environment of the roadside device is from 20 ms to 40 ms, it is equally spaced and divided into several RTT scales. For example, it is divided into 4 RTT scales of 20≥RTT, 20<RTT≤30, 30<RTT≤40, 40<RTT. As Figure 6 shown, each RTT scale corresponds to a traffic volume, and this traffic volume is used as the target traffic threshold of the network where it is located.
[0044] In some embodiments, taking Figure 6 as an example, when all the data transmissions in the first data transmission queue are completed and the data in the second data transmission queue starts to be transmitted, assume that in a certain period, the RSRP of the network where the roadside device is located is -100 dBM, the SINR is 5 dBM, and the RTT delay is 25 ms. Then look up the row matching the RSRP in the preset traffic table, and then look up the column matching the SINR in the preset traffic table. The constructed two-dimensional array can be array[0][0]. According to array[0][0], obtain the target traffic threshold table, that is Figure 6 the list in. Look up the target traffic threshold matching the RTT delay in the target traffic threshold table as 2 Mbps. At the same time, detect the traffic volume of the second data transmission queue in this period, and judge whether this traffic volume reaches the target traffic threshold of 2 Mbps. If this traffic volume does not reach 2 Mbps, continue to send the head data in the second data transmission queue. If this traffic volume reaches 2 Mbps, stop sending the head data in the second data transmission queue, wait until the first data transmission queue is not empty and then start sending the head data in the first data transmission queue, or wait until the traffic volume does not reach 2 Mbps and then continue to send the head data in the second data transmission queue.
[0045] Therefore, the data transmission method for vehicle-road collaboration in the above-mentioned embodiment ensures that real-time data can be processed preferentially, avoiding the situation in which non-real-time data in traditional solutions that occupies too many resources when transmitted through the same queue, resulting in the inability to process real-time data in a timely manner. It can more efficiently utilize system resources, and further avoids the problems of increased real-time data delay and high packet loss rate caused by non-real-time data congestion when the network signal quality of the road-end equipment is poor or the number of devices is large, thereby ensuring the timely and effective transmission of real-time data.
[0046] Based on the same inventive concept, according to another aspect of the present invention, Figure 7 As shown, an embodiment of the present invention further provides a road end device, including: A first processing module 110, configured to determine a data type of the data in response to receiving the data; The second processing module 120 is configured to store the data into a transmission queue of a priority corresponding to the data type according to the data type; The third processing module 130 is configured to detect the status of each data transmission queue in order of priority; A fourth processing module 140 is configured to determine the flow rate and the target flow rate threshold of the non-empty data transmission queue therein in response to the state reaching the first queue state; The fifth processing module 150 is configured to send the data in each of the data transmission queues based on the traffic and the target traffic threshold.
[0047] Based on the same inventive concept, according to another aspect of the present invention, Figure 8 As shown, an embodiment of the present invention further provides a vehicle-side device, which is communicatively connected with the road-side device as described above, and includes: The receiving module 210 is configured to receive a detection frame sent by the road end device; or receive data sent by each data transmission queue in the road end device; The sending module 220 is configured to send a response message corresponding to the detection frame to the road end device.
[0048] Based on the same inventive concept, according to another aspect of the present invention, Fig. 9 As shown, an embodiment of the present invention further provides a computer-readable storage medium 40, which stores a computer program 410 for executing the above method when executed by a processor.
[0049] Finally, it should be noted that a person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium of the program can be a disk, an optical disk, a read-only storage memory (ROM) or a random access memory (RAM), etc. The above-mentioned computer program embodiments can achieve the same or similar effects as the corresponding above-mentioned any method embodiments.
[0050] It will also be appreciated by those skilled in the art that various exemplary logic blocks, modules, circuits and algorithm steps described in conjunction with the disclosure herein can be implemented as electronic hardware, computer software or a combination of the two. In order to clearly illustrate this interchangeability of hardware and software, a general description has been given to the functions of various schematic components, blocks, modules, circuits and steps. Whether this function is implemented as software or hardware depends on specific applications and the design constraints imposed on the entire system. Those skilled in the art can implement the function in various ways for each specific application, but this implementation decision should not be interpreted as causing a departure from the disclosed scope of the embodiments of the present invention.
[0051] The above are exemplary embodiments disclosed in the present invention, but it should be noted that various changes and modifications may be made without departing from the scope of the embodiments disclosed in the claims. The functions, steps and / or actions of the method claims according to the disclosed embodiments described herein do not need to be performed in any particular order. The serial numbers of the embodiments disclosed in the above embodiments of the present invention are for description only and do not represent the advantages and disadvantages of the embodiments. In addition, although the elements disclosed in the embodiments of the present invention may be described or required in individual form, they may also be understood as multiple unless explicitly limited to the singular.
[0052] It should be understood that, as used herein, the singular forms "a", "an" are intended to include the plural forms as well, unless the context clearly supports an exception. It should also be understood that, as used herein, "and / or" refers to any and all possible combinations including one or more of the associated listed items.
[0053] A person skilled in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the disclosure of the embodiments of the present invention (including the claims) is limited to these examples; under the concept of the embodiments of the present invention, the technical features in the above embodiments or different embodiments can also be combined, and there are many other changes in different aspects of the above embodiments of the present invention, which are not provided in detail for the sake of simplicity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention should be included in the protection scope of the embodiments of the present invention.
Claims
1. A data transmission method for vehicle-road collaboration, It is characterized in that include: In response to the road end equipment receiving the data, determining the data type of the data; Determining a data transmission queue priority according to the data type; Detecting the status of each of the data transmission queues in order of priority; In response to the state reaching a first queue state, determining a flow rate and a target flow rate threshold of a non-empty data transmission queue therein; The data in each of the data transmission queues is sent based on the traffic and the target traffic threshold.
2. The data transmission method for vehicle-road collaboration according to claim 1, It is characterized in that The step of determining the data transmission queue priority according to the data type comprises: If the data type is real-time data, storing the data in a first data transmission queue, and determining the priority of the first data transmission queue to be a first priority; If the data type is non-real-time data, placing the non-real-time data into a second data transmission queue, and determining the priority of the second data transmission queue to be a second priority; The first priority is higher than the second priority.
3. The data transmission method for vehicle-road collaboration according to claim 2, It is characterized in that The step of determining the flow rate of the non-empty data transmission queue and the target flow rate threshold in response to the state reaching the first queue state comprises: In response to detecting that the state is that there is a non-empty data transmission queue and the non-empty data transmission queue is a second data transmission queue, determining that the state reaches a first queue state; The target flow threshold is determined based on the signal quality and the number of devices in the network where the road end device is located.
4. The data transmission method for vehicle-road collaboration according to claim 2, It is characterized in that The step of sending the data in each of the data transmission queues based on the traffic and the target traffic threshold comprises: Determining whether the flow rate reaches the target flow rate threshold; In response to the traffic reaching the target traffic threshold, returning to the step of detecting the status of each of the data transmission queues in order of priority until the first data transmission queue is not empty, and sending the data in the first data transmission queue; In response to the traffic not reaching the target traffic threshold, the data in the second data transmission queue is sent, and after the data sending is completed, the step of detecting the status of each of the data transmission queues in order of priority is returned to.
5. The data transmission method for vehicle-road collaboration according to claim 3, It is characterized in that The step of determining the target flow threshold based on the signal quality and the number of devices in the network where the road end device is located includes: Detecting the received power and signal-to-noise ratio of the network where the road end device is located to determine the signal quality, and determining a target flow threshold table based on the signal quality; The round-trip delay of the network where the road-end device is located is detected to determine the number of the devices, and the target flow threshold is determined based on the target flow threshold table and the number of devices.
6. The data transmission method for vehicle-road collaboration according to claim 5, It is characterized in that The step of determining the target flow threshold table based on the signal quality comprises: A two-dimensional array is constructed using the received power and the signal-to-noise ratio corresponding to the signal quality, and a target flow threshold table is determined based on a preset flow table and the two-dimensional array.
7. The data transmission method for vehicle-road collaboration according to claim 5, It is characterized in that The step of detecting the round trip delay of the network in which the road end device is located comprises: Send a detection frame and receive a response message corresponding to the detection frame; The round trip delay is determined based on the time when the road end device sends the detection frame and the time when the response message is received.
8. A roadside device, It is characterized in that include: A first processing module, configured to determine a data type of the data in response to the road end device receiving the data; A second processing module is configured to determine a data transmission queue priority according to the data type; A third processing module is configured to detect the status of each of the data transmission queues in order of priority; A fourth processing module, configured to determine the flow rate and target flow rate threshold of the non-empty data transmission queue therein in response to the state reaching the first queue state; The fifth processing module is configured to send the data in each of the data transmission queues based on the traffic and the target traffic threshold.
9. A vehicle-side device, It is characterized in that The communication connection with the roadside equipment as claimed in claim 8 comprises: A receiving module, configured to receive a detection frame sent by the road end device; or receive data sent by each data transmission queue in the road end device; The sending module is configured to send a response message corresponding to the detection frame to the road end device.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
