CN113543063B - Information processing method and device - Google Patents
Information processing method and device Download PDFInfo
- Publication number
- CN113543063B CN113543063B CN202010320926.4A CN202010320926A CN113543063B CN 113543063 B CN113543063 B CN 113543063B CN 202010320926 A CN202010320926 A CN 202010320926A CN 113543063 B CN113543063 B CN 113543063B
- Authority
- CN
- China
- Prior art keywords
- value
- adjustment
- cam
- information
- packet loss
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/06—Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
- H04W4/46—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for vehicle-to-vehicle communication [V2V]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Traffic Control Systems (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及通信技术领域,尤其涉及一种信息处理方法及装置。The present invention relates to the field of communication technology, and in particular to an information processing method and device.
背景技术Background Art
车辆编队,即多辆车以一定的车间间距形成稳定的队列行驶,通过减小车辆与车辆之间的距离,该技术可以提高道路容量,同时使每辆车受益于其前车而减少受到的空气阻力,进而降低燃油消耗。Vehicle platooning, where multiple vehicles travel in a stable queue with a certain distance between vehicles, can increase road capacity by reducing the distance between vehicles, while allowing each vehicle to benefit from the vehicle in front and reduce air resistance, thereby reducing fuel consumption.
目前对车辆编队技术的研究主要集中于研究如何确保车队的稳定性,即确保队列内车辆之间的间距误差(实际车间间距与目标间距的差值)趋近于零。越小的目标间距其维持稳定性的条件就越苛刻。At present, the research on vehicle platooning technology mainly focuses on how to ensure the stability of the platoon, that is, to ensure that the spacing error between vehicles in the platoon (the difference between the actual vehicle spacing and the target spacing) approaches zero. The smaller the target spacing, the more stringent the conditions for maintaining stability.
用于车间通信的技术主要有两种,一种是DSRC(Dedicated Short RangeCommunication,专用短程通信)技术;一种是C-V2X(Cellular-Vehicle-to-everything,基于蜂窝移动通信系统的车联万物)技术。相比于DSRC,C-V2X还具有更大的覆盖范围,更高的传输可靠性和更低的延迟等优势。There are two main technologies used for vehicle-to-vehicle communication: DSRC (Dedicated Short Range Communication) and C-V2X (Cellular-Vehicle-to-everything). Compared with DSRC, C-V2X also has the advantages of larger coverage, higher transmission reliability and lower latency.
C-V2X为UE(User Equipment,用户设备)之间的直连通信(适用于车辆编队中头车与成员车间的通信)提供了PC5通信接口,该接口包含两种资源分配方法:C-V2X provides a PC5 communication interface for direct communication between UEs (applicable to communication between the head vehicle and member vehicles in a vehicle formation). This interface includes two resource allocation methods:
Mode 3,集中式资源分配,UE从eNodeB(基站)请求传输资源,随后eNodeB采用半持续、动态的调度方法分配资源;Mode 3, centralized resource allocation, the UE requests transmission resources from the eNodeB (base station), and then the eNodeB allocates resources using a semi-persistent, dynamic scheduling method;
Mode 4,分布式资源分配,不涉及蜂窝基础设施,UE自主进行资源选择。Mode 4, distributed resource allocation, does not involve cellular infrastructure, and UEs make resource selections autonomously.
在实际的车辆直接通信中,从延迟和开销的角度来看,分布式资源分配通常比集中式资源分配更有利。此外,如果连接到基站的车辆速度较大,则可能需要频繁的切换。基于这些原因,在车辆编队的V2V(车辆到车辆)通信中,采用了与基站无关的PC5 Mode 4技术。In actual vehicle direct communication, distributed resource allocation is usually more advantageous than centralized resource allocation from the perspective of latency and overhead. In addition, if the speed of the vehicles connected to the base station is large, frequent switching may be required. For these reasons, PC5 Mode 4 technology, which is independent of the base station, is used in the V2V (vehicle to vehicle) communication of the vehicle formation.
由于Mode 4是仅基于感知的和半持续的,并且一旦发生数据包冲突,相关车辆由于半双工效应将无法意识到资源冲突,故而直到进入资源重新选择之前,半持续特性将会导致连续的冲突,并且发送端将一直无法意识。此外,尽管通过资源重选可以避免持续性数据包冲突,但其也可能以一定的概率导致额外的冲突。这些冲突极大地降低了车辆编队的性能,因此需要进行优化。Since Mode 4 is based only on perception and semi-persistence, and once a packet conflict occurs, the related vehicles will not be aware of the resource conflict due to the half-duplex effect, so the semi-persistent feature will cause continuous conflicts until resource reselection is entered, and the sender will not be aware of it. In addition, although persistent packet conflicts can be avoided by resource reselection, they may also cause additional conflicts with a certain probability. These conflicts greatly reduce the performance of vehicle formations, so they need to be optimized.
现有技术提出了一种拥塞控制方法,即根据CBR(Channel Busy Rate,信道繁忙率)和信道占用率来调整网络拥塞情况(即冲突情况)。但是,在实现本发明的过程中发明人发现,按照现有的方式对车辆编队中各车辆之间的间距进行调整的准确性不高。The prior art proposes a congestion control method, which adjusts the network congestion (i.e., conflict) according to CBR (Channel Busy Rate) and channel occupancy rate. However, in the process of implementing the present invention, the inventors found that the accuracy of adjusting the distance between vehicles in the vehicle formation according to the existing method is not high.
发明内容Summary of the invention
本发明实施例提供一种信息处理方法及装置,以提高车辆编队中各车辆之间的间距调整的准确性。The embodiments of the present invention provide an information processing method and device to improve the accuracy of adjusting the spacing between vehicles in a vehicle formation.
第一方面,本发明实施例提供了一种信息处理方法,应用于第一终端,其中,所述第一终端位于车辆编队系统的头车中;所述方法包括:In a first aspect, an embodiment of the present invention provides an information processing method, which is applied to a first terminal, wherein the first terminal is located in a head vehicle of a vehicle formation system; the method comprises:
在第一CAM(Cooperative Awareness Message,合作感知消息)周期内,接收第二终端发送的车辆状态信息,其中,所述第二终端位于所述车辆编队系统的成员车辆中;receiving vehicle status information sent by a second terminal within a first CAM (Cooperative Awareness Message) cycle, wherein the second terminal is located in a member vehicle of the vehicle platooning system;
获取第一CAM周期内的数据包丢失信息;Obtaining packet loss information in a first CAM cycle;
根据所述车辆状态信息以及所述数据包丢失信息,确定CAM周期的第一调整信息;Determining first adjustment information of a CAM cycle according to the vehicle state information and the data packet loss information;
向所述第二终端发送所述第一调整信息。Send the first adjustment information to the second terminal.
其中,所述车辆状态信息包括所述成员车辆与所述成员车辆的前车之间的间距;所述数据包丢失信息包括数据丢包率;Wherein, the vehicle status information includes the distance between the member vehicle and the preceding vehicle of the member vehicle; the data packet loss information includes the data packet loss rate;
所述根据所述车辆状态信息以及所述数据包丢失信息,确定CAM周期的第一调整信息,包括:The determining, according to the vehicle state information and the data packet loss information, first adjustment information of the CAM cycle includes:
根据至少一个所述第二终端发送的所述间距,分别计算每个所述间距和目标间距之间的间距误差;Calculate, according to the interval sent by at least one of the second terminals, the interval error between each of the intervals and the target interval;
根据所述间距误差,计算间距误差平均值;Calculate the average value of the spacing error according to the spacing error;
如果所述间距误差平均值大于或等于前一CAM周期内的间距误差平均值,则将所述第一CAM周期内的数据丢包率与前一CAM周期内的数据丢包率进行比较;If the average value of the spacing error is greater than or equal to the average value of the spacing error in the previous CAM cycle, comparing the data packet loss rate in the first CAM cycle with the data packet loss rate in the previous CAM cycle;
如果所述间距误差平均值小于所述前一CAM周期内的间距误差平均值,或者,如果所述第一CAM周期内的数据丢包率小于前一CAM周期内的数据丢包率,则减小CAM周期;If the average value of the spacing error is less than the average value of the spacing error in the previous CAM cycle, or if the data packet loss rate in the first CAM cycle is less than the data packet loss rate in the previous CAM cycle, reducing the CAM cycle;
如果所述第一CAM周期内的数据丢包率大于或等于前一CAM周期内的数据丢包率,则增大CAM周期。If the data packet loss rate in the first CAM cycle is greater than or equal to the data packet loss rate in the previous CAM cycle, the CAM cycle is increased.
其中,在减小CAM周期的情况下,CAM周期的第一调整值为第一值,其中,所述第一值小于0;Wherein, in the case of reducing the CAM cycle, the first adjustment value of the CAM cycle is a first value, wherein the first value is less than 0;
在增大CAM周期的情况下,CAM周期的第一调整值为第二值,其中,所述第二值大于0。In case of increasing the CAM cycle, the first adjustment value of the CAM cycle is a second value, wherein the second value is greater than zero.
其中,如果所述第一CAM周期大于100,则所述第一值的绝对值为100,否则,所述第一值的绝对值为50/30;If the first CAM cycle is greater than 100, the absolute value of the first value is 100, otherwise, the absolute value of the first value is 50/30;
如果所述第一CAM周期大于或等于100,则所述第二值为100,否则,所述第二值为50/30。If the first CAM period is greater than or equal to 100, the second value is 100, otherwise, the second value is 50/30.
其中,在所述向所述第二终端发送所述第一调整信息之后,所述方法还包括:After sending the first adjustment information to the second terminal, the method further includes:
接收所述第二终端发送的CAM周期的第二调整信息;receiving second adjustment information of the CAM period sent by the second terminal;
根据所述第一调整信息和所述第二调整信息,确定CAM周期的第三调整信息。Third adjustment information of a CAM cycle is determined according to the first adjustment information and the second adjustment information.
其中,所述第一调整信息包括第一调整值,所述第二调整信息包括所述第二终端的CAM周期的调整值;The first adjustment information includes a first adjustment value, and the second adjustment information includes an adjustment value of a CAM period of the second terminal;
所述根据所述第一调整信息和所述第二调整信息,确定CAM周期的第三调整信息,包括:The determining, according to the first adjustment information and the second adjustment information, third adjustment information of the CAM cycle includes:
根据至少一个所述第二终端发送的CAM周期的调整值,计算CAM周期调整平均值;Calculating a CAM cycle adjustment average value according to at least one CAM cycle adjustment value sent by the second terminal;
计算所述第一调整值和所述CAM周期调整平均值的平均值;Calculating an average of the first adjustment value and the CAM cycle adjustment average value;
计算所述平均值和所述第一调整值的第一差值,以及,所述平均值与0的第二差值;Calculate a first difference between the average value and the first adjustment value, and a second difference between the average value and 0;
如果所述第一差值的绝对值小于或等于所述第二差值的绝对值,则确定CAM周期的调整值为所述第一调整值;否则,确定CAM周期不变。If the absolute value of the first difference is less than or equal to the absolute value of the second difference, the adjustment value of the CAM cycle is determined to be the first adjustment value; otherwise, the CAM cycle is determined to remain unchanged.
第二方面,本发明实施例提供一种信息处理方法,应用于第二终端,其中,所述第二终端位于车辆编队系统的成员车辆中;所述方法包括:In a second aspect, an embodiment of the present invention provides an information processing method, which is applied to a second terminal, wherein the second terminal is located in a member vehicle of a vehicle formation system; the method comprises:
接收第一终端发送的CAM周期的第一调整信息;Receiving first adjustment information of a CAM cycle sent by a first terminal;
确定成员车辆在第一CAM周期内的间距误差以及数据包丢失信息;其中,所述间距误差为所述成员车辆与所述成员车辆的前车之间的间距误差;Determine the spacing error and data packet loss information of the member vehicle in the first CAM cycle; wherein the spacing error is the spacing error between the member vehicle and the preceding vehicle of the member vehicle;
根据所述间距误差以及所述数据包丢失信息,确定所述CAM周期的调整参考信息;Determining adjustment reference information of the CAM cycle according to the spacing error and the packet loss information;
根据所述第一调整信息以及所述调整参考信息,确定CAM周期的第四调整信息。Fourth adjustment information of a CAM cycle is determined according to the first adjustment information and the adjustment reference information.
其中,所述数据包丢失信息包括数据丢包率;Wherein, the data packet loss information includes data packet loss rate;
所述根据所述间距误差以及所述数据包丢失信息,确定所述CAM周期的调整参考信息,包括:The step of determining adjustment reference information of the CAM cycle according to the spacing error and the data packet loss information includes:
如果所述间距误差大于前一CAM周期内的间距误差,则将所述第一CAM周期内的数据丢包率与前一CAM周期内的数据丢包率进行比较;If the spacing error is greater than the spacing error in the previous CAM cycle, comparing the data packet loss rate in the first CAM cycle with the data packet loss rate in the previous CAM cycle;
如果所述间距误差小于或等于所述前一CAM周期内的间距误差,或者,如果所述第一CAM周期内的数据丢包率小于前一CAM周期内的数据丢包率,则减小CAM周期;If the spacing error is less than or equal to the spacing error in the previous CAM cycle, or if the data packet loss rate in the first CAM cycle is less than the data packet loss rate in the previous CAM cycle, reducing the CAM cycle;
如果所述第一CAM周期内的数据丢包率大于或等于前一CAM周期内的数据丢包率,则增大CAM周期。If the data packet loss rate in the first CAM cycle is greater than or equal to the data packet loss rate in the previous CAM cycle, the CAM cycle is increased.
其中,在减小CAM周期的情况下,CAM周期的第二调整值为第三值,其中,所述第三值小于0;Wherein, in the case of reducing the CAM cycle, the second adjustment value of the CAM cycle is a third value, wherein the third value is less than 0;
在增大CAM周期的情况下,CAM周期的第二调整值为第四值,其中,所述第四值大于0。In case of increasing the CAM cycle, the second adjustment value of the CAM cycle is a fourth value, wherein the fourth value is greater than zero.
其中,如果所述第一CAM周期大于100,则所述第三值的绝对值为100,否则,所述第三值的绝对值为50/30;If the first CAM cycle is greater than 100, the absolute value of the third value is 100, otherwise, the absolute value of the third value is 50/30;
如果所述第一CAM周期大于或等于100,则所述第四值为100,否则,所述第四值为50/30。If the first CAM cycle is greater than or equal to 100, the fourth value is 100, otherwise, the fourth value is 50/30.
其中,所述第一调整信息包括第一调整值,所述调整参考信息包括所述第二调整值;Wherein, the first adjustment information includes a first adjustment value, and the adjustment reference information includes the second adjustment value;
所述根据所述第一调整信息以及所述调整参考信息,确定CAM周期的第四调整信息,包括:The determining, according to the first adjustment information and the adjustment reference information, fourth adjustment information of the CAM cycle includes:
计算所述第一调整值和所述第二调整值的平均值;calculating an average of the first adjustment value and the second adjustment value;
计算所述平均值和所述第二调整值的第三差值,以及,所述平均值与0的第四差值;Calculating a third difference between the average value and the second adjustment value, and a fourth difference between the average value and 0;
如果所述第三差值的绝对值小于或等于所述第四差值的绝对值,则确定CAM周期的调整值为所述第二调整值;否则,确定CAM周期不变。If the absolute value of the third difference is less than or equal to the absolute value of the fourth difference, the adjustment value of the CAM cycle is determined to be the second adjustment value; otherwise, the CAM cycle is determined to remain unchanged.
其中,所述方法还包括:Wherein, the method further comprises:
向所述第一终端发送所述第四调整信息,所述第四调整信息包括所述第二调整值。The fourth adjustment information is sent to the first terminal, where the fourth adjustment information includes the second adjustment value.
第三方面,本发明实施例提供一种信息处理装置,应用于第一终端,其中,所述第一终端位于车辆编队系统的头车中;所述装置包括:In a third aspect, an embodiment of the present invention provides an information processing device, applied to a first terminal, wherein the first terminal is located in a head vehicle of a vehicle formation system; the device comprises:
第一接收模块,用于在第一CAM周期内,接收第二终端发送的车辆状态信息,其中,所述第二终端位于所述车辆编队系统的成员车辆中;A first receiving module, configured to receive vehicle status information sent by a second terminal in a first CAM cycle, wherein the second terminal is located in a member vehicle of the vehicle platoon system;
第一获取模块,用于获取第一CAM周期内的数据包丢失信息;A first acquisition module, used to acquire data packet loss information in a first CAM cycle;
第一确定模块,用于根据所述车辆状态信息以及所述数据包丢失信息,确定CAM周期的第一调整信息;A first determining module, configured to determine first adjustment information of a CAM cycle according to the vehicle state information and the data packet loss information;
第一发送模块,用于向所述第二终端发送所述第一调整信息。The first sending module is used to send the first adjustment information to the second terminal.
其中,所述车辆状态信息包括所述成员车辆与所述成员车辆的前车之间的间距;所述数据包丢失信息包括数据丢包率;Wherein, the vehicle status information includes the distance between the member vehicle and the preceding vehicle of the member vehicle; the data packet loss information includes the data packet loss rate;
所述第一确定模块包括:The first determining module comprises:
第一计算子模块,用于根据所述间距误差,计算间距误差平均值;A first calculation submodule, used for calculating an average value of the spacing error according to the spacing error;
第一比较子模块,用于如果所述间距误差平均值大于或等于前一CAM周期内的间距误差平均值,则将所述第一CAM周期内的数据丢包率与前一CAM周期内的数据丢包率进行比较;a first comparison submodule, configured to compare the data packet loss rate in the first CAM cycle with the data packet loss rate in the previous CAM cycle if the spacing error average value is greater than or equal to the spacing error average value in the previous CAM cycle;
第一确定子模块,用于如果所述间距误差平均值小于所述前一CAM周期内的间距误差平均值,或者,如果所述第一CAM周期内的数据丢包率小于前一CAM周期内的数据丢包率,则减小CAM周期;A first determination submodule, configured to reduce a CAM cycle if the spacing error average value is smaller than the spacing error average value in the previous CAM cycle, or if the data packet loss rate in the first CAM cycle is smaller than the data packet loss rate in the previous CAM cycle;
第二确定子模块,用于如果所述第一CAM周期内的数据丢包率大于或等于前一CAM周期内的数据丢包率,则增大CAM周期。The second determining submodule is configured to increase the CAM cycle if the data packet loss rate in the first CAM cycle is greater than or equal to the data packet loss rate in the previous CAM cycle.
其中,在减小CAM周期的情况下,CAM周期的第一调整值为第一值,其中,所述第一值小于0;Wherein, in the case of reducing the CAM cycle, the first adjustment value of the CAM cycle is a first value, wherein the first value is less than 0;
在增大CAM周期的情况下,CAM周期的第一调整值为第二值,其中,所述第二值大于0。In case of increasing the CAM cycle, the first adjustment value of the CAM cycle is a second value, wherein the second value is greater than zero.
其中,所述装置还包括:Wherein, the device further comprises:
第二接收模块,用于接收所述第二终端发送的CAM周期的第二调整信息;A second receiving module, configured to receive second adjustment information of the CAM period sent by the second terminal;
第二确定模块,用于根据所述第一调整信息和所述第二调整信息,确定CAM周期的第三调整信息。The second determining module is used to determine third adjustment information of the CAM cycle according to the first adjustment information and the second adjustment information.
其中,所述第一调整信息包括第一调整值,所述第二调整信息包括所述第二终端的CAM周期的调整值;The first adjustment information includes a first adjustment value, and the second adjustment information includes an adjustment value of a CAM period of the second terminal;
所述第二确定模块包括:The second determining module comprises:
第一计算子模块,用于根据至少一个所述第二终端发送的CAM周期的调整值,计算CAM周期调整平均值;A first calculation submodule, configured to calculate a CAM cycle adjustment average value according to an adjustment value of a CAM cycle sent by at least one of the second terminals;
第二计算子模块,用于计算所述第一调整值和所述CAM周期调整平均值的平均值;A second calculation submodule, configured to calculate an average value of the first adjustment value and the CAM cycle adjustment average value;
第三计算子模块,用于计算所述平均值和所述第一调整值的第一差值,以及,所述平均值与0的第二差值;A third calculation submodule, used for calculating a first difference between the average value and the first adjustment value, and a second difference between the average value and 0;
第一确定子模块,用于如果所述第一差值的绝对值小于或等于所述第二差值的绝对值,则确定CAM周期的调整值为所述第一调整值;否则,确定CAM周期不变。The first determination submodule is configured to determine that the adjustment value of the CAM cycle is the first adjustment value if the absolute value of the first difference is less than or equal to the absolute value of the second difference; otherwise, determine that the CAM cycle remains unchanged.
第四方面,本发明实施例提供一种信息处理装置,应用于第二终端,其中,所述第二终端位于车辆编队系统的成员车辆中;所述装置包括:In a fourth aspect, an embodiment of the present invention provides an information processing device, applied to a second terminal, wherein the second terminal is located in a member vehicle of a vehicle formation system; the device comprises:
第一接收模块,用于接收第一终端发送的CAM周期的第一调整信息;A first receiving module, configured to receive first adjustment information of a CAM cycle sent by a first terminal;
第一确定模块,用于确定成员车辆在第一CAM周期内的间距误差以及数据包丢失信息;其中,所述间距误差为所述成员车辆与所述成员车辆的前车之间的间距误差;A first determination module is used to determine the spacing error and data packet loss information of the member vehicle in the first CAM cycle; wherein the spacing error is the spacing error between the member vehicle and the preceding vehicle of the member vehicle;
第二确定模块,用于根据所述间距误差以及所述数据包丢失信息,确定所述CAM周期的调整参考信息;A second determining module, configured to determine adjustment reference information of the CAM cycle according to the spacing error and the packet loss information;
第三确定模块,用于根据所述第一调整信息以及所述调整参考信息,确定CAM周期的第四调整信息。The third determining module is used to determine fourth adjustment information of the CAM cycle according to the first adjustment information and the adjustment reference information.
其中,所述数据包丢失信息包括数据丢包率;Wherein, the data packet loss information includes data packet loss rate;
所述第二确定模块包括:The second determining module comprises:
第一比较子模块,用于如果所述间距误差大于前一CAM周期内的间距误差,则将所述第一CAM周期内的数据丢包率与前一CAM周期内的数据丢包率进行比较;a first comparison submodule, configured to compare the data packet loss rate in the first CAM cycle with the data packet loss rate in the previous CAM cycle if the spacing error is greater than the spacing error in the previous CAM cycle;
第一确定子模块,用于如果所述间距误差小于或等于所述前一CAM周期内的间距误差,或者,如果所述第一CAM周期内的数据丢包率小于前一CAM周期内的数据丢包率,则减小CAM周期;A first determination submodule, configured to reduce the CAM cycle if the spacing error is less than or equal to the spacing error in the previous CAM cycle, or if the data packet loss rate in the first CAM cycle is less than the data packet loss rate in the previous CAM cycle;
第二确定子模块,用于如果所述第一CAM周期内的数据丢包率大于或等于前一CAM周期内的数据丢包率,则增大CAM周期。The second determining submodule is configured to increase the CAM cycle if the data packet loss rate in the first CAM cycle is greater than or equal to the data packet loss rate in the previous CAM cycle.
其中,所述第一调整信息包括第一调整值,所述调整参考信息包括所述第二调整值;Wherein, the first adjustment information includes a first adjustment value, and the adjustment reference information includes the second adjustment value;
所述第三确定模块包括:The third determination module comprises:
第一计算子模块,用于计算所述第一调整值和所述第二调整值的平均值;A first calculation submodule, configured to calculate an average of the first adjustment value and the second adjustment value;
第二计算子模块,用于计算所述平均值和所述第二调整值的第三差值,以及,所述平均值与0的第四差值;a second calculation submodule, configured to calculate a third difference between the average value and the second adjustment value, and a fourth difference between the average value and 0;
第一确定子模块,用于如果所述第三差值的绝对值小于或等于所述第四差值的绝对值,则确定CAM周期的调整值为所述第二调整值;否则,确定CAM周期不变。The first determination submodule is configured to determine that the adjustment value of the CAM cycle is the second adjustment value if the absolute value of the third difference is less than or equal to the absolute value of the fourth difference; otherwise, determine that the CAM cycle remains unchanged.
其中,所述装置还包括:Wherein, the device further comprises:
第一发送模块,用于向所述第一终端发送所述第四调整信息,所述第四调整信息包括所述第二调整值。The first sending module is configured to send the fourth adjustment information to the first terminal, where the fourth adjustment information includes the second adjustment value.
在本发明实施例中,根据第一CAM周期内的数据包丢失信息以及其他成员车辆的车辆状态信息确定CAM周期的调整信息,并将该调整信息发送给成员车辆。由于调整信息的确定不仅考虑了车辆状态信息,还考虑了数据包的丢失情况,因此,利用本发明实施例的方案所确定的调整信息更为准确,从而可提高车辆编队中各车辆之间的间距调整的准确性。In the embodiment of the present invention, the adjustment information of the CAM cycle is determined according to the data packet loss information in the first CAM cycle and the vehicle status information of other member vehicles, and the adjustment information is sent to the member vehicles. Since the determination of the adjustment information not only considers the vehicle status information but also the data packet loss, the adjustment information determined by the solution of the embodiment of the present invention is more accurate, thereby improving the accuracy of the spacing adjustment between the vehicles in the vehicle formation.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
图1是本发明实施例提供的车辆编队系统的示意图;FIG1 is a schematic diagram of a vehicle platooning system provided by an embodiment of the present invention;
图2是本发明实施例提供的信息处理方法的流程图之一;FIG2 is a flowchart of an information processing method according to an embodiment of the present invention;
图3是本发明实施例提供的步骤203的示意图;FIG3 is a schematic diagram of step 203 provided in an embodiment of the present invention;
图4是本发明实施例提供的信息处理方法的流程图之二;FIG4 is a second flowchart of the information processing method provided by an embodiment of the present invention;
图5是本发明实施例提供的步骤406的示意图;FIG5 is a schematic diagram of step 406 provided in an embodiment of the present invention;
图6是本发明实施例提供的信息处理方法的流程图之三;FIG6 is a third flowchart of the information processing method provided by an embodiment of the present invention;
图7是本发明实施例提供的步骤604的示意图;FIG7 is a schematic diagram of step 604 provided in an embodiment of the present invention;
图8是本发明实施例提供的信息处理装置的结构图之一;FIG8 is a structural diagram of an information processing device provided by an embodiment of the present invention;
图9是本发明实施例提供的第一确定模块的结构图;9 is a structural diagram of a first determination module provided in an embodiment of the present invention;
图10是本发明实施例提供的信息处理装置的结构图之二;10 is a second structural diagram of the information processing device provided by an embodiment of the present invention;
图11是本发明实施例提供的第二确定模块的结构图之一;FIG11 is a structural diagram of a second determination module according to an embodiment of the present invention;
图12是本发明实施例提供的信息处理装置的结构图之三;12 is a third structural diagram of the information processing device provided by an embodiment of the present invention;
图13是本发明实施例提供的第二确定模块的结构图之二;13 is a second structural diagram of the second determination module provided in an embodiment of the present invention;
图14是本发明实施例提供的第三确定模块的结构图;14 is a structural diagram of a third determination module provided in an embodiment of the present invention;
图15是本发明实施例提供的信息处理装置的结构图之四;15 is a fourth structural diagram of the information processing device provided by an embodiment of the present invention;
图16是本发明实施例提供的信息处理设备的结构图之一;FIG16 is a structural diagram of an information processing device provided by an embodiment of the present invention;
图17是本发明实施例提供的信息处理设备的结构图之二。FIG. 17 is a second structural diagram of the information processing device provided in an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
如图1所示,为本发明实施例的车辆编队系统的示意图。其中车辆编队系统内的车辆被分为“头车”和“成员车辆”两种。As shown in Fig. 1, it is a schematic diagram of a vehicle platoon system according to an embodiment of the present invention, wherein the vehicles in the vehicle platoon system are divided into two types: "lead vehicle" and "member vehicles".
成员车辆每隔一定时间向头车汇报它的车辆状态信息。其中,该车辆状态信息通过成员车辆上设置的传感器获得,包含成员车辆与前车的间距及成员车辆当前的行驶速度等。The member vehicle reports its vehicle status information to the lead vehicle at regular intervals. The vehicle status information is obtained through sensors installed on the member vehicle, including the distance between the member vehicle and the leading vehicle and the current driving speed of the member vehicle.
由于半双工性质,设定头车在未进行发送时一直处于收听状态,收听到的成员车辆信息会储存在头车的信息池中。同一车辆的同一类型新信息会覆盖旧的信息,以确保信息的新鲜程度(即,减小信息年龄)。此外,头车也会定期对收集到的信息进行处理,即根据这些信息和控制算法为每辆成员车辆计算它应该执行的加速度,然后再将这些加速度信息传达给成员车辆。同样,成员车辆在未发送信息时也一直进行收听,若收听到新的加速度信息,则以此控制下一刻的运动。Due to the half-duplex nature, the lead vehicle is set to be in a listening state when not sending, and the member vehicle information received will be stored in the lead vehicle's information pool. New information of the same type from the same vehicle will overwrite the old information to ensure the freshness of the information (i.e., reduce the age of the information). In addition, the lead vehicle will also process the collected information regularly, that is, calculate the acceleration that each member vehicle should perform based on this information and the control algorithm, and then convey this acceleration information to the member vehicles. Similarly, the member vehicles are always listening when not sending information, and if they hear new acceleration information, they will use it to control the movement at the next moment.
无论是成员车辆汇报给头车的车辆状态信息,还是头车传达给成员车辆的控制信息,均可以CAM的形式发送,即以周期性广播的形式通过C-V2X Mode4规定的资源分配方式自主选择资源发送。Whether it is vehicle status information reported by member vehicles to the lead vehicle, or control information conveyed by the lead vehicle to member vehicles, it can be sent in the form of CAM, that is, in the form of periodic broadcasting through the resource allocation method specified in C-V2X Mode4 to autonomously select resources for transmission.
图1所示的系统可能存在以下两种冲突。第一种冲突情况称为半双工错误(Half-duplex error),因为C-V2X采用了半双工传输方式,发送与接收不能同时进行,如果在成员车广播状态信息时,头车刚好也在广播信息即它们选用了同一个TTI(传输时间间隔)的不同子信道发送数据,就会发生这种冲突。第二种冲突情况称为Collision(碰撞),即两个数据包和占用了同一个资源而导致冲突。The system shown in Figure 1 may have the following two types of conflicts. The first conflict is called half-duplex error. Because C-V2X uses half-duplex transmission, sending and receiving cannot be performed at the same time. If the member car broadcasts status information At that time, the leading vehicle was also broadcasting information That is, they choose different sub-channels of the same TTI (transmission time interval) to send data, and this conflict will occur. The second conflict situation is called Collision, that is, two data packets and Occupying the same resource leads to conflict.
在上述系统中,网络拥塞程度与CAM的周期息息相关。通过增加CAM的周期,可以减少通信网络中的数据包数量,从而减少冲突。然而,一味的增加CAM的周期又会导致信息年龄的增加。对于时间相关(随时间变化)的信息的传输,这种方式显然是不可取的。因此,在本发明实施例中,采用动态拥塞调整机制,旨在根据实时的编队性能和网络拥塞情况,有针对性的动态调整不同车辆的CAM周期,从而使得车辆编队系统中各车辆之间的间距调整更为准确。In the above system, the degree of network congestion is closely related to the cycle of CAM. By increasing the cycle of CAM, the number of data packets in the communication network can be reduced, thereby reducing conflicts. However, blindly increasing the cycle of CAM will lead to an increase in the age of information. For the transmission of time-related (time-varying) information, this method is obviously not desirable. Therefore, in an embodiment of the present invention, a dynamic congestion adjustment mechanism is adopted, which aims to dynamically adjust the CAM cycle of different vehicles in a targeted manner according to the real-time formation performance and network congestion situation, so that the spacing adjustment between vehicles in the vehicle formation system is more accurate.
以下,结合不同的实施例详细描述一下本发明实施例的具体实现过程。The specific implementation process of the embodiments of the present invention is described in detail below in combination with different embodiments.
参见图2,图2是本发明实施例提供的信息处理方法的流程图,应用于第一终端,其中,所述第一终端位于车辆编队系统的头车中。如图2所示,包括以下步骤:Referring to FIG. 2 , FIG. 2 is a flow chart of an information processing method provided by an embodiment of the present invention, which is applied to a first terminal, wherein the first terminal is located in the head vehicle of a vehicle formation system. As shown in FIG. 2 , the following steps are included:
步骤201、在第一CAM周期内,接收第二终端发送的车辆状态信息,其中,所述第二终端位于所述车辆编队系统的成员车辆中。Step 201: receiving vehicle status information sent by a second terminal within a first CAM cycle, wherein the second terminal is located in a member vehicle of the vehicle platoon system.
其中,所述第一CAM周期可以指的是在执行本发明实施例的时候的当前CAM周期。本发明实施例中的终端可以是车载终端,手机等移动终端。其中,所述车辆状态信息包括所述成员车辆与所述成员车辆的前车之间的间距,还可以包括成员车辆的行驶速度等。The first CAM cycle may refer to the current CAM cycle when executing the embodiment of the present invention. The terminal in the embodiment of the present invention may be a vehicle-mounted terminal, a mobile terminal such as a mobile phone, etc. The vehicle status information includes the distance between the member vehicle and the preceding vehicle of the member vehicle, and may also include the driving speed of the member vehicle, etc.
第二终端可通过CAM将车辆状态信息发送给第一终端,相应的,第一终端接收第二终端发送的车辆状态信息。The second terminal may send the vehicle status information to the first terminal via the CAM, and correspondingly, the first terminal receives the vehicle status information sent by the second terminal.
步骤202、获取第一CAM周期内的数据包丢失信息。Step 202: Obtain data packet loss information in the first CAM cycle.
在本发明实施例中,数据包丢失信息主要指的是数据包丢失率。在实际应用中,第一终端可根据信号接收质量等信息确定数据包丢失率。In the embodiment of the present invention, the data packet loss information mainly refers to the data packet loss rate. In practical applications, the first terminal can determine the data packet loss rate according to information such as signal reception quality.
步骤203、根据所述车辆状态信息以及所述数据包丢失信息,确定CAM周期的第一调整信息。Step 203: Determine first adjustment information of a CAM cycle according to the vehicle state information and the data packet loss information.
在本发明实施例中,第一终端除了计算成员车辆应执行的加速度外,还需根据间距误差取平均值以及数据包丢失率,输出CAM周期的加/减值。随后,将该加/减值和成员车辆应执行的加速度值打包成CAM信息进行广播。其中,所述第一调整信息可包括调整方式,调整的数值大小等。In the embodiment of the present invention, in addition to calculating the acceleration that the member vehicles should perform, the first terminal also needs to take the average value of the spacing error and the packet loss rate, and output the plus/minus value of the CAM cycle. Subsequently, the plus/minus value and the acceleration value that the member vehicles should perform are packaged into CAM information for broadcast. Among them, the first adjustment information may include the adjustment method, the value of the adjustment, etc.
具体的,结合图3所示,该步骤可包括:Specifically, as shown in FIG3 , this step may include:
步骤2031、第一终端根据至少一个所述第二终端发送的所述间距,分别计算每个所述间距和目标间距之间的间距误差。Step 2031: The first terminal calculates the spacing error between each of the spacings and the target spacing according to the spacing sent by at least one of the second terminals.
其中,所述目标间距可以是预先设置的值。所述间距误差例如可以是第二终端发送的所述间距和所述目标间距之间的差值。The target distance may be a preset value. The distance error may be, for example, a difference between the distance sent by the second terminal and the target distance.
步骤2032、根据所述间距误差,计算间距误差平均值。Step 2032: Calculate an average value of the spacing error based on the spacing error.
步骤2033、将所述间距误差平均值和前一CAM周期内的间距误差平均值进行比较。Step 2033: compare the average value of the spacing error with the average value of the spacing error in the previous CAM cycle.
如果所述间距误差平均值大于或等于前一CAM周期内的间距误差平均值,说明性能下降,则执行步骤2034。如果所述间距误差平均值小于所述前一CAM周期内的间距误差平均值,则执行步骤2035。If the average value of the spacing error is greater than or equal to the average value of the spacing error in the previous CAM cycle, it indicates that the performance is degraded, and step 2034 is executed. If the average value of the spacing error is less than the average value of the spacing error in the previous CAM cycle, step 2035 is executed.
步骤2034、将所述第一CAM周期内的数据丢包率与前一CAM周期内的数据丢包率进行比较。Step 2034: Compare the data packet loss rate in the first CAM cycle with the data packet loss rate in the previous CAM cycle.
如果所述第一CAM周期内的数据丢包率小于前一CAM周期内的数据丢包率,则说明性能下降是由信息年龄过大导致的,执行步骤2035,否则,说明性能下降是由网络过于拥塞导致的,则执行步骤2036。If the data packet loss rate in the first CAM cycle is less than the data packet loss rate in the previous CAM cycle, it means that the performance degradation is caused by the excessive age of the information, and step 2035 is executed. Otherwise, it means that the performance degradation is caused by excessive network congestion, and step 2036 is executed.
步骤2035、减小CAM周期。Step 2035, reduce the CAM cycle.
步骤2036、增大CAM周期。Step 2036: Increase the CAM cycle.
在本发明实施例中,如果需要减小CAM周期,则可输出小于0的数值。在实际应用各种,可将设定CAM周期的初始值取较大值,因此,若当前性能优于前一CAM周期性能,可尝试将CAM周期适当缩短,以寻求进一步性能提升。如果需要增加CAM周期,则可输出大于0的数值。In the embodiment of the present invention, if the CAM cycle needs to be reduced, a value less than 0 may be output. In various practical applications, the initial value of the CAM cycle may be set to a larger value. Therefore, if the current performance is better than the performance of the previous CAM cycle, the CAM cycle may be appropriately shortened to seek further performance improvement. If the CAM cycle needs to be increased, a value greater than 0 may be output.
具体的,在减小CAM周期的情况下,CAM周期的第一调整值为第一值,其中,所述第一值小于0。也即,在这种情况下,第一终端向第二终端发送的第一调整值为小于0的数值。在增大CAM周期的情况下,CAM周期的第一调整值为第二值,其中,所述第二值大于0。也即,在这种情况下,第一终端向第二终端发送的第一调整值为大于0的数值。Specifically, in the case of reducing the CAM cycle, the first adjustment value of the CAM cycle is a first value, wherein the first value is less than 0. That is, in this case, the first adjustment value sent by the first terminal to the second terminal is a value less than 0. In the case of increasing the CAM cycle, the first adjustment value of the CAM cycle is a second value, wherein the second value is greater than 0. That is, in this case, the first adjustment value sent by the first terminal to the second terminal is a value greater than 0.
根据规定,CAM周期应在集合{20,50,100,200,300,400,500,600,700,800,900,1000}之中取值。According to regulations, the CAM cycle should be within the set {20,50,100,200,300,400,500,600,700,800,900,1000}.
在本发明实施例中,如果第一CAM周期大于100,则第一值的绝对值取值100;否则第一值的绝对值取值50/30。也即,如果第一CAM周期大于100,第一值为-100;否则第一值为-50/30。如果所述第一CAM周期大于或等于100,则所述第二值为100,否则,所述第二值为50/30。In the embodiment of the present invention, if the first CAM cycle is greater than 100, the absolute value of the first value is 100; otherwise, the absolute value of the first value is 50/30. That is, if the first CAM cycle is greater than 100, the first value is -100; otherwise, the first value is -50/30. If the first CAM cycle is greater than or equal to 100, the second value is 100, otherwise, the second value is 50/30.
步骤204、向所述第二终端发送所述第一调整信息。Step 204: Send the first adjustment information to the second terminal.
在本发明实施例中,第一终端可通过CAM向所述第二终端发送所述第一调整信息。其中,所述第一调整信息中可包括上述的第一值或者第二值。In the embodiment of the present invention, the first terminal may send the first adjustment information to the second terminal through the CAM, wherein the first adjustment information may include the first value or the second value mentioned above.
在本发明实施例中,根据第一CAM周期内的数据包丢失信息以及其他成员车辆的车辆状态信息确定CAM周期的调整信息,并将该调整信息发送给成员车辆。由于调整信息的确定不仅考虑了车辆状态信息,还考虑了数据包的丢失情况,因此,利用本发明实施例的方案所确定的调整信息更为准确,从而可提高车辆编队中各车辆之间的间距调整的准确性。In the embodiment of the present invention, the adjustment information of the CAM cycle is determined according to the data packet loss information in the first CAM cycle and the vehicle status information of other member vehicles, and the adjustment information is sent to the member vehicles. Since the determination of the adjustment information not only considers the vehicle status information but also the data packet loss, the adjustment information determined by the solution of the embodiment of the present invention is more accurate, thereby improving the accuracy of the spacing adjustment between the vehicles in the vehicle formation.
在上述实施例的基础上,为了进一步提高间距调整的准确性,所述第一终端还可根据成员车辆的反馈信息,再次对CAM周期进行调整,从而确定最终的CAM周期。On the basis of the above embodiment, in order to further improve the accuracy of the interval adjustment, the first terminal may further adjust the CAM cycle according to the feedback information of the member vehicles, so as to determine the final CAM cycle.
具体的,参见图4,图4是本发明实施例提供的一种信息处理方法的流程图,应用于第一终端,其中,所述第一终端位于车辆编队系统的头车中。如图4所示,包括以下步骤:Specifically, see Figure 4, which is a flow chart of an information processing method provided by an embodiment of the present invention, which is applied to a first terminal, wherein the first terminal is located in the head vehicle of the vehicle formation system. As shown in Figure 4, the following steps are included:
步骤401-步骤404、可参见步骤201-204的描述。Step 401 - step 404 , please refer to the description of steps 201 - 204 .
步骤405、接收所述第二终端发送的CAM周期的第二调整信息。Step 405: Receive second adjustment information of the CAM period sent by the second terminal.
其中,所述第二调整信息是成员车辆根据收到的第一调整信息而对自身的CAM周期进行调整后确定的调整信息,例如,可包括CAM周期的调整值等。The second adjustment information is adjustment information determined after the member vehicle adjusts its own CAM cycle according to the received first adjustment information, for example, it may include an adjustment value of the CAM cycle, etc.
步骤406、根据所述第一调整信息和所述第二调整信息,确定CAM周期的第三调整信息。Step 406: Determine third adjustment information of the CAM cycle according to the first adjustment information and the second adjustment information.
由于头车的CAM中包含的加速度信息与成员车辆的CAM中包含的状态信息有关,因此,头车的CAM周期调整受所有成员车的CAM周期调整的影响。具体的,参见图5,此步骤可包括:Since the acceleration information contained in the CAM of the lead vehicle is related to the state information contained in the CAM of the member vehicles, the CAM cycle adjustment of the lead vehicle is affected by the CAM cycle adjustment of all member vehicles. Specifically, referring to FIG. 5 , this step may include:
步骤4061、根据至少一个所述第二终端发送的CAM周期的调整值,计算CAM周期调整平均值。Step 4061: Calculate a CAM cycle adjustment average value according to an adjustment value of a CAM cycle sent by at least one of the second terminals.
具体的,假设从成员车辆处收听到的CAM周期调整值为{Sm1,Sm2,…,Smn},其平均值为Sm。Specifically, it is assumed that the CAM cycle adjustment values heard from the member vehicles are {S m1 , S m2 , …, S mn }, and their average value is S m .
步骤4062、计算所述第一调整值和所述CAM周期调整平均值的平均值。Step 4062: Calculate the average of the first adjustment value and the CAM cycle adjustment average value.
假设第一调整值用Sl表示,对Sm和Sl取平均值: Assume that the first adjustment value is denoted by S l , and take the average of S m and S l :
步骤4063、计算所述平均值和所述第一调整值的第一差值,以及,所述平均值与0的第二差值。Step 4063: Calculate a first difference between the average value and the first adjustment value, and a second difference between the average value and 0.
步骤4064、将第一差值的绝对值和第二差值的绝对值进行比较。Step 4064: Compare the absolute value of the first difference with the absolute value of the second difference.
步骤4065、如果所述第一差值的绝对值大于所述第二差值的绝对值,则确定CAM周期不变。Step 4065: If the absolute value of the first difference is greater than the absolute value of the second difference, it is determined that the CAM cycle remains unchanged.
步骤4066、如果所述第一差值的绝对值小于或等于所述第二差值的绝对值,则确定CAM周期的调整值为所述第一调整值。Step 4066: If the absolute value of the first difference is less than or equal to the absolute value of the second difference, determine that the adjustment value of the CAM cycle is the first adjustment value.
最后,第一终端根据确定的调整值调整自身的CAM周期。Finally, the first terminal adjusts its own CAM cycle according to the determined adjustment value.
在本发明实施例中,根据第一CAM周期内的数据包丢失信息以及其他成员车辆的车辆状态信息确定CAM周期的调整信息,并将该调整信息发送给成员车辆。由于调整信息的确定不仅考虑了车辆状态信息,还考虑了数据包的丢失情况,因此,利用本发明实施例的方案所确定的调整信息更为准确,从而可提高车辆编队中各车辆之间的间距调整的准确性。此外,第一终端还根据各第二终端的反馈进一步的确定自身的CAM周期的调整值,从而可进一步保证CAM发送的及时性,以提高间距调整的准确性。In an embodiment of the present invention, the adjustment information of the CAM cycle is determined based on the data packet loss information in the first CAM cycle and the vehicle status information of other member vehicles, and the adjustment information is sent to the member vehicles. Since the determination of the adjustment information not only takes into account the vehicle status information but also the data packet loss, the adjustment information determined by the scheme of the embodiment of the present invention is more accurate, thereby improving the accuracy of the spacing adjustment between the vehicles in the vehicle formation. In addition, the first terminal further determines the adjustment value of its own CAM cycle based on the feedback from each second terminal, thereby further ensuring the timeliness of CAM transmission to improve the accuracy of spacing adjustment.
参见图6,图6是本发明实施例提供的信息处理方法的流程图,应用于第二终端,其中,所述第二终端位于车辆编队系统的成员车辆中。如图6所示,包括以下步骤:Referring to FIG6 , FIG6 is a flow chart of an information processing method provided by an embodiment of the present invention, which is applied to a second terminal, wherein the second terminal is located in a member vehicle of a vehicle formation system. As shown in FIG6 , the method includes the following steps:
步骤601、接收第一终端发送的CAM周期的第一调整信息。Step 601: Receive first adjustment information of a CAM cycle sent by a first terminal.
其中,所述第一调整信息中可包括第一终端按照前述方式确定的第一调整值。The first adjustment information may include a first adjustment value determined by the first terminal in the aforementioned manner.
步骤602、确定成员车辆在第一CAM周期内的间距误差以及数据包丢失信息;其中,所述间距误差为所述成员车辆与所述成员车辆的前车之间的间距误差。Step 602: Determine the distance error and data packet loss information of the member vehicle in the first CAM cycle; wherein the distance error is the distance error between the member vehicle and the preceding vehicle of the member vehicle.
成员车辆除了要执行头车分配的加速外,还需计算在第一CAM周期内的间距误差以及数据包丢失信息。其中,所述间距误差可以是某个时刻间距和目标间距的差值,或者,还可以在第一CAM周期内,每隔一定的时间计算一次成员车辆当前的间距和目标间距之间的差值,然后,将获得的多个差值求取平均值,作为在此的间距误差。该目标间距可以是预设的值。In addition to executing the acceleration assigned by the lead vehicle, the member vehicles also need to calculate the spacing error and data packet loss information within the first CAM cycle. The spacing error can be the difference between the spacing at a certain moment and the target spacing, or the difference between the current spacing of the member vehicles and the target spacing can be calculated at regular intervals within the first CAM cycle, and then the average of the multiple differences obtained is used as the spacing error here. The target spacing can be a preset value.
所述数据包丢失信息包括数据丢包率。在实际应用中,该数据丢包率是个统计值。The data packet loss information includes a data packet loss rate. In practical applications, the data packet loss rate is a statistical value.
步骤603、根据所述间距误差以及所述数据包丢失信息,确定所述CAM周期的调整参考信息。Step 603: Determine adjustment reference information for the CAM cycle according to the spacing error and the data packet loss information.
在此步骤中,第二终端需根据该间距误差以及数据包丢失率,确定CAM周期的调整参考信息。具体的,如果所述间距误差大于前一CAM周期内的间距误差,则将所述第一CAM周期内的数据丢包率与前一CAM周期内的数据丢包率进行比较。In this step, the second terminal needs to determine the adjustment reference information of the CAM cycle according to the spacing error and the data packet loss rate. Specifically, if the spacing error is greater than the spacing error in the previous CAM cycle, the data packet loss rate in the first CAM cycle is compared with the data packet loss rate in the previous CAM cycle.
如果所述间距误差小于或等于所述前一CAM周期内的间距误差,或者,如果所述第一CAM周期内的数据丢包率小于前一CAM周期内的数据丢包率,则减小CAM周期。如果所述第一CAM周期内的数据丢包率大于或等于前一CAM周期内的数据丢包率,则增大CAM周期。If the spacing error is less than or equal to the spacing error in the previous CAM cycle, or if the data packet loss rate in the first CAM cycle is less than the data packet loss rate in the previous CAM cycle, then the CAM cycle is reduced. If the data packet loss rate in the first CAM cycle is greater than or equal to the data packet loss rate in the previous CAM cycle, then the CAM cycle is increased.
在减小CAM周期的情况下,CAM周期的第二调整值为第三值,其中,所述第三值小于0;在增大CAM周期的情况下,CAM周期的第二调整值为第四值,其中,所述第四值大于0。When the CAM cycle is reduced, the second adjustment value of the CAM cycle is a third value, wherein the third value is less than 0; when the CAM cycle is increased, the second adjustment value of the CAM cycle is a fourth value, wherein the fourth value is greater than 0.
根据规定,CAM周期应在集合{20,50,100,200,300,400,500,600,700,800,900,1000}之中取值。According to regulations, the CAM cycle should be within the set {20,50,100,200,300,400,500,600,700,800,900,1000}.
在本发明实施例中,如果第一CAM周期大于100,则第三值的绝对值取值100;否则第三值的绝对值取值50/30。也即,如果第一CAM周期大于100,第三值为-100;否则第三值为-50/30。如果所述第一CAM周期大于或等于100,则所述第四值为100,否则,所述第四值为50/30。In the embodiment of the present invention, if the first CAM cycle is greater than 100, the absolute value of the third value is 100; otherwise, the absolute value of the third value is 50/30. That is, if the first CAM cycle is greater than 100, the third value is -100; otherwise, the third value is -50/30. If the first CAM cycle is greater than or equal to 100, the fourth value is 100, otherwise, the fourth value is 50/30.
步骤604、根据所述第一调整信息以及所述调整参考信息,确定CAM周期的第四调整信息。Step 604: Determine fourth adjustment information of the CAM cycle according to the first adjustment information and the adjustment reference information.
具体的,第二终端将自身确定的调整参考信息和第一调整信息结合,确定CAM周期的第四调整信息。Specifically, the second terminal combines the adjustment reference information determined by itself with the first adjustment information to determine the fourth adjustment information of the CAM cycle.
参见图7,本步骤可包括:Referring to FIG. 7 , this step may include:
步骤6041、计算所述第一调整值和所述第二调整值的平均值。Step 6041: Calculate the average of the first adjustment value and the second adjustment value.
假设,第一调整为Sm,第二调整值为Sl。对Sm和Sl取平均值: Assume that the first adjustment is S m and the second adjustment is S l . Take the average of S m and S l :
步骤6042、计算所述平均值和所述第二调整值的第三差值,以及,所述平均值与0的第四差值。Step 6042: Calculate a third difference between the average value and the second adjustment value, and a fourth difference between the average value and 0.
步骤6043、将第三差值的绝对值和第四差值的绝对值进行比较。Step 6043: Compare the absolute value of the third difference with the absolute value of the fourth difference.
步骤6044、如果所述第三差值的绝对值小于或等于所述第四差值的绝对值,则确定CAM周期的调整值为所述第二调整值。Step 6044: If the absolute value of the third difference is less than or equal to the absolute value of the fourth difference, determine that the adjustment value of the CAM cycle is the second adjustment value.
步骤6045、如果所述第三差值的绝对值大于所述第四差值的绝对值,则确定CAM周期不变。Step 6045: If the absolute value of the third difference is greater than the absolute value of the fourth difference, it is determined that the CAM cycle remains unchanged.
第二终端按照如上述方式确定的调整值调整自身的CAM周期,并将最终调整值与感知的车辆状态信息打包成CAM信息,在下一个周期广播给头车。The second terminal adjusts its own CAM cycle according to the adjustment value determined in the above manner, and packages the final adjustment value and the sensed vehicle status information into CAM information, and broadcasts it to the leading vehicle in the next cycle.
在本发明实施例中,根据第一CAM周期内的数据包丢失信息以及其他成员车辆的车辆状态信息确定CAM周期的调整信息,并将该调整信息发送给成员车辆。由于调整信息的确定不仅考虑了车辆状态信息,还考虑了数据包的丢失情况,因此,利用本发明实施例的方案所确定的调整信息更为准确,从而可提高车辆编队中各车辆之间的间距调整的准确性。In the embodiment of the present invention, the adjustment information of the CAM cycle is determined according to the data packet loss information in the first CAM cycle and the vehicle status information of other member vehicles, and the adjustment information is sent to the member vehicles. Since the determination of the adjustment information not only considers the vehicle status information but also the data packet loss, the adjustment information determined by the solution of the embodiment of the present invention is more accurate, thereby improving the accuracy of the spacing adjustment between the vehicles in the vehicle formation.
在本发明的一个实施例中,如一车队由3辆车组成,1辆为头车,2辆为成员车辆,每辆成员车辆均需与前车保持10m的目标间距。设当前成员车辆2的CAM周期为100ms,成员车辆3的CAM周期为200ms,头车的CAM周期为500ms。设成员车辆前一CAM周期的间距误差分别为 当前CAM周期的间距误差分别为 头车前一CAM周期收到数据包的丢失率为 当前CAM周期收到数据包的丢失率为成员车辆前一CAM周期收到数据包的丢失率分别为当前CAM周期收到数据包的丢失率分别为则CAM周期动态调整过程如下:In one embodiment of the present invention, if a convoy consists of 3 vehicles, 1 is the lead vehicle and 2 are member vehicles, each member vehicle needs to maintain a target distance of 10m with the leading vehicle. Assume that the CAM cycle of the current member vehicle 2 is 100ms, the CAM cycle of the member vehicle 3 is 200ms, and the CAM cycle of the lead vehicle is 500ms. Assume that the distance errors of the member vehicles in the previous CAM cycle are The spacing errors of the current CAM cycle are The loss rate of the data packet received by the leading vehicle in the previous CAM cycle is The loss rate of the data packets received in the current CAM cycle is The loss rates of the data packets received by the member vehicles in the previous CAM cycle are The loss rates of the data packets received in the current CAM cycle are The CAM cycle dynamic adjustment process is as follows:
(1)在头车端,计算当前CAM周期的间距误差平均值: 与前一CAM周期间距误差平均值 相比,性能下降了(Dcur>Dpre),故进行丢包率比较。(1) At the head vehicle end, calculate the average spacing error of the current CAM cycle: Average value of spacing error with the previous CAM cycle In comparison, the performance has decreased (D cur >D pre ), so a packet loss rate comparison is performed.
由于故性能下降是信息年龄过大导致的,输出CAM周期减小β。又当前头车的CAM周期为500ms,故β取值100ms。because Therefore, the performance degradation is caused by the excessive age of information, and the output CAM cycle is reduced by β. Since the CAM cycle of the current head car is 500ms, β is taken as 100ms.
(2)头车将CAM周期调整值Sl=-β=-100ms广播给成员车辆。(2) The lead vehicle broadcasts the CAM cycle adjustment value S l = -β = -100 ms to the member vehicles.
(3)在成员车辆2端,比较当前CAM周期的间距误差与前一CAM周期的间距误差发现性能提升了(Dcur<Dpre),为寻求进一步性能提升,输出CAM周期减小β。又当前成员车辆2的CAM周期为100ms,故β取值50ms,也即Sm=-β=-50ms。(3) At the member vehicle 2, compare the spacing error of the current CAM cycle Spacing error from the previous CAM cycle It is found that the performance is improved (D cur <D pre ), and in order to seek further performance improvement, the output CAM cycle is reduced by β. Since the CAM cycle of the current member vehicle 2 is 100 ms, β is taken as 50 ms, that is, S m = -β = -50 ms.
(3)在成员车辆2端,将Sm=-50ms与Sl=-100ms按照前述成员车辆的CAM周期调整方式,计算得 (3) At the member vehicle 2, S m = -50 ms and S l = -100 ms are calculated according to the CAM cycle adjustment method of the member vehicle mentioned above.
该值与Sm的距离为25m,与0的距离为75m,又25m<75m(|Sl-Sm|<|Sl+Sm|),故成员车辆2的CAM周期由100ms调整为50ms。The value is 25 m away from S m and 75 m away from 0. Moreover, 25 m<75 m (|S l -S m |<|S l +S m |), so the CAM period of member vehicle 2 is adjusted from 100 ms to 50 ms.
(4)成员车辆2将CAM周期调整值Sm1=-50ms广播给头车。(4) Member vehicle 2 broadcasts the CAM cycle adjustment value S m1 = -50 ms to the lead vehicle.
(5)在成员车辆3端,比较当前CAM周期的间距误差与前一CAM周期的间距误差发现性能下降了(Dcur>Dpre),故进行丢包率比较。由于故性能下降是信息年龄过大导致的,输出CAM周期减小β。又当前头车的CAM周期为200ms,故β取值100ms,也即Sm=-β=-100ms。(5) At the member vehicle 3, compare the spacing error of the current CAM cycle Spacing error from the previous CAM cycle It is found that the performance has degraded (D cur > D pre ), so the packet loss rate is compared. Therefore, the performance degradation is caused by the excessive age of information, and the output CAM cycle is reduced by β. Since the CAM cycle of the current head vehicle is 200ms, β is set to 100ms, that is, S m = -β = -100ms.
(6)在成员3端,将Sm=-100ms与Sl=-100ms按照前述成员车辆的CAM周期调整方式,计算得该值与Sm的距离为0m,与0的距离为100m,又0m<100m(|Sl-Sm|<|Sl+Sm|),故成员车辆3的CAM周期由200ms调整为100ms。(6) At member 3, S m = -100 ms and S l = -100 ms are calculated according to the CAM cycle adjustment method of the member vehicle mentioned above. The distance between this value and S m is 0 m, and the distance between this value and 0 is 100 m. Moreover, 0 m<100 m (|S l -S m |<|S l +S m |), so the CAM period of the member vehicle 3 is adjusted from 200 ms to 100 ms.
(7)成员车辆3将CAM周期调整值Sm2=-100ms广播给头车。(7) Member vehicle 3 broadcasts the CAM cycle adjustment value S m2 = -100 ms to the lead vehicle.
(8)在头车端,头车对收听到的所有成员车辆的CAM周期调整值取平均得 (8) At the leading vehicle end, the leading vehicle takes the average of the CAM cycle adjustment values heard by all member vehicles.
对成员车辆的平均调整值Sm和头车自身计算的调整值Sl取平均得 该值与Sl的距离为12.5m,与0的距离为87.5m,又12.5m<87.5m(|Sl-Sm|<|Sl+Sm|),故头车的CAM周期由500ms调整为400ms。The average adjustment value Sm of the member vehicles and the adjustment value Sl calculated by the lead vehicle itself are averaged to obtain The distance between this value and S l is 12.5 m, and the distance between this value and 0 is 87.5 m. Moreover, 12.5 m<87.5 m (|S l -S m |<|S l +S m |), so the CAM cycle of the lead vehicle is adjusted from 500 ms to 400 ms.
本发明实施例还提供了一种信息处理装置,应用于第一终端。其中,所述第一终端位于车辆编队系统的头车中。参见图8,图8是本发明实施例提供的信息处理装置的结构图。由于信息处理装置解决问题的原理与本发明实施例中信息处理方法相似,因此该信息处理装置的实施可以参见方法的实施,重复之处不再赘述。The embodiment of the present invention further provides an information processing device, which is applied to a first terminal. The first terminal is located in the head vehicle of the vehicle formation system. See FIG8 , which is a structural diagram of the information processing device provided by the embodiment of the present invention. Since the principle of solving the problem by the information processing device is similar to the information processing method in the embodiment of the present invention, the implementation of the information processing device can refer to the implementation of the method, and the repeated parts will not be repeated.
如图8所示,信息处理装置800包括:第一接收模块801,用于在第一CAM周期内,接收第二终端发送的车辆状态信息,其中,所述第二终端位于所述车辆编队系统的成员车辆中;第一获取模块802,用于获取第一CAM周期内的数据包丢失信息;第一确定模块803,用于根据所述车辆状态信息以及所述数据包丢失信息,确定CAM周期的第一调整信息;第一发送模块804,用于向所述第二终端发送所述第一调整信息。As shown in FIG8 , the information processing device 800 includes: a first receiving module 801, used to receive vehicle status information sent by a second terminal within a first CAM cycle, wherein the second terminal is located in a member vehicle of the vehicle platoon system; a first acquisition module 802, used to obtain data packet loss information within the first CAM cycle; a first determination module 803, used to determine first adjustment information of the CAM cycle based on the vehicle status information and the data packet loss information; and a first sending module 804, used to send the first adjustment information to the second terminal.
可选的,所述车辆状态信息包括所述成员车辆与所述成员车辆的前车之间的间距;所述数据包丢失信息包括数据丢包率。如图9所示,所述第一确定模块803包括:Optionally, the vehicle status information includes the distance between the member vehicle and the preceding vehicle of the member vehicle; the data packet loss information includes the data packet loss rate. As shown in FIG9 , the first determination module 803 includes:
第一计算子模块8031,用于根据所述间距误差,计算间距误差平均值;第一比较子模块8032,用于如果所述间距误差平均值大于或等于前一CAM周期内的间距误差平均值,则将所述第一CAM周期内的数据丢包率与前一CAM周期内的数据丢包率进行比较;第一确定子模块8033,用于如果所述间距误差平均值小于所述前一CAM周期内的间距误差平均值,或者,如果所述第一CAM周期内的数据丢包率小于前一CAM周期内的数据丢包率,则减小CAM周期;第二确定子模块8034,用于如果所述第一CAM周期内的数据丢包率大于或等于前一CAM周期内的数据丢包率,则增大CAM周期。The first calculation submodule 8031 is used to calculate an average spacing error value based on the spacing error; the first comparison submodule 8032 is used to compare the data packet loss rate in the first CAM cycle with the data packet loss rate in the previous CAM cycle if the average spacing error value is greater than or equal to the average spacing error value in the previous CAM cycle; the first determination submodule 8033 is used to reduce the CAM cycle if the average spacing error value is less than the average spacing error value in the previous CAM cycle, or if the data packet loss rate in the first CAM cycle is less than the data packet loss rate in the previous CAM cycle; the second determination submodule 8034 is used to increase the CAM cycle if the data packet loss rate in the first CAM cycle is greater than or equal to the data packet loss rate in the previous CAM cycle.
可选的,在减小CAM周期的情况下,CAM周期的第一调整值为第一值,其中,所述第一值小于0;在增大CAM周期的情况下,CAM周期的第一调整值为第二值,其中,所述第二值大于0。Optionally, when reducing the CAM cycle, the first adjustment value of the CAM cycle is a first value, wherein the first value is less than 0; when increasing the CAM cycle, the first adjustment value of the CAM cycle is a second value, wherein the second value is greater than 0.
其中,所述第一值和所述第二值的取值可参照前述实施例的描述。The values of the first value and the second value may refer to the description of the above-mentioned embodiment.
可选的,如图10所示,所述装置还可包括:Optionally, as shown in FIG10 , the device may further include:
第二接收模块805,用于接收所述第二终端发送的CAM周期的第二调整信息;第二确定模块806,用于根据所述第一调整信息和所述第二调整信息,确定CAM周期的第三调整信息。The second receiving module 805 is used to receive second adjustment information of the CAM cycle sent by the second terminal; the second determining module 806 is used to determine third adjustment information of the CAM cycle according to the first adjustment information and the second adjustment information.
可选的,所述第一调整信息包括第一调整值,所述第二调整信息包括所述第二终端的CAM周期的调整值。如图11所示,所述第二确定模块806包括:Optionally, the first adjustment information includes a first adjustment value, and the second adjustment information includes an adjustment value of the CAM period of the second terminal. As shown in FIG11 , the second determination module 806 includes:
第一计算子模块8051,用于根据至少一个所述第二终端发送的CAM周期的调整值,计算CAM周期调整平均值;第二计算子模块8052,用于计算所述第一调整值和所述CAM周期调整平均值的平均值;第三计算子模块8053,用于计算所述平均值和所述第一调整值的第一差值,以及,所述平均值与0的第二差值;第一确定子模块8054,用于如果所述第一差值的绝对值小于或等于所述第二差值的绝对值,则确定CAM周期的调整值为所述第一调整值;否则,确定CAM周期不变。The first calculation submodule 8051 is used to calculate the CAM cycle adjustment average value according to the adjustment value of the CAM cycle sent by at least one of the second terminals; the second calculation submodule 8052 is used to calculate the average value of the first adjustment value and the CAM cycle adjustment average value; the third calculation submodule 8053 is used to calculate the first difference between the average value and the first adjustment value, and the second difference between the average value and 0; the first determination submodule 8054 is used to determine that the CAM cycle adjustment value is the first adjustment value if the absolute value of the first difference is less than or equal to the absolute value of the second difference; otherwise, determine that the CAM cycle remains unchanged.
本发明实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The device provided in the embodiment of the present invention can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail in this embodiment.
本发明实施例还提供了一种信息处理装置,应用于第二终端。其中,所述第二终端位于车辆编队系统的成员车辆中。参见图12,图12是本发明实施例提供的信息处理装置的结构图。由于信息处理装置解决问题的原理与本发明实施例中信息处理方法相似,因此该信息处理装置的实施可以参见方法的实施,重复之处不再赘述。The embodiment of the present invention further provides an information processing device, which is applied to a second terminal. The second terminal is located in a member vehicle of the vehicle formation system. Referring to FIG. 12 , FIG. 12 is a structural diagram of the information processing device provided by the embodiment of the present invention. Since the principle of solving the problem by the information processing device is similar to the information processing method in the embodiment of the present invention, the implementation of the information processing device can refer to the implementation of the method, and the repeated parts will not be repeated.
如图12所示,信息处理装置1200包括:As shown in FIG. 12 , the information processing device 1200 includes:
第一接收模块1201,用于接收第一终端发送的CAM周期的第一调整信息;第一确定模块1202,用于确定成员车辆在第一CAM周期内的间距误差以及数据包丢失信息;其中,所述间距误差为所述成员车辆与所述成员车辆的前车之间的间距误差;第二确定模块1203,用于根据所述间距误差以及所述数据包丢失信息,确定所述CAM周期的调整参考信息;第三确定模块1204,用于根据所述第一调整信息以及所述调整参考信息,确定CAM周期的第四调整信息。The first receiving module 1201 is used to receive the first adjustment information of the CAM cycle sent by the first terminal; the first determining module 1202 is used to determine the spacing error and data packet loss information of the member vehicles within the first CAM cycle; wherein the spacing error is the spacing error between the member vehicle and the preceding vehicle of the member vehicle; the second determining module 1203 is used to determine the adjustment reference information of the CAM cycle according to the spacing error and the data packet loss information; the third determining module 1204 is used to determine the fourth adjustment information of the CAM cycle according to the first adjustment information and the adjustment reference information.
可选的,所述数据包丢失信息包括数据丢包率。如图13所示,所述第二确定模块1203包括:Optionally, the data packet loss information includes a data packet loss rate. As shown in FIG13 , the second determination module 1203 includes:
第一比较子模块12031,用于如果所述间距误差大于前一CAM周期内的间距误差,则将所述第一CAM周期内的数据丢包率与前一CAM周期内的数据丢包率进行比较;第一确定子模块12032,用于如果所述间距误差小于或等于所述前一CAM周期内的间距误差,或者,如果所述第一CAM周期内的数据丢包率小于前一CAM周期内的数据丢包率,则减小CAM周期;第二确定子模块12033,用于如果所述第一CAM周期内的数据丢包率大于或等于前一CAM周期内的数据丢包率,则增大CAM周期。The first comparison submodule 12031 is used to compare the data packet loss rate in the first CAM cycle with the data packet loss rate in the previous CAM cycle if the spacing error is greater than the spacing error in the previous CAM cycle; the first determination submodule 12032 is used to reduce the CAM cycle if the spacing error is less than or equal to the spacing error in the previous CAM cycle, or if the data packet loss rate in the first CAM cycle is less than the data packet loss rate in the previous CAM cycle; the second determination submodule 12033 is used to increase the CAM cycle if the data packet loss rate in the first CAM cycle is greater than or equal to the data packet loss rate in the previous CAM cycle.
可选的,所述第一调整信息包括第一调整值,所述调整参考信息包括所述第二调整值。如图14所示,所述第三确定模块1204包括:Optionally, the first adjustment information includes a first adjustment value, and the adjustment reference information includes the second adjustment value. As shown in FIG14 , the third determination module 1204 includes:
第一计算子模块12041,用于计算所述第一调整值和所述第二调整值的平均值;第二计算子模块12042,用于计算所述平均值和所述第二调整值的第三差值,以及,所述平均值与0的第四差值;第一确定子模块12043,用于如果所述第三差值的绝对值小于或等于所述第四差值的绝对值,则确定CAM周期的调整值为所述第二调整值;否则,确定CAM周期不变。The first calculation submodule 12041 is used to calculate the average value of the first adjustment value and the second adjustment value; the second calculation submodule 12042 is used to calculate the third difference between the average value and the second adjustment value, and the fourth difference between the average value and 0; the first determination submodule 12043 is used to determine that the adjustment value of the CAM cycle is the second adjustment value if the absolute value of the third difference is less than or equal to the absolute value of the fourth difference; otherwise, determine that the CAM cycle remains unchanged.
可选的,如图15所示,所述装置还可包括:Optionally, as shown in FIG15 , the device may further include:
第一发送模块1205,用于向所述第一终端发送所述第四调整信息,所述第四调整信息包括所述第二调整值。The first sending module 1205 is configured to send the fourth adjustment information to the first terminal, where the fourth adjustment information includes the second adjustment value.
本发明实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The device provided in the embodiment of the present invention can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail in this embodiment.
本发明实施例还提供了一种信息处理设备。如图16所示,本发明实施例的终端,包括:处理器1600,用于读取存储器1620中的程序,执行下列过程:The embodiment of the present invention further provides an information processing device. As shown in FIG16 , the terminal of the embodiment of the present invention includes: a processor 1600 configured to read a program in a memory 1620 and execute the following process:
在第一合作感知消息CAM周期内,接收第二终端发送的车辆状态信息,其中,所述第二终端位于所述车辆编队系统的成员车辆中;In a first cooperative awareness message CAM period, receiving vehicle status information sent by a second terminal, wherein the second terminal is located in a member vehicle of the vehicle formation system;
获取第一CAM周期内的数据包丢失信息;Obtaining packet loss information in a first CAM cycle;
根据所述车辆状态信息以及所述数据包丢失信息,确定CAM周期的第一调整信息;Determining first adjustment information of a CAM cycle according to the vehicle state information and the data packet loss information;
向所述第二终端发送所述第一调整信息。Send the first adjustment information to the second terminal.
收发机1610,用于在处理器1600的控制下接收和发送数据。The transceiver 1610 is configured to receive and send data under the control of the processor 1600 .
其中,在图16中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器1600代表的一个或多个处理器和存储器1620代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机1610可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元。针对不同的用户设备,用户接口1630还可以是能够外接内接需要设备的接口,连接的设备包括但不限于小键盘、显示器、扬声器、麦克风、操纵杆等。Among them, in Figure 16, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 1600 and various circuits of memory represented by memory 1620 are linked together. The bus architecture can also link various other circuits such as peripherals, regulators, and power management circuits together, which are all well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 1610 can be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. For different user devices, the user interface 1630 can also be an interface that can be connected to external or internal devices, and the connected devices include but are not limited to keypads, displays, speakers, microphones, joysticks, etc.
处理器1600负责管理总线架构和通常的处理,存储器1620可以存储处理器1600在执行操作时所使用的数据。The processor 1600 is responsible for managing the bus architecture and general processing, and the memory 1620 can store data used by the processor 1600 when performing operations.
所述车辆状态信息包括所述成员车辆与所述成员车辆的前车之间的间距;所述数据包丢失信息包括数据丢包率;处理器1600还用于读取所述程序,执行如下步骤:The vehicle status information includes the distance between the member vehicle and the preceding vehicle of the member vehicle; the data packet loss information includes the data packet loss rate; the processor 1600 is further used to read the program and execute the following steps:
根据至少一个所述第二终端发送的所述间距,分别计算每个所述间距和目标间距之间的间距误差;Calculate, according to the interval sent by at least one of the second terminals, the interval error between each of the intervals and the target interval;
根据所述间距误差,计算间距误差平均值;Calculate the average value of the spacing error according to the spacing error;
如果所述间距误差平均值大于或等于前一CAM周期内的间距误差平均值,则将所述第一CAM周期内的数据丢包率与前一CAM周期内的数据丢包率进行比较;If the average value of the spacing error is greater than or equal to the average value of the spacing error in the previous CAM cycle, comparing the data packet loss rate in the first CAM cycle with the data packet loss rate in the previous CAM cycle;
如果所述间距误差平均值小于所述前一CAM周期内的间距误差平均值,或者,如果所述第一CAM周期内的数据丢包率小于前一CAM周期内的数据丢包率,则减小CAM周期;If the average value of the spacing error is less than the average value of the spacing error in the previous CAM cycle, or if the data packet loss rate in the first CAM cycle is less than the data packet loss rate in the previous CAM cycle, reducing the CAM cycle;
如果所述第一CAM周期内的数据丢包率大于或等于前一CAM周期内的数据丢包率,则增大CAM周期。If the data packet loss rate in the first CAM cycle is greater than or equal to the data packet loss rate in the previous CAM cycle, the CAM cycle is increased.
其中,在减小CAM周期的情况下,CAM周期的第一调整值为第一值,其中,所述第一值小于0;Wherein, in the case of reducing the CAM cycle, the first adjustment value of the CAM cycle is a first value, wherein the first value is less than 0;
在增大CAM周期的情况下,CAM周期的第一调整值为第二值,其中,所述第二值大于0。In case of increasing the CAM cycle, the first adjustment value of the CAM cycle is a second value, wherein the second value is greater than zero.
其中,如果所述第一CAM周期大于100,则所述第一值的绝对值为100,否则,所述第一值的绝对值为50/30;If the first CAM cycle is greater than 100, the absolute value of the first value is 100, otherwise, the absolute value of the first value is 50/30;
如果所述第一CAM周期大于或等于100,则所述第二值为100,否则,所述第二值为50/30。If the first CAM period is greater than or equal to 100, the second value is 100, otherwise, the second value is 50/30.
处理器1600还用于读取所述程序,执行如下步骤:The processor 1600 is further configured to read the program and execute the following steps:
接收所述第二终端发送的CAM周期的第二调整信息;receiving second adjustment information of the CAM period sent by the second terminal;
根据所述第一调整信息和所述第二调整信息,确定CAM周期的第三调整信息。Third adjustment information of a CAM cycle is determined according to the first adjustment information and the second adjustment information.
所述第一调整信息包括第一调整值,所述第二调整信息包括所述第二终端的CAM周期的调整值;处理器1600还用于读取所述程序,执行如下步骤:The first adjustment information includes a first adjustment value, and the second adjustment information includes an adjustment value of the CAM period of the second terminal; the processor 1600 is further configured to read the program and execute the following steps:
根据至少一个所述第二终端发送的CAM周期的调整值,计算CAM周期调整平均值;Calculating a CAM cycle adjustment average value according to at least one CAM cycle adjustment value sent by the second terminal;
计算所述第一调整值和所述CAM周期调整平均值的平均值;Calculating an average of the first adjustment value and the CAM cycle adjustment average value;
计算所述平均值和所述第一调整值的第一差值,以及,所述平均值与0的第二差值;Calculate a first difference between the average value and the first adjustment value, and a second difference between the average value and 0;
如果所述第一差值的绝对值小于或等于所述第二差值的绝对值,则确定CAM周期的调整值为所述第一调整值;否则,确定CAM周期不变。If the absolute value of the first difference is less than or equal to the absolute value of the second difference, the adjustment value of the CAM cycle is determined to be the first adjustment value; otherwise, the CAM cycle is determined to remain unchanged.
其中,所述设备可以是终端,终端位于车辆编队系统的头车中。The device may be a terminal located in the head vehicle of the vehicle formation system.
本发明实施例提供的终端,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The terminal provided in the embodiment of the present invention can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail in this embodiment.
本发明实施例还提供了一种信息处理设备。如图17所示,本发明实施例的终端,包括:处理器1700,用于读取存储器1720中的程序,执行下列过程:The embodiment of the present invention further provides an information processing device. As shown in FIG17 , the terminal of the embodiment of the present invention includes: a processor 1700, which is used to read the program in the memory 1720 and execute the following process:
接收第一终端发送的CAM周期的第一调整信息;Receiving first adjustment information of a CAM cycle sent by a first terminal;
确定成员车辆在第一CAM周期内的间距误差以及数据包丢失信息;其中,所述间距误差为所述成员车辆与所述成员车辆的前车之间的间距误差;Determine the spacing error and data packet loss information of the member vehicle in the first CAM cycle; wherein the spacing error is the spacing error between the member vehicle and the preceding vehicle of the member vehicle;
根据所述间距误差以及所述数据包丢失信息,确定所述CAM周期的调整参考信息;Determining adjustment reference information of the CAM cycle according to the spacing error and the packet loss information;
根据所述第一调整信息以及所述调整参考信息,确定CAM周期的第四调整信息。Fourth adjustment information of a CAM cycle is determined according to the first adjustment information and the adjustment reference information.
收发机1710,用于在处理器1700的控制下接收和发送数据。The transceiver 1710 is configured to receive and send data under the control of the processor 1700 .
其中,在图17中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器1700代表的一个或多个处理器和存储器1720代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机1710可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元。针对不同的用户设备,用户接口1730还可以是能够外接内接需要设备的接口,连接的设备包括但不限于小键盘、显示器、扬声器、麦克风、操纵杆等。Among them, in Figure 17, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 1700 and various circuits of memory represented by memory 1720 are linked together. The bus architecture can also link various other circuits such as peripherals, regulators, and power management circuits together, which are all well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 1710 can be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. For different user devices, the user interface 1730 can also be an interface that can be connected to external or internal devices, and the connected devices include but are not limited to keypads, displays, speakers, microphones, joysticks, etc.
处理器1700负责管理总线架构和通常的处理,存储器1720可以存储处理器1700在执行操作时所使用的数据。The processor 1700 is responsible for managing the bus architecture and general processing, and the memory 1720 can store data used by the processor 1700 when performing operations.
所述数据包丢失信息包括数据丢包率;处理器1700还用于读取所述程序,执行如下步骤:The data packet loss information includes a data packet loss rate; the processor 1700 is further configured to read the program and execute the following steps:
如果所述间距误差大于前一CAM周期内的间距误差,则将所述第一CAM周期内的数据丢包率与前一CAM周期内的数据丢包率进行比较;If the spacing error is greater than the spacing error in the previous CAM cycle, comparing the data packet loss rate in the first CAM cycle with the data packet loss rate in the previous CAM cycle;
如果所述间距误差小于或等于所述前一CAM周期内的间距误差,或者,如果所述第一CAM周期内的数据丢包率小于前一CAM周期内的数据丢包率,则减小CAM周期;If the spacing error is less than or equal to the spacing error in the previous CAM cycle, or if the data packet loss rate in the first CAM cycle is less than the data packet loss rate in the previous CAM cycle, reducing the CAM cycle;
如果所述第一CAM周期内的数据丢包率大于或等于前一CAM周期内的数据丢包率,则增大CAM周期。If the data packet loss rate in the first CAM cycle is greater than or equal to the data packet loss rate in the previous CAM cycle, the CAM cycle is increased.
其中,在减小CAM周期的情况下,CAM周期的第二调整值为第三值,其中,所述第三值小于0;Wherein, in the case of reducing the CAM cycle, the second adjustment value of the CAM cycle is a third value, wherein the third value is less than 0;
在增大CAM周期的情况下,CAM周期的第二调整值为第四值,其中,所述第四值大于0。In case of increasing the CAM cycle, the second adjustment value of the CAM cycle is a fourth value, wherein the fourth value is greater than zero.
其中,如果所述第一CAM周期大于100,则所述第三值的绝对值为100,否则,所述第三值的绝对值为50/30;If the first CAM cycle is greater than 100, the absolute value of the third value is 100, otherwise, the absolute value of the third value is 50/30;
如果所述第一CAM周期大于或等于100,则所述第四值为100,否则,所述第四值为50/30。If the first CAM cycle is greater than or equal to 100, the fourth value is 100, otherwise, the fourth value is 50/30.
所述第一调整信息包括第一调整值,所述调整参考信息包括所述第二调整值;处理器1700还用于读取所述程序,执行如下步骤:The first adjustment information includes a first adjustment value, and the adjustment reference information includes the second adjustment value; the processor 1700 is further configured to read the program and execute the following steps:
计算所述第一调整值和所述第二调整值的平均值;calculating an average of the first adjustment value and the second adjustment value;
计算所述平均值和所述第二调整值的第三差值,以及,所述平均值与0的第四差值;Calculating a third difference between the average value and the second adjustment value, and a fourth difference between the average value and 0;
如果所述第三差值的绝对值小于或等于所述第四差值的绝对值,则确定CAM周期的调整值为所述第二调整值;否则,确定CAM周期不变。If the absolute value of the third difference is less than or equal to the absolute value of the fourth difference, the adjustment value of the CAM cycle is determined to be the second adjustment value; otherwise, the CAM cycle is determined to remain unchanged.
处理器1700还用于读取所述程序,执行如下步骤:The processor 1700 is further configured to read the program and execute the following steps:
向所述第一终端发送所述第四调整信息,所述第二调整信息包括所述第二调整值。The fourth adjustment information is sent to the first terminal, where the second adjustment information includes the second adjustment value.
其中,所述设备可以是终端,所述终端位于车辆编队系统的成员车辆中。The device may be a terminal located in a member vehicle of the vehicle platoon system.
本发明实施例提供的终端,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The terminal provided in the embodiment of the present invention can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail in this embodiment.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述信息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned information processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。根据这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010320926.4A CN113543063B (en) | 2020-04-21 | 2020-04-21 | Information processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010320926.4A CN113543063B (en) | 2020-04-21 | 2020-04-21 | Information processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113543063A CN113543063A (en) | 2021-10-22 |
CN113543063B true CN113543063B (en) | 2024-08-23 |
Family
ID=78094056
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010320926.4A Active CN113543063B (en) | 2020-04-21 | 2020-04-21 | Information processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113543063B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101720059A (en) * | 2009-11-05 | 2010-06-02 | 浙江大学城市学院 | Method for realizing vehicle-mounted mobile self-organized network routing |
WO2017015886A1 (en) * | 2015-07-29 | 2017-02-02 | 华为技术有限公司 | Resource allocation method and related equipment |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016200184A1 (en) * | 2015-06-09 | 2016-12-15 | 엘지전자 주식회사 | Communication method for user equipment in v2x communication system, and user equipment |
EP3437407B1 (en) * | 2016-03-30 | 2021-11-17 | Interdigital Patent Holdings, Inc. | Method and apparatuses for scheduling in uu-based vehicle-to-vehicle communication |
US10506402B2 (en) * | 2016-03-31 | 2019-12-10 | Samsung Electronics Co., Ltd. | Method and apparatus for transmission of control and data in vehicle to vehicle communication |
CN108702736B (en) * | 2016-05-03 | 2021-01-01 | 华为技术有限公司 | Resource scheduling method and terminal equipment |
CN107360204B (en) * | 2016-05-10 | 2020-06-16 | 北京信威通信技术股份有限公司 | Method and device for predicting generation time of Internet of vehicles cooperative early warning message |
JP6745919B2 (en) * | 2016-07-07 | 2020-08-26 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America | Improved semi-persistent resource allocation behavior for V2X transmission |
JP6726355B2 (en) * | 2016-08-09 | 2020-07-22 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America | Improved radio resource selection and sensing for V2X transmission |
KR102553664B1 (en) * | 2016-09-30 | 2023-07-10 | 엘지전자 주식회사 | Method and apparatus for reselecting resources by itself based on priority in wireless communication system |
CN107888639B (en) * | 2016-09-30 | 2020-08-04 | 电信科学技术研究院 | Method and device for configuring, indicating and determining resource reservation period granularity P |
CN107293110A (en) * | 2017-07-25 | 2017-10-24 | 维沃移动通信有限公司 | A kind of fleet's control method and terminal |
EP3442192B1 (en) * | 2017-08-08 | 2022-01-05 | Robert Bosch GmbH | Method for monitoring traffic between network members in a network |
US10440668B1 (en) * | 2018-11-07 | 2019-10-08 | Ford Global Technologies, Llc | Vehicle platooning management and power control with LTE/5G V2X communications |
CN110213743B (en) * | 2019-06-11 | 2022-04-05 | 南京林业大学 | Collision detection avoidance method when bitmap is not received |
-
2020
- 2020-04-21 CN CN202010320926.4A patent/CN113543063B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101720059A (en) * | 2009-11-05 | 2010-06-02 | 浙江大学城市学院 | Method for realizing vehicle-mounted mobile self-organized network routing |
WO2017015886A1 (en) * | 2015-07-29 | 2017-02-02 | 华为技术有限公司 | Resource allocation method and related equipment |
Also Published As
Publication number | Publication date |
---|---|
CN113543063A (en) | 2021-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Nguyen et al. | A survey on adaptive multi-channel MAC protocols in VANETs using Markov models | |
CN100411458C (en) | Quality of service differentiation in wireless networks | |
US10798605B2 (en) | Message transmission method and apparatus | |
Zhu et al. | A collision avoidance mechanism for emergency message broadcast in urban VANET | |
CN104967670B (en) | A kind of method of the vehicle access network based on IEEE 802.11p | |
CN107864028B (en) | An Adaptive Frame Aggregation Method in Vehicle Ad Hoc Networks | |
Almohammedi et al. | An adaptive multi-channel assignment and coordination scheme for IEEE 802.11 P/1609.4 in vehicular ad-hoc networks | |
CA2728313A1 (en) | Methods and systems for priority-based service requests, grants for service admission and network congestion control | |
US20210410164A1 (en) | Method, device and base station for transmitting information | |
Sepulcre et al. | Is packet dropping a suitable congestion control mechanism for vehicular networks? | |
US20140092735A1 (en) | Apparatus and method for controlling congestion in vehicular communication | |
CN109640290B (en) | Differentiated service method, device and equipment based on EDCA mechanism in the Internet of Vehicles | |
Feukeu et al. | Dynamic broadcast storm mitigation approach for VANETs | |
CN108696896A (en) | A kind of method for controlling quality of service and device | |
EP2782366B1 (en) | Vehicle network transmission method and transmission system | |
Yao et al. | On MAC access delay distribution for IEEE 802.11 p broadcast in vehicular networks | |
CN106413097A (en) | Method and apparatus for wireless communication | |
KR101199577B1 (en) | Apparatus for adjusting contention window and method for adjusting thereof in vehicle communication | |
US20060274713A1 (en) | Methods of channel access in a meshed network | |
Ma et al. | ABM-V: An adaptive backoff mechanism for mitigating broadcast storm in VANETs | |
CN110691349B (en) | Adaptive control method for safe application-oriented combined power and competition window in Internet of vehicles | |
CN113543063B (en) | Information processing method and device | |
Yu et al. | An adaptive back-off scheme based on improved Markov model for vehicular ad hoc networks | |
KR20200067090A (en) | Transmission power of road side unit control method and apparatus | |
Shala et al. | On-demand quality-of-service for crucial vehicle-to-pedestrian communication |
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 |