CN115278553B - A safe message broadcast method for Internet of Vehicles based on RSU collaboration - Google Patents

A safe message broadcast method for Internet of Vehicles based on RSU collaboration Download PDF

Info

Publication number
CN115278553B
CN115278553B CN202210817965.4A CN202210817965A CN115278553B CN 115278553 B CN115278553 B CN 115278553B CN 202210817965 A CN202210817965 A CN 202210817965A CN 115278553 B CN115278553 B CN 115278553B
Authority
CN
China
Prior art keywords
message
vehicle
safety
rsu
broadcast
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210817965.4A
Other languages
Chinese (zh)
Other versions
CN115278553A (en
Inventor
陈天翔
计逸辰
金绍威
陈亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nantong University
Original Assignee
Nantong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nantong University filed Critical Nantong University
Priority to CN202210817965.4A priority Critical patent/CN115278553B/en
Publication of CN115278553A publication Critical patent/CN115278553A/en
Application granted granted Critical
Publication of CN115278553B publication Critical patent/CN115278553B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention provides a vehicle networking safety message broadcasting method based on RSU cooperation, and belongs to the technical field of vehicle networking broadcasting. The problems of low delivery rate and high time delay when vehicles send safety messages in the traditional periodic broadcast are solved. The technical proposal is as follows: the method comprises three steps of filtering the same event, uniformly early warning the event and reducing the network load. The beneficial effects of the invention are as follows: the invention is to guarantee the delivery performance of the security message, first, a new broadcast packet structure comprising 'event class' and 'geographic position' fields is designed; secondly, filtering redundant safety information by using a roadside unit (RSU) with abundant computing and storage resources, and helping to release broadcast information by the RSU, so that the broadcast transmission rate of a vehicle source node is reduced, and channel competition is relieved; finally, through experiments, the novel method is verified to be capable of increasing the coverage range of the broadcast early warning, improving the message delivery rate, reducing the transmission delay and meeting the performance requirement of the safety early warning.

Description

一种基于RSU协作的车联网安全消息广播方法A safe message broadcast method for Internet of Vehicles based on RSU collaboration

技术领域Technical field

本发明涉及车联网广播技术领域,尤其涉及一种基于RSU协作的车联网安全消息广播方法。The present invention relates to the technical field of Internet of Vehicles broadcasting, and in particular to a method for broadcasting safety messages of Internet of Vehicles based on RSU collaboration.

背景技术Background technique

随着信息时代的发展和物联网应用的快速推广,车载应用产生的数据量日益增加,需要海量计算能力和存储资源。智慧车辆在行驶过程中会产生大量的数据,各类终端需要实现数据通信,才能共享和利用上述数据信息。作为智慧交通系统(Intelligenttransportation system,ITS)中传递消息的关键载体,车联网(Internet of Vehicle,IoV)是在车辆节点和基础设施之间建立的无线通信网络,利用车-车通信(Vehicle-to-Vehicle,V2V)或车-设施通信(Vehicle-to-Infrastructure,V2I)传输车辆状况、交通安全等信息,实现车辆网络化、智能化。With the development of the information age and the rapid promotion of Internet of Things applications, the amount of data generated by in-vehicle applications is increasing, requiring massive computing power and storage resources. Smart vehicles will generate a large amount of data while driving, and various terminals need to realize data communication in order to share and utilize the above data information. As a key carrier of messages in the Intelligent Transportation System (ITS), the Internet of Vehicles (IoV) is a wireless communication network established between vehicle nodes and infrastructure, using vehicle-to-vehicle communication (Vehicle-to-Vehicle) -Vehicle (V2V) or vehicle-to-infrastructure (V2I) communication (Vehicle-to-Infrastructure, V2I) transmits vehicle status, traffic safety and other information to realize vehicle networking and intelligence.

在带来出行便利的同时,汽车也带来了很多交通安全隐患,因此行驶安全也成为社会关心的重要问题。交通事故除了直接危害人身安全和财产安全,作为次生灾害的道路拥塞还会大量浪费化石燃料。While bringing travel convenience, cars also bring many traffic safety hazards, so driving safety has also become an important issue of social concern. In addition to directly endangering personal safety and property safety, traffic accidents also cause road congestion as a secondary disaster and waste a large amount of fossil fuels.

造成交通事故的一个重要因素是交通类消息传递受限,驾驶员对前方道路状况存在视距限制,仅能观察一定范围内的情况,无法提前得知前方路况,做出正确的决策。协同车辆安全系统(Cooperative vehicle safety system,CVSS)是车联网中的重要应用,可以有效解决上述问题。车辆在行驶过程中周期性广播(Periodic Broadcast,PBC)含有车辆方向、加速度、地理位置等状态信息的数据分组,实现车辆之间的驾驶信息共享。驾驶员根据收到广播消息,追踪邻居车辆的方向、车速及位置,探测交通危险和拥塞消息并及时预警,提醒驾驶员调整策略,避免交通事故的发生。An important factor causing traffic accidents is the limited transmission of traffic information. Drivers have limited sight distance of the road conditions ahead. They can only observe the situation within a certain range and cannot know the road conditions ahead in advance and make correct decisions. Cooperative vehicle safety system (CVSS) is an important application in the Internet of Vehicles and can effectively solve the above problems. During driving, the vehicle periodically broadcasts (Periodic Broadcast, PBC) data packets containing vehicle direction, acceleration, geographical location and other status information to realize driving information sharing between vehicles. Based on the broadcast message received, the driver tracks the direction, speed and location of neighbor vehicles, detects traffic dangers and congestion messages and provides timely warnings, reminding the driver to adjust strategies to avoid traffic accidents.

然而,由于车辆通信范围有限,不同车辆在道路中行驶速度不同,导致网络拓扑不稳定,在数据通信时容易出现消息不可达的情况。同时,车辆之间通过周期性广播传输安全消息,存在多个节点对一个安全事件进行重复广播的情况。网络中产生大量冗余消息,车辆节点互相竞争信道资源,严重时导致广播风暴问题,造成安全预警消息发送过程中丢包显著,传输时延过大,影响安全预警服务质量。However, due to the limited vehicle communication range and different vehicles traveling at different speeds on the road, the network topology is unstable and messages are prone to being unreachable during data communication. At the same time, safety messages are transmitted between vehicles through periodic broadcasts, and there are situations where multiple nodes repeatedly broadcast a safety event. A large number of redundant messages are generated in the network, and vehicle nodes compete with each other for channel resources. In severe cases, broadcast storms occur, resulting in significant packet loss during the sending of safety warning messages and excessive transmission delays, affecting the quality of safety warning services.

不仅如此,车辆节点的计算资源有限,无法满足大量安全消息处理的计算需求。虽然云计算技术能够解决车辆节点计算资源不足的问题,但由于云端服务器距离车辆节点较远,安全消息传输至远端服务器的延时较大,不利于安全消息的传输和处理。Not only that, the computing resources of vehicle nodes are limited and cannot meet the computing needs of a large number of secure message processing. Although cloud computing technology can solve the problem of insufficient computing resources of vehicle nodes, because the cloud server is far away from the vehicle node, the delay in transmitting safety messages to the remote server is large, which is not conducive to the transmission and processing of safety messages.

发明内容Contents of the invention

本发明的目的在于提供一种基于RSU协作的车联网安全消息广播方法,传统周期性广播在车辆密度高时分组数量过多,容易导致广播风暴问题,造成安全预警消息的延迟或丢失,严重影响交通预警效果;针对上述问题,本发明提出一个基于RSU协作的车联网安全消息广播方法;首先设计了一个包含“事件等级”和“地理位置”的新型广播分组结构;其次,引入车载边缘计算技术,利用计算存储资源丰富的路边单元RSU过滤冗余安全消息,再由RSU协助发布广播消息,降低车辆源节点的发送速率,缓解信道竞争;最终提高广播分组投递性能并降低平均传输时延。The purpose of the present invention is to provide a safety message broadcast method for Internet of Vehicles based on RSU collaboration. Traditional periodic broadcasts have too many packets when the vehicle density is high, which can easily lead to broadcast storm problems, delay or loss of safety warning messages, and seriously affect Traffic warning effect; In response to the above problems, the present invention proposes a safety message broadcast method for Internet of Vehicles based on RSU collaboration; first, a new broadcast grouping structure containing "event level" and "geographic location" is designed; secondly, vehicle edge computing technology is introduced , use the roadside unit RSU with rich computing and storage resources to filter redundant safety messages, and then the RSU assists in publishing broadcast messages, reducing the sending rate of vehicle source nodes and easing channel competition; ultimately improving broadcast packet delivery performance and reducing average transmission delay.

本发明的目的在于提供一种基于RSU协作的车联网安全消息广播方法,在提出改进广播方法之前,首先对网络分组投递率进行数学建模,并在此基础上分析性能优化思路,以提升网络投递性能。The purpose of this invention is to provide a safety message broadcast method for Internet of Vehicles based on RSU collaboration. Before proposing an improved broadcast method, mathematical modeling of the network packet delivery rate is first performed, and on this basis, performance optimization ideas are analyzed to improve the network. Delivery performance.

CSMA/CA机制是IEEE 802.11p中MAC层基本工作方式,为了避免数据在信道传输中发生的冲突,采用二进制指数退避方法进行消息退避和重传,以下是根据其原理,分析车辆节点信道竞争过程。The CSMA/CA mechanism is the basic working method of the MAC layer in IEEE 802.11p. In order to avoid data conflicts during channel transmission, the binary exponential backoff method is used for message backoff and retransmission. The following is an analysis of the vehicle node channel competition process based on its principle. .

图9给出两个车辆节点在CSMA/CA机制下竞争信道以传输数据的过程,其中DIFS为分布式帧间时隙,SIFS为短帧间间隔,SlotTime表示一个时隙;当车辆A需要给无线AP发送数据时,首先侦听信道,当信道空闲时间达到一个DIFS时间,判断此时信道空闲,开始进行数据发送,AP成功接收数据时,在一个SIFS时间后发送ACK确认帧,表示本次消息的成功传输,随着车辆密度增加,节点互相竞争信道发送数据,容易出现信道繁忙的情况,当车辆A和车辆B在同一时间进行数据发送,因车辆A占用信道发送数据,车辆B侦听信道时出现信道繁忙情况,为避免数据冲突,车辆B在侦听信道的DIFS时间后,增加一个退避过程,车辆B根据竞争窗口大小,随机生成一个退避时间BackoffTime作为回退计数值,同时继续监听信道,侦听信道连续空闲时间达到一个时隙,则回退计数值减1;若监听过程中信道繁忙,冻结回退计数值,当回退计数值减少为0时,车辆B占用信道发送数据;Figure 9 shows the process of two vehicle nodes competing for the channel to transmit data under the CSMA/CA mechanism, where DIFS is the distributed inter-frame time slot, SIFS is the short inter-frame interval, and SlotTime represents a time slot; when vehicle A needs to When the wireless AP sends data, it first listens to the channel. When the channel idle time reaches a DIFS time, it determines that the channel is idle at this time and starts to send data. When the AP successfully receives the data, it sends an ACK confirmation frame after a SIFS time to indicate that this time For successful transmission of messages, as vehicle density increases, nodes compete with each other for channels to send data, and the channel is prone to be busy. When vehicle A and vehicle B send data at the same time, vehicle A occupies the channel to send data, and vehicle B listens. When the channel is busy, in order to avoid data conflicts, Vehicle B adds a backoff process after the DIFS time of the listening channel. Vehicle B randomly generates a BackoffTime as the backoff count value based on the competition window size, and continues to listen at the same time. channel, if the continuous idle time of the listening channel reaches one time slot, the backoff count value will be decremented by 1; if the channel is busy during the listening process, the backoff count value will be frozen. When the backoff count value is reduced to 0, vehicle B will occupy the channel to send data. ;

根据退避时间BackoffTime定义,可表示为:According to the definition of backoff time, it can be expressed as:

BackoffTime=Random()·CW·SlotTime (1)BackoffTime=Random()·CW·SlotTime (1)

其中Random()取值为0~1的随机数,CW为节点当前竞争窗口大小,SlotTime表示一个时隙大小,BackoffTime根据以上公式计算后取整,设CWmin为车辆节点最小竞争窗口值,CWmax为最大竞争窗口大小,CW初始取值为CWmin,当车辆节点出现数据发送失败的情况,则认为此时网络数据流量较大,车辆节点将CW竞争窗口值乘以2,即Among them, Random() takes a random number from 0 to 1, CW is the current competition window size of the node, SlotTime represents a time slot size, BackoffTime is calculated according to the above formula and rounded, let CW min be the minimum competition window value of the vehicle node, CW max is the maximum competition window size, and the initial value of CW is CW min . When the vehicle node fails to send data, it is considered that the network data traffic is large at this time, and the vehicle node multiplies the CW competition window value by 2, that is

其中,m表示数据重传次数,当CW值达到CWmax时,保持CW值不变;当该节点成功发送数据,设置CW值为CWminAmong them, m represents the number of data retransmissions. When the CW value reaches CW max , the CW value remains unchanged; when the node successfully sends data, the CW value is set to CW min ;

考虑某个RSU通信范围内有n个车辆节点的情况,假定任意车辆节点在一个随机时隙发送数据的概率为τ,则该数据与其他节点数据碰撞的概率为η,在节点数n值一定时,η始终保持恒定且独立,可得到如下关系式:Consider the situation where there are n vehicle nodes within the communication range of a certain RSU. Assume that the probability of any vehicle node sending data in a random time slot is τ. Then the probability of the data colliding with other node data is η. When the number of nodes n is one, Timing, η always remains constant and independent, and the following relationship can be obtained:

η=1-(1-τ)n-1 (3)η=1-(1-τ) n-1 (3)

根据数据碰撞概率,车辆节点的消息投递率p可表示为:According to the data collision probability, the message delivery rate p of the vehicle node can be expressed as:

p=1-η (4)p=1-η (4)

由公式(3)化简可得,By simplifying formula (3), we can get,

根据马尔科夫链的建模,令W=CWmin,可推出τ和η之间的关系:According to the modeling of Markov chain, let W=CW min , the relationship between τ and η can be derived:

联立公式(5)、公式(6)可求出非线性方程的数值解,最大重传次数m和节点数n保持不变时,竞争窗口值W的取值影响数据碰撞概率η和消息投递率p,设最大重传次数m值为7,节点数n为50,竞争窗口值W和数据碰撞概率η关系如图3所示,竞争窗口值W和消息投递率p关系如图4所示。The numerical solution to the nonlinear equation can be obtained by combining formula (5) and formula (6). When the maximum number of retransmissions m and the number of nodes n remain unchanged, the value of the competition window value W affects the data collision probability η and message delivery. rate p, assuming that the maximum number of retransmissions m is 7, the number of nodes n is 50, the relationship between the contention window value W and the data collision probability eta is shown in Figure 3, and the relationship between the contention window value W and the message delivery rate p is shown in Figure 4 .

由图3、图4可得,在网络负载大的情况下,选取较大的W可以提高预警消息分组网络投递率,由于网络中存在大量车辆节点,优化车辆节点的投递性能能够有效提高整网投递率。因此,在降低网络负载过程中,增大车辆源节点的最小竞争窗口值,降低消息碰撞,保证其通信范围内的更多的车辆节点接收到安全消息,其次建立网络平均时延模型,分析性能优化思路。It can be seen from Figure 3 and Figure 4 that when the network load is large, selecting a larger W can improve the network delivery rate of early warning message packets. Since there are a large number of vehicle nodes in the network, optimizing the delivery performance of vehicle nodes can effectively improve the entire network. Delivery rate. Therefore, in the process of reducing network load, increase the minimum competition window value of vehicle source nodes, reduce message collisions, and ensure that more vehicle nodes within its communication range receive safe messages. Secondly, establish a network average delay model and analyze performance Optimize ideas.

传输时延是消息在网络中发送到接收的时间,在车联网中,不同消息对时延需求不同,其中事件预警服务作为典型的时延敏感应用,对消息传输时间要求苛刻,由于车联网采用广播方式进行数据通信,无需ACK确认机制,一个广播帧发送时间T可以表示为:Transmission delay is the time between sending and receiving a message in the network. In the Internet of Vehicles, different messages have different latency requirements. As a typical delay-sensitive application, the event warning service has strict requirements on message transmission time. Since the Internet of Vehicles adopts Data communication is carried out in broadcast mode without the need for an ACK confirmation mechanism. The sending time T of a broadcast frame can be expressed as:

T=tDIFS+tBO+tData+tSIFS (7)T=t DIFS +t BO +t Data +t SIFS (7)

其中tDIFS为发送数据之前需等待的分布式帧间间隙时间,tBO为等待信道空闲的退避时间,若发送数据时检测到信道空闲,则不存在退避时间,取值为0,tData为广播数据帧发送时间,是广播时延中的关键部分。tSIFS为短帧间间隙时间,用来分隔开属于一次对话的各帧。Among them, t DIFS is the distributed inter-frame gap time that needs to be waited before sending data, t BO is the back-off time waiting for the channel to be idle, if the channel is idle when sending data, there is no back-off time, the value is 0, and t Data is The broadcast data frame sending time is a key part of the broadcast delay. t SIFS is the short inter-frame gap time, used to separate each frame belonging to a conversation.

在数据传输过程中检测信道繁忙时,节点根据当前竞争窗口值随机选择一个回退计数值用于计算退避时间,避免产生消息碰撞;当网络中存在大量广播消息时,回退计数值一般取则,When the channel is busy during data transmission, the node randomly selects a backoff count value based on the current competition window value to calculate the backoff time to avoid message collisions; when there are a large number of broadcast messages in the network, the backoff count value is generally but,

其中,slot表示一个时隙大小,将其带入公式(7)中:Among them, slot represents a time slot size, which is brought into formula (7):

根据tData的定义,tData可表示为:According to the definition of t Data , t Data can be expressed as:

其中L为广播分组长度,单位为字节;R为节点发送速率,单位Mb/s。Among them, L is the broadcast packet length, in bytes; R is the node sending rate, in Mb/s.

将公式(10)带入公式(9)中,可得到化简后的平均时延公式:Putting formula (10) into formula (9), the simplified average delay formula can be obtained:

由于tDIFS、slot、tSIFS均为MAC层固定参数,在数据传输过程中均不发生改变。因此,广播帧发送时间T仅与竞争窗口值、广播分组长度和节点发送速率有关。Since t DIFS , slot, and t SIFS are all fixed parameters of the MAC layer, they do not change during the data transmission process. Therefore, the broadcast frame sending time T is only related to the contention window value, broadcast packet length and node sending rate.

所以对安全消息广播业务,在广播分组长度不变的情况下,选取较小的W和较高的R可以降低安全预警消息的平均传输时延。在通信性能方面,RSU远优于车辆节点。利用RSU高带宽的特点,降低其最小竞争窗口值,保证在更短时间发送安全预警消息,提高驾驶安全性。Therefore, for the safety message broadcast service, when the broadcast packet length remains unchanged, choosing a smaller W and a higher R can reduce the average transmission delay of the safety warning message. In terms of communication performance, RSU is far superior to vehicle nodes. Utilize the high-bandwidth characteristics of RSU to reduce its minimum competition window value to ensure that safety warning messages are sent in a shorter time and improve driving safety.

针对不同等级的安全预警消息,RSU广播机制设置不同的最小竞争窗口值,将特急消息的最小竞争窗口值设置为初值的1/8,紧急消息的最小竞争窗口值设置为初值的1/4,一般消息的最小竞争窗口值设置为初值的1/2,优先确保高等级消息的传输性能。For different levels of security warning messages, the RSU broadcast mechanism sets different minimum competition window values. The minimum competition window value for urgent messages is set to 1/8 of the initial value, and the minimum competition window value for emergency messages is set to 1/1 of the initial value. 4. The minimum competition window value for general messages is set to 1/2 of the initial value, giving priority to ensuring the transmission performance of high-level messages.

为了实现上述发明目的,本发明采用技术方案具体为:一种基于RSU协作的车联网安全消息广播方法,其特征在于,包括以下步骤:In order to achieve the above-mentioned object of the invention, the technical solution adopted by the present invention is specifically: an Internet of Vehicles safety message broadcast method based on RSU collaboration, which is characterized by including the following steps:

步骤一,相同事件过滤,RSU接收到车辆源节点发送的安全预警消息时,读取分组中事件的等级和地理位置信息,对其紧急安全类型进行判断,过滤对相同交通事件的重复广播。Step 1: Same event filtering. When the RSU receives the safety warning message sent by the vehicle source node, it reads the level and geographical location information of the event in the group, judges its emergency safety type, and filters repeated broadcasts of the same traffic event.

步骤二,事件统一预警,RSU过滤相同事件后,根据事件紧急类型自适应提高消息发送速率并降低最小竞争窗口值,在其通信范围内进行安全预警。在本区域传输时,邻居车辆节点接收到车辆源节点和RSU的预警广播后,不进行分组转发,确保RSU在整网的广播性能。传输至后方区域时,安全消息通过光纤等有线技术发送给后方RSU,让其在通信范围内进行广播,确保后方车辆节点提前收到预警信息。Step two, unified event warning. After RSU filters the same event, it adaptively increases the message sending rate and reduces the minimum competition window value according to the emergency type of the event, and performs security warning within its communication range. When transmitting in this area, the neighbor vehicle node does not forward the packet after receiving the early warning broadcast from the vehicle source node and RSU to ensure the broadcast performance of the RSU in the entire network. When transmitted to the rear area, the safety message is sent to the rear RSU through wired technologies such as optical fiber, allowing it to broadcast within the communication range to ensure that the rear vehicle nodes receive early warning information in advance.

步骤三,降低网络负载,车辆源节点接收到RSU广播的安全预警消息时,读取分组地理位置信息判断事件,若判断为本车此前广播的安全消息,则根据事件紧急类型,自适应降低消息发送速率,并提高最小竞争窗口值,继续在其通信范围内广播。Step 3: Reduce the network load. When the vehicle source node receives the safety warning message broadcast by the RSU, it reads the grouped geographical location information to determine the event. If it is judged to be a safety message previously broadcast by the vehicle, it will adaptively reduce the message according to the emergency type of the event. The sending rate is increased, and the minimum contention window value is increased to continue broadcasting within its communication range.

进一步地,所述步骤一中相同事件过滤具体包括以下步骤:Further, the same event filtering in step one specifically includes the following steps:

(1)检测到事故或拥塞等异常交通事件的车辆源节点Vi、Vj各自生成安全预警消息Pi和Pj(1) Vehicle source nodes V i and V j that detect abnormal traffic events such as accidents or congestion generate safety warning messages Pi and P j respectively ;

(2)源节点Vi、Vj将安全预警消息Pi和Pj广播给通信范围内的路边单元RSU1和邻居车辆Vk(2) The source nodes Vi and V j broadcast the safety warning messages Pi and P j to the roadside unit RSU1 and neighbor vehicles V k within the communication range;

(3)在采样时间t内,RSU1接收到安全预警消息Pi和Pj后(假设先收到Pi消息),分别读取消息分组中的“地理位置”字段值Pi_address和Pj_address,过滤对相同事件的重复消息;(3) Within the sampling time t, after RSU1 receives the security warning messages Pi and P j (assuming that the Pi message is received first), RSU1 reads the "geographic location" field values Pi_address and P j in the message group respectively. _address, filters duplicate messages for the same event;

Step1:RSU1设置相同事件距离判断阈值D;Step1: RSU1 sets the same event distance judgment threshold D;

Step2:RSU1将Pi_address和Pj_address相减,计算事件之间的距离d;Step2: RSU1 subtracts P i _address and P j _address to calculate the distance d between events;

Step3:若d≤D,则判定Pi和Pj消息的内容是相同交通事件,RSU1将最先收到的安全预警消息Pi加入发送缓冲区队列Qinte,丢弃其他安全预警消息PjStep3: If d≤D, it is determined that the contents of the messages P i and P j are the same traffic event. RSU1 adds the first received safety warning message Pi to the sending buffer queue Q inte and discards other safety warning messages P j ;

Step4:若d>D,则判定Pi和Pj消息的内容是不同交通事件,RSU1将这两个安全预警消息Pi和Pj加入发送缓冲区队列QinteStep 4: If d>D, it is determined that the contents of the messages Pi and P j are different traffic events, and RSU1 adds the two safety warning messages Pi and P j to the sending buffer queue Q inte .

进一步地,所述步骤二中事件统一预警具体包括以下步骤:Further, the unified early warning of events in step two specifically includes the following steps:

(1)邻居车辆节点接收到安全预警消息Pi和Pj,不进行广播转发;(1) Neighbor vehicle nodes receive safety warning messages Pi and P j and do not broadcast and forward them;

(2)RSU1在广播发送缓冲区队列Qinte中的安全预警消息Pinte时,读取消息分组中的“事件等级”字段值Pinte_level,可知安全预警消息Pinte的紧急程度。设RSU的无线MAC层最小竞争窗口初值为WR0(2) When RSU1 broadcasts the security warning message P inte in the buffer queue Q inte , it reads the "event level" field value P inte_level in the message grouping to know the urgency of the security warning message P inte . Assume that the initial value of the minimum contention window of the wireless MAC layer of RSU is W R0 ;

Step1:对于特急事件,RSU1设置MAC层最小竞争窗口CWmin=a1*WR0,其中a1=1/8;Step1: For urgent events, RSU1 sets the minimum contention window of MAC layer CW min =a 1 *W R0 , where a 1 =1/8;

Step2:对于紧急事件,RSU1设置MAC层最小竞争窗口CWmin=a2*WR0,其中a2=1/4;Step2: For emergencies, RSU1 sets the MAC layer minimum contention window CW min =a 2 *W R0 , where a 2 =1/4;

Step3:对于一般事件,RSU1设置MAC层最小竞争窗口CWmin=a3*WR0,其中a3=1/2;Step3: For general events, RSU1 sets the MAC layer minimum contention window CW min =a 3 *W R0 , where a 3 =1/2;

(3)根据消息等级重新设置的MAC层最小竞争窗口值后,RSU监测车辆节点的PBC发送速率RV0,设置自身的PBC发送速率为2*RV0,在其通信范围内发送安全预警消息;(3) After resetting the minimum contention window value of the MAC layer according to the message level, the RSU monitors the PBC sending rate R V0 of the vehicle node, sets its own PBC sending rate to 2*R V0 , and sends safety warning messages within its communication range;

Step1:在本区域预警时,RSU1通过广播方式向其通信范围内的车辆节点发送安全预警消息PinteStep1: When warning in this area, RSU1 sends the safety warning message P inte to the vehicle nodes within its communication range through broadcast;

Step2:在后方区域预警时,RSU1通过光纤有线通信方式将预警消息发送给后方RSU2,再由RSU2将安全消息Pinte广播给其范围内的车辆。Step2: During the rear area warning, RSU1 sends the warning message to the rear RSU2 through optical fiber wired communication, and then RSU2 broadcasts the safety message Pinte to the vehicles within its range.

进一步地,所述步骤三中降低网络负载具体包括以下步骤:Further, reducing the network load in step three specifically includes the following steps:

(1)源节点Vi、Vj收到RSU1广播预警消息Pinte,若判定为本车此前广播的安全消息,则降低发送速率并提高最小竞争窗口值,继续在其通信范围内广播,设车辆源节点的无线MAC层最小竞争窗口初值为WV0,消息发送速率初值为RV0(1) The source nodes V i and V j receive the RSU1 broadcast warning message Pinte . If it is determined to be a safety message previously broadcast by the vehicle, they will reduce the sending rate and increase the minimum competition window value, and continue to broadcast within their communication range. Suppose The initial value of the minimum contention window of the wireless MAC layer of the vehicle source node is W V0 , and the initial value of the message sending rate is R V0 ;

Step1:对于特急事件,车辆节点设置MAC层最小竞争窗口CWmin=b1*WV0,其中b1=2,设置发送速率Rsend=(1-c1)*RV0,其中c1=0.3;Step1: For urgent events, the vehicle node sets the MAC layer minimum competition window CW min =b 1 *W V0 , where b 1 =2, and sets the sending rate R send =(1-c 1 )*R V0 , where c 1 =0.3 ;

Step2:对于紧急事件,车辆节点设置MAC层最小竞争窗口CWmin=b2*WV0,其中b2=4,设置发送速率Rsend=(1-c2)*RV0,其中c2=0.5;Step2: For emergency events, the vehicle node sets the MAC layer minimum competition window CW min =b 2 *W V0 , where b 2 =4, and sets the sending rate R send =(1-c 2 )*R V0 , where c 2 =0.5 ;

Step3:对于一般事件,车辆节点设置MAC层最小竞争窗口CWmin=b3*WV0,其中b3=8,设置发送速率Rsend=(1-c3)*RV0,其中c3=0.8;Step3: For general events, the vehicle node sets the MAC layer minimum competition window CW min =b 3 *W V0 , where b 3 =8, and sets the sending rate R send =(1-c 3 )*R V0 , where c 3 =0.8 ;

(2)设置完MAC层最小竞争窗口值和发送速率后,源节点Vi、Vj继续在其通信范围内广播。(2) After setting the minimum contention window value and transmission rate of the MAC layer, the source nodes V i and V j continue to broadcast within their communication range.

与现有技术相比,本发明的有益效果为:Compared with the prior art, the beneficial effects of the present invention are:

(1)本发明车载边缘计算(Vehicular Edge Computing,VEC)利用靠近车联网的边缘基础设施,就近提供计算、存储及传输等服务,较好地解决了车载设备对时延敏感应用的业务需求,路边单元(Road side units,RSU)作为典型的基础设施,具有丰富的计算资源和更广的传输范围,协助车辆实现应用需求,提高任务执行效率;同时,光纤互联的RSU能够作为有线转发节点,扩大网络连通区域,稳定链路质量,保证预警消息成功传输。(1) Vehicular Edge Computing (VEC) of the present invention utilizes the edge infrastructure close to the Internet of Vehicles to provide computing, storage, transmission and other services nearby, which better solves the business needs of vehicle-mounted equipment for delay-sensitive applications. As a typical infrastructure, road side units (RSU) have rich computing resources and a wider transmission range, assisting vehicles in meeting application requirements and improving task execution efficiency; at the same time, optical fiber interconnected RSUs can serve as wired forwarding nodes. , expand the network connectivity area, stabilize the link quality, and ensure the successful transmission of early warning messages.

(2)本发明是针对协同车辆安全系统中安全预警消息的业务需求,首先,本发明设计的一种新型广播分组结构,在广播消息中添加事件等级和地理位置字段,记录交通安全事件的具体信息;其次,提出一种基于RSU协作的车联网安全消息广播方法,在相同事件过滤阶段,RAIB方法利用计算存储资源丰富的RSU设备,对网络中同一事件的冗余消息进行筛选过滤,减少因冗余消息碰撞对传输性能的影响,在事件统一预警阶段,邻居车辆接收到车辆源节点发送的安全消息后不进行广播转发,由RSU设备过滤相同事件后统一广播预警,充分发挥RSU通信性能优势,在降低网络负载阶段,RAIB方法通过降低车辆节点的发送速率并提高最小竞争窗口值,使其以较低的速率在通信范围内广播预警,降低信道资源开销及整网广播负载;最后通过实验表明,该方法既可以能够增加广播预警的范围,提高消息投递率,也降低了传输时延,满足安全预警的业务需求。(2) The present invention is aimed at the business needs of safety warning messages in collaborative vehicle safety systems. First, the present invention designs a new broadcast grouping structure that adds event level and geographical location fields to the broadcast message to record the specific details of traffic safety events. information; secondly, a method of Internet of Vehicles safety message broadcasting based on RSU collaboration is proposed. In the same event filtering stage, the RAIB method uses RSU devices with rich computing and storage resources to filter redundant messages for the same event in the network, reducing the risk of The impact of redundant message collisions on transmission performance. In the event unified early warning stage, neighbor vehicles do not broadcast and forward the safety messages sent by the vehicle source node after receiving them. The RSU device filters the same events and then uniformly broadcasts the early warning, giving full play to the advantages of RSU communication performance. , in the network load reduction stage, the RAIB method reduces the transmission rate of vehicle nodes and increases the minimum competition window value, allowing it to broadcast early warnings within the communication range at a lower rate, reducing channel resource overhead and the broadcast load of the entire network; finally, through experiments It shows that this method can not only increase the scope of broadcast warning, improve the message delivery rate, but also reduce the transmission delay and meet the business needs of security warning.

附图说明Description of drawings

附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明,并不构成对本发明的限制。The drawings are used to provide a further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.

图1为本发明中基于RSU协作的车联网安全消息广播方法的整体流程示意图。Figure 1 is a schematic flowchart of the overall flow of the Internet of Vehicles safety message broadcast method based on RSU collaboration in the present invention.

图2为本发明中设计的广播分组结构示意图。Figure 2 is a schematic diagram of the broadcast packet structure designed in the present invention.

图3为本发明中固定最大重传次数和节点数时,竞争窗口值W和数据碰撞概率η关系图。Figure 3 is a diagram showing the relationship between the contention window value W and the data collision probability eta when the maximum number of retransmissions and the number of nodes are fixed in the present invention.

图4为本发明中固定最大重传次数和节点数时,竞争窗口值W和消息投递率p关系图。Figure 4 is a diagram showing the relationship between the contention window value W and the message delivery rate p when the maximum number of retransmissions and the number of nodes are fixed in the present invention.

图5为本发明实施例中实验1采用RAIB方法前后的最大通知车辆数性能对比示意图。Figure 5 is a schematic diagram showing the performance comparison of the maximum number of notified vehicles before and after using the RAIB method in Experiment 1 in the embodiment of the present invention.

图6为本发明实施例中实验2采用RAIB方法前后的网络投递率性能对比示意图。Figure 6 is a schematic diagram comparing the network delivery rate performance before and after using the RAIB method in Experiment 2 in the embodiment of the present invention.

图7为本发明实施例中实验3采用RAIB方法前后的传输平均时延性能对比示意图。Figure 7 is a schematic diagram showing the comparison of average transmission delay performance before and after using the RAIB method in Experiment 3 in the embodiment of the present invention.

图8为本发明中CVSS系统中车辆发送广播的拓扑图。Figure 8 is a topology diagram of vehicle broadcasts in the CVSS system of the present invention.

图9为本发明中采用的CSMA/CA机制抢占信道传输数据示意图。Figure 9 is a schematic diagram of the CSMA/CA mechanism used in the present invention to seize the channel and transmit data.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。当然,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Of course, the specific embodiments described here are only used to explain the present invention and are not intended to limit the present invention.

实施例1Example 1

参见图1至图9,本发明提供其技术方案为,一种基于RSU协作的车联网安全消息广播方法,首先建立网络投递率模型,分析性能优化思路;Referring to Figures 1 to 9, the technical solution provided by the present invention is a method of broadcasting safety messages for Internet of Vehicles based on RSU collaboration. First, a network delivery rate model is established and performance optimization ideas are analyzed;

CSMA/CA机制是IEEE 802.11p中MAC层基本的工作方式,为避免数据在信道传输中发生的冲突,采用二进制指数退避方法进行消息退避和重传,下文根据其原理,分析车辆节点信道竞争过程。The CSMA/CA mechanism is the basic working method of the MAC layer in IEEE 802.11p. In order to avoid data conflicts during channel transmission, the binary exponential backoff method is used for message backoff and retransmission. Based on its principle, the vehicle node channel competition process is analyzed below. .

图9给出两个车辆节点在CSMA/CA机制下竞争信道以传输数据的过程,其中DIFS为分布式帧间时隙,SIFS为短帧间间隔,SlotTime表示一个时隙,当车辆A需要给无线AP发送数据时,首先侦听信道。当信道空闲时间达到一个DIFS时间,判断此时信道空闲,开始进行数据发送。AP成功接收数据时,在一个SIFS时间后发送ACK确认帧,表示本次消息的成功传输。随着车辆密度增加,节点互相竞争信道发送数据,容易出现信道繁忙的情况。当车辆A和车辆B在同一时间进行数据发送,因车辆A占用信道发送数据,车辆B侦听信道时出现信道繁忙情况。为避免数据冲突,车辆B在侦听信道的DIFS时间后,增加一个退避过程。车辆B根据竞争窗口大小,随机生成一个退避时间BackoffTime作为回退计数值,同时继续监听信道,侦听信道连续空闲时间达到到一个时隙,则回退计数值减1;若监听过程中信道繁忙,冻结回退计数值。当回退计数值减少为0时,车辆B占用信道发送数据。Figure 9 shows the process of two vehicle nodes competing for the channel to transmit data under the CSMA/CA mechanism, where DIFS is the distributed inter-frame time slot, SIFS is the short inter-frame space, and SlotTime represents a time slot. When vehicle A needs to When the wireless AP sends data, it first listens to the channel. When the channel idle time reaches a DIFS time, it is determined that the channel is idle at this time and data transmission begins. When the AP successfully receives data, it sends an ACK confirmation frame after a SIFS time to indicate the successful transmission of this message. As vehicle density increases, nodes compete with each other for channels to send data, and channels are prone to being busy. When vehicle A and vehicle B send data at the same time, because vehicle A occupies the channel to send data, the channel is busy when vehicle B listens to the channel. To avoid data conflicts, vehicle B adds a backoff process after the DIFS time of the listening channel. Vehicle B randomly generates a backoff time as the backoff count value based on the competition window size, and continues to monitor the channel. When the continuous idle time of the listening channel reaches one time slot, the backoff count value is decremented by 1; if the channel is busy during the monitoring process , freeze the rollback count value. When the backoff count decreases to 0, vehicle B occupies the channel to send data.

根据退避时间BackoffTime定义,可表示为:According to the definition of backoff time, it can be expressed as:

BackoffTime=Random()·CW·SlotTime (1)BackoffTime=Random()·CW·SlotTime (1)

其中Random()取值为0~1的随机数,CW为节点当前竞争窗口大小,SlotTime表示一个时隙大小,BackoffTime根据以上公式计算后取整。设CWmin为车辆节点最小竞争窗口值,CWmax为最大竞争窗口大小,CW初始取值为CWmin。当车辆节点出现数据发送失败的情况,则认为此时网络数据流量较大,车辆节点将CW竞争窗口值乘以2,即Among them, Random() takes a random number from 0 to 1, CW is the current competition window size of the node, SlotTime represents the size of a time slot, and BackoffTime is calculated according to the above formula and rounded. Let CW min be the minimum competition window value of the vehicle node, CW max be the maximum competition window size, and the initial value of CW is CW min . When the vehicle node fails to send data, it is considered that the network data traffic is large at this time, and the vehicle node multiplies the CW competition window value by 2, that is,

其中,m表示数据重传次数。当CW值达到CWmax时,保持CW值不变。当该节点成功发送数据,设置CW值为CWminAmong them, m represents the number of data retransmissions. When the CW value reaches CW max , the CW value remains unchanged. When the node successfully sends data, set the CW value to CW min .

考虑某个RSU通信范围内有n个车辆节点的情况,假定任意车辆节点在一个随机时隙发送数据的概率为τ,则该数据与其他节点数据碰撞的概率为η,在节点数n值一定时,η始终保持恒定且独立,可得到如下关系式:Consider the situation where there are n vehicle nodes within the communication range of a certain RSU. Assume that the probability of any vehicle node sending data in a random time slot is τ. Then the probability of the data colliding with other node data is η. When the number of nodes n is one, Timing, η always remains constant and independent, and the following relationship can be obtained:

η=1-(1-τ)n-1 (3)η=1-(1-τ) n-1 (3)

根据数据碰撞概率,车辆节点的消息投递率p可表示为:According to the data collision probability, the message delivery rate p of the vehicle node can be expressed as:

p=1-η (4)p=1-η (4)

由公式(3)化简可得,By simplifying formula (3), we can get,

根据马尔科夫链的建模,令W=CWmin,可推出τ和η之间的关系:According to the modeling of Markov chain, let W=CW min , the relationship between τ and η can be derived:

联立公式(5)、公式(6)可求出非线性方程的数值解。最大重传次数m和节点数n保持不变时,竞争窗口值W的取值影响数据碰撞概率η和消息投递率p。设最大重传次数m值为7,节点数n为50,竞争窗口值W和数据碰撞概率η关系如图3所示,竞争窗口值W和消息投递率p关系如图4所示。The numerical solution of the nonlinear equation can be obtained by combining formula (5) and formula (6). When the maximum number of retransmissions m and the number of nodes n remain unchanged, the value of the competition window value W affects the data collision probability η and the message delivery rate p. Assume that the maximum number of retransmissions m is 7, the number of nodes n is 50, the relationship between the contention window value W and the data collision probability eta is shown in Figure 3, and the relationship between the contention window value W and the message delivery rate p is shown in Figure 4.

由图3、图4可得,在网络负载大的情况下,选取较大的W可以提高预警消息分组网络投递率。由于网络中存在大量车辆节点,优化车辆节点的投递性能能够有效提高整网投递率。因此,在降低网络负载过程中,增大车辆源节点的最小竞争窗口值,降低消息碰撞,保证其通信范围内的更多的车辆节点接收到安全消息。It can be seen from Figure 3 and Figure 4 that when the network load is large, selecting a larger W can improve the network delivery rate of early warning message packets. Since there are a large number of vehicle nodes in the network, optimizing the delivery performance of vehicle nodes can effectively improve the delivery rate of the entire network. Therefore, in the process of reducing the network load, the minimum competition window value of the vehicle source node is increased to reduce message collisions and ensure that more vehicle nodes within its communication range receive safety messages.

其次建立网络平均时延模型,分析性能优化思路。Secondly, a network average delay model is established to analyze performance optimization ideas.

传输时延是消息在网络中发送到接收的时间。在车联网中,不同消息对时延需求不同,其中事件预警服务作为典型的时延敏感应用,对消息传输时间要求苛刻。由于车联网采用广播方式进行数据通信,无需ACK确认机制,一个广播帧发送时间T可以表示为:Transmission delay is the time from when a message is sent on the network to when it is received. In the Internet of Vehicles, different messages have different latency requirements. As a typical latency-sensitive application, the event warning service has strict requirements on message transmission time. Since the Internet of Vehicles uses broadcast mode for data communication, there is no need for an ACK confirmation mechanism. The sending time T of a broadcast frame can be expressed as:

T=tDIFS+tBO+tData+tSIFS (7)T=t DIFS +t BO +t Data +t SIFS (7)

其中tDIFS为发送数据之前需等待的分布式帧间间隙时间。tBO为等待信道空闲的退避时间,若发送数据时检测到信道空闲,则不存在退避时间,取值为0。tData为广播数据帧发送时间,是广播时延中的关键部分。tSIFS为短帧间间隙时间,用来分隔开属于一次对话的各帧。Among them, t DIFS is the distributed inter-frame gap time to wait before sending data. t BO is the backoff time for waiting for the channel to be idle. If the channel is idle when sending data, there is no backoff time and the value is 0. t Data is the broadcast data frame sending time, which is a key part of the broadcast delay. t SIFS is the short inter-frame gap time, used to separate each frame belonging to a conversation.

在数据传输过程中检测信道繁忙时,节点根据当前竞争窗口值随机选择一个回退计数值用于计算退避时间,避免产生消息碰撞。当网络中存在大量广播消息时,回退计数值一般取When the channel is detected to be busy during data transmission, the node randomly selects a backoff count value based on the current competition window value to calculate the backoff time to avoid message collisions. When there are a large number of broadcast messages in the network, the backoff count value is generally but

其中,slot表示一个时隙大小,将其带入公式(7)中:Among them, slot represents a time slot size, which is brought into formula (7):

根据tData的定义,tData可表示为:According to the definition of t Data , t Data can be expressed as:

其中L为广播分组长度,单位为字节;R为节点发送速率,单位Mb/s。Among them, L is the broadcast packet length, in bytes; R is the node sending rate, in Mb/s.

将公式(10)带入公式(9)中,可得到化简后的平均时延公式:Putting formula (10) into formula (9), the simplified average delay formula can be obtained:

由于tDIFS、slot、tSIFS均为MAC层固定参数,在数据传输过程中均不发生改变。因此,广播帧发送时间T仅与竞争窗口值、广播分组长度和节点发送速率有关。Since t DIFS , slot, and t SIFS are all fixed parameters of the MAC layer, they do not change during the data transmission process. Therefore, the broadcast frame sending time T is only related to the contention window value, broadcast packet length and node sending rate.

所以对安全消息广播业务,在广播分组长度不变的情况下,选取较小的W和较高的R可以降低安全预警消息的平均传输时延。在通信性能方面,RSU远优于车辆节点。利用RSU高带宽的特点,降低其最小竞争窗口值,保证在更短时间发送安全预警消息,提高驾驶安全性。Therefore, for the safety message broadcast service, when the broadcast packet length remains unchanged, choosing a smaller W and a higher R can reduce the average transmission delay of the safety warning message. In terms of communication performance, RSU is far superior to vehicle nodes. Utilize the high-bandwidth characteristics of RSU to reduce its minimum competition window value to ensure that safety warning messages are sent in a shorter time and improve driving safety.

针对不同等级的安全预警消息,RSU广播机制设置不同的最小竞争窗口值,将特急消息的最小竞争窗口值设置为初值的1/8,紧急消息的最小竞争窗口值设置为初值的1/4,一般消息的最小竞争窗口值设置为初值的1/2,优先确保高等级消息的传输性能。For different levels of security warning messages, the RSU broadcast mechanism sets different minimum competition window values. The minimum competition window value for urgent messages is set to 1/8 of the initial value, and the minimum competition window value for emergency messages is set to 1/1 of the initial value. 4. The minimum competition window value for general messages is set to 1/2 of the initial value, giving priority to ensuring the transmission performance of high-level messages.

本发明是通过如下措施实现的:一种基于RSU协作的车联网安全消息广播方法,包括以下步骤:The present invention is realized through the following measures: an Internet of Vehicles safety message broadcast method based on RSU collaboration, including the following steps:

步骤一,相同事件过滤,RSU接收到车辆源节点发送的安全预警消息时,读取分组中事件的等级和地理位置信息,对其紧急安全类型进行判断,过滤对相同交通事件的重复广播。Step 1: Same event filtering. When the RSU receives the safety warning message sent by the vehicle source node, it reads the level and geographical location information of the event in the group, judges its emergency safety type, and filters repeated broadcasts of the same traffic event.

步骤二,事件统一预警,RSU过滤相同事件后,根据事件紧急类型自适应提高消息发送速率并降低最小竞争窗口值,在其通信范围内进行安全预警。在本区域传输时,邻居车辆节点接收到车辆源节点和RSU的预警广播后,不进行分组转发,确保RSU在整网的广播性能。传输至后方区域时,安全消息通过光纤等有线技术发送给后方RSU,让其在通信范围内进行广播,确保后方车辆节点提前收到预警信息。Step two, unified event warning. After RSU filters the same event, it adaptively increases the message sending rate and reduces the minimum competition window value according to the emergency type of the event, and performs security warning within its communication range. When transmitting in this area, the neighbor vehicle node does not forward the packet after receiving the early warning broadcast from the vehicle source node and RSU to ensure the broadcast performance of the RSU in the entire network. When transmitted to the rear area, the safety message is sent to the rear RSU through wired technologies such as optical fiber, allowing it to broadcast within the communication range to ensure that the rear vehicle nodes receive early warning information in advance.

步骤三,降低网络负载,车辆源节点接收到RSU广播的安全预警消息时,读取分组地理位置信息判断事件,若判断为本车此前广播的安全消息,则根据事件紧急类型,自适应降低消息发送速率,并提高最小竞争窗口值,继续在其通信范围内广播。Step 3: Reduce the network load. When the vehicle source node receives the safety warning message broadcast by the RSU, it reads the grouped geographical location information to determine the event. If it is judged to be a safety message previously broadcast by the vehicle, it will adaptively reduce the message according to the emergency type of the event. The sending rate is increased, and the minimum contention window value is increased to continue broadcasting within its communication range.

进一步地,所述步骤一中相同事件过滤具体内容为:Further, the specific content of filtering the same events in step one is:

交通行驶过程中存在大量紧急事件,不同类型事件造成不同程度交通危害。根据事件安全系数,可将这些信息分为三个级别:特急事件、紧急事件和一般事件。特急事件包括交通事故等严重危害人身安全的事件,紧急事件包括恶劣天气环境等造成出行危险的事件,一般事件包括交通拥塞等影响驾驶体验的事件。There are a large number of emergencies during traffic driving, and different types of events cause varying degrees of traffic hazards. According to the safety factor of the event, this information can be divided into three levels: critical events, emergency events and general events. Emergency events include traffic accidents and other events that seriously endanger personal safety. Emergency events include severe weather conditions and other events that cause travel danger. General events include traffic congestion and other events that affect the driving experience.

车联网提供的安全预警服务可在整网对交通安全事件进行通报,车辆节点根据接收到的安全预警消息提前了解路况,调整驾驶策略。因此,本发明针重新设计广播分组结构,在原来的数据载荷区(load)内,增加“事件等级”(1字节)和“地理位置”(4字节)字段,置于“PBC头部”之后,设计的分组结构如图2所示。其中“事件等级”记录事件紧急程度,包括特急、紧急和一般三个级别;“地理位置”是根据车辆中的GPS系统确定,由于高速公路车辆行驶速度快,车道距离对车辆之间距离影响较小,这里仅记录源节点检测交通事件时的一维坐标信息。The safety warning service provided by the Internet of Vehicles can report traffic safety incidents throughout the entire network. Vehicle nodes can understand road conditions in advance and adjust driving strategies based on the safety warning messages received. Therefore, the present invention redesigns the broadcast packet structure, adds "event level" (1 byte) and "geographic location" (4 bytes) fields to the original data load area (load), and places them in the "PBC header" "After that, the designed grouping structure is shown in Figure 2. Among them, "event level" records the emergency level of the event, including three levels: urgent, emergency and general; "geographic location" is determined based on the GPS system in the vehicle. Due to the high speed of highway vehicles, lane distance has a greater impact on the distance between vehicles. Small, only the one-dimensional coordinate information of the source node when detecting traffic events is recorded here.

(1)检测到事故或拥塞等异常交通事件的车辆源节点Vi、Vj各自分别生成安全预警消息Pi和Pj(1) Vehicle source nodes V i and V j that detect abnormal traffic events such as accidents or congestion generate safety warning messages Pi and P j respectively ;

(2)源节点Vi、Vj将安全预警消息Pi和Pj广播给通信范围内的路边单元RSU1和邻居车辆Vk(2) The source nodes Vi and V j broadcast the safety warning messages Pi and P j to the roadside unit RSU1 and neighbor vehicles V k within the communication range;

(3)在采样时间t内,RSU1接收到安全预警消息Pi和Pj后(假设先收到Pi消息),分别读取消息分组中的“地理位置”字段值Pi_address和Pj_address,过滤对相同事件的重复消息;(3) Within the sampling time t, after RSU1 receives the security warning messages Pi and P j (assuming that the Pi message is received first), RSU1 reads the "geographic location" field values Pi_address and P j in the message group respectively. _address, filters duplicate messages for the same event;

Step1:RSU1设置相同事件距离判断阈值D;Step1: RSU1 sets the same event distance judgment threshold D;

Step2:RSU1将Pi_address和Pj_address相减,计算事件之间的距离d;Step2: RSU1 subtracts P i _address and P j _address to calculate the distance d between events;

Step3:若d≤D,则判定Pi和Pj消息的内容是相同交通事件,RSU1将最先收到的安全预警消息Pi加入发送缓冲区队列Qinte,丢弃其他安全预警消息PjStep3: If d≤D, it is determined that the contents of the messages P i and P j are the same traffic event. RSU1 adds the first received safety warning message Pi to the sending buffer queue Q inte and discards other safety warning messages P j ;

Step4:若d>D,则判定Pi和Pj消息的内容是不同交通事件,RSU1将这两个安全预警消息Pi和Pj加入发送缓冲区队列QinteStep 4: If d>D, it is determined that the contents of the messages Pi and P j are different traffic events, and RSU1 adds the two safety warning messages Pi and P j to the sending buffer queue Q inte .

进一步地,所述步骤二中事件统一预警具体内容为:Further, the specific content of the unified early warning of events in step two is:

传统周期性广播方式广播性能低下,很大程度上是由于网络中存在大量冗余数据,车辆节点互相竞争信道资源,导致消息分组丢失。在过滤相同安全预警消息后,事件统一预警阶段通过减少车辆节点处的消息转发,由RSU进行统一广播预警,降低网络中大量冗余数据,缓解信道激烈竞争,提高分组投递率。The broadcast performance of the traditional periodic broadcast method is low, largely due to the large amount of redundant data in the network, and vehicle nodes competing with each other for channel resources, resulting in the loss of message packets. After filtering the same security warning messages, the event unified warning stage reduces message forwarding at vehicle nodes and the RSU performs unified broadcast warnings, reducing a large amount of redundant data in the network, easing fierce channel competition, and improving packet delivery rate.

车联网中多跳协助传输虽然能够提高消息传输范围,但中间车辆的多次转发产生大量冗余数据,基于RSU协作的车联网安全消息广播方法为避免车辆转发产生的大量冗余数据,在安全预警时采用通信范围广的RSU协助转发,中间车辆不进行消息转发,由于减少网络中大量数据分组,新方法在保证消息可靠性的同时提高通信资源利用率。Although multi-hop assisted transmission in the Internet of Vehicles can improve the message transmission range, multiple forwardings of intermediate vehicles generate a large amount of redundant data. The safe message broadcast method of the Internet of Vehicles based on RSU collaboration avoids the large amount of redundant data generated by vehicle forwarding, and in safety During early warning, RSUs with wide communication range are used to assist in forwarding, and intermediate vehicles do not forward messages. Due to the reduction of a large number of data packets in the network, the new method improves communication resource utilization while ensuring message reliability.

虽然RSU的通信范围远远大于车辆节点,但RSU的通信范围仍有限,对于后面远距离的预警消息,可借助RSU之间高速的有线通信传输。Although the communication range of RSU is much larger than that of vehicle nodes, the communication range of RSU is still limited. For the long-distance early warning messages, high-speed wired communication transmission between RSUs can be used.

(1)邻居车辆节点接收到安全预警消息Pi和Pj,不进行广播转发;(1) Neighbor vehicle nodes receive safety warning messages Pi and P j and do not broadcast and forward them;

(2)RSU1在广播发送缓冲区队列Qinte中的安全预警消息Pinte时,读取消息分组中的“事件等级”字段值Pinte_level,可知安全预警消息Pinte的紧急程度。设RSU的无线MAC层最小竞争窗口初值为WR0(2) When RSU1 broadcasts the security warning message P inte in the buffer queue Q inte , it reads the "event level" field value P inte_level in the message grouping to know the urgency of the security warning message P inte . Assume that the initial value of the minimum contention window of the wireless MAC layer of RSU is W R0 ;

Step1:对于特急事件,RSU1设置MAC层最小竞争窗口CWmin=a1*WR0,其中a1=1/8;Step1: For urgent events, RSU1 sets the minimum contention window of MAC layer CW min =a 1 *W R0 , where a 1 =1/8;

Step2:对于紧急事件,RSU1设置MAC层最小竞争窗口CWmin=a2*WR0,其中a2=1/4;Step2: For emergencies, RSU1 sets the MAC layer minimum contention window CW min =a 2 *W R0 , where a 2 =1/4;

Step3:对于一般事件,RSU1设置MAC层最小竞争窗口CWmin=a3*WR0,其中a3=1/2;Step3: For general events, RSU1 sets the MAC layer minimum contention window CW min =a 3 *W R0 , where a 3 =1/2;

(3)根据消息等级重新设置的MAC层最小竞争窗口值后,RSU监测车辆节点的PBC发送速率RV0,设置自身的PBC发送速率为2*RV0,在其通信范围内发送安全预警消息;(3) After resetting the minimum contention window value of the MAC layer according to the message level, the RSU monitors the PBC sending rate R V0 of the vehicle node, sets its own PBC sending rate to 2*R V0 , and sends safety warning messages within its communication range;

Step1:在本区域预警时,RSU1通过广播方式向其通信范围内的车辆节点发送安全预警消息PinteStep1: When warning in this area, RSU1 sends the safety warning message P inte to the vehicle nodes within its communication range through broadcast;

Step2:在后方区域预警时,RSU1通过光纤有线通信方式将预警消息发送给后方RSU2,再由RSU2将安全消息Pinte广播给其范围内的车辆。Step2: During the rear area warning, RSU1 sends the warning message to the rear RSU2 through optical fiber wired communication, and then RSU2 broadcasts the safety message Pinte to the vehicles within its range.

进一步地,所述步骤三中降低网络负载具体内容为:Further, the specific content of reducing the network load in step three is:

事件统一预警阶段主要针对传输过程中安全预警消息进行优化,降低网络负载阶段则是针对源节点处的安全预警消息进行优化。源节点在监测到安全事件后,在其通信范围内周期性广播预警,由于事件统一预警阶段中RSU已经协助广播预警,可降低源节点的发送速率并提高最小竞争窗口值,预留出信道通信资源,保障RSU的广播性能。The unified event warning stage mainly optimizes the security warning messages during the transmission process, while the network load reduction stage optimizes the security warning messages at the source node. After detecting a security event, the source node periodically broadcasts warnings within its communication range. Since the RSU has assisted in broadcasting warnings during the unified warning phase of the event, the source node's sending rate can be reduced and the minimum competition window value can be increased to reserve channel communication. resources to ensure the broadcast performance of RSU.

(1)源节点Vi、Vj收到RSU1广播预警消息Pinte,若判定为本车此前广播的安全消息,则降低发送速率并提高最小竞争窗口值,继续在其通信范围内广播,设车辆源节点的无线MAC层最小竞争窗口初值为WV0,消息发送速率初值为RV0(1) The source nodes V i and V j receive the RSU1 broadcast warning message Pinte . If it is determined to be a safety message previously broadcast by the vehicle, they will reduce the sending rate and increase the minimum competition window value, and continue to broadcast within their communication range. Suppose The initial value of the minimum contention window of the wireless MAC layer of the vehicle source node is W V0 , and the initial value of the message sending rate is R V0 ;

Step1:对于特急事件,车辆节点设置MAC层最小竞争窗口CWmin=b1*WV0,其中b1=2,设置发送速率Rsend=(1-c1)*RV0,其中c1=0.3;Step1: For urgent events, the vehicle node sets the MAC layer minimum competition window CW min =b 1 *W V0 , where b 1 =2, and sets the sending rate R send =(1-c 1 )*R V0 , where c 1 =0.3 ;

Step2:对于紧急事件,车辆节点设置MAC层最小竞争窗口CWmin=b2*WV0,其中b2=4,设置发送速率Rsend=(1-c2)*RV0,其中c2=0.5;Step2: For emergency events, the vehicle node sets the MAC layer minimum competition window CW min =b 2 *W V0 , where b 2 =4, and sets the sending rate R send =(1-c 2 )*R V0 , where c 2 =0.5 ;

Step3:对于一般事件,车辆节点设置MAC层最小竞争窗口CWmin=b3*WV0,其中b3=8,设置发送速率Rsend=(1-c3)*RV0,其中c3=0.8;Step3: For general events, the vehicle node sets the MAC layer minimum competition window CW min =b 3 *W V0 , where b 3 =8, and sets the sending rate R send =(1-c 3 )*R V0 , where c 3 =0.8 ;

(2)设置完MAC层最小竞争窗口值和发送速率后,源节点Vi、Vj继续在其通信范围内广播。(2) After setting the minimum contention window value and transmission rate of the MAC layer, the source nodes V i and V j continue to broadcast within their communication range.

为了分析和评价基于RSU协作的车联网安全消息广播方法的有效性,将其与周期性广播方法进行对比,从最大通知车辆数、广播投递率和平均时延三个指标进行性能比较。In order to analyze and evaluate the effectiveness of the Internet of Vehicles safety message broadcast method based on RSU collaboration, it is compared with the periodic broadcast method, and the performance is compared from three indicators: the maximum number of notified vehicles, broadcast delivery rate and average delay.

实验1:最大通知车辆数性能比较Experiment 1: Performance comparison of maximum number of notified vehicles

实验环境:设置二车道的交通环境,每个车道放置250台车辆节点。通过改变车辆节点之间的距离模拟不同的车辆密度情况,分别设置车辆节点之间的距离为10m、15m、20m、30m及40m。Experimental environment: Set up a two-lane traffic environment, with 250 vehicle nodes placed in each lane. Different vehicle density situations are simulated by changing the distance between vehicle nodes, and the distances between vehicle nodes are set to 10m, 15m, 20m, 30m and 40m respectively.

周期性广播方法和RAIB方法最大通知车辆数量对比如图5所示,随着车辆密度的降低,车辆之间的平均距离增加,通信范围内平均车辆数目减少,周期性广播方法和RAIB方法一次广播能够通知的最大车辆数也逐渐减少。对比RAIB方法和周期性广播方法在不同车辆密度下的具体数据,在车辆之间距离10m时,RAIB方法一次广播最多通知402辆车,而周期性广播方法仅能通知119辆车。车辆之间距离35m时,RAIB方法一次广播最多通知116辆车,而周期性广播方法仅能通知33辆车。证明RAIB方法消息预警范围更大,通知车辆数更多。The comparison of the maximum number of notified vehicles between the periodic broadcast method and the RAIB method is shown in Figure 5. As the vehicle density decreases, the average distance between vehicles increases, and the average number of vehicles within the communication range decreases. The periodic broadcast method and the RAIB method broadcast once The maximum number of vehicles that can be notified is also gradually reduced. Comparing the specific data of the RAIB method and the periodic broadcast method under different vehicle densities, when the distance between vehicles is 10m, the RAIB method can notify up to 402 vehicles in one broadcast, while the periodic broadcast method can only notify 119 vehicles. When the distance between vehicles is 35m, the RAIB method can notify up to 116 vehicles at a time, while the periodic broadcast method can only notify 33 vehicles. It is proved that the RAIB method has a larger message warning range and more vehicles are notified.

实验2:广播投递率性能比较Experiment 2: Broadcast Delivery Rate Performance Comparison

实验环境:构建四车道均匀放置76辆车的交通场景,即每个车道19辆车,车辆之间距离为15m。通过改变车辆节点每秒发包数量来设定不同程度的通信压力,每秒发送包数量越多,网络中数据量越大,则通信压力越大。Experimental environment: Construct a traffic scene with 76 vehicles evenly placed in four lanes, that is, 19 vehicles in each lane, and the distance between vehicles is 15m. Different levels of communication pressure are set by changing the number of packets sent by vehicle nodes per second. The greater the number of packets sent per second, the greater the amount of data in the network, and the greater the communication pressure.

周期性广播方法和RAIB方法投递率性能对比如图6所示。The performance comparison of delivery rates between the periodic broadcast method and the RAIB method is shown in Figure 6.

使用传统周期性广播预警时,当车辆节点每秒发送15个包时,网络中投递率为88.68%。随着车辆节点发送数量增加,网络负载增加。当车辆节点每秒发送20个包时,网络投递率降为66.40%。大量预警消息在传输过程中丢失,无法准确预警紧急事件,威胁交通安全。When using traditional periodic broadcast warnings, when vehicle nodes send 15 packets per second, the delivery rate in the network is 88.68%. As the number of vehicle nodes sent increases, the network load increases. When the vehicle node sends 20 packets per second, the network delivery rate drops to 66.40%. A large number of early warning messages are lost during transmission, making it impossible to accurately warn of emergencies and threatening traffic safety.

使用RAIB方法广播预警时,RSU监测车辆节点的PBC发送速率RV0,设置自身的PBC发送速率为2*RV0,即当车辆节点每秒发送10个包时,RSU每秒发送20个包。RAIB方法通过RSU判断重复广播的预警事件,过滤网络链路中的冗余包,在保证消息传输的基础上提升广播效率。当车辆节点每秒发送15个包时,网络中预警消息投递率为97.52%。当车辆节点每秒发送20个包时,投递率仅降为92.06%。与传统周期性广播方法相比,在车辆节点每秒发送15和20个包时,投递性能分别优化8.84%和25.66%。说明RAIB方法广播的紧急预警消息具有更高的消息接收率,通信范围内有更多车辆可根据消息预警规避风险,交通出行更加安全。When using the RAIB method to broadcast an early warning, the RSU monitors the PBC sending rate R V0 of the vehicle node and sets its own PBC sending rate to 2*R V0 , that is, when the vehicle node sends 10 packets per second, the RSU sends 20 packets per second. The RAIB method uses RSU to judge repeated broadcast warning events, filters redundant packets in network links, and improves broadcast efficiency while ensuring message transmission. When the vehicle node sends 15 packets per second, the early warning message delivery rate in the network is 97.52%. When the vehicle node sends 20 packets per second, the delivery rate only drops to 92.06%. Compared with the traditional periodic broadcast method, when the vehicle node sends 15 and 20 packets per second, the delivery performance is optimized by 8.84% and 25.66% respectively. It shows that the emergency warning message broadcast by the RAIB method has a higher message reception rate. More vehicles within the communication range can avoid risks based on the message warning, making traffic safer.

实验3:广播平均时延性能比较Experiment 3: Comparison of average broadcast delay performance

实验环境:构建四车道均匀放置76辆车的交通场景,即每个车道19辆车,车辆之间距离为15m。Experimental environment: Construct a traffic scene with 76 vehicles evenly placed in four lanes, that is, 19 vehicles in each lane, and the distance between vehicles is 15m.

交通预警消息的通知速度在安全驾驶中尤为重要,驾驶员越早收到消息预警,就有更多时间调整驾驶策略。RAIB方法中RSU根据事件紧急程度自适应调节自身和车辆节点的发送速率和竞争窗口值,以此减少预警消息的传输时延。周期性广播方法和RAIB方法时延对比如图7所示。The notification speed of traffic warning messages is particularly important in safe driving. The sooner the driver receives the message warning, the more time he has to adjust his driving strategy. In the RAIB method, the RSU adaptively adjusts the sending rate and competition window value of itself and vehicle nodes according to the emergency level of the event, thereby reducing the transmission delay of the early warning message. The delay comparison between the periodic broadcast method and the RAIB method is shown in Figure 7.

使用传统周期性广播预警时,当车辆节点每秒发送15个包时,车辆节点发送消息的平均时延为7.905ms。随着车辆节点发送数量增加,网络负载增加。当车辆节点每秒发送20个包时,车辆节点发送消息的平均时延为10.905ms。When using traditional periodic broadcast warnings, when vehicle nodes send 15 packets per second, the average delay for vehicle nodes to send messages is 7.905ms. As the number of vehicle nodes sent increases, the network load increases. When the vehicle node sends 20 packets per second, the average delay of the vehicle node sending messages is 10.905ms.

使用RAIB方法广播预警时,在车辆节点每秒发送15个包时,车辆节点的平均时延为6.671ms。随着车辆节点发送数量增加,网络负载增加。当车辆节点每秒发送20个包时,车辆节点的平均时延为7.255ms。与传统周期性广播方法中车辆节点相比,RAIB方法在车辆节点每秒发送15和20个包时,平均时延性能分别优化15.6%和33.47%。使用RAIB方法广播预警时,在车辆节点每秒发送15个包时,RSU设备的平均时延为5.767ms。随着车辆节点发送数量增加,网络负载增加。当车辆节点每秒发送20个包时,RSU设备的平均时延为6.021ms。与传统周期性广播方法中车辆节点相比,RAIB方法在车辆节点每秒发送15和20个包时,平均时延性能分别优化27.05%和44.79%。由此可知,RAIB方法在RSU设备和车辆节点广播的传输时延均得到优化。其中RSU设备时延优化更为明显,保证预警消息在更短的时间内成功传输。When using the RAIB method to broadcast warnings, when the vehicle node sends 15 packets per second, the average delay of the vehicle node is 6.671ms. As the number of vehicle nodes sent increases, the network load increases. When the vehicle node sends 20 packets per second, the average delay of the vehicle node is 7.255ms. Compared with vehicle nodes in the traditional periodic broadcast method, the average delay performance of the RAIB method is optimized by 15.6% and 33.47% respectively when the vehicle node sends 15 and 20 packets per second. When using the RAIB method to broadcast warnings, when the vehicle node sends 15 packets per second, the average delay of the RSU device is 5.767ms. As the number of vehicle nodes sent increases, the network load increases. When the vehicle node sends 20 packets per second, the average delay of the RSU device is 6.021ms. Compared with the vehicle nodes in the traditional periodic broadcast method, the RAIB method optimizes the average delay performance by 27.05% and 44.79% respectively when the vehicle nodes send 15 and 20 packets per second. It can be seen that the RAIB method optimizes the transmission delay broadcast by both RSU equipment and vehicle nodes. Among them, the delay optimization of RSU equipment is more obvious, ensuring that early warning messages are successfully transmitted in a shorter time.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.

Claims (1)

1. The Internet of vehicles safety message broadcasting method based on roadside unit (RSU) cooperation is characterized by comprising the following steps:
step one, filtering the same event, reading the level and geographic position information of the event in the packet when the RSU receives the safety early warning message sent by the vehicle source node, judging the emergency safety type of the event, and filtering repeated broadcasting of the same traffic event;
the same event filtering in the first step specifically comprises the following steps:
(1) Vehicle source node V that detects an accident or a congestion abnormal traffic event i 、V j Each generates a safety precaution message P i And P j
(2) Source node V i 、V j Will secure the early warning message P i And P j Broadcasting to roadside units RSU1 and neighboring vehicles V within communication range k
(3) In the sampling time t, the RSU1 receives the safety precaution message P i And P j After that, assume that P is received first i Messages, respectively reading the 'geographic position' field value P in the message packet i Address and P j Filtering repeated messages of the same event;
step1: the RSU1 sets the same event distance judging threshold D;
step2: RSU1 will P i Address and P j Subtracting the addresses, and calculating the distance d between the events;
step3: if D is less than or equal to D, judging P i And P j The content of the message is the same traffic event, and the RSU1 receives the first safety precaution message P i Joining transmit buffer queue Q inte Discard other safety precaution messages P j
Step4: if D > D, then determine P i And P j The content of the messages are different traffic events, and the RSU1 sends the two safety precaution messages P i And P j Joining transmit buffer queue Q inte
Step two, after the same event is filtered by the RSU, the sending rate of the message is adaptively improved and the minimum competition window value is reduced according to the emergency type of the event, safety precaution is carried out in the communication range of the RSU, when the information is transmitted in the local area, the neighbor vehicle nodes do not carry out packet forwarding after receiving the precaution broadcast of the vehicle source nodes and the RSU, the broadcasting performance of the RSU in the whole network is ensured, when the information is transmitted to the rear area, the safety information is sent to the rear RSU through an optical fiber cable technology, the information is broadcasted in the communication range, and the early warning information is ensured to be received by the rear vehicle nodes in advance;
the event unified early warning in the second step comprises the following steps:
(1) The neighbor vehicle node receives the safety precaution message P i And P j Broadcast forwarding is not performed;
(2) RSU1 is in broadcast transmission buffer queue Q inte In the safety precaution message P inte Reading the "event level" field value P in the message packet inte_level It can be known that the safety precaution message P inte Setting the minimum contention window initial value of the wireless MAC layer of the RSU as W R0
Step1: for emergency events, RSU1 sets the MAC layer minimum contention window CW min =a 1 *W R0 Wherein a is 1 =1/8;
Step2: for emergency events, RSU1 sets the MAC layer minimum contention window CW min =a 2 *W R0 Wherein a is 2 =1/4;
Step3: for general events, RSU1 sets the MAC layer minimum contention window CW min =a 3 *W R0 Wherein a is 3 =1/2;
(3) After the minimum contention window value of the MAC layer is reset according to the message grade, the RSU monitors the PBC sending rate R of the vehicle node V0 Setting own PBC sending rate as 2*R V0 Sending a safety precaution message in the communication range;
step1: during early warning in the area, the RSU1 sends a safety early warning message P to the vehicle nodes in the communication range in a broadcasting mode inte
Step2: during the early warning of the rear area, the RSU1 sends the early warning message to the rear RSU2 through the optical fiber wired communication mode, and then the RSU2 sends the safety message P inte Broadcasting to vehicles within range thereof;
step three, reducing network load, when the vehicle source node receives the safety precaution message broadcast by the RSU, reading a grouping geographic position information judgment event, if the judgment event is that the vehicle broadcasts the safety message before, reducing the message sending rate in a self-adaptive way according to the emergency type of the event, improving the minimum competition window value, and continuing broadcasting in the communication range;
the step three of reducing the network load comprises the following steps:
(1) Source node V i 、V j Receiving RSU1 broadcast early warning message P inte If the safety message broadcast by the vehicle is judged, the sending rate is reduced, the minimum contention window value is increased, the broadcasting in the communication range is continued, and the initial value of the wireless MAC layer minimum contention window of the vehicle source node is set as W V0 The initial value of the message sending rate is R V0
Step1: for emergency events, vehicle nodes set the MAC layer minimum contention window CW min =b 1 *W V0 Wherein b 1 =2, set the transmission rate R send =(1-c 1 )*R V0 Wherein c 1 =0.3;
Step2: for emergency events, vehicle nodes set the MAC layer minimum contention window CW min =b 2 *W V0 Wherein b 2 =4, set the transmission rate R send =(1-c 2 )*R V0 Wherein c 2 =0.5;
Step3: for general events, the vehicle node sets the MAC layer minimum contention window CW min =b 3 *W V0 Wherein b 3 =8, set the transmission rate R send =(1-c 3 )*R V0 Wherein c 3 =0.8;
(2) After the minimum contention window value and the sending rate of the MAC layer are set, the source node V i 、V j Continue to be communicated withBroadcasting in the range.
CN202210817965.4A 2022-07-12 2022-07-12 A safe message broadcast method for Internet of Vehicles based on RSU collaboration Active CN115278553B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210817965.4A CN115278553B (en) 2022-07-12 2022-07-12 A safe message broadcast method for Internet of Vehicles based on RSU collaboration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210817965.4A CN115278553B (en) 2022-07-12 2022-07-12 A safe message broadcast method for Internet of Vehicles based on RSU collaboration

Publications (2)

Publication Number Publication Date
CN115278553A CN115278553A (en) 2022-11-01
CN115278553B true CN115278553B (en) 2023-12-05

Family

ID=83764954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210817965.4A Active CN115278553B (en) 2022-07-12 2022-07-12 A safe message broadcast method for Internet of Vehicles based on RSU collaboration

Country Status (1)

Country Link
CN (1) CN115278553B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI837958B (en) * 2022-11-21 2024-04-01 中華電信股份有限公司 A broadcasting system for internet of vehicles information based on location-based service, method and computer readable medium thererof
CN118785114B (en) * 2024-06-04 2025-01-24 北京智慧城市网络有限公司 Vehicle-road cooperative system, method and storage medium based on dual-intelligence private network

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090056070A (en) * 2007-11-29 2009-06-03 대구대학교 산학협력단 Relay node selection method using competitive window in vehicle ad hoc network
RU2008105915A (en) * 2005-08-17 2009-08-20 Самсунг Электроникс Ко., Лтд. (KR) METHOD AND DEVICE FOR GRANTING A MESSAGING MESSAGE IN A BROADCAST TRANSMISSION SYSTEM
CN103259741A (en) * 2013-05-17 2013-08-21 南京邮电大学 Minimum competition window adjusting method based on neighbor node number estimation in vehicle-mounted network
WO2014114153A1 (en) * 2013-01-28 2014-07-31 华南理工大学 Method for improving coverage area where security information about the internet of vehicles is broadcasted
CN105376152A (en) * 2015-09-11 2016-03-02 重庆邮电大学 Multi-candidate composite relay based data transmission method in vehicular network
CN106331007A (en) * 2015-06-26 2017-01-11 中兴通讯股份有限公司 Method and device for processing alarm information in Internet of Vehicles
CN106714115A (en) * 2016-12-21 2017-05-24 厦门大学 Security message single-hop cooperative broadcasting method applied to Internet of Vehicles
CN108282502A (en) * 2017-01-05 2018-07-13 上海竺程信息科技有限公司 Vehicle network message optimisation broadcasting method based on dynamic priority
CN111263318A (en) * 2020-02-28 2020-06-09 南通大学 A broadcast transmission fairness control algorithm for cooperative vehicle safety system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2008105915A (en) * 2005-08-17 2009-08-20 Самсунг Электроникс Ко., Лтд. (KR) METHOD AND DEVICE FOR GRANTING A MESSAGING MESSAGE IN A BROADCAST TRANSMISSION SYSTEM
KR20090056070A (en) * 2007-11-29 2009-06-03 대구대학교 산학협력단 Relay node selection method using competitive window in vehicle ad hoc network
WO2014114153A1 (en) * 2013-01-28 2014-07-31 华南理工大学 Method for improving coverage area where security information about the internet of vehicles is broadcasted
CN103259741A (en) * 2013-05-17 2013-08-21 南京邮电大学 Minimum competition window adjusting method based on neighbor node number estimation in vehicle-mounted network
CN106331007A (en) * 2015-06-26 2017-01-11 中兴通讯股份有限公司 Method and device for processing alarm information in Internet of Vehicles
CN105376152A (en) * 2015-09-11 2016-03-02 重庆邮电大学 Multi-candidate composite relay based data transmission method in vehicular network
CN106714115A (en) * 2016-12-21 2017-05-24 厦门大学 Security message single-hop cooperative broadcasting method applied to Internet of Vehicles
CN108282502A (en) * 2017-01-05 2018-07-13 上海竺程信息科技有限公司 Vehicle network message optimisation broadcasting method based on dynamic priority
CN111263318A (en) * 2020-02-28 2020-06-09 南通大学 A broadcast transmission fairness control algorithm for cooperative vehicle safety system

Also Published As

Publication number Publication date
CN115278553A (en) 2022-11-01

Similar Documents

Publication Publication Date Title
CN108012244B (en) Cluster-based highway vehicle-mounted self-organizing network data service communication system and method
CN115278553B (en) A safe message broadcast method for Internet of Vehicles based on RSU collaboration
EP3531647B1 (en) Relay transmission method and associated apparatus and system
Omar et al. Performance evaluation of VeMAC supporting safety applications in vehicular networks
CN107277855B (en) A vehicle network media access method for guaranteeing security services
CN102883274B (en) Traffic safety management (TSM) information multihop broadcasting method
CN103763682B (en) Safety message broadcasting method in heterogeneous network environment for safe travel
CN102256333A (en) Data relay transmission method in vehicle Ad hoc network
CN104967670B (en) A kind of method of the vehicle access network based on IEEE 802.11p
KR101247870B1 (en) Vehicle to vehicle communication system and method therefor
CN110139245B (en) Vehicle networking relay node selection method based on fuzzy logic
Lin et al. Distributed multi-channel MAC protocol for VANET: An adaptive frame structure scheme
CN108702736A (en) A kind of resource regulating method and terminal device
Chitra et al. Selective epidemic broadcast algorithm to suppress broadcast storm in vehicular ad hoc networks
WO2016015287A1 (en) Device and method for sending vehicle broadcast information
CN108616952B (en) MAC layer data transmission method based on neighbor node cooperative communication in Internet of vehicles
CN102013162B (en) Method for dispatching vehicular Ad Hoc network service with broadcast priority
CN113365247B (en) Low-delay and high-reliability message broadcasting method for automatic driving formation in heterogeneous network scene
KR20090056072A (en) An Emergency Warning Message Broadcasting Method using Area-based Relay Node Selection Algorithm for Vehicle Ad Hoc Network
Fan et al. An effective multi-hop broadcast control mechanism for emergency alert message in VANET
Blum et al. Adaptive space division multiplexing: an improved link layer protocol for inter-vehicle communications
Sharma et al. Congestion control mechanisms to avoid congestion in VANET: A comparative review
Chen et al. Avoiding information congestion in VANETs: A congestion game approach
CN112449318A (en) Message transmission method based on C-V2X vehicle-road cooperative application
Xu et al. A multi-hop V2V broadcast protocol for chain collision avoidance on highways

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant